简体   繁体   English

在Xcode 7中建议完成问题

[英]Suggest Completion Issue in Xcode 7

I'm not getting the autocompletion or suggestions text while typing in Xcode 7. I have tried with the following methods, but none of them are worked for me. 在Xcode 7中键入时,没有得到自动补全或建议文本。我尝试了以下方法,但是它们都不适合我。

  1. Uninstall the Xcode and reinstall it again 卸载Xcode,然后重新安装
  2. Restarting the system 重新启动系统
  3. Clean the Code and Derived data (~/Library/Developer/Xcode/DerivedData) 清理代码和派生数据(〜/ Library / Developer / Xcode / DerivedData)
  4. Deleted the cache (~/Library/Caches/com.apple.dt.Xcode) 删除缓存(〜/ Library / Caches / com.apple.dt.Xcode)

Please check the apple guide for CompletingCode 请查看Apple指南中的CompletingCode

https://developer.apple.com/library/mac/recipes/xcode_help-source_editor/chapters/CompletingCode.html https://developer.apple.com/library/mac/recipes/xcode_help-source_editor/chapters/CompletingCode.html

Also try disabling and enabling suggest completion . 同时尝试禁用并启用建议完成功能。

To turn off the code completion feature, choose Xcode > Preferences and click Text Editing. 要关闭代码完成功能,请选择“ Xcode”>“首选项”,然后单击“文本编辑”。 In the Editing pane, deselect the option “Suggest completions while typing.” You can always invoke code completion by pressing Control–Space bar. 在“编辑”窗格中,取消选择“键入时建议完成”。您始终可以通过按Control-空格键来调用代码完成。

Thanks, 谢谢,

Anil 安尼尔

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM