Vscode缩进指南:如何减少(不隐藏)太多/尖锐的垂直线条?

时间:2020-05-30 13:16:16

标签: user-interface visual-studio-code themes indentation

enter image description here

我是vscode的新手,我如何才能为每个缩进的块仅获得一条垂直线,或者...只是不那么难掩盖了……像这样...

enter image description here

1 个答案:

答案 0 :(得分:0)

我知道这不是一个完美的解决方案,但是

enter image description here

根据vscode doc of ThemeColor

  • editorIndentGuide.background:编辑器缩进指南的颜色。
  • editorIndentGuide.activeBackground:活动的编辑器缩进指南的颜色。

因此我将editorIndentGuide.background设置为editor.background的值

{
  ...other thing...
  "workbench.colorCustomizations": {
    "editorIndentGuide.background": "#F3F3F3",
  }
}

所以只有非活动的缩进线“消失”。