Reputation: 1771
I disabled the menu bar in preferences and it disappeared as expected. Now there's no way to get to the preferences menu again. How do I get it back?
Upvotes: 158
Views: 282027
Reputation: 1042
There are many things that could go wrong. Tiered, in order of easy to fix/likely to happen, they are:
Ctrl+Shift+P
(more details here), and type "fullscreen". There should be a toggle fullscreen mode option for you to click.Saving these might prompt to restart VSCode, but they took effect for me immediately regardless.
Apologies for overlap of answers, but some answers only covered some of these scenarios, and none of them covered the "Title Bar missing" scenario.
Upvotes: 4
Reputation: 4961
ALT will bring up the menu to allow an immediate action. Follow this with:
View > Appearance > Menu Bar
which will restore the menu bar.
Linux, Visual Studio Code 1.81.0
Upvotes: 3
Reputation: 5133
In addition to setting menu visibility via the other answers, the VS Code window width must exceed a certain threshold for a normal menu to be displayed. Otherwise, you get the "hamburger menu". For my current settings, this is around 1068 pixels due the addition of the "toggle sidebar", "toggle panel", and "toggle secondary sidebar" widgets.
Upvotes: 0
Reputation: 119
To restore menu bar visibility so that you don't press key Alt to make the menu bar visible and the menu bar remains visible all the time, see the setting below.
You inadvertently changed the value from "default" to "toggle", so restore the setting to "default" as shown below.
"window.menuBarVisibility": "default"
Upvotes: 11
Reputation: 41
Press Ctrl + Shift + P to open the Command Palette.
After that, you write menu
Option is enabled
Upvotes: 4
Reputation: 821
Here is a simple solution to bring back the activity bar. Just click on the view tab on top of vs code > appearance > then check activity bar then from there it has to appear
Upvotes: 0
Reputation: 3317
From Version: 1.56.2 on in OSX you need to update in settings.json
file
"workbench.editor.showTabs": true
instead of
"window.menuBarVisibility": "default"
Upvotes: 1
Reputation: 6220
For Windows users:
For older versions (<1.54) of Visual Studio Code: Press Alt to make the menu visible temporarily. While the menu is visible go to the View
menu and choose Appearance -> Show Menu Bar
.
For newer versions see the following steps or if Alt
does not work use Crtl + Shift + P for command pallete, type 'menu' and select View: Toggle Menu Bar
Alternativily open settings Ctrl+,, search for and change Window: Menu Bar Visibility
to either classic
or visible
.
For macOS users:
If you are in Full-Screen mode you can either move the cursor to the top of the screen to see the menu, or you can exit Full-Screen using Ctrl+Cmd+F, or ⌃⌘F in alien's script.
Upvotes: 298
Reputation: 2813
Press Ctrl+Shift+P, type menu, select View: Toggle Menu Bar and the menu bar should be back. If not add a comment
Upvotes: 0
Reputation: 5065
Click on the 'Manage' button.
Select 'Settings'.
In the search bar type: 'menu bar visibility'.
In the drop-down select 'classic' or 'visible'.
Upvotes: 6
Reputation: 181050
Some changes to this coming in v1.54, see https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_54.md#updated-application-menu-settings
Updated Application Menu Settings
The
window.menuBarVisibility
setting for the application menu visibility has been updated to better reflect the options. Two primary changes have been made.First, the
default
option for the setting has been renamed toclassic
.Second, the
Show Menu Bar
entry in the the application menu bar now toggles between theclassic
andcompact
options. To hide it completely, you can update the setting, or use the context menu of the Activity Bar when incompact
mode.
Upvotes: 0
Reputation: 1991
It's also possible that you have accidentally put the IDE into Full Screen Mode
. On occasion, you may be inadertently pressing F11 to set FullScreen mode to On.
If this is the case, the Accepted Answer above will not work. Instead, you must disable Full Screen mode (View > Appearance > Full Screen).
Please see the attached screenshot.
Upvotes: 15
Reputation: 51
Press Ctrl + Shift + P to open the Command Palette, then write command : Toggle Menu Bar
Upvotes: 3
Reputation: 71
In version 1.36.1 I tried to follow the steps mentioned in the previous answers and noticed that the Toggle Menu Bar has moved to a different location and has been renamed to Show Menu Bar. Follow these steps:
Upvotes: 4
Reputation: 21
You have two options.
Make the menu bar temporarily visible.
Make the menu bar permanently visible.
Steps:
Upvotes: 1
Reputation: 8904
If you are like me - you did this by inadvertently hitting F11 - toggling fullscreen mode. https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
Upvotes: 78
Reputation: 50189
Another way to restore the menu bar is to trigger the View: Toggle Menu Bar
command in the command palette (F1).
Upvotes: 51