How to change the foreground text color (the local variable "..." is never used) in code

I can't find a way to change this anywhere, and CodeRush sets the foreground color to very light gray, which is almost unreadable on my white background monitor. It is difficult to read the code when the variable names (as well as the unused method parameters and the use of directives) are light.

+4
source share
1 answer

Options are available in the Visual Studio configuration dialog box, such as the colors of various types of code-related issues. In the main IDE window, go to Tools | Options ... then Environment | Fonts and colors. In the "Show Positions:" list, you can find the "Dead Code" element. For this element, you can change the color properties of the Foreground Element and Background Background.

See here for more details: CodeRush Code Configuration and Parameter Issues

+3
source

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


All Articles