Solving Visual Studio 2008 SP1 Java Script IntelliSense Support Problem

Visual Studio 2008 support Java Script IntelliSense. It does so by using a "-vsdoc.js" file, which is saved together with the "original" ".js" file. For example, if you're using JQuery, and use jquery-1.3.2.min.js file, you can put a jquery-1.3.2.min-vsdoc.js file just next to it (available from JQuery download page), and that's it.

 

Unfortunately, this may not work, and all you get is: "Error updating JScript IntelliSense: Object doesn't support this property or method".

 

One of the things may cause this issue is a bug in Visual Studio. If you're using Visual Studio 2008 SP1 (like I do), there's a patch you can install that adds JScript Editor support for “-vsdoc.js” IntelliSense documentation files.

 

If this still doesn't work, make sure the ".js" file, and the "-vsdoc.js" file share the same name.

Comments

I have a better solution... use ReSharper(http://www.jetbrains.com/resharper/index.html).
It has one obvious advantage over .NET Studio (It wasn't developed by Microsoft) and lots of other including IntelliSense.

As far as I know, ReSharper is a VS add-on, so you can't get rid of MS this time... Worked with it a while ago - a great tool indeed.

Although VS does the work, and gets improved all the time, every now and then I search for a good C# IDE, which is not VS, so far with no luck.

If someone in our community had experienced with such IDE, I'll be more than happy to test-drive it.

It's true.. Unfortunately you cannot get rid of MS. But why not make life easier.
I'm working with a nice person who recently was degraded to .NET development. As an old IntelliJ user, there isn't a single day passing by without him thanking Allah for the extended functionality ReSharper provides.

"degraded to .NET development" does not sound good.

I'm just being a jerk... ;)