如何在 Visual Studio Code 中更改标尺的颜色 [英] How change the color of rulers in Visual Studio Code

查看:38
本文介绍了如何在 Visual Studio Code 中更改标尺的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定此功能是否包含在 VSCode 设置中,但我很想将标尺颜色从默认的灰色更改.

Not sure if this feature is included in the VSCode settings yet, but I'd love to change the ruler color from it's default grey.

尝试过:

"editor.rulers.color": "color"

但收到未知的配置设置错误.

But got an "unknown configuration setting error.

推荐答案

settings.json 中:

"workbench.colorCustomizations": {
    "editorRuler.foreground": "#ff333388"
}

这篇关于如何在 Visual Studio Code 中更改标尺的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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