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

扩展描述

我找壁纸的网站

相关推荐
Java斌1 小时前
70年使用权的IntelliJ IDEA Ultimate安装教程
java·ide·intellij-idea
weixin_466485112 小时前
PyCharm中运行.py脚本程序
ide·python·pycharm
程序猿小D2 小时前
第14节 Node.js 全局对象
linux·前端·npm·node.js·编辑器·vim
aningxiaoxixi2 小时前
Android Studio 之基础代码解析
android·ide·android studio
waterHBO3 小时前
一个小小的 flask app, 几个小工具,拼凑一下
javascript·vscode·python·flask·web app·agent mode·vibe coding
界面开发小八哥3 小时前
「Java EE开发指南」如何使用MyEclipse在Web项目中用Web Fragments?
java·前端·ide·java-ee·eclipse·myeclipse
咖啡续命又一天5 小时前
nano编辑器的详细使用教程
编辑器
伍六星6 小时前
更新Java的环境变量后VScode/cursor里面还是之前的环境变量
java·开发语言·vscode
西域曼波王12 小时前
哈尔滨工业大学计算机系统大作业程序人生-Hello’s P2P
linux·c语言·编辑器·vim
LAOning1115 小时前
xcode 各版本真机调试包下载
ide·macos·xcode