-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LSP request failure toasts cannot be turned off #1449
Comments
@bpasero is there anything special I need to do. When I press the Manage Extension button I get this: |
@dbaeumer errors are excempted from notification ignore. Only info and warning can be ignored. |
I thought it might be something like that. If that is the behavior, being able to configure the notification ignore from an error notification can be a little misleading. |
Yeah I do understand, will think about it. I am not a big fan of just not showing this action based on severity because it may still be hard for a user to understand what conditions there are to hide it. |
I will close the issue then. |
@bpasero @dbaeumer Thank you for your consideration of this issue. Please review dotnet/vscode-csharp#6977 , as this is an extension which uncontrollably throws errors. From a Accessibility perspective, not giving users the ability to disable errors, or extension authors ability, leaves VS code in a state where errors are coming up all the time, even in Zen Mode Would you please consider reopening this ticket, as it is a huge accessibility pain and am unable to work properly with the C# extension in VS Code. |
IMO hiding errors from the user is not the right thing to do, since they usually shouldn't happen frequently @dibarbet if this happens often with the CSharp server you might want to think about handling them special in the middleware of override |
Ah, I can definitely try that. We are planning on fixing the errors on the server side, but it requires some small architectural changes we need to work through. Suppressing them on the client side seems like a good short term workaround. I think (not having tried) that the middleware would probably be good enough, considering it should only be short term. |
You should be able to do that in the middleware. If not ping me. |
Not sure if this is an issue here or on the vscode side (or intentional behavior) - but toast notifications due to a failed LSP request cannot be turned off.
To repro
Was reported in dotnet/vscode-csharp#6977
We're attempting to fix the issues causing the request to fail, but it seems like a bug that the notifications cannot be turned off.
The text was updated successfully, but these errors were encountered: