CODEDIGEST
Home » FAQs
Search
 

Technologies
 

How to enable jQuery intellisense in Visual Studio 2008?
Submitted By Satheesh Babu B
On 4/16/2009 8:58:49 AM
Tags: Interview Questions,jQuery  

How to enable jQuery intellisense in Visual Studio 2008?

 

As we all know, visual studio 2008 already support JavaScript intellisense. To extend its intellisense support for jQuery, Microsoft released a patch KB958502 for visual studio 2008 with SP1.

 

Apart from providing jQuery intellisense, it will also add intellisense support to all the JavaScript files that we add to our solution. For example: if we have a JavaScript file called "CDvalidations.js", this new patch will look for its corresponding XML documentation file with "-vsdoc.js" appended to its name in the same folder to provide intellisense, in our case it will be CDvalidations-vsdoc.js.  We can have all the documentation in XML format in these doc files which will be displayed with the intellisense.

 

Download the xml documentation file for JQuery from here. Place the file in the same location where jQuery library is added.

 

To summarize the above points,

1.      Download jQuery library from jQuery official website here.

2.      Install the hotfix KB958502 for your Visual studio 2008 SP1. If you don't have SP1 installed already, you can download it from here.

3.      Download the jQuery doc file from here. Include this file in the same folder where jQuery library is present.

 

To start jQuery development, please read What is jQuery? How to use it in ASP.Net Pages?

 

Recent FAQs
  • View All FAQs..