Reputation: 241
How do I turn off notifications globally in visual studio code. Not individual notifications from plugins, but every notification.
These are the popups that slide in from the top, displaying Error/Info/Upgrade/Activity messages.
It would be nice if this is system wide setting.
Upvotes: 24
Views: 18053
Reputation: 180825
It looks there will be a Do not Disturb
mode in vscode v1.69 (it is in Insiders now). It turns off all the notification pop-ups (warnings, info, etc.) but not for errors.
command: Notifications: Toggle Do Not Disturb Mode
(unbound by default)
or
click the bell icon in the lower right and click on the slashed-bell icon in the pop-up to enable Do Not Disturb mode. Same to disable the mode.
There is also a setting to determine how Zen Mode and this Do Not Disturb mode will interact, see the setting:
Zen Mode: Silent Notifications
Upvotes: 7
Reputation: 81
If you are referring to the "This extension has an update... etc" toasts that pop up from the blue status bar:
Right-click the bell icon and select 'Hide Notifications' from the menu.
Upvotes: 8
Reputation: 6809
Couldn't find a simple way to do this through VSCode's configuration. One way to hack this temporarily that seems to work though is cmd-p
, enter > developer
choose options with toggle developer tools
. Chrome inspector opens. To disable all toasts set the style .notifications-toasts
to display: none
.
You can also try:
/* append this to Microsoft VS Code/_/resources/app/out/vs/workbench/workbench.desktop.main.css */
.monaco-workbench > .notifications-toasts.visible {
display: none;
}
.notifications-toasts {
display: none;
}
Upvotes: 17