Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save visualjeff/d27392719fd96955ae006865f95b9e83 to your computer and use it in GitHub Desktop.
Save visualjeff/d27392719fd96955ae006865f95b9e83 to your computer and use it in GitHub Desktop.
How to add code complete for Node.js in Visual Studio Code.
sudo npm install typings --global
typings search --name node
typings install env~node --global --save
Then I added the following to the top of my index.js file.
/// <reference path="typings/index.d.ts"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment