I’ve been trying to enable this functionality today and found out that it just isn’t worth the effort, at least for the latest jQuery version (1.3.2). Basically, you need to first off install a patch to enable the functionality. Then, you’ll need a -vsdocs.js file, which is just an API descriptor containing all the documentation for the framework. It is not actually a js file. You can find more detailed information here. Then, JScript IntelliSense will parse all the included js files and check for errors. If it thinks that one of your included script files isn’t good, intellisense just won’t work. The problem is that it complains about the actual jQuery file not being well formed:
Just to shorten the story, you’ll get to spend some time trying to make it to work, probably without success and then will give up miserably (my case). The fact is that it just isn’t worth all the work, while you still have a decent online documentation to help.
In the end, you’ll have to calm down and wait a little bit while Visual Studio 2010 is still beta since jQuery will be shipped with VS2010 and it will include built-in robust intellisense and documentation (not from a downloaded patch). This is good news for us all! In the meantime, let’s wait for the final release :)