Home > Development Tools > VSCode > body text

How to set the background image in vscode

(*-*)浩
Release: 2019-11-09 09:34:42
Original
11699 people have browsed it

How to set the background image in vscode

Recently I saw someone setting a background image for the vscode editor on Zhihu. I thought it was very novel, so I tried it and it worked.

First, find the background plug-in in the vscode extension, and use the shortcut key Ctrl shift x (recommended learning: vscode introductory tutorial)

How to set the background image in vscode

After completing the first step, you already have a default background, but what should you do if you want to set one you like? Look down

Open File>Preferences>Settings

In the settings on the right

How to set the background image in vscode

The first sentence "background.enabled": true, is whether the plug-in is enabled. When we download the plug-in and restart vscode, we already have this sentence

The first sentence The second sentence "background.useDefault": false, whether to use the default picture, change it to false, not the default, we have to set what we want!

The third sentence is to set the path. Careful fellow Taoists have noticed that this is an array, which means that multiple different pictures can be set! Remember, three at most! /D:/like.jpg is the path address of the image

"background.customImages": [
"file:///D:/like.jpg"
],
Copy after login

The last one is background.style. Just look at the settings. Everyone who knows some CSS knows this. Note the "opacity" at the end: 0.1 transparency can be set.

How to set the background image in vscode

The above is the detailed content of How to set the background image in vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template