intellisense with jquery in visual studio 2010

I put those two above. But I get no intellisense with jquery.

<script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
<script src="../../Scripts/jquery-1.5.1-vsdoc.js" type="text/javascript"></script>

I also want to achieve intellisense in a javascript file, is it possible?

UPDATE:

jQuery(function ($) {
    $("").   //no click event handler comes up
});

jQuery Mobile – Intellisense for Visual Studio 2010

I have been unable to get Visual Studio to present intellisense when working with jQuery-Mobil. How do I enable this in Visual Studio 2010

visual studio 2010 beta 2, javascript/jquery intellisense not working

has anyone experienced a similar problem? ive recently upgraded my solution to 2010 beta 2 and now i have lost javascript/jquery intellisense support, it worked fine with visual studio 2008!

Visual Studio 2010 Intellisense

When using Visual Studio 2010, I open an aspx and cs file to edit. (I have not created a project. I am simply opening one aspx file and one cs file from my web directory to edit.) The intellisense wil

Visual Studio 2010 intellisense colors

Is it possible to change the color of intellisense in Visual Studio 2010. As you can see in this screen shot. Its virtualy impossible to see the types of the parameters because they’re displyed with a

javascript intellisense in Visual Studio

How can I get JavaScript IntelliSense in Visual Studio 2008 and in Visual Studio 2010 ? How can I get jQuery IntelliSense in Visual Studio 2008 and in Visual Studio 2010 ? If I fail to get the above,

Is the jQuery intellisense plugin available for Visual Studio now?

Is the jQuery intellisense plugin available for Visual Studio now?

Visual studio 2010 intellisense stopped working

I ve got a small problem with the VS2010. I installed Resharper and soon after my installation period has expired, My visual studio 2010 intellisense stopped working. Its very hard to work without int

Visual Studio 2010 – Intellisense for jQuery 1.4.4

I tried going through some of the other questions here at Stack, aswell as searching google but i mostly get hits in korean/japanese/chinese. Anywho im running VS2010 its a MVC3 Project, im using a _l

Visual Studio 2010 – intellisense in comments

Is it possible to create an intellisense-like link to a class / class property / class method in a simple comment in Visual Studio 2010 (doing ASP.NET MVC 3 project but i guess that doesn’t really mat

Visual studio 2010 intellisense methods order

I’m writing in C++. Visual Studio 2010 intellisense shows methods in alphabetical order. Is there a way to make it show methods in original order (the order they appear in source code)?

Answers

Simple google search came up with this:

VS2010 Tips #7: How to make jQuery Intellisense work for external JavaScript file

Short answer:

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

Note that you can’t use the @ sign inside js file like in a Asp.net-MVC View

Read this to learn how you can overcome this.

Right click the project >> Click on ‘Add Library Package Reference’ >> On the left frame select ‘Online’ >> On the right most corner frame, enter ‘jquery’ in the ‘Search Online’ textbox >> After results come, click and Install the ‘jQuery.vsdoc’ package.

Simple!

Hope it helped!