Xcode:如何关闭源代码窗口中的编译器错误消息? [英] Xcode: How to turn off the compiler error messages in the source code window?

查看:22
本文介绍了Xcode:如何关闭源代码窗口中的编译器错误消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XCode 3.1 中的源代码编辑器有一个新功能,您的编译器错误(和警告)消息直接嵌入到相关文本行下方的代码中.我相信这听起来是个好主意,但在实践中我发现它很烦人 - 当您尝试进行编辑以修复错误时,您的代码会跳来跳去.

The source code editor in XCode 3.1 has a new feature where your compiler error (and warning) messages are embedded directly in your code below the relevant line of text. I'm sure it sounded like a nice idea, but in practice I find it very annoying - your code jumps around as you try to make the edits to fix the error.

我知道您可以通过单击左边距中的标记图标来折叠错误消息,但我不希望它们直接出现在我的代码中.有什么办法可以禁用这个功能吗?浏览首选项面板没有出现任何内容.

I know you can collapse the error message by clicking the marker icon in the left margin, but I'd prefer not to have them appear directly in my code at all. Is there any way to disable this feature? Surfing the preferences pane didn't turn up anything.

给 Apple 的备忘录:工具提示将是一个更好的解决方案.

Memo to Apple: Tool tips would be a much better solution.

推荐答案

Preferences -> Building -> Message Bubbles -> Show during builds: Never

Preferences -> Building -> Message Bubbles -> Show during builds: Never

Xcode 7+

首选项 -> 行为 -> 构建 -> 成功/失败 -> 使用挡板或系统通知进行通知

Preferences -> Behaviors -> Build -> Succeeds/Fails -> Notify using bezel or system notification

这篇关于Xcode:如何关闭源代码窗口中的编译器错误消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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