Tuesday, September 4, 2012

jQuery Intellisense in Visual Studio

Gusy, here is a way to get a Intellisense for jQuery  API like we get in our Visual studio for other .Net libraries.

Do you want something like this? then follow the steps below...



Steps:
1. Go to http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx and download VSDOC file.

2. Place the downloaded file in visual studio at the same folder where your jquery-#.#.#*.js resides and add the reference like this

for eg:

and that's it! Visual studio will automatically fetch it to give you Intellisense when you use jQuery functions next time.

Cheers!

No comments:

Post a Comment