Visual Studio Code侧边栏选择颜色 [英] Visual Studio Code sidebar selection color
问题描述
如何更改Visual Studio侧边栏文件的突出显示/选择颜色?
How to change visual studio sidebar file highlight/selection color?
推荐答案
使用list
.
转到User Settings
,添加以下行:
"workbench.colorCustomizations": {
"list.hoverBackground": "#535353",
"list.activeSelectionBackground": "#fff",
"list.activeSelectionForeground": "#000",
...
}
list
的配置很多,例如"list.hoverBackground": "#535353"
在将鼠标悬停在其上时设置突出显示颜色,"list.activeSelectionBackground": "#fff"
在选择/单击一个文件后设置突出显示颜色,"list.activeSelectionForeground": "#000"
设置所选项目的字体颜色选择/单击之后.
您应该探索它们的其余部分,并且不要忘记阅读每个配置的描述,在每个配置上键入ctrl+space
来阅读描述.
There are many configuration for list
, for example "list.hoverBackground": "#535353"
set highlight color while your hover on it, "list.activeSelectionBackground": "#fff"
set highlight color after you select/click one file, "list.activeSelectionForeground": "#000"
set font color of the selected item right after you select/click it.
You should explore the rest of them and don't forget to read the description for each configuration, type ctrl+space
on each configuration to read the description.
这篇关于Visual Studio Code侧边栏选择颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!