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

扩展描述

我找壁纸的网站

相关推荐
FeelTouch Labs13 小时前
Node.js 中的 spawn 和 exec:子进程执行的不同方式对比
node.js·编辑器·vue·vim
余衫马15 小时前
2026最新版!Android Studio 极速安装与配置指南
android·ide·android studio
你的菊花 倾心恋仙16 小时前
最锋利的Visual Studio Web开发工具扩展:Web Essentials详解
前端·ide·visual studio
MoSTChillax17 小时前
数字人竞品分析(中):核心功能、产品使用与技术能力对比
ide·macos·xcode
林三的日常20 小时前
AI编程IDE卡成PPT?低配电脑的末日来了
ide·电脑·ai编程
2501_9151063220 小时前
SwiftUI项目创建详解:使用Xcode从零开始创建第一个App项目
ide·vscode·ios·swiftui·个人开发·xcode·敏捷流程
PC2005-cloud1 天前
FinalShell 自定义背景图片教程
ide·python·pycharm
2501_916007471 天前
IDE 是什么?集成开发环境详解与 iOS 开发选型指南
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
2601_960906722 天前
AI研发加速中式及泛亚洲
人工智能·vscode·macos·sublime text·phpstorm
啦啦啦!2 天前
虚拟机如何接入Codex并配置中转站(vscode插件版)
linux·vscode·ubuntu·编辑器