问题
How to change visual studio sidebar file highlight/selection color?
回答1:
Use list
.
Go to User Settings
, add these lines:
"workbench.colorCustomizations": {
"list.hoverBackground": "#535353",
"list.activeSelectionBackground": "#fff",
"list.activeSelectionForeground": "#000",
...
}
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.
来源:https://stackoverflow.com/questions/45813427/visual-studio-code-sidebar-selection-color