Implement as an Xcode 8 extension (with the official API)
fortinmike opened this issue · 3 comments
That will be the correct (and only) way to extend Xcode going forward.
I've created simple tutorial for those who desperately needs duplicate & delete current line https://gist.github.com/bwdowikowski/6a8222ebd29c1875c9f8a2fde1e67d3b
I can't wait for xcode plugin. Without it Xcode is useless as text editor.
We'll have to investigate what XcodeBoost features would be possible with the new Xcode Extensions API (I suppose not that much).
We might be able to migrate a few advanced features almost as-is because XcodeBoost is based on regexes and not SourceKit or similar AST knowledge. The thing is, that's something I wanted to move away from, especially considering the availability of SourceKit (real AST knowledge, not based on "dumb" text parsing).
Xcode Extensions in its current form seems like quite a restrictive environment to re-create existing XcodeBoost features. I'm also more inclined to implement Swift-related features at this point.
I might take a wait-and-see approach until the extensions API evolves, unless I can get some help figuring this out; I don't have much time to dedicate to this project lately.
By the way, thanks for the gist, @Dudi00! That will come in handy for myself as well.