jQuery and ASP.NET

February 10, 2010

Visual Studio Intellisense (vsdoc) for jQuery 1.4.1 now available




Visual Studio Intellisense for jQuery 1.4.1 is now available and can be downloaded from the jQuery site

image

I have downloaded both the jQuery 1.4.1 library and the Visual Studio Intellisense documentation for jQuery 1.4.1 and kept it in the Scripts folder.

image

Here’s how I am using the file in a sample application:

image

Observe how the documentation appears in Visual Studio 2008 after I typed $(

Note: You have to only reference the jQuery 1.4.x file in your code and do not have to reference the -vsdoc.js file. Just keep both these files in the same folder. Visual Studio automatically detects a -vsdoc.js file along with your jQuery library and parses the intellisense file instead.


Bookmark this link on del.icio.us (saved by 0 users)

Did you like this post?
kick it on DotNetKicks.com
subscribe via rss subscribe via e-mail
print this post follow me on twitter
Others Also Read..

comments

2 Responses to "Visual Studio Intellisense (vsdoc) for jQuery 1.4.1 now available"
  1. Bijoy Matu said...
    February 10, 2010 7:33 PM

    Thank you for this post. I must be doing something wrong. When I follow instructions, I get error in visual studio "Error updating JScript IntelliSense"

    can you help?

  2. Suprotim Agarwal said...
    February 11, 2010 3:21 AM

    Bijoy: Since I have been asked this question a couple of times on forums, I thought of dedicating a post to it. Here it is:

    Visual Studio 2008 jQuery Intellisense - Error updating JScript IntelliSense: Object doesn't support this property

 

Copyright 2010 All Rights Reserved DevCurry.com by Suprotim Agarwal