Xcode语法突出显示的问题 [英] Problems with Xcode Syntax Highlighting

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

问题描述

在Xcode 3.2.1中,我遇到了这个问题,它停止以紫色突出显示对象等。例如:

In Xcode 3.2.1 I have this problem where it stops highlighting Objects in purple, and such. For example:

alt text http:// i48.tinypic.com/2nw0tbl.jpg

在该示例中,应突出显示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语法突出显示的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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