VScode 使用background插件 设置方法
插件安装完成后,修改vscode背景图
打开设置,在搜索框中输入background,选择扩展中的plugin background,在background:style这一项下 选择在setting.json中编辑
設置文件修改示例:
~~~json
{
"background.useDefault": false,
"background.customImages": [
"file:///C:/Users/KeryHsu/Pictures/123.jpg",
"file:///C:/Users/KeryHsu/Pictures/321.jpg",
"file:///C:/Users/KeryHsu/Pictures/231.jpg"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"top": "0",
"left": "0",
"width": "100%",
"height": "100%",
"z-index": "99999",
"background.repeat": "no-repeat",
"background-size": "cover",
"opacity": 0.15
},
"editor.minimap.enabled": true,
}
~~~
本文介绍了如何使用VScode的background插件来更改编辑器背景图。用户需在设置中搜索background,然后在pluginbackground的配置中添加自定义图片路径,并调整style参数以改变背景显示方式。
543

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



