I figured out a way to make VS Code transparent. For these cases, you may want to use the infamous APC Customize UI++.
But because VSCode constantly pushes updates that make some of these extensions break for a while, I'll just show you my most reliable way of doing it that usually works for every version (if you have a brain): monkeypatching.
Quick Steps
- Edit the
main.js
file:
- Search for
r.getBackgroundColor
. You should see something along the lines of this. There will always be one variable that looks exactly like this. Do your best to find it!
- Finally, just add these properties to the
l
object.
- Make sure to save without formatting (use the command palette) so it stays minified, and Cmd + Q to quit VSCode. After reopening, you should see a transparent VSCode.
🎉 And there you have it!
Extra Notes
-
You might see a popup called 'Your Code installation appears to be corrupt. Please reinstall', you might want to "Don't Show Again" this so it doesn't pop-up again.
-
Also, if you want glassmorphism or glassy effect, you can try by adding these properties to the
l
object. (PS, I have never gotten this to work because VSCode may be blocking this part, but you can try). -
More info on how Electron sets vibrancy/glass/acrylic (the glassy effect) can be found in their official docs:
-
Try vscode-vibrancy-continued if you're at a dead-end with glass.