为了可随时修改,你能够在你的~/.vscode
文件夹下建立一个vscode_style
的目录,
在里边放入你本身的css文档和一些图片。以笔者为例,个人vscode的style是css
/**vscode_style.css*/ body{ pointer-events: auto !important; background-size: 100% !important; opacity: 0.90 !important; background-position: 0 0 !important; /**change your image url here*/ background-image: url('./bg.png'); content: ''; position: absolute;; z-index: 999; width: 100%; background-repeat: no-repeat; }
而后找到vscode程序文件夹,linux上通常在'/opt'
目录下。在{vscode_dir}/resources/app/out/vs/workbench
下修改workbench.desktop.main.css
就能够修改vscode的样式啦。linux
@import "/home/huaiyu/.vscode/vscode_style/vscode_style.css";
重启vscode就行了,当你重启后发现vscode提醒你your code installation appears to be corrupt
,直接忽略就它~json
"window.titleBarStyle": "custom",
能够本身定制标题栏的样式。app