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:
1: <script src="jquery-1.2.3-intellisense.js" type="text/javascript"></script>2: <script src="your.js" type="text/javascript"></script>
That’s that! You now have intellisense for jQuery which will make your life so much easier.
Amit
We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution
Learn More
Jahedur Rahman Said on Jul 23, 2008 :
Nice. Realy helpful
DevShare.NET Said on Jul 23, 2008 :
Nice tip, just that jQuery is 1.2.6 now, not 1.2.3.
Rodrigo Said on Jul 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.
Thomas Williams Said on Jul 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 http://blogs.ipona.com/james/archive/2008/02/15/JQuery-IntelliSense-in-Visual-Studio-2008.aspx
Cheers, Thomas
Thomas Williams Said on Jul 23, 2008 :
Looks like the comment machine ate my tags. Check at http://blogs.ipona.com/james/archive/2008/02/15/JQuery-IntelliSense-in-Visual-Studio-2008.aspx for the rundown!
lami Said on Oct 6, 2008 :
absolutely awesome…