Search code examples
visual-studio-2013highlight

Highlight Matching Brace In Visual Studio


In Notepad++ for example when your cursor is next to a brace it will highlight the corresponding opening or closing brace on screen.

Check out the link below for a example as to what I mean. http://www.atmel.com/webdoc/visualassist/visualassist._match.html

How can Visual Studio do this?


Solution

  • The Visual Studio 2013 C# editor has brace highlighting. Place the cursor on the outside of the brace, (not the inside) to see the highlight.

    Default Brace color

    The default color is very subtle, use the Tools\Options\Fonts And Colors setting to apply a different highlight color.

    Fonts and Colors setting

    New Brace Color