语法高亮突然不同

问题描述:

我最近注意到我的 vscode 开始变得有点滑稽了.突出显示/更改某些变量的颜色似乎无处不在,这真的让我感到厌烦(返回变量的颜色变化很多,加粗对象等.我的一个朋友正在使用相同的颜色主题,我们进行了比较以确保它们不同并且确定够了,我的有一堆奇怪的东西正在发生.

I noticed recently that my vscode started acting a bit funny. Highlighting/changing colors on certain variables seemingly out of nowhere that are really throwing me off (lot of changing colors on return variables, bolding objects etc. A friend of mine is using the same color theme and we compared to make they were different and sure enough, mine has a bunch of whacky stuff going on.

我不确定我做了什么,我几天来一直试图解决这个问题,但没有成功,我试图删除我的 JSON.workbench 颜色主题设置,但没有成功.

I'm not sure what I did, I have been trying to figure this out for days with no luck, have tried to delete my JSON.workbench color theme settings to no luck.

有什么想法吗?

最新版本的 VSCode 带有语义突出显示".在您的设置中搜索 semantic 一词,然后将其关闭,一切都会恢复正常.

The latest version of VSCode ships with "semantic highlighting". Search your settings for the word semantic, and turn it off, and everything should go back to normal.