Titlebar-less VSCode for macOS
An extension to hide the titlebar on VSCode for macOS, and inline the traffic lights (= window controls).
Follow the instructions in the Marketplace, or run the following in the command palette:
Alternatively, you can run this command in the command line:
The extension adds 2 new commands to the command palette:
After executing either of these commands, you need to fully restart VSCode in order to see the extension's effect. Simply reloading the window is not enough.
If VSCode complains about it being corrupted after the restart, you have two options:
See Disclaimer / A Word of Caution for details.
See Required User Settings, if the title bar doesn't look right after the restart.
Required User Settings
This extension only works with the following User Settings. In order to change
Applying the Patches as Root
Due to security restrictions on some systems, VSCode may need to run as root
in order to be able to apply the patches. To do so, open the
Or this if you're using VSCode Insiders:
Once you ave applied the patches by executing
Disclaimer / A Word of Caution
This extension modifies files that are part of the core of VSCode, so use it at your own risk.
This extension creates backup files before modifying the core files, and these
can be restored at any time using the
If anything goes wrong, you can always reinstall VSCode from code.visualstudio.com without loosing any settings or installed extensions.
Updating VSCode / Titlebar-Less
When either VSCode or this extension is updated to a newer version, you can reapply the extension's modifications of the core files simply by running this command again, followed by a restart of the full application:
Before / After
In particular, @orta's work on a similar fork.
MIT © Jürg Lehni, 2018