August 18, 2008
Enabling JavaScript Intellisense In External Libraries Using Microsoft Visual Studio 2008 Service Pack 1
This is pretty easy to get working in Microsoft Visual Studio 2008 Service Pack 1. In order to get this working you need to tell Intellisense the location of the libraries you are using. Ken Cox has written a great article on how to get this working.
Telling Intellisense is just a matter of adding a special comment at the top of the .js file. Three slashes followed by the reference in an XML element syntax.
/// <reference path=”jquery-1.2.6.js” />
Intellisense will parse the referenced file and once you start typing you should see the jQuery members.
Full information on this can be found on Ken’s write up here: http://weblogs.asp.net/kencox/…

