use*_*544 9 visual-studio-code vscode-extensions
有谁知道如何自定义VS Code中的文件浏览器窗口颜色主题?另外如何自定义行号的颜色?
例如,当使用内置的高对比度颜色主题时,我可以看到文件浏览器和行号颜色不同.但是在使用扩展颜色主题时,我找不到一种自定义颜色的方法,比如材质主题.
从您的settings.json Ctrl +,
"workbench.colorCustomizations": {
    "sideBar.background": "#424d66",
    "list.hoverBackground": "#41a6d9",
}
行号颜色:
"editorLineNumber.foreground": "#41a6d9",
"editorLineNumber.activeForeground": "#ff6a00",
https://code.visualstudio.com/docs/getstarted/theme-color-reference#_editor-colors
假设你想要一个白色的侧边栏和黑色的文本,你需要像这样编辑你的 settings.json:
"workbench.colorCustomizations": {
"sideBar.background": "#ffffff",
"sideBar.foreground": "#000000",
"list.hoverForeground": "#ffffff" 
}
| 归档时间: | 
 | 
| 查看次数: | 4212 次 | 
| 最近记录: |