As I understand it, you should be able to (with KB958502 installed) get Intellisense for jQuery simply by referencing the script (as long as the -vsdoc version is alongside).
We'd quite like to use a CDN for distributing this, but simply adding:
<script language="javascript" type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.js"></script>
Gives an obscure warning
Warning 1 Error updating JScript IntelliSense: C:...\Temporary Internet Files\Content.IE5\4U5FWPZF\jquery-1.7.1-fds901..js: Object doesn't support this property or method @ 1352:1 c:\Projects...\MyFile.aspx
At a guess, I'd assume that it's "having a sulk" because the file name in the cache isn't of the form jquery-1.7.1-vsdoc.js, especially as the error remains the same, even if I go the whole way with:
<script language="javascript" type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.js"></script>
<script language="javascript" type="text/javascript">
// This is for jQuery intelisense:
/// <reference path="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1-vsdoc.js"/>
$(function() {
// My other code...
});
</script>
This still doesn't work.
Is it simply the case that vsdoc Intellisense does not work with remotely hosted files?