Xcode 4 no code completion

社会主义新天地 提交于 2019-12-20 10:29:56

问题


I have been using Xcode 4 for 2 weeks and I noticed that I don't get code completion macros for if-else and switch statements.

Like this article describes: http://macdevelopertips.com/xcode/xcode-code-completion-macros.html

I had it working in the beginning, but it suddenly stopped.


回答1:


Have you tried deleting the project's derived data (which contains the project index used by Code Sense)?

To do so, open the organizer (Window -> Organizer), then the Projects tab. Select your project then hit the delete button next to the derived data path (to the right). Confirm and let it re-index your project.



来源:https://stackoverflow.com/questions/6157782/xcode-4-no-code-completion

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