sadati
sadati

Reputation: 115

jQuery Intellisense in VS2012

How can I add a plugin into Visual Studio 2012 to work with jQuery syntax in intellisense on visual studio?

Please don't give me link of other site, just give a solution that you did and worked fine.

Upvotes: 9

Views: 19626

Answers (3)

Vishal Goel
Vishal Goel

Reputation: 1

You can reference Jquery intellisense file (jquery-1.12.4.intellisense.js) in your page and then it will start working.

Upvotes: 0

Ben
Ben

Reputation: 188

  1. Install NuGet in Visual Studio Extension Manager
  2. Open your web application solution
  3. Open Package Manager Console from Tools-> Library Package Manager, NuGet add latest jQuery versions to your project
  4. Type "PM> Install-Package jQuery" in console
  5. Drag and drop your jQuery script file from the Solution Explorer window onto the javascript editor window
  6. Enjoy jQuery intellisense

Upvotes: 13

BenjaminPaul
BenjaminPaul

Reputation: 2941

Visual Studio 2012 provides JQuery intellisence out of the box without the need for additional plugins... to get this functionality, simply drag the _references.js file from with teh scripts folder into the .js file you are working on.. it will place a tag into the top of the file for you and provide intellisense.

Im presuming you are using as ASP.NET / MVC project template.

Upvotes: 5

Related Questions