Package Intellisense for Visual Studio
NPM and Bower package Intellisense directly in the Visual Studio JSON editor.
Note This extension requires VS2013 Update 3 RC or newer.
Download this extension from the VS Gallery
or get the nightly build.
Features
Intellisense
Live search results from both NPM and Bower show up in Intellisense:
It can even show the package version as well:
Please notice that npm version Intellisense is much faster than Bower's. This is due to Bower's slower API.
Hover tooltips
Get the information about the packages on mouse hover
Smart Tags
Smart Tags are small helpers that offers contextual features
Editor watermarks
Sometimes JSON files tend to look the same, so watermarks are added to the bottom right corner to identify what file you are working in.
The watermark logos are added to:
- bower.json
- package.json
- gruntfile.js
- gulpfile.js
Package restore on solution open
Make sure you always have both npm and Bower packages restored when you open a project in Visual Studio.
Tools -> Options -> Package Intellisense let's you modify the behavior of this feature.
Package restore on save
Any time you save either package.json or bower.json the packages will be restored/installed automatically in the background.