json - 如何使用settings.json更改vscode标签栏的背景颜色
问题描述
我一直在关注 Coder Coder 的本教程,以使我的 vscode 看起来更好(教程链接https://youtu.be/pGzssFNtWXw)。根据视频,我打开了 settings.json 文件并编写了一些代码但是当我无法找到更改标签栏背景的代码时。()
这是我尝试过的:
"tab.background" : "#000000"
这是代码:
"workbench.colorCustomizations": {
"editor.background": "#000814",
"sideBar.background": "#000d20",
"sideBarTitle.foreground": "#ffd60a",
"sideBarSectionHeader.foreground": "#ffd60a",
"activityBar.activeBackground": "#ffea81d5",
"activityBar.background": "#22223b",
"statusBar.background": "#ffd60a",
}
解决方案
这也是我遇到的一个问题,但我发现要更改 settings.json 中标签栏的颜色,您必须使用editorGroupHeader.tabsBackground
命令
推荐阅读
- jquery - CSS3 淡出/淡入文本和图像从和到透明
- flutter - 如何在 quick_actions 上使用图标
- arrays - 使用某些东西是一种不好的做法吗?.isEmpty == true
- r - fsolve 在没有解决方案时给出错误 + 帮助我回溯错误消息
- javascript - 以正确的方式调用模板
- c# - 动画总是改变对象位置
- git - 将 Git 存储库复制到具有提交历史记录的现有存储库的子目录中
- python - 没有名为“stocker”的模块
- elasticsearch - 在 Elasticsearch 中匹配两个过滤条件
- mariadb - 硬链接/软链接不适用于 MariaDB 上的 my.cnf