Brace matching for JavaScript/jQuery in Visual Studio 2010

With jQuery you will need to write lesser code than you would with JavaScript but it will probably use more braces, brackets & parentheses. While programming with jQuery, it's easy to miss an ending brace, bracket or parenthesis.

Although Automatic Delimiter Highlighting is available with  C# code, it's sorely missed while you're working with JavaScript or jQuery. Thankfully there is a time-saving open-source VS Extension in the Visual Studio Gallery that bridges this gap - JScript Editor Extension. Besides other features, this nifty add-on automatically highlights the matching opening or closing brace to the one currently at the cursor. It supports matching parenthesis: (), square brackets: [], and curly braces: {}

I like Notepad2's Ctrl+Shft+B keyboard shortcut that highlights the entire area between matching brace, bracket or parenthesis.Ctrl+B is an easy to remember shortcut to find matching brace in that editor.

Comments