Visual Studio Code sidebar selection color

坚强是说给别人听的谎言 提交于 2019-12-23 18:47:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!