jQuery 1.3 and Visual Studio 2008 Intellisense - Download jQuery-vsdoc

2/8/2009 1:09:39 PM

jQuery is a wonderful javascript engine, which makes the time working with web much easier!

Some time ago Scottgu did release a blog post about Visual studio and jQuery intellisense for vs2008, which is wonderful to have, and not make guessing about the javascript code references.

When the new version of jQuery did enter did arrive, James Hart was fast to create a new version of the jQuery vsdoc documentation by using the jQuery api tools.

Read more about his update update blog here. If you would like to enjoy the updated version of vsdoc for jQuery, you can either Download jQuery-vsdoc.zip here or visit the main website for the update here (JQuery doc 1.3)

The best solution for working with this intellisense is by using the "script reference" code in the top of the javascript file youre are programming in. I've got quite bad experience using jQuery intellisense with inline javascript code on a page, sometimes it work, sometimes it doesn't, so my advice would be only make code in the external javascript file.

Here is the code you will have to use, to get the jQuery intellisense functions in the script file

/// <reference path="jQuery-vsdoc.js" />

And if you haven't updated your Visual Studio to accept "-vsdoc" intellisense, the update patch is here.

http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736



Kommentarer

Benjamin Ravn10/22/2009 12:09:22 PM

Tja, hver mand sit JS Library. Jeg har dog valgt Prototype, så kan man også benytte sig af det vidunderlige script.aculo.us. ;-)


Tilføj en kommentar

Navn
Email (Bliver ikke vist på siden)
Hjemmeside
Hvad er 2 + 3?
Kommentar
 
Copyright © 2005 - 2010 Daniel Nøhr. All rights reserved