Your official information source from the .NET Web Development and Tools group at Microsoft.
We have good news for jQuery fans. The hotfix we released today fixes a bug in IntelliSense where it would fail with jQuery. Any page with jQuery should just work now. While experimenting with this new-found functionality today, I found annotating the library with a few XML Doc Comments really made a big difference. The key is to add a return type of "jQuery" like this:
Here's some jQuery chaining with IntelliSense:
There were only a few functions that (due to the way they were declared) were not able to be annotated. Special thanks to Brennan where I borrowed the comments from. If anyone will be making a fully annotated version of jQuery, I'd be happy to post a link to it from here.
Jeff KingProgram ManagerVisual Studio Web Tools
PingBack from http://www.travel-hilarity.com/airline_travel/?p=1338
"I found annotating the library with a few XML Doc Comments..."
You've been kicked (a good thing) - Trackback from DotNetKicks.com
How about a fix for prototype.js too?
Great stuff! Love to see IntelliSense improving like this!
Hi Johan: We're working on prototype.js. Please stay tuned! Thanks!
@Mike : What's the disadvantage of having the OPTION to do this? For some development teams it might make sense to have a dev version of the library with comments for intellisense support. You could always change refs to packed or gzipped version for deployment.
It's just another example of why we programmers are so frustrated w/Microsoft. Frankly, if it wasn't for Scott Guthrie and his MVC.NET, many of us would start jumping to a platform w/a better IDE (2005 stinks the big one), and better support (ie, COMPATIBILITY and the realization that the net is NOT a Microsoft world and never will be). Too much innovation happens outside of your very high fences, folks.
So get with the program, please and start acknowledging INDUSTRY STANDARDS!
The hotfix mentioned in a previous post of mine among the things that it fixed, was an intellisense problem
I'm sorry to hear that VS2005 isn't working out for you. We try to do our best, so if there's something specific you also don't like in VS2008, I'd like to know. Thanks!
Great job, I am glad to see intellisense support working for JQuery. Good job!
Okay, not exactly on topic, but I've always found Visual Studio to be the best IDE I've ever used. Visual Studio is a large part of why I got hooked on Microsoft technology. It has its quirks but they have never prevented me from accomplishing my job.
As far as I'm concerned, keep up the great work!
There seems to be allot of interest with ASP.NET Developers doing DOM manipulation with JQuery there