简体   繁体   English

删除Sublime Text红色弹出窗口

[英]Remove Sublime Text red pop-ups

How do I remove the irritating red pop-up errors that now appear on Sublime Text? 如何消除Sublime Text上现在出现的令人讨厌的红色弹出错误?

For example in this image: 例如此图像:

烦人的红色弹出窗口

I have seen people refer to these as issues with Typescript but I am on Ubuntu and don't seem to have this package installed. 我见过人们将这些称为Typescript问题,但是我在Ubuntu上,似乎没有安装此软件包。

I have tried all the Anaconda settings, but this seems to be a Sublime Text thing. 我已经尝试了所有Anaconda设置,但这似乎是Sublime Text的事情。

Many thanks! 非常感谢!

What you're seeing there are Inline Build Errors ; 您看到的是Inline Build Errors Sublime catches the output of a build when you execute one, and if that information contains location information in the file along with an error and the appropriate setting is enabled, it will add inline errors (called Phantoms) into the document at the error locations to give your errors more context. Sublime在执行构建时捕获构建的输出,并且如果该信息包含文件中的位置信息以及错误,并且启用了适当的设置,它将在错误位置的文档中添加内联错误(称为Phantoms)。为您的错误提供更多背景信息。

This happens without regard to the language or platform that you're using, which is why you may have only turned up examples for TypeScript. 发生这种情况与您所使用的语言或平台无关,这就是为什么您可能只为TypeScript提供示例的原因。

In core Sublime Text, this is controlled by the following setting, which as seen here is enabled by default: 在核心Sublime Text中,此设置由以下设置控制,如此处所示,默认情况下处于启用状态:

// Shows build errors just under the line on which they occur.
"show_errors_inline": true,

Setting that setting to false in your user preferences should resolve the problem for you. 在用户首选项中将该设置设置为false应该可以为您解决问题。 If it doesn't, then a third party package is also injecting build errors (or similar) into your document as well and isn't honouring the setting above. 如果没有,那么第三方软件包也会向您的文档中注入构建错误(或类似错误),并且不遵守上述设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 python selenium禁用操作系统弹出窗口 - python selenium disable os pop-ups 将Pyinstaller与-noconsole一起使用会弹出窗口 - Using Pyinstaller with -noconsole gives Pop-ups instead 阻止由 selenium firefox 驱动程序产生的弹出窗口 - blocking pop-ups resulting from selenium firefox driver Python Qt4防止JavaScript警报/弹出窗口 - Python Qt4 Prevent JavaScript Alerts/Pop-ups django-tinymce编辑器中的弹出窗口显示404错误 - Pop-ups in django-tinymce editor showing 404 error 使用Selenium,在Chrome中启用“弹出窗口和重定向” - Using Selenium, enable “Pop-ups and redirects” in Chrome 如何在python中使用Selenium关闭浏览器弹出窗口? - How to close browser pop-ups using Selenium in python? 如何在Sublime Text 3中删除Python代码中的红色弯曲线 - How to remove red curvy lines in Python code in Sublime Text 3 在 python 中自动化时如何使用 selenium 处理 Microsoft Outlook 应用程序弹出窗口 - How to handle Microsoft outlook app pop-ups using selenium when automating in python 如何使用python-social-auth使facebook身份验证弹出窗口 - How to make facebook authentication pop-ups using python-social-auth
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM