setup-vscode.mo
- Hit
cmd+shift+p
- Select
Shell Command: Install command 'code' in PATH
- You are now able to launch
code <path>
in your terminal
Open the plugins menu and install:
- ESLint (Dirk Baeumer)
- Flow Language Support (flowtype)
- npm Intellisense (Christian Kohler)
- Path Intellisense (Christian Kohler)
- Prettier (Esben Petersen)
- React Native Tools (Visual Studio Mobile Tools)
- Auto Close Tag (Jun Han)
- Git Lens (Eric Amodio)
- Jest (Orta)
- Color Highlight (Sergii Naumov)
- Hit
cmd+shift+p
- Select
Preferences: Open User Settings
- Add the following:"editor.tabSize": 2,"editor.formatOnSave": true,"files.insertFinalNewline": true,"flow.useNPMPackagedFlow": true,"workbench.iconTheme": "vs-seti","files.associations": {"Fastfile": "ruby"}
- Hit
cmd+shift+p
- Select
Preferences: Open Workspace Settings
- Add the following:
- For a react project with Flow
"javascript.validate.enable": false
Last modified 5yr ago