First open vscode, search for the Windows opacity
plug-in in the extension, and click to install.
After successful installation, there may be a default transparency that can be modified.
Specific method to modify transparency:
Click File(File)->Preferences(Preferences)->Settings (Settings), search for winopacity.opacity
in the search box. This parameter can be set to 0~255. 255 is completely opaque.
Note: Do not change it to 0. If you accidentally change it to 0, you will not be able to see the window (the mouse cannot select it, but it can actually receive keyboard input). Do not move the keyboard and mouse, and blindly press the delete key. Then write a number between 100 and 255 and you can see it.
If it doesn’t work, modify the of the
settings.json file under
C:\Users\your username\AppData\Roaming\Code\User" winopacity.opacity"
parameter.
Note: The settings in the seeings.json file under this code folder will override the global settings.
The renderings are as follows:
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to set transparent background in vscode editor. For more information, please follow other related articles on the PHP Chinese website!