VSCode 背景插件

插件查找background  安装并运行

在setting.json 文件中 设置

重启VSCode 用管理员权限打开 即可  

  //background 的相关配置
  "update.enableWindowsBackgroundUpdates": true,
  "background.customImages": [
    "file:///C:/Background/bg2.jpg" //图片地址
  ],
  "background.style": {
    "content": "''",
    "pointer-events": "none",
    "position": "fixed", //图片位置
    "width": "100%",
    "height": "100%",
    "z-index": "99999",
    "background.repeat": "no-repeat",
    "background-size": "100%,auto", //图片大小
    "opacity": 0.1 //透明度
  },
  "background.enabled": true,
  "background.useFront": true,
  "background.useDefault": false, //是否使用默认图片
原文地址:https://www.cnblogs.com/jscai/p/12723876.html