JScript IntelliSense: Working with jQuery

JScript IntelliSense: Working with jQuery

Rate This
  • Comments 51

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:

doc comments

Here's some jQuery chaining with IntelliSense:

completion list


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

Leave a Comment
  • Please add 4 and 8 and type the answer here:
  • Post
  • JeffKing,who'soneoftheprogrammanagersintheWebToolDivisionandwhofocusesontheJavaScr...

  • JScriptIntelliSense:WorkingwithjQuery


  • Visual Studio 2008 SP1 Beta is now available! You can download it here . In SP1, we have added some new

  • 最近、 ASP.NET 開発者の間では、 JQuery による DOM の操作に関心が集まっているようです。クライアント側ツールボックスにきわめて強力な機能が追加されたと実感し始めているので、ここで特に興味深いリンクをいくつか紹介したいと思います。

  • A while back we updated IntelliSense to not fail when referencing jQuery. However, getting IntelliSense

  • JQuery Intellisense in Visual Studio 2008

Page 4 of 4 (51 items) 1234