Visual Studio 2010 - Intellisense for jQuery 1.4.4

I tried to look at some other issues here in Stack, and also search google, but mostly get hits in Korean / Japanese / Chinese.

Anywho im runs VS2010 his MVC3 project, im using the _layout master page using jQuery 1.4.4 along with a suitable vsdoc for this version (downloaded today from MS, so it should be the newest).

This is the contents of the _layout im page, using: http://pastebin.com/fB6FzaLS Not sure if this is necessary or not, but I added code to enable jQuery vsdoc (and the path is correct).

Whenever I Ctrl + Space, point after jQuery pointer, I get this error in my output panel:

Javascript Intellisense Message: JSIntellisense: inner / window (2: 4): expected function

The intellisense offers that he offers are extremely universal (constructor, value, etc., only about 7 ish).

In the extension manager, I disabled everything except Visual Studio Studio JScript enhancements (brackets, highligther word, etc.)

Any ideas what could be the problem here?

+5
source share
2 answers

I am wondering if you are conflicting with two instances of jQuery.

. -, , , intellisense, VS2010 jQuery. , , JS script VSDOC .

, jQuery 1.5.1 , .

+3

Javascript Intellisense Message : 

, JavaScript VS 2010, .

Javascript Intellisense Message: [LocalPath]\jquery-1.5.1.js(6357:32) : Function expected

... .. ..

: 'Sys' is undefined 
: Object required 

,

\jquery-1.5.1.js
\tiny_mce.js

.

, - , ?

, ( ) : a) b) script c) ,

/// <reference path="~/Scripts/custom/core.js" /> 

( , XML, JS, )

+1

All Articles