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

后端 未结 4 1716
孤街浪徒
孤街浪徒 2020-12-05 17:09

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,

相关标签:
4条回答
  • 2020-12-05 17:33

    Tools → Options → Environment → Font and Colors → Punctuations

    Affects all parentheses, commas etc.

    On dark view it defaults to black over black

    0 讨论(0)
  • 2020-12-05 17:43

    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.

    0 讨论(0)
  • 2020-12-05 17:49

    ReSharper also applies color to matching braces. You can turn this off in ReSharper options and then your VS color setting should be applied.

    0 讨论(0)
  • 2020-12-05 17:50

    I fixed this by copying my customized theme to a new name, then made copy the 'current' theme. Then went into Fonts & Colors and set them for my preferences.

    My braces were always disappearing into a big black rectangle (always 2 braces, matched or not). The blackness would not go away until I typed a Space or other character. Drove me up a wall...!

    0 讨论(0)
提交回复
热议问题