views:

624

answers:

5

I've followed every steps in here, but still, the Intellisense for JQuery simply isn't working, any ideas?

A: 

I think I had to reload the files or the project or something to get it working. IME it's a bit like all MS Intellisense - you never quite know if you're going to get anything or what it's going to be...

No doubt JetBrains and WholeTomato will along soon enough to fix it.

Will Dean
+1  A: 

Download the jquery documentation from here and place it in the same directory as the file called 'jquery-1.2.6.pack.js'. Restart VS, and you should now have intellisense working. VS looks for a file with a '-vsdoc' at the end of the filename to provide intellisense. There's over 5000 lines in there, but if you're comfortable navigating through it then you can actually alter the intellisense hints to suit yourself.

If that doesn't work for you, then try this MS patch to help make VS recognise the -vsdoc files for javascript.

Graeme
+3  A: 

I got the problem solved. It turns out that I didn't reference the JQuery script file properly.

Ngu Soon Hui
+2  A: 

When I added the update for jquery intellisense to vwd2008, it wouldn't work on some of my existing projects.

Turns out that the ui.datepicker.js plugin I was using was causing the intellisense to fall over.

I hid the ui.datepicker.js file from the intellisense by creating a dummy file in as outlined in point 8 in this guide

jQuery Intellisense Guide

Hope that helps.

Jim3

A: 

I downloaded this VS2008 hotfix:

http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736

and it solved my issue, I tried to rename the vsdoc2 file to vsdoc and it did not help but the hotfix solved it.

couellet