gds03
gds03

Reputation: 1379

Visual Studio 2005 + jQuery intellisense

I'm trying to put my visual studio 2005 profissional with the jQuery doc

I'm importing the core and doc files, but I still don't get the result I hope for...

No intellisence at same...

Upvotes: 0

Views: 1586

Answers (2)

Nick Craver
Nick Craver

Reputation: 630607

The short answer: this doesn't work in Visual Studio 2005.

-vsdoc is only supported in Visual Studio 2008, there was a major overhaul to the javascript intellisense engine in 2008, and the vsdoc functionality relies on it.

Upvotes: 1

Justen
Justen

Reputation: 4869

I'm using 2008, but maybe try this method. It's what I do and it works.

Assuming, the script file you're working on is in the same directory as the jQuery vsdoc IntelliSense file, then put this at the top of said script file

/// <reference path="jquery-1.4.1-vsdoc.js" />

EDIT::

Alright, just a few things then.

  1. Make sure that you actually added the jquery to your project, not to the folders of your project. Same goes for the vsdoc.

  2. For the vsdoc, make sure it is the same name as the jQuery file + "-vsdoc". For instance, my two files are like this:

    jquery-1.4.1.js

    jquery-1.4.1-vsdoc.js

Upvotes: 0

Related Questions