How to change font color for method names (from yellow) in the new Visual Studio 2019?

天涯浪子 提交于 2019-11-28 02:46:06

问题


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?


回答1:


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

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




回答2:


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.

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




回答3:


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"



来源:https://stackoverflow.com/questions/55514898/how-to-change-font-color-for-method-names-from-yellow-in-the-new-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!