0
kicks
Getting started JQuery & Visual Studio .NET 2008 intellisense problem
Hi there,
Today at work, I found out something weird about the JQuery intellisense feature in Visual Studio 2008.
For 99% of the developers out there you won't have a problem, but for the 1% of plugin developers, you have! But he! There's at least a workaround! Tongue out
So first: To enable intellisense completion for jQuery within VS you'll want to follow three steps (According to Scott Guthrie and Guy Burnstein) and my other step, to setup your project:
Step 1: Install VS 2008 SP1
VS 2008 SP1 adds richer JavaScript intellisense support to Visual Studio, and adds code completion support for a broad range of JavaScript libraries.
Step 2: Install VS 2008 Patch KB958502 to Support "-vsdoc.js" Intellisense Files
Last year Microsoft shipped a patch that you can apply to VS 2008 SP1 and VWD 2008 Express SP1 that causes Visual Studio to check for the presence of an optional "-vsdoc.js" file when a JavaScript library is referenced, and if present to use this to drive the JavaScript intellisense engine.
These annotated "-vsdoc.js" files can include XML comments that provide help documentation for JavaScript methods, as well as additional code intellisense hints for dynamic JavaScript signatures that cannot automatically be inferred. You can download it for free here.
Step 3: Download the jQuery-vsdoc.js file
You can download both jQuery and the jQuery-vsdoc file from the official download page on t