Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you disable warning and error popups in vscode?

The below popups have started showing up recently in vscode. Is there a way to turn these off? I couldn't find an option for it in settings.json

I already use the problems menu in vscode a lot which has a full list of warnings/errors, so I don't need an additional popup telling me what's wrong.

Popup example

like image 811
tamj0rd2 Avatar asked Nov 08 '22 20:11

tamj0rd2


1 Answers

I posted the answer below back in July and then an overeager moderator deleted it today:

I believe this error is coming from an extension you have installed. Please try tracking down which extension is the root cause and opening an issue against them

This is the correct answer and the poster found that the prettier extension was causing this issue.

We do not provide a means to turn off or suppress these error messages because they are errors and will impact the VS Code experience. If you are seeing an error, file an issue against the extension that is causing it or VS Code itself if you believe the issue is not caused by an extension

like image 145
Matt Bierner Avatar answered Nov 22 '22 17:11

Matt Bierner