JQuery vsdoc Visual Studio intellisense

To enable the vsdoc intellisense. Reference the file in your page as follow:

<% if(false) 
{ %>
    <script src="/path/to/jquery-1.8.1-vsdoc.js" type="text/javascript"></script>
<% } %>

It is wrapped in if(false) to prevent the reference from being rendered.

And at the top of your javascript (.js) file:

/// <reference path="/path/to/jquery-1.8.1-vsdoc.js" />

What's your thoughts on this?


Protected by WP Anti Spam