Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set the color of matching braces in VS 2015?

I wish to have a more emphasis on the brackets match, so I set it to yellow and bold in the options. However, when I place my cursor next to a curly brace (also parenthesis, brackets etc.) it still only flags with washed-out gray...

How do I set the color to my liking?

The setting I've made was:

Tools → Options → Environment → Font and Colors
- Brace Matching (Highlight)
- Brace Matching (Rectangle)

like image 237
Konrad Viltersten Avatar asked Jan 03 '15 15:01

Konrad Viltersten


People also ask

How do you match your braces?

Select to the corresponding braceYou can do this with the keyboard shortcut Ctrl + B, or the Select to brace command in the Coding tab. This will search forward from the current caret position to find the next brace – whether it's an opening or closing brace – and then select all text between it and its counterpart.

How do you highlight braces in Visual Studio?

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.


2 Answers

I just tried it with the RC release we shipped this week and also seeing the problem. Will follow up with the team and get this fixed. I'll post updates here. Thanks for sharing the problem!

Update: I confirmed with the team that this is a known issue and is on the list to get fixed.

like image 131
GusP Avatar answered Sep 25 '22 16:09

GusP


Tools → Options → Environment → Font and Colors → Punctuations

Affects all parentheses, commas etc.

On dark view it defaults to black over black

like image 29
Assaf Avatar answered Sep 22 '22 16:09

Assaf