// background配置信息
"update.enableWindowsBackgroundUpdates": true,
"background.customImages": [
"file:///G:/360MoveData/Users/静小文/Desktop/轮播图/1.jpg" // 自定义背景图
],
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "fixed",
"z-index": "99999",
"width": "100%",
"height": "100%",
"top":"0px",
"left":"0px",
"background-position": "100% 100%",
"background-repeat": "no-repeat",
"background-size": "cover", //图片大小为全屏
"opacity": 0.2
},
"background.useFront": true,
"background.useDefault": false, //是否使用默认图片
这个时候可能会在屏幕右下方弹出重启vscode按钮
提示:我的是没有提示,只有在用管理员身份重启后才可以显示图片,修改setting.json文件会出现重启的按钮
像这个样子的提示、看起来真难受
Fix VSCode Checksums
ctrl+shift+p
然后输入这个