suusan2go / kotlin-fill-class

Intellij plugin that provides intention action for empty constructor
https://plugins.jetbrains.com/plugin/10942-kotlin-fill-class
MIT License
267 stars 31 forks source link

Parcelable classes support #39

Open NicolaVerbeeck opened 4 years ago

NicolaVerbeeck commented 4 years ago

In android, when a data class implements the Parcelable interface, data classes have multiple constructors. Currently when you use the intention, the Parcelable variant is used to fill in the arguments instead of the main constructor.

Can we have a check that fixes this or an additional option to select which of the constructors to use?

suusan2go commented 3 years ago

Hi sorry for the really late reply. The configuration feature was introduced in this PR If you need additional option, PRs are welcome. https://github.com/suusan2go/kotlin-fill-class/pull/49