【问题标题】:Visual Studio Code - Change the colour of disabled sideBar itemsVisual Studio Code - 更改禁用侧边栏项目的颜色
【发布时间】:2020-09-07 07:22:10
【问题描述】:

我想更改禁用的侧边栏项目的颜色(见图)。我可以使用哪个属性在 settings.json 中更改它?我知道您使用sideBar.foreground 来编辑活动侧边栏项目,但我不知道如何为停用的侧边栏项目执行此操作。

【问题讨论】:

  • 也许可以试试list.deemphasizedForeground
  • list.demphasizedForeground 不起作用

标签: visual-studio-code vscode-settings vs-color-theme-editor


【解决方案1】:

您可以为图标添加主题。 转到扩展并搜索材料图标主题。

【讨论】:

  • 你误解了我的问题。我在图片中标记了想要的对象。
【解决方案2】:

我想那些是被忽略的文件:

"gitDecoration.ignoredResourceForeground": "#ff0000",

【讨论】:

    猜你喜欢
    • 2018-01-30
    • 1970-01-01
    • 1970-01-01
    • 2017-08-04
    • 1970-01-01
    • 1970-01-01
    • 2020-01-10
    • 2021-05-10
    • 1970-01-01
    相关资源
    最近更新 更多