- install Code: https://code.visualstudio.com/
- git clone [email protected]:rtorr/vscode-flow.git
- run
npm install
- open Code on
vscode-flow
- link the extension into Code:
ln -s ABSOLUTE_PATH_OF_FLOW_FOR_VSCODE ~/.vscode/extensions/vscode-flow
- reload Code (
Cmd+Shift+P
,Reload Window
) to enable the extension - make changes to the extension and reload to selfhost on your changes
- you can use the built-in babel task to start babel in watch mode (
Cmd+Shift+B
to start it,Cmd+Shift+U
to toggle output) - make changes
- open debug viewlet (
Cmd+Shift+D
) and run the extension to try changes (F5
) - from the opened instance open a folder with flow files (
File | Open...
)