问题描述
在Xcode 3.2.1中,我遇到了这个问题,它停止以紫色突出显示对象等。例如:
In Xcode 3.2.1 I have this problem where it stops highlighting Objects in purple, and such. For example:
在该示例中,应突出显示NSAutoreleasePool,pool,img,size,width和height,但是,不是。这是一个看起来像的截图。
In that example, NSAutoreleasePool, pool, img, size, width and height should be highlighted, however, they are not. Here is a screenshot of what that looks like.
任何人都知道如何解决这个问题?
Anyone know how to fix this?
编辑:另外,代码意义没有显示正确的选项。
Also, code sense isn't showing correct options.
推荐答案
Xcode对我来说通常都是类似的方式。重新启动xcode通常可以解决问题。此外,有时缺少分号或大括号会使codeSense和突出显示无法按照您的意愿工作。尝试使用Opt-B(构建)来查看是否有任何可能导致此错误的错误。
Xcode is often glitchy for me in similar ways. Restarting xcode often clears up the issue. Also, sometimes a missing semi-colon or curly brace will keep codeSense and highlighting from working as you want it to. Try Opt-B (build) to see if you have any errors that could be causing this.
这篇关于Xcode语法突出显示的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!