The NativeScript extension for Visual Studio Code is a great way to accelerate your NativeScript development workflow. With Intellisense, interactive debugging and integration with device emulators, the NativeScript extension for Visual Studio Code provides the most feature complete environment for NativeScript Development. Perhaps the best feature of all, it’s free!
The latest release is located at the Visual Studio Marketplace page for NativeScript. Our work is open source. The repository is located at the NativeScript for Visual Studio Code on GitHub. User documentation is also available on GitHub.
Cmd+Shift+Pto bring up the command palette
You can also manually download and install the NativeScript extension from the Visual Studio Marketplace.
Found a Tip or Trick that should be here? Tweet us at @nativescript and let us know!
Use conditional breakpoints to selectively pause running code by Right-Clicking click the line number of a given line, choose "Add Conditional Breakpoint" from the menu and typing the condition in the input field.
Ditch console.log(). See how in this 5 minute video on debugging NativeScript with Visual Studio Code.
Want to use the latest version? As of version 0.2.0, NativeScript for Visual Studio Code will tell you when there is a new update. Not yet on 0.2.0? Here's how to manually update!
Context switching is a productivity killer. VS Code is designed to minimize as many context switches as possible. Suppose you need to look at a function definition. Rather than switch contexts from your current file to the one you need to reference, you can just use the peek capability of VS Code. Just Right Click and a lightweight view of the desired file will appear inline. Hit the escape key, and the peek information will disappear..