Visual Studio 2010: JScript Editor Extensions Released

Via ScottGu:

An extension has been added to Visual Studio 2010 to enhance the JavaScript coding experience.

JScript Editor Extensions

 

Overview

Bundles the following extensions for the Visual Studio 2010 JScript editor:

Brace Matching

Adds support for automatically highlighting the matching opening or closing brace to the one currently at the cursor. Supports matching parenthesis: (), square brackets: [], and curly braces: {}. Braces in strings, comments and regular expression literals are ignored.

Outlining / Cold-folding

Adds support for automatically creating outlining regions for JScript blocks. Blocks are detected via opening and closing curly braces. Braces in strings, comments and regular expression literals are ignored.

Current Word Highlighting

Adds support for highlighting all instances of the word currently at the cursor.

IntelliSense Doc-Comments <para> Support

Adds support for the <para> element in JScript IntelliSense doc-comments to allow display of new lines in IntelliSense tooltips, e.g.

function hello(name) {
    /// <summary>A great function
    ///   <para>Some info on a new line</para>
    /// </summary>
    /// <param name="name" type="String">The name to say hello to</param>
    return "hello " + name;
}

Leave a Reply 1 comment