Creating Understanding and Educating Programmers, Developers and Technical Communities, one post at a time.

Friday, October 30, 2009

How To Enable jQuery Intellisense in VS 2008

Here I want to share some valuable information on jQuery intellisense support in Visual Studio 2008.
Here are few steps which you need to follow.
  1. Make sure you already have SP1 for VS 2008. Otherwise you need to install it.
  2. Install patch KB958502 - JScript Editor support for “-vsdoc.js” IntelliSense files.
  3. Download the visual studio documentation from jQuery website.
Now drag downloaded documentation in your project and place it at same location where you have jQuery library. You will also notice that your downloaded documentation contain file name vsdoc2.js. In my case, I have jQuery library name jquery-1.3.2.js, when I downloaded jQuery documentation, that has jquery-1.3.2-vsdoc2.js, what I did, I removed 2 before dot. It became like jquery-1.3.2-vsdoc.js.

For more detail on jQuery subject, please visit Setting up Visual Studio Intellisense for jQuery.