Visual Studio 2008 Intellisense for jQuery not working with jQuery 1.3.2 vsdoc

Have you faced issues with the Visual Studio 2008 Intellisense for jQuery. There are some issues of the intellisense not working with jQuery 1.3.2 vsdoc.

Some solutions:

- Install the hotfix for full jQuery Intellisense in VS 2008 http://blogs.msdn.com/webdevtools/archive/2008/11/07/hotfix-to-enable-vsdoc-js-intellisense-doc-files-is-now-available.aspx

- Download the latest jQuery vsdoc file from here http://code.google.com/p/jqueryjs/downloads/list

- The correct file to use is jquery-1.3.2-vsdoc2.js and not jquery-1.3.2-vsdoc.js

- Check this link http://blogs.ipona.com/james/archive/2009/01/14/jquery-1.3-and-visual-studio-2008-intellisense.aspx




About The Author

Suprotim Agarwal
Suprotim Agarwal, Developer Technologies MVP (Microsoft Most Valuable Professional) is the founder and contributor for DevCurry, DotNetCurry and SQLServerCurry. He is the Chief Editor of a Developer Magazine called DNC Magazine. He has also authored two Books - 51 Recipes using jQuery with ASP.NET Controls. and The Absolutely Awesome jQuery CookBook.

Follow him on twitter @suprotimagarwal.

2 comments:

Meghan & Jake said...

I was running into this problem too. I resolved it by making sure the name of the vsdoc file has the exact same name as the jquery js for your page. I was using Google's API via:

src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"

I had to rename the vsdoc file to "jquery.min.js" as in this snippet:

src="Shared/Scripts/jquery.min.js"> 
Hope it helps!

Suprotim Agarwal said...

Thanks for that tip Jake!