Cimlman
Cimlman

Reputation: 3814

Xcode 6.4 highlights just some keywords

Since last week, Xcode 6.4 highlights syntax in my Objective-C files in a strange way. Some keywords (nil, id, self, __weak,...) are highlighted but some keywords (int, double, void, if, static, const,...) are not.

I have tried to delete Derived Data of the project but it has not helped. This partial keyword highlighting apply to any project.

Any idea how to fix this? Thanks.

keyword highlighting

enter image description here

Upvotes: 0

Views: 89

Answers (1)

Esqarrouth
Esqarrouth

Reputation: 39181

So I have 2 projects for the same application, A v1 and A v2.

This happened to me on v2. I looked at my friends Xcode and he had no problem. I opened v1 and it had no problem. Even some files in v2 had this problem and some of the files didn't have this problem.

I did these steps, not sure which one did the trick but it worked:

  • Clean/Build
  • cmd + Q/Reopen Xcode
  • Clear Derived Data

Upvotes: 1

Related Questions