Polychromatic
Polychromatic copied to clipboard
Wrong highlighting of inactive code
If code is masked with #ifdefs, all classes in the nonactive parts will be colored. See the attached screenshot taken by creating an empty project, copying one method and disabling the code block.
UIApplication, NSDictionary, UIScreen, and UIColor are colored.
I have no idea, if it is possible, but it would be great, if the unused code is greyed out.
I tried to come up with a clever solution around this by looking at the parents of it, but this seems to be an issue with Xcode's parser marking all sub-items in a preprocessor conditional as an identifier. Not sure what the answer is here.