JScript IntelliSense: Working with jQuery 









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 King
Program Manager
Visual Studio Web Tools
Comments
Airline Travel » JScript IntelliSense: Working with jQuery said:
PingBack from http://www.travel-hilarity.com/airline_travel/?p=1338
原文地址:http://blogs.msdn.com/webdevtools/archive/2008/02/08/jscript-intellisense-working-with-jquery.aspx