Skip to content

fdecampredon/flow-for-vscode

 
 

Repository files navigation

Flow for Visual Studio Code

This extension adds Flow support for VS Code. Flow is a static type checker, designed to find type errors in JavaScript programs.

Installation

Follow the instructions for VS Code extension installation.

Setup

  • 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
  • Set workspace preference with "javascript.validate.enable": false.

Features

  • Syntax Coloring
  • IntelliSense
  • Go to Definition / Peek Definition
  • Diagnostics (Errors, Warnings)

Known Issues

  • You should set workspace preference to disable default syntax validation from Visual Studio Code: "javascript.validate.enable": false.

About

This plugin is built on top of Nuclide's Flow support, the nuclide-flow-base npm package.

Contributing

License

See here

About

Flow for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.2%
  • Shell 7.8%