Xcode 9 代码完成和突出显示不起作用 [英] Xcode 9 code completion and highlighting not working

查看:27
本文介绍了Xcode 9 代码完成和突出显示不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上看到了很多关于这个的话题,但不是针对 Xcode 9 的.由于某种原因,代码完成和语法高亮不再起作用.上周还好.

I have seen many threads about this online, but not for Xcode 9. For some reason code completion and syntax highlighting is no longer working. Last week it was fine.

使用 GM 版本.

有人遇到过这个问题或知道如何解决吗?重新启动 Xcode 和我的电脑没有帮助.

Anyone have this issue or know how to resolve it? A restart of Xcode and my computer did not help.

推荐答案

在 Finder 中,我导航到 user->Library->Developer->Xcode->DerivedData 并删除了相关项目的子文件夹.在项目的下一次构建之后,语法突出显示和代码完成返回.

In Finder I navigated to user->Library->Developer->Xcode->DerivedData and deleted the subfolder of the project in question. After next build of the project the syntax highlighting and code completion returned.

这篇关于Xcode 9 代码完成和突出显示不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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