xcode spell checking [duplicate]

我与影子孤独终老i 提交于 2019-12-06 03:39:53

Xcode 4 also includes a new Fix-It feature, which is basically a spell-checker for code. It highlights your mistakes, and with the press of the "Fix" button, the problem is solved.

It just shows you a red circle on the line number that you have to click to get the fix it suggestions. You can use a keyboard shortcut to do the fixing at least. Here is the "Fix all in scope" key bind.

Fix Next Issue:
control + Command + '

Fix Previous Issue:
control + Command + "

Fix All In Scope:
control + Command + F

The closest thing I've been seen that shows errors as you type is to switch to issue navigator and leave that on. Here is a guide on the issue navigator. http://developer.apple.com/library/ios/#recipes/xcode_help-issue_navigator/articles/viewing_issues_in_the_issue_navigator.html Hope this helped.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!