This extension adds Flow support for VS Code. Flow is a static type checker, designed to find type errors in JavaScript programs.
Follow the instructions for VS Code extension installation.
- Flow is only supported on Mac and Linux, follow flowtype.org to get started
- 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
- Syntax Coloring
- IntelliSense
- Go to Definition / Peek Definition
- Diagnostics (Errors, Warnings)
- when you create a new file and add the
/* @flow */
to the beginning you need to manually change the mode from the status bar toFlow
This plugin is built on top of Nuclide's Flow support, the nuclide-flow-base npm package.
- please refer to CONTRIBUTING.md