I recently upgraded Xcode to version 4.4.1, and now, CSS files don't take on the default syntax coloring associated with CSS files. A dash appears next to the "None" option under Editor | Syntax coloring. I have to manually check off the CSS option under Syntax coloring to associate colored syntax with CSS.
A last note: I don't use Xcode as an IDE, I use it as a text editor. All other languages I work in take on syntax coloring without a problem; this issue applies only to CSS.
I'm using Xcode the same way and I have it installed on two systems: Lion and Mountain Lion. The program's version is equally (4.6). So I found solution, especially this:
First, Make sure Xcode is closed, then turn up the indexer warning message level by entering in the Terminal: defaults write com.apple.dt.Xcode IDEIndexingClangInvocationLogLevel 3
And the interesting thing is that those solution completely solved my problem in Mountain Lion but didn't help in Lion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With