Jake Muller
Jake Muller

Reputation: 1063

Visual Studio Code sidebar selection color

How to change visual studio sidebar file highlight/selection color?

enter image description here

Upvotes: 8

Views: 5804

Answers (1)

mfathirirhas
mfathirirhas

Reputation: 2287

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.

Upvotes: 18

Related Questions