Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Way to disable the Visual Studio Code editor title bar

When not using tabs in Visual Studio Code, it still shows a bar with the name of the currently open file.

Editor title bar

Is there a way to disable this bar completely?

like image 553
fredlahde Avatar asked Nov 13 '17 00:11

fredlahde


People also ask

How do I hide the top bar in Visual Studio?

Ctrl + Shift + P will open a command window and you can type Toggle Menu Bar to toggle it on and off.

How do I disable Open editor in Vscode?

There is an "X" icon at the top left corner of the editor view. (You can hover on it to reveal what it does). Click on the X to close the editor.


Video Answer


2 Answers

You can use this setting to hide the title bar: "window.titleBarStyle": "custom". It can be accessed via menu FilePreferencesSettingsWindowTitle Bar Style and set it to custom.

like image 166
Puspam Avatar answered Oct 10 '22 17:10

Puspam


Install the custom CSS extension.

Now in your custom stylesheet:

.container > .title {    display: none !important;  }

After, run the command "Enable custom css / js" (and restart).

like image 45
Robin Drost Avatar answered Oct 10 '22 16:10

Robin Drost