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设置背景图片的两种方式

扩展描述

我找壁纸的网站

相关推荐
晨风先生2 小时前
如何Visual Studio 的配置从 Qt-Debug 切换到 x64-Debug
ide·qt·visual studio
要加油哦~5 小时前
工具 | 解决 VSCode 中的 Delete CR 问题
ide·vscode·编辑器
未来之窗软件服务8 小时前
基于 Nginx 与未来之窗防火墙构建下一代自建动态网络防护体系—仙盟创梦IDE
网络·ide·nginx·服务器安全·仙盟创梦ide·东方仙盟
yao0003710 小时前
Claude 4.0 终极编程指南:模型对比、API配置与IDE集成实战
ide·ai编程
我有一只肥螳螂10 小时前
idea监控本地堆栈
java·ide·intellij-idea
界面开发小八哥16 小时前
通用CI/CD软件平台TeamCity v2025.3全新发布——主要界面交互体验升级
ide·ci/cd·开发平台·teamcity
张乔2420 小时前
mybatisX的自定义模板生成
java·ide·intellij-idea
taoismimortal21 小时前
vscode目录,右键菜单加入用VSCode打开文件和文件夹(快速解决)(含删除)(脚本)
ide·vscode·编辑器
猫咪的白手套1 天前
解决VSCode中“#include错误,请更新includePath“问题
ide·vscode·编辑器
抠头专注python环境配置1 天前
Pycharm、Python安装及配置小白教程
ide·python·pycharm