-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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: better handling of non-actionable error messages #16439
Comments
In many cases, when we get an error back from the integrated TypeScript language server, we send it to the client as an error, which creates a pop, but ultimately the error is unactionable, and often transitory, where typing a little bit more resolves the internal TypeScript language server debug issue. We should in a lot of cases, just continue to log these out to the extension log, but just return an empty return value instead of erroring. |
Please, as VSCode has no means to enable extension error popups (yes I'm aware of "silence notifications", does not affect extension-error-popups) I have to constantly yet unpredictably close those unactionable irritations. |
@crowlKats please take a look |
Any progress on this? It's extremely irritating. Thank you |
Which messages are you getting most often? |
That message should be now fixed in V1.29.2. let me know if this happens after upgrade |
Ah, makes sense, I assumed it's an issue with the plugin. Was on an older version of Deno indeed, updating now. Thank you! |
Error notifications are usually bugs. Let's continue in individual issues if they come up. |
I'm sorry but I really don't think notifications are intended for that use case. All extensions I know like eslint, prettier and even TypeScript itself use the output panel for errors. |
@jespertheend The notifications are the default behaviour when an LSP response returns an error, we don't do anything in particular to cause that. I see them for rust-analyzer sometimes as well. When I say bugs I mean bugs with the LSP to be clear. If you know of any triggers currently, please report them. |
Is your feature request related to a problem? Please describe.
The Deno extension shows a lot of error notifications, more than any of the extensions I'm currently using. Some examples include:
This leads to frustration because these notifications don't work like toasts, so you have to manually dismiss them.
This also takes attention away from notifications that actually do matter.
Describe the solution you'd like
The solution here is probably less trivial than I expect it to be. Ideally there would be different settings for different kind of notifications. So the user can choose which notifications to subscribe to.
But if this is not feasible, a single option to suppress all errors would be helpful as well I think.
The text was updated successfully, but these errors were encountered: