fortinmike / XcodeBoost

An Xcode plugin that aims to make altering and inspecting code quick and easy.
MIT License
817 stars 86 forks source link

Implement as an Xcode 8 extension (with the official API) #49

Open fortinmike opened 8 years ago

fortinmike commented 8 years ago

That will be the correct (and only) way to extend Xcode going forward.

icanswiftabit commented 7 years ago

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.

fortinmike commented 7 years ago

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.

fortinmike commented 7 years ago

By the way, thanks for the gist, @Dudi00! That will come in handy for myself as well.