microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.6.4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

doc/intellisense.md

22lines · modecode

1## Using IntelliSense provided by Flowtype
2
3If you've gotten used to using Flowtype to perform static types analysis, you may also want to use it to provide code completions in VS Code instead of the default TypeScript Salsa engine. In order to make IntelliSense understand Flowtype annotations, follow these steps:
4
5* Install the Flow npm package:
6
7 ```
8 $ npm install -g flow-bin
9 ```
10
11* [Install Flow for VS Code](https://github.com/flowtype/flow-for-vscode)
12
13* Add the following configuration in `$workspace/.vscode/settings.json`
14
15 ```
16 {
17 "javascript.validate.enable": false,
18 "flow.useNPMPackagedFlow": true
19 }
20 ```
21
22Please also make sure that your project has a `.flowconfig` file.