Make VS.NET 2008 intellisense a little more intelligent
Thursday, September 11th, 2008Looking for a solution to Visual Studio 2008’s Intellisense’s poor performance while editing large HTML documents I came across an awesome discovery. You can extend the intellisense to include jQuery (well any framework provided you have it properly documented.) This is awesome because even though I love the new Ajax Control Toolkit in VS.NET 2008 it just doesn’t hold a candle to jQuery and it’s plethora of plugins.
To gain this functionality, first grab the intellisense stub from InfoBasis’ jQuery Intellisense Header Generator, or as I lovingly call it, Ijihg. [Direct Link]
Add it to your project and then the really easy part, drag the file into the javascript file(s) you wish to enable jQuery intellisense on, or you can type in the reference manually
-
/// <reference path="jquery.intellisense.js" />
You should get something looking like:
And that’s all there is too it. Once you begin coding intellisense will pick up jQuery and make your life a little bit easier. Here’s a couple screens to give you an idea of what you can expect:
Technorati Tags: Visual Studio 2008, jQuery, intellisense
Popularity: 21% [?]



