Xcode 8 Autocomplete Broken - 仅显示有限的用户代码片段 - 知道为什么吗? [英] Xcode 8 Autocomplete Broken - Displays only limited User code snippets - Know why?

查看:37
本文介绍了Xcode 8 Autocomplete Broken - 仅显示有限的用户代码片段 - 知道为什么吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天才开始.Autocomplete 一直运行良好,然后开始出现问题,只显示一些标准 Cocoa 类/方法等的 autocomplete.最好描述为周期性的奇怪遗漏.我正在使用 Cocoa &Objective C 但它似乎被破坏的不仅仅是 Objective C.

This just started today. Autocomplete had been working fairly well and then started sputtering, only showing autocomplete for some standard Cocoa classes / methods etc. Best described as periodic strange omissions. I am using Cocoa & Objective C but it seems to be broken for more than just Objective C.

我删除了派生数据,但没有任何效果.(默认为 ~/Library/Developer/Xcode/DerivedData 但我喜欢保留在我的项目文件夹中以便于删除)

I deleted the derived data and it had no effect. (default is ~/Library/Developer/Xcode/DerivedData but I like to keep in my project folders for easy delete)

Xcode 太大了(就像一个操作系统)我犹豫重新安装并阅读这里的帖子,无论如何都行不通.

Xcode is so huge (like an operating system) I hesitate to re-install and reading the postings here, that does not work anyway.

它正在测试我对 Cocoa 方法和参数顺序的记忆...... autocomplete 之前的生活还可以,但我想把它找回来......

It is testing my memory of Cocoa methods and parameter order... life before autocomplete was OK but I would like to have it back...

推荐答案

缓存是 macOS 的阿喀琉斯之踵,所以...在百灵鸟周围挖掘并找到了 ~/Library/Caches/com.apple.dt.Xcode文件.它是 1.33G (jez).

Caches are the Achilles heel of macOS so... on a lark, dug around and found the ~/Library/Caches/com.apple.dt.Xcode file. It was 1.33G (jez).

我退出了 Xcode,删除了缓存文件",然后重新启动了 Xcode.Voilà!, здесь!,(或在南方Hot DANG!")我们又开始营业了.代码着色又回来了,自动完成又回来了,自动编译(自动抱怨:-)现在可以工作了.

I quit Xcode, deleted the cache "file", then relaunched Xcode. Voilà!, здесь!, (or down south "Hot DANG!") we are back in business. Code coloring is back, autocompletion is back, auto compile (auto complain :-) is now working.

这篇关于Xcode 8 Autocomplete Broken - 仅显示有限的用户代码片段 - 知道为什么吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆