简体   繁体   中英

How to disable VS2019's syntax coloring for C++ and make it look like VS2017

I'm a light theme user, and I guess that makes me unpopular, but I'm sure there are still some light theme users out there. I have switched to VS2019 and the light theme (called Blue Theme) was a nightmare. It turned out it was an issue and the solution can be found in this thread .

My other question is the C++ syntax coloring in VS2019. It's just too many colors and makes it really hard for the eyes (once again if using the light theme).

I have looked but don't know where can I disable this new fancy syntax coloring and go back to VS2017's syntax coloring in VS2019. Any tips?

Here's a screenshot of what I have in VS2019: 在此处输入图像描述

I think it's a bit too much. I don't wanna see purple, green, red and brown.

As per this Microsoft link there is supposed to be this Color Scheme and it can be set to VS2017, as per this screenshot:

在此处输入图像描述

But for some reason I don't have it and I have just updated it and this what my Text Editor->C/C++->View looks like:

在此处输入图像描述

It looks the only way to solve this problem is to change the colors one by one. But you may ask, how do I come up with colors, I'm not a graphic/UI/UX designer? Here's how. You open the colors in VS2017 in Options->Fonts and Colors and select Text Editor in Show settings for: , and there when you scroll down you will see the colors for all C++ keywords.

That was Step 1. In Step 2 you go to the same dialog in VS2019, and one buy one change VS2019 settings to match those of VS2019. Having two monitors or one wide monitor helps.

Here's the screenshot:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM