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

问题描述 投票:0回答:1

enter image description here

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

enter image description here

user-interface visual-studio-code themes indentation
1个回答
0
投票

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

enter image description here

根据vscode doc of ThemeColor,有

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

所以我将editorIndentGuide.background设置为editor.background的值

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

因此,只有非活动的缩进线“消失”。

© www.soinside.com 2019 - 2024. All rights reserved.