21

How can I hide the menu bar in visual studio code? I do not find the command to do it. In some applications or browsers the alt key is used but I can not find the command or the option in the menu bar to hide it. Can you help me?

screenshot.

MLavoie
  • 9,671
  • 41
  • 36
  • 56
Gerardo Bautista
  • 795
  • 3
  • 11
  • 19
  • 1
    Odd there is no keybinding shown in the View menu or the Keyboard Shortcuts; because ALT works perfectly fine for me to toggle the menu bar (on Windows). – Mark Oct 14 '17 at 03:28
  • See my answer below - I did not mean to post that last comment! – Mark Oct 14 '17 at 03:36

2 Answers2

39

You can hide the menu bar by clicking the Toggle Menu Bar option in the View menu.

Screenshot of option


To bring the menu bar back, as pointed out by pramesh-bajracharya in the comments:

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

Paolo
  • 21,270
  • 6
  • 38
  • 69
ifconfig
  • 6,242
  • 7
  • 41
  • 65
32

If you want to toggle the menu bar with Alt, see this setting:

// Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and a single press of the Alt key will show it. By default, the menu bar will be visible, unless the window is full screen.

 "window.menuBarVisibility": "toggle",

The default is "default", change it to "toggle" in your user settings..

Mark
  • 143,421
  • 24
  • 428
  • 436