Code Monkey home page Code Monkey logo

vscode-background-cover's Introduction


logo
VS Code - Background Cover

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


集成在线图库

使用此扩展请以管理员身份运行vscode

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

Use this extension to run vscode as an administrator

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

It looks like:

Warns 警告:

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

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.

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.5.0 (2024/05/26)

1.支持在线图片快速设置背景!!!
2.在线社区集成进vscode左侧栏,发布图片、设置默认页
3.社区支持注册(需邮箱激活)
4.社区支持回复主题,上传图片、添加第三方图片(用于设置背景图)
5.社区支持发布个人主题(私人图库)(需要作者审核)

6.修复开启自动更换的异常 (2.5.1/2024.05.27)


Thanks 感谢

Contributors

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

Information 相关信息

赞助

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

lauset

Enjoy!

The world is worth fighting for.

vscode-background-cover's People

Contributors

ashujiao avatar dependabot[bot] avatar hhdqirui avatar hot3 avatar kuresaru avatar lauset avatar reaink avatar rogeraabbccdd avatar xiaopangju avatar yjhmelody avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vscode-background-cover's Issues

Could not work well with vibrancy.

Hi, I thried to use it with vibrancy, an extension to add transparent aero effect to vsc. However, this extension cannot work after I installed vibrancy.
Since the function of these two extensions are complemented, I think it would be better to let them work together.
Thanks!

能延迟加载图片吗

每次打开vsc 都是图片被渲染出来,然后vsc加载完毕后才变成背景。我看了下代码,好像是把图片弄成css样式的,能不能做到延迟几秒渲染图片呢?比如css延迟几秒动态加载

工程不能用了 是不是需要升级一些依赖

描述

几个月之前想写pr 然后发现不能下载依赖了
以为当时是服务器问题 现在还是不行
顺着源码看安装脚本 它访问的那个文件我手动访问 确实是个404

报错信息

PS G:\projects\vscode-background-cover> node -v
v15.5.1
PS G:\projects\vscode-background-cover> npm -v
7.3.0
PS G:\projects\vscode-background-cover> npm i

> [email protected] postinstall
> node ./node_modules/vscode/bin/install

Detected VS Code engine version: ^1.38.0
Error installing vscode.d.ts: Error: Request returned status code: 404
Details: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/releases/stable</pre>
</body>
</html>

npm ERR! code 1
npm ERR! path G:\projects\vscode-background-cover
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./node_modules/vscode/bin/install

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\kuresaru\AppData\Local\npm-cache\_logs\2021-05-10T05_53_47_975Z-debug.log
PS G:\projects\vscode-background-cover>

手动访问

kuresaru@DESKTOP-8H4VBOH:~$ curl -i 'https://vscode-update.azurewebsites.net/api/releases/stable' -H 'X-API-Version: 2'
HTTP/1.1 404 Not Found
Content-Length: 158
Content-Type: text/html; charset=utf-8
X-Powered-By: Express
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Date: Mon, 10 May 2021 05:57:21 GMT

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/releases/stable</pre>
</body>
</html>

real time opacity setting

hello.

getCss.js

.monaco-workbench{background:none !important;}

Users can change opacity in real time with 【 workbench.colorCustomizations 】 for the visibility of code by random image.

"workbench.colorCustomizations": {
    "editor.background": "#00000044", 
    "sideBar.background": "#000000BB",
}

"#44" → "#66" opacity ↑
"#44" → "#22" opacity ↓

problems

  • the title bar has no color when not active.
  • opacity bug in【 panel.background 】

bug_bg

compromise plan

panel.background→RGB + css → opacity

getCss.js

.monaco-workbench{background:none !important;}
.monaco-workbench .panel.integrated-terminal{opacity:0.8}
"workbench.colorCustomizations": {
    "editor.background": "#FFFFFF55",
    "sideBar.background": "#FFFFFFCC",
    "panel.background": "#FFFFFF", // ←#FFFFFF66
}

white_bg

I will not send you a request this time, but please consider.

开启远程开发后扩展失效及临时解决

vscode发布了预览版的 Remote Development 扩展,我在试用remote wsl中,发现这个扩展安装到wsl后,图片选择无论是本地还是wsl里的,均无效。

后把这个扩展设置为在ui安装并选择本地图片方可:

    "remote.extensionKind":{
        "manasxx.background-cover": "ui"
    }

不过,还是希望评估看看是否需要适配下。

给作者的一些建议

插件很棒!感觉贼爽!
希望下一个版本增加以下功能:内置一些图片源或者可以手动添加一些图库
无需重启切换普片,设置切换图片时间间隔
给作者点赞

1.35不生效了

刚更新了1.35不生效了。win10和deepin linux都没有生效。。

Linux(Debain,ubunut,centos,fedora...)无法显示图片的权限修改

如果你在linux下插件正常安装而无法正常显示图片.是文件权限造成的.可以把所属用户改成自己常用的用户.如果多用户可以加写权限,具体那个文件望作者补充.这里是直接把目录给了常用用户

 chown -R 你的用户名  /usr/share/code

该命令应该root执行或者sudo 附魔执行 确切是那个文件应该作者给出建议

custom style css

Hi, i like your plugin, can you make it to support custom css? i like a modifier for the background-size.

无法启用插件

企业微信截图_15622317728422
没有是否启用功能

image
在setting.json自己强行加上后,显示配置未知

透明度增强

如标题所示,
我有一些图片希望透明能更加透明一些,期待更新!

1

非常感谢(。◕◡◕。)ノ

.jpeg不支持

你好,尊敬的开发者:
.jpeg的图片没有出现在选择列表中啊??
只支持.png和.jpg吗???
希望支持.bmp,.webp,.jpeg等等

字体置于图片前 Put the font in front of the picture

感谢这个插件,让我的VSCODE拥有了良好的使用体验:)

我有一个疑问,现在使用插件的时候,图片是放置于最前面的,也就是,VSCODE中的文字也会出现图片半透明的效果。
我想让文字在图片的上层展示。

效果类似于 background 插件中的 background.useFront 属性

请问可以实现吗?期待您的回复。谢谢。

重复问题 忽略

感谢这个插件,让我的VSCODE拥有了良好的使用体验:)

我有一个疑问,现在使用插件的时候,图片是放置于最前面的,也就是,VSCODE中的文字也会出现图片半透明的效果。
我想让文字在图片的上层展示。

效果类似于 background 插件中的 background.useFront 属性

请问可以实现吗?期待您的回复。谢谢。

About the license description

I would like to use this extension, but I can't find any terms and conditions or licensing information.
If there is, please let me know, if not, please write it down.
Thank you very much.
(I use a translator).

如何显示全部图片?

目前只能显示一张图片的一部分,如下所示
image
这是原图
image
可以看到插件只显示了图片的一部分。
还有一个问题就是加载的时候,图片会有部分被挡住。
image

Choose Picture By DropDown

Sorry if I shouldn't be posting this here, not sure if you take Feature Request on this side

But if you do this is the request

The way it reads the folder path once its provide you can choose any picture in there with a drop down or in the settings without having to find the path or remember the name and so you can easily just change the images on the click of a button.

If I am allowed to feature request here even if this one isn't approved or a good time for release and gets closed please let me know if it's ok to do feature request here (so in the future I can provide more suggestion/request).

Thank you in Advance!

不受支持

顶部显示不受支持,能把它去除掉吗?

mac下好像无法使用?

在mac下貌似无法使用。通过右下角图标添加了图片之后没有任何效果。通过vscode控制台发现body上好像并没有添加上背景图片相关属性

Image not showing

How to activate the plugin? I've set an image path but nothing has changed. The path is for 100% correct. I tried to set "Auto Status" but it didn't change anything neither.

Version: 1.48.2
Commit: a0479759d6e9ea56afa657e454193f72aef85bd0
Date: 2020-08-25T10:56:10.074Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-42-generic snap (ubuntu 20.04)

imagePath设置引用https图片失败

你好,请教一个配置问题,依照https://github.com/vscode-extension/vscode-background-cover#notice-提示,图片应该是支持https引用吧。

我这里同一张图片,放到本地可以显示;引用远程提示“背景更新失败,请确认路径是否正确”,配置是: "backgroundCover.imagePath": "https://img.saintic.com/ImgBg/VSCodeBgImg/1.jpg"

版本: 1.33.0 (system setup)
提交: 0dd516dd412d42323fc3464531b1c715d51c4c1a
日期: 2019-04-04T15:14:28.026Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

Error whenever I try to set background

I get this error whenever I try to set background...
shot-2021-06-25_16-24-08

My OS:
Bodhi Linux 6.0

Steps:

I add a directory and select image
I press Ctrl+Shift+P
And I try to refresh it

Then this error pops up
shot-2021-06-25_16-24-08

Readme.md 中的获取管理员权限应该是使用管理员权限打开VSCode

Q:How to get the administrator authority?
Q:怎么获取管理员权限呢?

A:In windows,click right button on the vscode's icon,then check the [run with the administrator authority].
A:在windows环境中,可以右键单击vscode的图标,选择【以管理员身份运行】。
这里的Q应该是“怎么使用管理员权限打开VSCode呢?”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.