n8eqII
n8eqII

Reputation: 241

How do I turn off notifications globally in visual studio code

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.

Notification dialog

Upvotes: 24

Views: 18053

Answers (4)

Mark
Mark

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

JaxtonKael
JaxtonKael

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

Jason Roell
Jason Roell

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

Noah670
Noah670

Reputation: 81

Add this to settings.json:

"update.mode": "none",

Upvotes: -5

Related Questions