热门标签 | HotTags
当前位置:  开发笔记 > 前端 > 正文

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

如何解决《如何在VSCode的活动栏中设置活动元素的样式?》经验,为你挑选了1个好方法。

根据VS Code的十月版本,现在可以通过activityBar.activeBorder和来控制活动栏活动元素的边框和背景activityBar.activeBackground

但是,将这些添加到我的对象settings.json似乎并不会更新active元素:

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

Zach Valenta.. 14

activityBar.activeBorder并且activityBar.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



1> Zach Valenta..:

activityBar.activeBorder并且activityBar.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


推荐阅读
author-avatar
小王子loving
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有