Code Monkey home page Code Monkey logo

vscode-background's People

Contributors

dependabot[bot] avatar katsute avatar thomaszj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vscode-background's Issues

Support Local Filepath for Background Image

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

Potential fix for recent 1.58+ vscode update

The latest vscode is causing issues with this line in particular:

document.body.style.backgroundImage = "url('" + image + "')"

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.

Background does not update unless VSCode is closed and reopened

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.

Could not remove background image

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

doesn't work

ubuntu 20.04
vscode lastest.

command: background-selectImage

nothing changed

Background is actually in the foreground.

The background image is actually an overlay in the foreground.

Reproduction:
Set opacity to 0.10
image

VScode Version: 1.53.2
Release Date: 2021-02-11

Not sure if this was always the case, im pretty sure it wasn't, because i immediately noticed the drop in contrast from the overlay.

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.