How to Restore the Menu Bar in Visual Studio Code ?


πŸ‘€Β Diwas Poudel Β Β  πŸ•’ 06 Nov 2023 Β Β  πŸ“ FIX

Sometimes, when working in Visual Studio Code, you may encounter a situation where a menu option suddenly goes missing. You might have searched for a solution in various places without success. In that case, I'll guide you on how to retrieve the missing menu bar. So, stay with us.

Menu bar missing in visual studio
fig. Menu bar missing.
Note: These mentioned steps are applicable for Windows, Mac as well and Linux.

The solutions are as follows

1. Full Screen Mode

Sometimes you may have enabled fullscreen mode in Visual Studio Code in this case you might not see the menu bar. So just press F11 from the keyboard to bring the menu bar back.

On macOS, CtrlΒ +Β CmdΒ +Β FΒ orΒ βŒƒ ⌘ F.

If this does not work then follow the next step.

2. Using Command Palette

The steps are as follows:

1. Press Ctrl + Shift + P to open the command palette in Windows and Linux. For max press CommandΒ +Β ShiftΒ +Β Pon macOS

Then in the search file typeΒ 

View: Toggle Menu Bar

3. Press Enter.

Type view: Toggle Menu bar
fig. Type view: Toggle Menu bar

You will get your Menu back.

You can hide and unhide the menu bar again by going to :

1. View > Appearance > Menu Bar

Hide Unhide menubar
fig. Hide Unhide menubar

3. Using settings.json

Open the settings.json file and add the following line.

"window.menuBarVisibility": "classic",

and save it and then you will get the menubar back.