Reputation:
So I updated my Visual Studio to the latest version today, and when I'm writing in C#, all the functions and variables are just white in color. I'm so used to seeing functions in yellow and variables/properties in blue, so I would like to know if it's possible to get the colors back?
Upvotes: 1
Views: 3922
Reputation: 1346
As johnmoarr suggested, try changing the default Color Scheme of the editor.
If that won't work, you can still apply colors for any element by hand. Therefore open Visual Studio
, go to the Tools
-menu and open the menu-item Options
.
Within the Options
window open Environment
and then Fonts and Colors
. Locate the User Members
and User Types
within the list of display items just like I did in the following example:
Apply the desired color to the items foreground or background. Example: set item foreground
to white for User Members - Methods
to display method names with white color:
Upvotes: 0
Reputation: 522
In VS 2019, go to "Tools" > "Options" > "Text Editor" > "C#" > "Advanced" and make sure in section "Editor Color Scheme" VS 2019 is selected.
Edit: looks like they changed the options there in an update. I remember that in this options-section in an earlier VS2019 version there was a switch named "Use enhanced colors for C# and Basic"
Upvotes: 4