What display element under Fonts and Colors controls the appearance of the event?

Whenever I place my cursor somewhere inside the type name, variable name, or method name, Visual Studio selects the element along with all other occurrences of the type, variable name, or method name in the same source file. The problem is that the highlight color makes it very difficult to read using the color scheme I'm used to.

Is there a Display Element in Fonts and Colors to change this color? Or is there a way to completely disable the selection?

+8
visual-studio syntax-highlighting
source share
2 answers

What you are looking for is actually called the "Highlighted Reference". This is certainly an intuitive name, as soon as you know it, but maybe not the first thing that appears in your mind, if you are not, you can change the color of the text and background of this option to whatever you want:

Changing "Highlighted Reference" color in VS Options

I'm not sure how you could completely disable it, but I also can’t imagine why you want ... I use this all the time. You can turn it off by setting the colors that it uses to be the same as your default colors, although I'm not sure since I have never tried.

Alternatively, if you find this feature distracting despite its usefulness, you can make the effect less harsh by specifying a background color that is very similar to your default background color.

+9
source share

try going to Tools-> Options-> Environment-> Fonts and Colors and set the background color of the folding area to the background color of your editor.

luck

visit this link

+1
source share

Source: https://habr.com/ru/post/649926/


All Articles