Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 2.02 KB

README.md

File metadata and controls

22 lines (14 loc) · 2.02 KB

jQuery VSDoc

Maintained by appendTo. jQuery VSDoc Community Page.

For those new to using Visual Studio with jQuery, the VSDoc version of the file allows Visual Studio to use Intellisense for jQuery development. The VSDoc file contains xml annotations, within javascript comments, which allow Visual Studio to parse, interpret and provide Intellisense while working with Javascript files, and in this case, jQuery.

If you're still using Visual Studio 2008 and haven't yet updated it with the latest Service Pack, you'll need to do so before being able to make use of the extended Intellisense for Javascript. You can get SP1 for Visual Studio 2008 and Visual Studio 2008 Express here. Visual Studio 2010 ships with support for VSDoc.

As with Intellisense in other languages such as C# and VB.NET, you'll see familiar dialogs / tool windows while writing code, triggered by the same keyboard input as other languages.

Using jQuery to select divs on a page: VSDoc Example 1

Intellisense for chained methods: VSDoc Example 2

Inspecting the arguments of a method: VSDoc Example 3

For more information on using the jQuery VSDoc and Javascript Intellisense, please visit Scott Guthrie's original post, Jeff King's original "Rich Intellisense for jQuery" post (http://blogs.msdn.com/b/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx), Rick Strahl's post, or Ralph Whitbeck's Learning jQuery blog post.