更改 Visual Studio Code 的标签栏颜色 [英] Change Visual Studio Code's tab bar color
问题描述
有没有办法在 VS Code 中更改位于面包屑栏上方的选项卡栏颜色.我想知道可以用于它的工作台颜色自定义代码.标签栏
Is there a way to change tab bar color in VS Code which is present just above the breadcrumbs bar. I wanted to know about the workbench color customization code which can be used for it. Tab bar
推荐答案
是的,有办法.您需要定位设置组:editorGroupHeader
,它共有三个设置.一个用于标签区域的背景,两个用于位于面包屑上方和下方的边框.
Yes there is a way. You will want to target the settings group: editorGroupHeader
, which has three settings in all. One for the background of the Tabs-Area, and two for the borders that are located above and below the breadcrumbs.
"editorGroupHeader.tabsBackground": "#ABCDEF"`
针对您要自定义的区域的其他设置:
我为你把整个小组从我的主题中拉了出来.组中的另外两个更改面包屑上方和下方的边框:
Other Settings That Target the Area That You Want to Customize:
I pulled the whole group out of my theme for you. The other two in the group change the borders above and below the breadcrumbs:
{
"editorGroupHeader.tabsBackground": "#021331",
"editorGroupHeader.tabsBorder": "#00FF4040",
"editorGroupHeader.border": "#000000D0",
}
这应该是你要找的.您还可以将 editorGroup
定位为其他类似属性.
This should be what you're looking for. You can also target editorGroup
for other similar properties.
这篇关于更改 Visual Studio Code 的标签栏颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!