stringo0
stringo0

Reputation: 2760

Visual Web Developer - jQuery Intellisense not showing

I'm trying to follow this tutorial - http://www.dotnetcurry.com/ShowArticle.aspx?ID=231&AspxAutoDetectCookieSupport=1

I have both the vsdoc file and the main jQuery script files in the same folder, and when I include the jquery file, I get no intellisense when I start typing $(, but I do get intellisense when I include the jquery vsdoc file instead.

Any ideas? I'm expecting vs to automatically load the intellisense from the vsdoc.

Thanks for any help!

Upvotes: 0

Views: 2085

Answers (3)

Mutation Person
Mutation Person

Reputation: 30500

Check you have the hotfix for visual studio installed.

You can get it here, along with instructions on how to do it:

http://blogs.msdn.com/webdevtools/archive/2008/11/07/hotfix-to-enable-vsdoc-js-intellisense-doc-files-is-now-available.aspx

Upvotes: 1

Jason
Jason

Reputation: 52533

all you need to do is make sure you reference the vsdoc file at the top of your custom scripts page:

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

since the vsdoc is only needed for development, i keep it somewhere on my machine locally and just reference it in every new project i make. there's no need to include it in your project. just make sure your reference path is accurate.

Upvotes: 1

Timothy S. Van Haren
Timothy S. Van Haren

Reputation: 8966

You'll need to include the jquery file and reference the vsdoc file.

Upvotes: 0

Related Questions