.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Technology News >> General >> Post New Resource Bookmark and Share   

 Subscribe to Tech News

JScript Editor Extensions

Posted By:Maverick       Posted Date: July 05, 2011    Points: 25    Category: General    URL: http://www.dotnetspark.com  
 

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 Support

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

function hello(name) {
    ///

A great function
    ///   Some info on a new line
    ///

    /// The name to say hello to
    return "hello " + name;
}

Updated vsdoc files for jQuery with tags are included in the jQuery.vsdoc NuGet package. You can generate a vsdoc file for jQuery yourself using the jQuery vsdoc File Generator.

Source Code

The source code for these extensions is available on the ASP.NET CodePlex site in the folder: $/VisualStudioWebTooling/JScriptExtensions

Change Log

  • 1.0: Initial release
    • 1.0.1: Fix for bug causing exception from Brace Matching extension when file is empty
    • 1.0.2: Fix for bug causing statement completion not being triggered when typing '.' in the extension
    • 1.0.3: Fix for bug causing incorrect current parameter highlighting in the extension
    • 1.0.4: Fix for bug causing statement completion not being triggered when typing '(' in the extension
  • 1.1: Support for all extensions in

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend