Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
735 views
in Technique[技术] by (71.8m points)

color scheme - Environment Setting for Highlighted Variable in Visual Studio

Environment Fonts and Colors (Where's the one I'm looking for?)

I noticed that VS has a feature that if you click on a variable, it highlights all instances of that variable in your current file.

With my color scheme (a dark background with light text) it makes the highlighted variable very unreadable. I've gone through and tried to figure out which setting under "Environment Fonts and Colors" controls the background color of the highlighting, but I'm not having any luck. Can someone point me in the right direction?

So, in one sentence:

What in the list of "Environment Fonts and Colors" controls the highlighting that happens when you click on a variable?

question from:https://stackoverflow.com/questions/2640582/environment-setting-for-highlighted-variable-in-visual-studio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It's called Highlighted Reference

Tools > Options > Env > Fonts and Colors > Text Editor > Highlighted Reference

And the result is: enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...