- Fixes for flow not re-checking on file changes- @clintwood
- Add more file extensions for flow support - @clintwood
- Adds a
flow.runOnAllFiles
option, which treats all files as if they had// @flow
at the top. - @doshisid #144
- Bundles
flow-bin
with the plugin to use in cases where it has not been installed globally or locally. - @BrainMaestro #118 - Improvements around flow file detection, and reducing the amount of duplicate requests to the flow server. - @thymikee #126
- Adds the status indicator (spinner) to the statusbar which appears when flow is
type checking, so that users can tell if everything type checked or if flow is
just not finished yet. Indicator can be disabled by setting
flow.showStatus
tofalse
. - @gozala #85 - Type checks code as you type. Only unsaved changes in an active document are
considered (other unsaved documents are type checked by content on the disk).
This feature can be disabled by setting
flow.runOnEdit
tofalse
- @gozala #87 - Adds the flowtype.org/try like functionality to allow
sketching, without setting up a project. Unsaved documents (ones created by
Files: New Untitled File
command) injavascript
/javascriptreact
mode and@flow
pragma will be typechecked as you type (assumingflow.runOnEdit
is set totrue
). Please note that once file is saved, unless it's under project with.flowconfig
it will no longer be type checked un further edits. - @gozala #88 - Adds Flow type coverage indicator, allowing to also toggle diagnosis of code uncovered by flow by clicking on it. – @thymikee #108
- Redundant
[flow]
annotation is now removed. – @thymikee #106
- Uses the absolute path to the
where
command provided by Windows - @JPanneel #70 - Uses the new VS Code autocompletion API for functions - @orta #51
- When you want to work on the flow-for-vscode project, pressing run will start the babel build watcher task - @orta
- Adds support for *.js.flow files ( such as those generated by graphql-js ) which are treated as common JavaScript files - @orta
- Fixes "File not found" error with diagnostics when
flow status --json
provides non-absolute file paths - @ryanashcraft #77
- Adds the ability to use flow from your project's node_modules folder.
This is a security risk ( see facebookarchive/nuclide#570) and so it
is hidden behind a user setting of
useNPMPackagedFlow
which needs to be set totrue
for it to work. - @orta #53 - Show flow errors that start at line 0 - @orta #54