简体   繁体   English

为什么我的语法颜色在 Visual Studio Code 中发生了变化?

[英]Why has my syntax colouring changed in Visual Studio Code?

在此处输入图片说明

My code used to have more colouring for different syntax, I opened my code today and now it isn't highlighting parts of my code like it used to.我的代码曾经对不同的语法有更多的着色,我今天打开了我的代码,现在它不像以前那样突出显示我的代码的一部分。
The code on the left is my code, the code on the right is the same code but coloured how I remember it.左边的代码是我的代码,右边的代码是相同的代码,但我记得它的颜色。 How can I get it back to how it was?我怎样才能让它恢复到原来的样子?

You may have somehow accidentally changed your Color Theme.您可能不知何故不小心更改了颜色主题。 You can cycle through them by going to File -> Preferences -> Color Theme and selecting the one that you want.您可以通过转到File -> Preferences -> Color Theme并选择所需的一个来循环浏览它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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