1. 安装
2.设置
文件-》首选项-》设置

搜索background

自定义背景


复制下面的,注意下逗号等
图片路径不能有中文!不然没效果
"background.useFront": false,
"background.useDefault": false,
"background.customImages": [
"file:///C:/Users/xwc/Desktop/Pictures/4.jpg"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "center",
"background-repeat": "no-repeat",
"background-size": "100%,100%",
"opacity": 0.4
}
本文详细介绍如何在 VSCode 中自定义编辑器背景,包括安装步骤、设置方法及注意事项,如图片路径不能包含中文。
6928

被折叠的 条评论
为什么被折叠?



