By Dan Caron on
10/17/2008 2:27 PM
I have been working a LOT with JavaScript lately - using ASP.NET AJAX. I had no problem getting intellisense to work in my .js files...all of the JavaScript API comes up like magic. But, if I have 2 .js files - and one references functions in the other - I could never figure out how to get that to work.
And now I have found how to do it.
http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx
You need to add a /// comment to the top of the external javascript library. This instructs Visual Studio to extend intellisense into that referenced javascript file.
Dan