MVIKotlin-Decompose-Plugin
MVIKotlin-Decompose-Plugin copied to clipboard
Plugin for easy component creation
MVIKotlin-Decompose-Plugin
MVIKotlin-Decompose-Plugin will help you to create Decompose components and MVIKotlin stores without wasting too much time
Found bug or need a new feature? Please submit a
Decompose/MVIKotlin template
Right-clicking on package will show additional dialog, with which you will be able to create Component or Store
Menu overview
(Click to expand) Creation menu
Create Decompose component
Here you can also make few configurations:
- [x] Choose an option to enable MVIKotlin integration, which will add store creation
This configuration will create following:
[Feat]Component- Decompose interface component with ModelDefault[Feat]Component- Default component implementation with ComponentContext
(Click to expand) Decompose menu
Create MVIKotlin store
Here you can also make few configurations:
- [x] Option to create store package
- [x] Choose a Bootstrapper type
- [x] Option to use klibs.kdi Factory
This configuration will create following:
[Feat]Store- MVIKotlin store with State, Intent, Message, Label and Action if Bootstrapper was selected[Feat]Executor- MVIKotlin CoroutineExecutor[Feat]Reducer- MVIKotlin Reducer<State, Message>[Feat]StoreFactory- Store factory with private inner implementation[Feat]Bootstrapper- Store Bootstrapper if Custom bootstrapper option was selected
(Click to expand) MVIKotlin menu
See libraries
Gratitude
- jetpack-compose-ui-arch-plugin for inspiration
- arkivanov for great libraries
- jetbrains for IntelliJ