Skip to content

Instantly share code, notes, and snippets.

@jessopb
Last active April 24, 2019 14:03
Show Gist options
  • Select an option

  • Save jessopb/11cbd4d8ff7f1f01415cc27641cf9571 to your computer and use it in GitHub Desktop.

Select an option

Save jessopb/11cbd4d8ff7f1f01415cc27641cf9571 to your computer and use it in GitHub Desktop.
Setting up lbry-desktop environments for flow
# Webstorm:
- yarn add global flow-bin
- yarn global dir to find out where it installed
- point webstorm settings/languages & frameworks/javascript:
- version to flow
- flow executable to, e.g. `config/yarn/global/node_modules/flow-bin/vendor/flow` by browsing
- press control while hovering to see type tooltip
# Atom:
- package ide-flowtype
- check box "use node_modules if available"
- hover support unknown at this time
@kauffj
Copy link

kauffj commented Apr 24, 2019

A few extra Webstorm tips:

  • Set node_modules to ignore
  • Set additional folders as resource roots to facilitate code inspection (e.g. src/ui, but I think there's a few)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment