What I want to achieve is as follows:
Disable ALT
to show menu bar by toggle-menu-bar
completely.
-> Potentially map ALT
to a NULL
action?
Use a different shortcut to toggle-menu-bar
.
Is there a way to achieve this?
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.
Menu and title bar are in auto-hide mode and are accessible if you press "Alt" or "Ctrl-Q" hotkey or hover mouse over window top.
On Ubuntu I needed this two settings in settings.json
:
"window.titleBarStyle": "custom", "window.customMenuBarAltFocus": false
(VS Code restart might be required)
Related:
My only solution is to set menu always hidden to prevent interfering with alt-hotkeys. But enabling mnemonics still allows you to reveal it by pressing Alt+F for example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With