Xcode syntax highlighting issues

In Xcode 3.2.1, I have this problem when it stops highlighting objects with purple, and the like. For example:

alt text

In this example, NSAutoreleasePool, pool, img, size, width and height should be highlighted, but it is not. Here is a screenshot of how it looks.

Does anyone know how to fix this?

Change: In addition, the meaning of the code does not show the correct parameters.

+2
syntax objective-c iphone xcode syntax-highlighting
source share
2 answers

Xcode is often buggy for me in a similar way. Restarting xcode often fixes the problem. In addition, sometimes a missing half or brace will keep codeSense and emphasis from working the way you want it to. Try Opt-B (build) to find out if you have any errors that may be causing this.

+2
source share

I noticed that opening projects from the Xcode welcome screen causes this problem. If I turn off the welcome screen and then open the file (or open the file in the window that opens) and open the project so that the syntax highlighting works

+1
source share

All Articles