【问题标题】:How can I customize some of the Explorer's background colours for the selected item in VS Code?如何为 VS Code 中的选定项目自定义一些资源管理器的背景颜色?
【发布时间】:2023-02-18 16:09:00
【问题描述】:

我只是有疑问。如何在 Visual Studio Code 中为未聚焦的侧边栏中的活动文件设置背景颜色。在图片中你可以看到一点点。

另外我想问你关于定制的另外两件事。 如何在透明背景下悬停时设置边框颜色。

如何在焦点侧边栏中设置活动文件的背景颜色。

【问题讨论】:

  • 可以尝试的主题颜色数量有限,大多数都不相关,请尝试所有其他主题颜色

标签: visual-studio-code colors customization background-color


【解决方案1】:

在撰写本文时,浏览器的列表颜色还没有专门的设置。一般有列表颜色的设置。

您正在寻找的设置是:

"workbench.colorCustomizations": {
    "list.inactiveSelectionBackground": "#880000",
    "list.activeSelectionBackground": "#ff0000",
    "list.hoverBackground": "#ff0000",
}

如果您设置了"explorer.autoReveal": false,您可能希望将其删除或将其设置为true

【讨论】:

    猜你喜欢
    • 2016-08-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-10
    • 1970-01-01
    • 1970-01-01
    • 2020-12-14
    • 2011-10-26
    相关资源
    最近更新 更多