Here is something nice I have found while wandering around the Internet. We all know jQuery, jQuery is a Framework written in JavaScript which makes client side and DOM work much easier and faster. If you don’t know it yet, be sure to check it out, it makes Web Developers life easy on the web. Shahar wrote a great article about Calling ASP.NET WebMethod with jQuery so check it out.

Anyhow what I found was a Visual Studio Add-in that provides Intellisense for jQuery! How sweet it this!

all you have to do is the following:

  • Reference it under the Head Tag in your HTML file like this:
       1: <script src="jquery-1.2.3-intellisense.js" type="text/javascript"></script>
       2: <script src="your.js" type="text/javascript"></script>

  • In you js file tell Visual Studio to use the Intellisense file:

    /// <reference path="jquery-1.2.3-intellisense.js" />

That’s that! You now have intellisense for jQuery which will make your life so much easier.


Tags :

7 Responses to “Add jQuery Intellisense To Your Visual Studio”

  1. Jahedur Rahman

    Said on July 23, 2008 :

    Nice. Realy helpful

  2. DevShare.NET

    Said on July 23, 2008 :

    Nice tip, just that jQuery is 1.2.6 now, not 1.2.3.

  3. Rodrigo

    Said on July 23, 2008 :

    Just to correct..this is not a Visual Studio add-in, this is just a javascript file that follows the patterns to give a js file intellisense for Visual Studio 2008.

  4. Thomas Williams

    Said on July 23, 2008 :

    G’Day Amit – I’m pretty sure your method will also make the end user of your web site download the intellisense file (unless you remove the reference in production).

    An alternative which enables intellisense for development but does not reference the file for normal users is to put the script reference in an asp:PlaceHolder (VS2008 only) like:

    I found this originally at

    Cheers, Thomas

  5. Thomas Williams

    Said on July 23, 2008 :

    Looks like the comment machine ate my tags. Check at for the rundown!

  6. lami

    Said on October 6, 2008 :

    absolutely awesome…

1 Trackback(s)

  1. Jul 23, 2008: Visual Studio Links #56 : Visual Studio Hacks

Post a Comment