Skip to content

vscode扩展,添加一张你喜欢的图片铺满整个vscode ..

License

Notifications You must be signed in to change notification settings

AShujiao/vscode-background-cover

Repository files navigation


logo
VS Code - Background Cover

Add a picture you like to cover the entire vscode..
添加一张你喜欢的图片铺满整个vscode..
stars

Warns 警告:

升级到2.6.2后如果出现背景重叠的情况,请关闭vsc重新打开即可。因为旧版本的重载不生效导致的

If the background overlaps after the upgrade to 2.6.2, close the vsc and turn it on again. This is because the older version of the overloading did not take effect

本插件是通过修改 vscode 的 css 文件的方式运行
所以会在初次安装,或者 vscode 升级的时候,出现以下提示,请选择 【不再提示】:

如果出现无法打开并且尝试多次都不能正常运行,请手动还原文件

  • 目录 : Microsoft VS Code\resources\app\out\vs\workbench\
  • workbench.desktop.main.js.bak => workbench.desktop.main.js

This extension works by editting the vscode's css file.
So, a information appears while the first time to install or vscode update.U can click the [never show again] to avoid it.

If it does not open and does not work after multiple attempts, restore the file manually

  • path : Microsoft VS Code\resources\app\out\vs\workbench\
  • workbench.desktop.main.js.bak => workbench.desktop.main.js


集成在线图库

请通过插件配置命令或底部按钮进行配置(不要手动修改配置参数)

Please configure it through the plug-in configuration command or the bottom button (do not modify the configuration parameters manually)

It looks like:

05 微信截图_20241119082747

Config 配置项

2.0 版本开始你只需要通过插件自带的配置项进行使用即可

Starting with version 2.0, you only need to use the configuration items that come with the plug-in.

Notice 提示


1.点击底部切换背景图按钮 / Click the bottom toggle background button

2.ctrl + shift + P > "backgroundCover - start"

3.ctrl + shift + F7 > "Random update background and restart"

4.VSCode更新版本时会导致背景图消失,需要手动重新设置

Uninstall 卸载


卸载扩展后图片背景还在?这个不是bug,请手动关闭再打开一次vscode会自动执行最后的清理操作,然后重启即可。
Is the picture still there after uninstalling the extension? Please turn off manually and open vscode again, which will automatically perform the final cleaning operation and restart.

Q&A 常见问题:


Q:It seems that nothing happens after installing the extension?
Q:安装完插件后,似乎没有反应?

A:Make sure to have the administrator authority!!
A:如果不能使用,请确保你有管理员权限!!

Q:How to open vscode with administrator permission??
Q:怎么使用管理员权限打开VSCode呢? =。=

A:In windows,click right button on the vscode's icon,then check the [run with the administrator authority].
A:在windows环境中,可以右键单击vscode的图标,选择【以管理员身份运行】。

Q:How do I start administrator privileges in MacOS?
Q:在MacOS中怎么启动管理员权限呢? >_<

A:You can open the application installation package on your computer and find the CSS file in the program for permission modification. Or after selecting the picture in the plug-in, if you do not have write permission, you will be asked to enter the administrator password to obtain the corresponding permission.
A:你可以打开电脑上的应用安装包,找到程序内的CSS文件进行权限修改。或者在该插件中选择图片之后,如果没有写入权限的话则会要求你输入管理员密码来获取对应的权限。

最近更新日志

完整日志

ver 2.6.2 (2024/11/12)

1.底层实现方式由css改为js(修复重载不生效的问题) 2.增加背景模糊效果 3.自动获取文件写入权限(无需管理员身份运行) 4.监听主题变化,自动触发适配背景提醒 5.增加备份源文件,方便异常手动恢复 6.部分代码优化


Thanks 感谢

Contributors

  • 对于扩展的贡献者默认都会展示在此列表中,如果不愿意展示此处也可以进行提交pr移除
    AShujiao yjhmelody shalldie HOT3 rogeraabbccdd kuresaru lauset wuqirui

Information 相关信息

赞助

如果这个插件能够帮助到您,不介意的话,请作者喝一杯咖啡吧:)

lauset

Enjoy!

The world is worth fighting for.