Xcode code sense color/completion not working Xcode code sense color/completion not working xcode xcode

Xcode code sense color/completion not working


In Xcode 4, I haven't been able to find a "Rebuild Code Sense" button either, but if you go to Window -> Organizer, select the Project tab, and click "Delete..." next to the Derived Data folder, it seems to have the same effect. (I got that tip from http://blog.slidetorock.com/xcode-4-code-sense-autocompletion-problems, which indicates that it got it in turn from https://stackoverflow.com/questions/2138047/xcode-code-loses-syntax-coloring - but I don't see it in any of the answers there. Very curious.)


Just run in terminal every time when needed

rm -fR ~/Library/Developer/Xcode/DerivedData

Works fine. Highlighting and codesense back to me!Sometime needed Make Clean to back it work.

note: as I see it's remove snapshost and another Xcode4 'features'. But we do not use it :)


Syntax coloring is working back after i do the following steps:

  • Go to Organizer > Project > Delete Derived Data from your currentproject
  • Clean & Build
  • Close & Quit XCode, and reopen the project
  • Syntax coloring becomes well after project reindexing

P.S.

  • LLVM Complier 3.0
  • i used -fno-objc-arc Complier Flags for all 3rd party libraries(e.g.ASIHTTPRequest)
  • My project is created from XCode 4.2