本文介绍了X $ C $的C 4无code完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在用X code 4 2周,我注意到,我没有得到code完成宏的if-else和switch语句。

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.

喜欢这篇文章描述:<一href=\"http://macdevelopertips.com/x$c$c/x$c$c-$c$c-completion-macros.html\">http://macdevelopertips.com/x$c$c/x$c$c-$c$c-completion-macros.html

我有它在一开始工作,但它突然停了下来。

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

推荐答案

你试过删除项目的派生的数据(包含由code的意义上使用这个项目指数)?

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.

这篇关于X $ C $的C 4无code完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 06:16