Referring to JavaScript documentation in Visual Studio via reference

While I don't use Microsoft or Google's CDNs for jQuery, I do have a separate sub-domain where I serve these files from (and will eventually use a CDN, I'm sure). However, this means that in Visual Studio I miss out on the helpful documentation functionality.

Based on a comment on 3 reasons why you should let Google host jQuery for you it turns out there's a fairly easy way to get Intellisense; simply include the following in your JavaScript file.

/// <Reference Path="/Scripts/jquery-1.4.1-vsdoc.js"/>

You'll probably want a copy stored locally so that you can use this without the extra traffic.