VScode背景更改

效果

实现方法

第0步 以管理员身份运行VScode

首先

需要安装这个扩展

然后

接下来

找到配置文件

再后来

在配置文件的下面但不超过最后一个大括号的地方加入以下内容

java 复制代码
"update.enableWindowsBackgroundUpdates": true,

"background.fullscreen": {//设置全屏背景
      "images": ["file:///D:/Wallpaper/black-background-monochrome-selective-coloring-anime-girls-simple-background-Oshi-no-Ko-2252942-wallhere.com.png"], // urls of your images 在"///"后面添加自己的图片路径
      "opacity": 0.9, // 0.85 ~ 0.95 recommended 不透明度
      "size": "cover", // also css, `cover` to self-adaption (recommended),or `contain`、`200px 200px`
      "position": "center", // alias to `background-position`, default `center`
      "interval": 0 // seconds of interval for carousel, default `0` to disabled.
},

"background.useFront": true,
"background.useDefault": false, //是否使用默认图片
"background.styles": [

    {},
    {},
    {}
],

问题

警告-安装损坏

来自官方文档的解决方法

复制代码
Warns
This extension works by editting the vscode's css file.

So, a warning appears while the first time to install or vscode update. U can click the [never show again] to avoid it.

这个扩展通过修改VScode的css文件进行工作

警告信息会在第一次安装或更新VScode时出现,你可以点击 不再显示 来避免

卸载方法

搬运的官方文档

three ways

  1. (recommended)

press F1 to open Command Palette, enter and chose Background - Uninstall (remove extension) , automatically complete uninstall.

Set the config {"background.enabled": false} in settings.json, then uninstall the plugin.

  1. An unfriendly way:

If you uninstall this plugin directly, don't worry.

Exit vscode completely, then open, then reload. Now it's clean 😄

(I know it's strange... Because of the limit of vscode)

更多设置

你可以查阅扩展的描述信息以了解更多,如果你有一个全局划词翻译软件或者OCR程序会有助于你的阅读。

参考了以下文章或网站

VSCode设置背景图片的两种方式

扩展描述

我找壁纸的网站

相关推荐
晚风叙码32 分钟前
Linux(三)apt/yum 软件安装与 vim 编辑器入门指南
linux·编辑器·vim
民乐团扒谱机37 分钟前
【超详细】PyQt6 实现 AU 风格波形图编辑器:多级缩放与采样点逐级渲染,附全过程代码
开发语言·python·编辑器·pyqt·audition·时域·频谱图
CounterGlew5111 小时前
Vscode通过ssh链接autodl云服务器并配置codex
运维·服务器·vscode
女神下凡2 小时前
PyCharm 2026破解激活
ide·python·pycharm
谁刺我心2 小时前
【vscode问题】远程remote cpptools导致linux板子cpu爆炸问题
ide·vscode·编辑器
LaughingZhu19 小时前
Product Hunt 每日热榜 | 2026-09-02
java·ide·intellij-idea
进击的蜗牛Eric19 小时前
VSCode Server手动安装指南(简洁版)
vscode
小芒果_0121 小时前
从0到1,将pycharm上的项目上传到github
ide·pycharm·github
xx~t2 天前
嵌入式——Linux软件编程——网络1
linux·c语言·网络·vscode·网络协议
sunburn-2 天前
Java堆(Heap)详解与实战教学
java·开发语言·数据结构·ide·算法