Curnelious
Curnelious

Reputation: 1

Xcode is losing colours and auto complete

Using Xcode 7.3 , sometimes randomly the editor turns to be black, no syntax colours , but worse- no auto complete for local variables and functions.

When you compile again, you get the colours back , but still no auto complete. Sometimes there is a message that there is a problem with the editor.

I did not have this problem before (5 years), and I'v read this thread which does not seems like the same problem, because its too old : Xcode: code loses syntax coloring

This might seems like a small thing, but without the auto-complete -its really hell !

Upvotes: 3

Views: 318

Answers (1)

ha100
ha100

Reputation: 1592

this is common issue. any chance you are coding in Swift? i think it is still kind of unstable.

but you can try

1) delete module cache

it is within the same folder as project's derived data. when syntax highlighting stops working, try to delete it. quit xcode and delete ~/Library/Developer/Xcode/DerivedData/ModuleCache directory

2) clean project

try clean with ⌘ + ⇧ + K and then with ⌥ + ⌘ + ⇧ + K

3) restart xcode

Upvotes: 1

Related Questions