IntelliJ IDEA 15.0 Help

Using the Flow Type Checker

IntelliJ IDEA provides basic support of Flow static type checker that brings type annotations to JavaScript. For Windows, this support only includes recognition and syntax highlighting of Flow structures. Please note, that you can run Flow commands only on the Unix and OS X operating systems.

For information on installing Flow, see Getting Started with Flow.

To have IntelliJ IDEA recognize Flow structures, provide correct syntax highlighting, and avoid false-positive error highlighting, change the JavaScript language level to Flow:

  1. Open the Settings / Preferences Dialog by choosing File | Settings , and click JavaScript under Languages&Frameworks.
  2. On the JavaScript page that opens, choose Flow from the JavaScript Language Version drop-down list.

See Also

Last modified: 10 December 2015