EDIT: This is strange ... if I double-click the "Recent Projects" element for a project on the welcome screen, the meaning of the code and coloring will be fine, but if I just click Open (lower right on the welcome screen) it is not. Opening from File > Recent projects does not work either, and it does not double-click on the .xcodeproj file in Finder.
The meaning of the code for the iPhone OS 3.0 project, which I have been working on for several months (through various installations / versions of Xcode), no longer works. For example, if I do NSString *myString , all the code will be black (no coloring, no option + double click, no code completion). Code Sense only "works" for my own classes / methods / properties, but not for any of the SDK classes. If I create a new project from scratch, all of these works for me.
I have already tried changing the “Base SDK for all configurations” in this project. I already tried "Recover Code Meaning Index". I have already tried Clear All Goals.
The documentation in the settings is up and running. For example, if I select NSString above and do Right-Click → Find text in the documentation, I get a window with all the class reference.
Any ideas are welcome.
xcode syntax-highlighting
mga Oct 26 '09 at 20:05 2009-10-26 20:05
source share