如何在 vscode 中禁用警告和错误弹出窗口? [英] How do you disable warning and error popups in vscode?

查看:101
本文介绍了如何在 vscode 中禁用警告和错误弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面的弹出窗口最近开始出现在 vscode 中.有没有办法关闭这些?我在 settings.json 中找不到它的选项

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

我已经在 vscode 中使用了很多问题菜单,其中包含完整的警告/错误列表,所以我不需要额外的弹出窗口来告诉我出了什么问题.

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.

推荐答案

我在 7 月份发布了下面的答案,然后一个热心的版主今天删除了它:

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.

我们不提供关闭或抑制这些错误消息的方法,因为它们是错误并且会影响 VS Code 体验.如果您看到错误,如果您认为问题不是由扩展引起的,请针对导致错误的扩展或 VS Code 本身提交问题

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

这篇关于如何在 vscode 中禁用警告和错误弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆