thomaszj / vscode-background Goto Github PK
View Code? Open in Web Editor NEWAdd a background image to your vscode.
License: MIT License
Add a background image to your vscode.
License: MIT License
I work across several machines where the filepath is not always the same.
It would be great if I could include an image to use as my background, by referencing a file that is stored in the repo itself, where the path to the repo does not matter.
e.g config saved as @/.vscode/theme/image.png
would resolve to C:/path/to/repo/.vscode/theme/image.png
After update visual studio code to 1.58, the Background extension not working anymore
The latest vscode is causing issues with this line in particular:
vscode-background/src/Style.ts
Line 84 in 09fc39c
VSCode has updated their chromium version which is showing the error Not allowed to load local resource
to appear. This is a security measure which is preventing chromium from loading files that are not hosted at a http://
server (preventing local files from being loaded since they are at file://
).
I think this issue can be fixed by reading the image file, converting it to a base64 string, and then using that as the background image url instead.
The bootstrap-window.js
file that is being used to load the background is only read when VSCode is first opened. The reload window command that is used to refresh the window no longer works because of this change.
vscode.commands.executeCommand('workbench.action.reloadWindow');
Currently to see any changes users must close and reopen VSCode for the background to update.
I installed the app and the background worked fine. Until i uninstalled it and even thought i stopped the background before uninstalling it, it does not go away, i restarted the vs code, i installed the app and tried to change the background and it didnt change it so now im stuck with this
ubuntu 20.04
vscode lastest.
command: background-selectImage
nothing changed
After upgrading vscode to 1.58, https://
pictures have been used. Now vscode background
cannot be used normally after upgrading to 1.1.0
I want to use the https://
picture as in the previous version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.