简体   繁体   中英

Xcode 6 - Syntax highlight / completion not working

After one day my code loses its highlight / completion again in xCode 6.

As always, I tried to Organizer > Projects > and Delete Derived Data. Which did not work in Xcode 6, even after it finish to index everything.

I tried to uninstall and install 3 times - and its still coming back after some time.

I really can't find why Xcode loses it.

Any help will be appreciated.

Syntax highlighting and code completion can sometimes only work on part of the file too, and it happens during the editing or on a random basis.

I fix this by cleaning the project... not a sexy solution, but it works.

I think it's a bug in some Xcode versions, I have it on Xcode 6.4 and the only solution I found is to open Editor menu -> Syntax coloring -> Choose None then Editor menu -> Syntax coloring -> Default for filetype.

PS: cleaning the project didn't solve the problem for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM