简体   繁体   中英

Xcode 7.2 Syntax Highlighting flickering in Swift Files

When I write anything in a Swift file in Xcode 7, every time I enter an letter, a space or delete anything, the syntax highlighted words in the line go white and then back to their original color. I recorded a gif, better explaining, what I mean:

窃听器

This first appeared, after I installed Alcatraz and a few plugins. After I noticed the bug, I removed all plugins and then Alcatraz, but the bug still existed. I also tried to delete the Derived Data folder as suggested in a few posts, but it didn't help.

I also created a new project, but the error occurred there too. Downloading Xcode 7.3 beta, didn't help too.

Is anyone having the same issue or knows, how to fix it? It's really annoying.

I just tried to reproduce this bug and figured I have the same issue. Since I don't use such high contrast colours for syntax highlighting, I didn't notice until now.

I presume it's not a bug only you are experiencing, so maybe you could try to file a bug report to Apple here .

This appears to be a result of the constant syntax scanning done by the text engine as you type.

If you find the effect objectionable, switch (for now) to the Default theme (or some other theme that has a white background) instead of the black background you're currently using; it is not noticeable there.

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