Reputation: 47
Intellisense works for JavaScript but not jQuery.
I have followed these recommendations HERE, but I do not think they work for VS2013 any more.
Since this is my first question, I cannot post images, but my error is identical to the thread linked within this message. The only difference is that I am using vs2013 professional.
I have placed photos on the MSDN forum so you can see my error HERE
Upvotes: 1
Views: 10116
Reputation: 2316
In VS : go to the "Tools > Options > Text Editor > JavaScripts >IntelliSense >References" And add jquery-version.intellisense.js reference to the list of references and restart visual studio. it works for me. Hope this help !
Upvotes: 0
Reputation: 1480
I see from your comments that you have this working now, but I'll follow-up with the same response I used on the Microsoft Connect bug reported for this item, in case someone else comes upon this question.
I followed the link to the MSDN forum post at:
From this post, it looks like the issue is with the JavaScript source:
function person(name, age) {
this.name = name;
this.age = age;
}
var me = person(brian, 39);
When typing "me." you are shown a generic list of identifiers (i.e. names) in the source. This is because the source is not valid JavaScript when executed. First, the person function is being used as a constructor and so you need to use "new person(" to call it. Second, the name brian is used like a variable, but I assume it's supposed to be a string "brian". Here's a corrected version of this source that should fix your issue:
function person(name, age) {
this.name = name;
this.age = age;
}
var me = new person("brian", 39);
I hope this helps! - Jordan (Microsoft Visual Studio, JavaScript tools team)
Upvotes: 1
Reputation: 9289
Visual studio 2012 update 4 is more stable then latest 2013 version.
Everything you can do in 2013 can easily done in Visual studio 2012. I have seen many people puzzling a lot for fix the common thing.
Save your time and try VS 12 update 4. You feel it's better stable then 2013.
Hope this help !
Upvotes: 0