Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode Black Menu Bar

So in the last update's Release Notes (1.27.2) I saw this screenshot:

enter image description here

But my menubar looks as ugly as usual. How can I enable the black menubar (which I assume is implemented as part of the HTML page rather than a native Windows menubar)?

enter image description here

like image 334
Niklas R Avatar asked Sep 14 '18 10:09

Niklas R


People also ask

How do I restore the menu bar in Visual Studio code?

You can hide the Menu Bar on Windows and Linux by changing the setting window. menuBarVisibility from classic to toggle . A setting of toggle means that a single press of the Alt key will show the Menu Bar again. You can also hide the Menu Bar on Windows and Linux with the View > Toggle Menu Bar command.

How do I get my menu bar back in Visual Studio?

Go to VSCode settings ( CTRL+, or CMD+, ) and search for shortcut menu bar . Toggle buttons from there.


1 Answers

It is not very obvious, in the settings:

// Adjust the appearance of the window title bar. Changes require a full restart to apply.

"window.titleBarStyle": "custom",

And then you will need to choose a dark theme that actually provides that color:

// Specifies the color theme used in the workbench.

"workbench.colorTheme": "Default Dark+",

Or you can change the titleBar's colors in the colorCustomizations:

 "workbench.colorCustomizations": {
      "titleBar.activeBackground": "#555",      
      "titleBar.activeForeground": "#fff"
  }

So either choose a theme that sets the titleBar's colors or change it yourself with these last two colorCustomization settings. But in either case this must be set:

"window.titleBarStyle": "custom",

like image 90
Mark Avatar answered Nov 13 '22 15:11

Mark