Tahir Hassan
Tahir Hassan

Reputation: 5817

VS 2010 Javascript Matching Brace/Bracket Highlighting

Recently I upgraded to Visual Studio 2010 in the hope that it would provide matching bracket hightlighting for Javascript as it does for C#.

On the project I am working on I am doing more Javascript than C# and I finding the lack of bracket matching quite painful.

Is there any method of turning on this feature for Javascript too?

EDIT December 2015: Right now I am using Viasfora extension which does rainbow braces like vim, emacs. Each bracket pair has is successively given a different color, so you dont have to put the caret next to a bracket. Using it in vs 2013.

Upvotes: 6

Views: 3161

Answers (2)

pavsaund
pavsaund

Reputation: 696

Microsoft has released JScript Editor Extensions for this. It also has support for intellisense comments. This works great when referencing in th jQuery vsdoc.

Screenshot

Upvotes: 11

CD..
CD..

Reputation: 74176

JSEnhancements

This extension provides outlining and matching braces highlighting features for Visual Studio JavaScript and CSS editor.

Works both in JS/CSS files and HTML script/style blocks.

Outlining is like in C# editor. It outlines {}'s, []'s and #region tags

alt text

Upvotes: 8

Related Questions