VScode IDE 设置背景图片

VScode IDE 设置背景图片

注意!!!
如果设置失败,请杀掉vscode进程,以管理员身份运行,并重新配置即可

1.下载background插件

在这里插入图片描述

2.配置
如图所示
在设置里输入插件名(background)
background:style 那一行的json编辑点进去

在这里插入图片描述3如下配置即可

在这里插入图片描述这是代码

 "background.style": {
        "content": "''",
        "pointer-events": "none",
        "position": "absolute", //图片位置
        "width": "100%",
        "height": "100%",
        "z-index": "99999",
        "background.repeat": "no-repeat",
        "background-size": "30%,30%", //图片大小
        "opacity": 0.2 //透明度
    },
    //background 的相关配置
    "update.enableWindowsBackgroundUpdates": true,
    "background.customImages": [
        "file:///C:/Users/admin/Pictures/a.jpg" //图片地址
    ],
    "background.useFront": true,
    "background.useDefault": false, //是否使用图片

ok,大功告成!!
请看成品

在这里插入图片描述

相关文章

作为一名初次使用MaxCompute的用户,我体会颇深。MaxCompute...
近日,CloudToolkit正式推出了面向IntelliJ和Eclipse两个平台...
PyCharm是一种PythonIDE,带有一整套可以帮助用户在使用Pyth...
标题: 【下载】APK可视化修改工具:APK改之理(APKIDE)作者...
背景描述有时候Python应用的代码在本地开发环境运行十分正常...
1.注册SAP账号登录SAP官网:https://www.sap.com/index.html...