Deprecated, please use https://github.com/flowtype/flow-for-vscode
This extension adds Flow support for VS Code. Flow is a static type checker, designed to find type errors in JavaScript programs.
- add
"flow.path": "path/to/flow"
to your project's.vscode/settings.json
- You need a
.flowconfig
in your workspace to enable the flow features - Make sure you are able to run the
flow
command from the command line - Set workspace preference with
"javascript.validate.enable": false
.
Follow the instructions for VS Code extension installation.
flow comes bundled with this extention. if you would like to use
a different version of flow, use "flow.path": "/path/to/wher/you/put/flow"
in your .vscode/settings.json
file.
- Syntax Coloring
- IntelliSense
- Go to Definition / Peek Definition
- Diagnostics (Errors, Warnings)
- You should set workspace preference to disable default syntax validation from Visual Studio Code:
"javascript.validate.enable": false
.
- please refer to CONTRIBUTING.md