语法高亮突然不同 [英] Syntax highlighting suddenly different

查看:47
本文介绍了语法高亮突然不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近注意到我的 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.

这篇关于语法高亮突然不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆