xcode 如何删除编码窗口中的错误消息?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/683506/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 18:30:59  来源:igfitidea点击:

How to remove error messages in the coding window?

xcode

提问by Craig

I pressed Build before I was done coding my class, and Xcode is showing me a bunch of red errors, which are obviously because I'm not done.

在我完成我的课程编码之前,我按下了 Build,Xcode 向我展示了一堆红色错误,这显然是因为我没有完成。

How do I get rid of the errors so they are not showing up in my coding window?

我如何摆脱错误,使它们不会出现在我的编码窗口中?

回答by Can Berk Güder

XCode 4:
^+?+Mor Editor → Issues → (uncheck) Show All Issues

的XCode 4:
^+ ?+M或编辑→问题→(选中)显示所有问题

Older Versions:
?+?+?+Hor View → Message Bubbles → Hide All

旧版本:
?+ ?+ ?+H或查看 → 消息气泡 → 隐藏全部

回答by rainkinz

XCode 7: Preferences (?,) > General.

XCode 7:首选项(?,)> 常规。

Under Issues uncheck "Show live issues"

在问题下取消选中“显示实时问题”

回答by Nick Van Brunt

double click on the bubble works too

双击气泡也有效

回答by Thomas Joulin

On Xcode Preferences (?,) > Building, set "Never" to Show Message Bubbles during builds

在 Xcode Preferences (?,) > Building 上,将“Never”设置为在构建期间显示消息气泡