如何在VS Code的活动栏中设置活动元素的样式?

对于October release of VS Code,现在可以通过activityBar.activeBorderactivityBar.activeBackground控制活动栏活动元素的边框和背景。

但是将它们添加到我的settings.json中似乎并不会更新活动元素:

"other.setting.foo": "bar","activityBar.activeBorder": "#8A2BE2","activityBar.activeBackground": "#FFB6C1"
"other.setting.baz": "qux",
mynanaco 回答:如何在VS Code的活动栏中设置活动元素的样式?

activityBar.activeBorderactivityBar.activeBackground必须嵌套在workbench.colorCustomizations中:

"other.setting.foo": "bar","workbench.colorCustomizations": {
    "activityBar.activeBorder": "#8A2BE2","activityBar.activeBackground": "#FFB6C1"
},"other.setting.baz": "qux",

https://github.com/microsoft/vscode/issues/84316#issuecomment-552014640

本文链接:https://www.f2er.com/3132619.html

大家都在问