Skip to content
Node.js VisualStudio IntelliSense
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead, 1 commit behind ishisaka:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nodelib
LICENSE
Original LICENSE
README.md

README.md

Node.js IntelliSense for Visual Studio

  • Require VisualStudio 2012 / Visual Studio 2010
  • This project adds definitions for Node.js libraries to Visual Studio's Javascript IntelliSense.

##Installation Copy the nodelib folder from this repository to the root directory of your website project.

##Usage

Add

/// <reference path="~/nodelib/node.js"/>

to ~/Scripts/_references.js.

###Adding custom modules To add IntelliSense for non-built-in modules, set require.modules.module name to the object exported by the module. Calling require("module name") will then return that object.

You can usually expose existing files by creating a separate file that looks like this:

/// <reference path="../node_modules/q/q.js" />
require.modules.q = exports;
exports = module.exports = {};

And referencing that file in ~/Scripts/_references.js.

##Licence

Copylight © 2013 Tadahiro Ishisaka (http://isisaka.com/)

See below "LICENSE" file.

##Original

Originally written by kurouninn.

As for the original source code, the MIT license is former-distributed. See below "Original License" file.

URL: https://bitbucket.org/kurouninn/node.js-visualstudio-intellisense

Very, very thanks kuroninn.

##History

###v0.2

  • Add support for custom modules defined in require.modules. (by SLaks)

###v0.1.1

  • Alpha Release.
  • Target Node.js version 0.8.19

###v0.1.0: 2013/01/20

  • Alpha Release.
  • Target Node.js version 0.8.17
  • The addition of summary comments from original codes.
  • The addition of Punycode library codes.
  • All Classes and functions are modified from original code.
  • Author changed.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.