[英]Xcode 7.3.1 autocomplete code completion not working
Ever since Xcode 7.3 the autocompletion or code completion doesn't work properly. 从Xcode 7.3开始,自动完成或代码完成无法正常工作。
I have tried: 我试过了:
It does autocomplete after you type it out fully the first time. 第一次完全输入后,它会自动完成。 But if you haven't referenced it once (ie like enums) it only shows what you typed out before (not showing full list of enums).
但是如果你没有引用过一次(比如枚举)它只会显示你之前输入的内容(不显示完整的枚举列表)。 Pressing escape doesn't help either.
按下逃生也无济于事。
Any other suggestions? 还有其他建议吗? Or anyone else experiencing the same?
或者其他任何经历过相同的人?
Without doing anything, In Build-Settings -> Deployment changing iOS Deployment target from 8.0 to 8.1 resolved the issue for me. 没有做任何事情,在构建设置 - >部署中将iOS部署目标从8.0更改为8.1解决了我的问题。
It also works for XCode 6 as mentioned here 它也适用于此处提到的XCode 6
Also works on Xcode 8, Simply change the deployment target from iOS 9.0 to iOS 9.1. 也适用于Xcode 8,只需将部署目标从iOS 9.0更改为iOS 9.1。
Xcode 8 has now fixed this very annoying autocomplete issue. Xcode 8现在修复了这个非常烦人的自动完成问题。 So anyone who is still having this problem, update to Xcode 8.
所以仍然有这个问题的人,请更新到Xcode 8。
Edit: Please note, this has not solved for others. 编辑:请注意,其他人没有解决。 So your milage may vary.
所以你的milage可能会有所不同。 For me, it has fixed without doing anything extra.
对我而言,它没有做任何额外的修复。 But they are using their new 'intelligent' autocomplete.
但他们正在使用他们新的“智能”自动完成功能。 Thinking about it, it could be part of the indexing.
考虑到它,它可能是索引的一部分。 Deleting the DerivedData folder could help.
删除DerivedData文件夹可能会有所帮助。
Perhaps, this answer is too late, I'll share it anyway. 或许,这个答案为时已晚,无论如何我都会分享。
First of all, I've uninstalled Alcatraz and all plugins. 首先,我已经卸载了恶魔岛和所有插件。
Second, I've followed ElonChan's instructions explained on: 其次,我按照ElonChan的说明进行了解释:
Xcode 7.3 autocomplete issues Xcode 7.3自动完成问题
As a result, autocompletion automagically got back! 结果,自动完成自动恢复! Thanks @ElonChan.
谢谢@ElonChan。
I hope this answer also solves your problem. 我希望这个答案也能解决你的问题。
这通常是在你的项目中使用核心数据的时候。(因为xcode没有完成文件的自动索引)避免这个事情的简单方法是只需点击你的项目名称和清理项目就会返回同一个文件你想看到建议输入任何单词,就是这样。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.