Is there a shortcut to close the message box shown in the screenshot?
How do I do it with a keyboard shortcut? Cmd+W closes the current tab (which I don't want), Cmd+Q quits Vscode completely (which I don't want either), closing all windows.
Just like Close Folder when a single folder is open in VS Code, there is a Close Workspace (Ctrl+K F) command to close the active Workspace.
esc should dismiss all visible messages.
You can also configure a custom keybinding for the leaveEditorMessage
command (or workbench.action.closeMessages
on older VS Code versions). Here's the default keybinding:
{
"key": "escape",
"command": "leaveEditorMessage",
"when": "messageVisible"
}
Updated, as of Jan 2020:
{
"key": "shift+escape",
"command": "notifications.clearAll"
}
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