moxy-community / Moxy

Moxy is MVP library for Android with incremental annotation processor and ktx features
MIT License
324 stars 33 forks source link

IDE plugin for setting View strategies #125

Closed Maksim-Novikov closed 3 years ago

Maksim-Novikov commented 3 years ago

Hello everyone!

About year ago I created plugin for moxy strategies https://github.com/Maksim-Novikov/moxy-strategy-plugin https://plugins.jetbrains.com/plugin/13679-moxy-strategy

And now I finally have some time, to develop it. What do you will be better:

1) Just add link to it in Readmy 2) Add folder into this project

alaershov commented 3 years ago

Awesome work @Maksim-Novikov!

It needs to be tested thoroughly, there recently were some changes in strategy resolution: https://github.com/moxy-community/Moxy/issues/70 And there is also an ongoing issue with multi module projects: https://github.com/moxy-community/Moxy/issues/101 The plugin needs to be consistent with moxy compiler behavior to avoid false warnings.

I think we'll start with a link in Readme, and see how the plugin works)

Also, maybe you'd like to consider consider using short aliases for strategies, like @AddToEndSingle.

Maksim-Novikov commented 3 years ago

@alaershov I added plugin to readme https://github.com/moxy-community/Moxy/pulls

Also added alias strategies to plugin

alaershov commented 3 years ago

Good job, thanks!