VScode设置背景图片的方法
1、在vscode扩展中,找到background这个插件并安装。
2、打开 settings.json设置,设置自己喜欢的背景图
打开 文件>首选项>设置
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
"background.useDefault": false,
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"bottom": "0px",
"right": "0",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "0% 0%",
"background-size": "cover",
"background-repeat": "no-repeat",
"opacity": 0.3
},
"background.customImages": [
"file:///C:/VSCodeBackground/ram1.jpg", //图片的路径地址 ,最多 3张
],
|
3、效果
4、设置背景图后,Vscode标题栏出现【不受支持】提示的解决
扩展商品:Fix VSCode Checksums
注意事项:
安装和设置后要重启vscode
以管理员身份运行vscode
安装后有报错,设置不再提示就好
关键词:
VScode怎么设置背景图片
VScode设置背景图片
VScode设置背景图片方法
VScode设置背景图片注意事项