jQuery Intellisense

March 15, 2010

As my latest project requires client-side calls to a web service, I decided to use jQuery. After numerous visits to the (Excellent) jQuery documentation It didn’t take long for me to start missing intellisense. As is often the case, a quick Google session found the answer on Scott Guthrie’s Blog – jQuery Intellisense in VS 2008

Basically its a case of:

a) Apply a patch
b) Ensure you are using the jQuery release that has the documentation included

A word of caution – You should only use the jQuery release that includes the documentation for development, remember to switch over to the standard (Ideally minified) version when you go to production. Heres why:

  • Documented Version (jquery-1.4.1-vsdoc.js): 230kb
  • Non-Documented/Standard Version (jquery-1.4.1.js): 157kb
  • Minified Version (jquery-1.4.1.min.js): 70kb
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: