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.