How to change font color for method names (from ye

2020-02-11 23:01发布

I have updated to the newest Visual Studio 2019 and it looks like they have changed color scheme for text, e.g. method names became yellow. I would like to return it back to white as before, but can't figure out where this setting is.

P.S. Same thing for parameter names that became blue. There is probably some option to switch to old color scheme?

3条回答
该账号已被封号
2楼-- · 2020-02-11 23:34

If you are coding in C++ you probably have enhanced color activate. To deactivate go Tool-->Options and from the left menu select Text Editor-->C/C++-->View. Then go to the section "Miscellaneous" on the right and change "Color Scheme" from "Enhanced" to "Visual Studio 2017"

查看更多
Lonely孤独者°
3楼-- · 2020-02-11 23:38

VS2019 also introduced new "enhanced" colors for .NET languages, for which there is a separate option to toggle on and off:

Tools -> Options -> Text Editor -> C# -> Advanced, "Use enhanced colors for C# and Basic" setting

The same checkbox is listed for both C# and Basic (VB).

查看更多
4楼-- · 2020-02-11 23:40

It is possible to change in Options->Environment->Fonts and Colors. There is a list with different User Memebers - ... and User Tyeps - ... that define these colors.

enter image description here

I have actually changed User Members - Fields and User Members - Properties to be same color as User Member - Parameters. It became much better, white and yellow did not work too well for me :)

Now it's almost like Visual Studio Code

查看更多
登录 后发表回答