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.
To specify the color to highlight matching delimiters, go to Visual Studio options (Tools | Options), open the Environment | Fonts and Colors page, and select the desired colors for the ReSharper Brace Outline and/or ReSharper Matched Brace items.
Search for “bracket colorization” and enable the Bracket Pair Colorization option. Or, you can add "editor. bracketPairColorization. enabled": true in settings.
Bracket-matching provides visual cues illustrating the location of matched pair elements. With bracket-matching enabled, positioning the cursor on one paired element highlights the matching element in the code sequence.
Microsoft has released JScript Editor Extensions for this. It also has support for intellisense comments. This works great when referencing in th jQuery vsdoc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With