jQuery IntelliSense in Visual Studio


I was working on a web site last night and my javascript IntelliSense wasn’t kicking in. I asked Visual Studio to refresh the IntelliSense (Edit, IntelliSense, Update JScript IntelliSense) and got a message in the Error List:

Warning 1 Error updating JScript IntelliSense: C:\MvcApplication1\MvcApplication1\Scripts\jquery-1.4.1-vsdoc.js: Object doesn't support this property or method @ 1108:1

I did a quick search, but that didn’t turn much up. Eventually, I ended up grabbing the jquery-1.4.1-vsdoc.js file from http://docs.jquery.com/Downloading_jQuery. I dropped this over the top of the existing one in my project, refreshed IntelliSense again and ... it worked!

As always, your mileage may vary 🙂

UPDATE: This is a known issue and is fixed for RTM.

Comments (0)

Skip to main content