如何更改VSCODE中括号之间的缩进指导线颜色? [英] How to change indent guide line color between brackets in VSCODE?

查看:218
本文介绍了如何更改VSCODE中括号之间的缩进指导线颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改两个括号之间的线条颜色.

I would like to change the color of the line between 2 brackets.

其实我想要这个

这是我想要的

有人知道怎么做吗?

非常感谢

推荐答案

VSCode v.1.23(2018 年 5 月发布)添加了为活动和其他非活动缩进指南着色的功能:

VSCode v.1.23 (released May, 2018) added the ability to colorize the active and other inactive indent guides:

"workbench.colorCustomizations": {
    "editorIndentGuide.activeBackground": "#ff0000",
    "editorIndentGuide.background": "#ff00ff"
}

请参阅发行说明缩进指南

如果您只希望活动参考线可见,请将非活动参考线的背景设置为透明 ala:

If you only want the active guides to be visible, set the background of the inactives to transparent ala:

"workbench.colorCustomizations": {
    "editorIndentGuide.background": "#fff0"
}

这篇关于如何更改VSCODE中括号之间的缩进指导线颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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