如何自定义 Visual Studio 代码标签?
How to Customize Visual Studio Code Tabs?
我正在使用 Visual Studio 代码 (v1.59)。截至目前,VSCode 的默认主题没有可区分的 Tab 颜色。例如,活动选项卡看起来与非活动选项卡几乎相似。
所以我需要知道如何更改它。
打开你的用户 settings.json (Ctrl+,)
或在设置的搜索框中搜索 "workbench.color..."。
在 "workbench.colorCustomizations"
下添加以下行
"workbench.colorCustomizations": {
"[Material Theme Ocean High Contrast]": {
"tab.activeBorder": "#ff0000", //<--- applies to this specific theme: Material Theme Ocean High Contrast
},
"tab.activeBorder": "#ff0000", //<--- applies to all theme
"tab.unfocusedActiveBorder": "#000000"
"tab.activeBackground": "#045980"//<--- BG: My Most Favourite.
}
我正在使用 Visual Studio 代码 (v1.59)。截至目前,VSCode 的默认主题没有可区分的 Tab 颜色。例如,活动选项卡看起来与非活动选项卡几乎相似。 所以我需要知道如何更改它。
打开你的用户 settings.json (Ctrl+,) 或在设置的搜索框中搜索 "workbench.color..."。
在 "workbench.colorCustomizations"
"workbench.colorCustomizations": {
"[Material Theme Ocean High Contrast]": {
"tab.activeBorder": "#ff0000", //<--- applies to this specific theme: Material Theme Ocean High Contrast
},
"tab.activeBorder": "#ff0000", //<--- applies to all theme
"tab.unfocusedActiveBorder": "#000000"
"tab.activeBackground": "#045980"//<--- BG: My Most Favourite.
}