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?
In Visual Studio 2019 right-click your project, choose Properties . In the project properties window, select the Debug tab. Then, under Environment variables change the value of your environment from Development to Production or other environments.
On the Environment > General options page, change the Color theme selection to Dark, and then choose OK. The color theme for the entire Visual Studio development environment (IDE) changes to Dark.
If you open the . vscode/launch. json file in your workspace or select Debug > Open Configurations then you should see a set of launch configurations for debugging your code. You can then add to it an env property with a dictionary of string:string.
It's called Highlighted Reference
Tools > Options > Env > Fonts and Colors > Text Editor > Highlighted Reference
And the result is:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With