简体   繁体   English

VSCode JavaScript 语法高亮

[英]VSCode JavaScript syntax highlighting

I've recently returned to using VSCode after a long break.经过长时间的休息后,我最近重新开始使用 VSCode。 It seems that after updating, the syntax highlighting colours have changed to this:似乎更新后,语法高亮颜色已更改为:

后

From this:由此:

前

Does anybody know how to achieve the look in the second image?有人知道如何实现第二张图片中的外观吗? I really can't stand the inconsistent brace colouring.我真的无法忍受不一致的支架颜色。 If this isn't a change made in updates and I'm doing something wrong, please let me know如果这不是更新中所做的更改并且我做错了什么,请告诉我

It appears you want to disable the bracket pairs colorization.看来您想禁用括号对着色。

Here's a blog post from the VSCode team, talking about this new highlighting feature introduced recently : https://code.visualstudio.com/blogs/2021/09/29/bracket-pair-colorization这是 VSCode 团队的一篇博文,讨论了最近引入的这个新的突出显示功能: https ://code.visualstudio.com/blogs/2021/09/29/bracket-pair-colorization

To do so, set the following settings to false :为此,请将以下设置设置为 false :

"editor.bracketPairColorization.enabled": false,
"editor.guides.bracketPairs": false,

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

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