IntelliSense for jQuery
As for reported here, we now have an official IntelliSense documentation file that will allow you to get rich intellisense for jQuery from inside of Visual Studio.
When you go to download jQuery, you will see a Documentation link. Or you can download it directly from here:
http://code.jquery.com/jquery-1.2.6-vsdoc.js
Using this file is simple, if you are inside an ASPX page, you can reference it like this:
<script src="jquery-1.2.6.js" type="text/javascript"></script> <% if (false) { %> <script src="jquery-1.2.6-vsdoc.js" type="text/javascript"></script> <% } %>
The if (false) part will make sure we don’t render or execute this as a script but it will get loaded by IntelliSense.
If you are inside a javascript file, you can reference it in the normal way like:
/// <reference path="jquery-1.2.6-vsdoc.js" />
This also supports plug-ins. So you will get IntelliSense on the as well. Hope that those of you using jQuery can put this file to good use.