kolinkrewinkel / Polychromatic

Semantic highlighting for Xcode.
http://kolinkrewinkel.com/
MIT License
1.05k stars 69 forks source link

Swift 2.x Support #76

Open freak4pc opened 8 years ago

freak4pc commented 8 years ago

Is this still happening? Or even part of the roadmap ? I remember an older issue open and came back to install again and try but it's still poorly behaving / not working.

cb77ebad-85f8-4f4e-998c-58e6fab26662

I'd love to know if there are any plans for this :)

Thank you Shai

freak4pc commented 8 years ago

With Carbon, partial implementation works but it's definitely not production-able ...

321dc4dd-c4aa-4469-8f98-b812b73d4bc0

freak4pc commented 8 years ago

... ?

kolinkrewinkel commented 8 years ago

In another plugin I've been working on, I've devised a way to pull out way more information from the SourceKit parsing for improvements.

However, as I recall this was the best I could do with the information available. What would you like to see changed in what's shown? All the vars are colored as far as I can tell, but in my mind I'd want to remove the coloring on the module imports.

freak4pc commented 8 years ago

Thanks for your response @kolinkrewinkel . I'd love to try the other plugin if thats relevant ...

As you see most of the code is greyed out ... that wasn't the case when I used this plugin with Obj-C code.

For example, AppManager/BuddyBuildSDK/DDNotificationHandler are all in the same color for some reason...

window/layer are both purple ... instead of each having its own contexted-color ...

This doesn't seem like the proper behaviour

kolinkrewinkel commented 8 years ago

I'll create an equivalent class in Objective-C and another in Swift to compare, but I believe it looks mostly correct. The colors being similar is likely by chance.

cooler333 commented 8 years ago

+1