Syntax highlighting/autocomplete/codesense fails periodically

Originator:ishka912
Number:rdar://11057695 Date Originated:3/15/2012
Status:Open Resolved:
Product:Developer Tools (XCode) Product Version:4.3.1 (4E1019)
Classification:Annoying Reproducible:Sometimes
 
Summary: Xcode 4.3.1 will periodically lose the ability to properly highlight syntax as well as autocomplete.

Steps to Reproduce: Use Xcode for an extended period of time.  Also, it seems to occur more often when the core data xcdatamodel is changed and the corresponding model class files are generated.

Expected Results: Codesense/autocomplete should always work.

Actual Results: Codesense will fail to highlight code.  All code is generic text color (white for me since color scheme is midnight) except for reserved words. Clearing the "Derived Data" in Organizer > Projects > Derived Data > Delete... always fixes the issue.

Regression: Did not happen until upgraded from 4.2 to 4.3.1.

Notes: Wrote this bug report because filling it out takes less time in the day than the time lost to trying to complete long method names without autocomplete or codesense.

Comments

Thanks a lot. It works.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!