microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.71k stars 29.08k forks source link

Allow to temporarily or permanently disable (snooze) all notifications #46676

Closed Adiqq closed 2 years ago

Adiqq commented 6 years ago

Hi!

I have a suggestion for feature that would sometimes be useful. Option to temporarily easily disable all notification, e.g. I have to edit configuration in many projects, but if I open .NET Core project, it notifies me about restoring dependencies, which don't really interest me in this use case.

bpasero commented 6 years ago

/findDuplicates

vscodebot[bot] commented 6 years ago

Potential duplicates:

satyapramodh commented 6 years ago

+1 i am just getting started with a project and that means i am reading through a lot of code. i keep getting distracted by notifications on each new file i open. like some autoformatter wants to install. i dont currently need those in this session and i wish we had an ability to disable notifications for x hours or this session

tigoe commented 6 years ago

+1 for this. Notification toasts are not often usable by screen readers, in particular VoiceOver on the MacOS, and get in the way of getting things done.

babakness commented 5 years ago

How to hack this temporarily; 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.

rightfold commented 5 years ago

In addition to temporarily disabling them it should also be possible to permanently disable them, via a setting in settings.json.

sherief commented 5 years ago

I would be fine with Clippy coming back if I get the ability to disable notifications because if I took a shot for every distracting notification I had to dismiss I'd be, well, dead by now (and it's only around 2 PM).

QGB commented 4 years ago

.notifications-toasts

Array.from(document.querySelectorAll('.notifications-toasts')) .forEach(function(val) { val.style.display = 'none'; });

QGB commented 4 years ago

@babakks

/ 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; }

babakks commented 4 years ago

@QGB Sorry, but you should mention @babakness. 😎👍

worldbeater commented 4 years ago

An option to completely disable all those notifications would be highly appreciated. Sometimes I just want to read Visual Studio Code's terminal output, and those guys always irritate me saying boo hoo there is an extension for this file, or something else. I don't care what they say, completely. Most time I just want to parse the terminal output while editing files, without getting disturbed. It is nice to have the ability to apply a workaround like display: none;, but... Seriously?

zwhitchcox commented 3 years ago

So, I'd like to add I think a good approach would be to allow the user to just disable the "popup" feature of notification, which is the most annoying, and make the notification bell more prominent.

Right now, you wouldn't really notice that you have a notification, but maybe when you get a notification, it could blink and then the little dot that indicates a notification could be yellow, so you could easily visually see that you have notifications.

And sometimes you get notifications, and you know what they are going to be, so you wouldn't look when you get one of those, but other times you could just click on the notification bell and see your notifications.

But this would just be an option, the standard behavior could function as is.

atheaos commented 3 years ago

then the little dot that indicates a notification could be yellow, so you could easily visually see that you have notifications.

That is a good idea. It could go into the Activity Bar that already has those highlights/counters, and it would be appropriate because most notification are asking for activity.

ghost commented 3 years ago

Sometimes I open large projects because VSCode makes it really easy to explore and consume them and then I have to deal with a constant barrage of notifications telling me something is wrong. I just want it to shut up and leave me alone so I can concentrate on the the problem I'm trying to solve. All the distractions and interruptions are simply not relevant to what I'm trying to do, and all they are doing is making my job harder.

Applications these days are simply too noisy and constantly asking for attention, especially when it's not entirely necessary.

shu-ming commented 3 years ago

the notifications are really annoying

RussKie commented 3 years ago

I'm building a solution in a terminal... Like, seriously???? vscode-popup

RussKie commented 3 years ago

/cc: @dantegagne FYI

ghost commented 2 years ago

Almost 4 years later and this is still an issue. :(

satyapramodh commented 2 years ago

Idea: a notification central where all current and previous notifications exist per project. now u can snooze notifications per session or for x hours or forever for each project and can always go to the notification central page and manage each when you have the time. This would be really ideal.

Lantianyou commented 2 years ago

I cannot believe this is still an issue

DanielFredriksson commented 2 years ago

Bump. Please add a setting to disable these.

itsdmd commented 2 years ago

I'm still waiting for this simple patch.

HadesArchitect commented 2 years ago

Bump.

szabodanika commented 2 years ago

Sad bump.

schrobingus commented 2 years ago

Bump. I'm using vscode.dev as an editor for my companion Chromebook Duet with 16 different extensions (including an Emacs keymap), and as such, errors are prone to happen since the editor is more gimped and isn't native, but they appear REALLY OFTEN, especially with Python. It gets annoying to the point that it completely distracts me from my work, even if they are mostly minor errors that do not hinder the experience.

image

Sucks that it's been 4 years and this is still not addressed.

paulbuechner commented 2 years ago

Bump.

joshkg commented 2 years ago

bump!

AndyJado commented 2 years ago

bump!

sztomi commented 2 years ago

I'm having the same problem. Many notifications have a "don't show again" button that unfortunately doesn't seem to function.

Adiqq commented 2 years ago

For anyone still interested in solution, seems like there's finally Do Not Disturb mode: https://github.com/microsoft/vscode/issues/144324 , https://code.visualstudio.com/updates/v1_69#_do-not-disturb-mode