grandcentrix-AndroidCodeStyle
grandcentrix-AndroidCodeStyle copied to clipboard
Keep Lifecycle methods together
refer to : #3
with kotlin it didn't work
example
override fun onActivityCreated(savedInstanceState: Bundle?) {
super.onActivityCreated(savedInstanceState)
}}
override fun onDestroy() {
super.onDestroy()
Timber.e("aaaaa")
}
override fun onAttach(context: Context) {
super.onAttach(context)
}
then i click auto format opt+cmd+l it will not sort into onattach, onActivityCreated, onDestroy
I can confirm this, I have the same problem.
IntelliJ doesn't support rearrange code for Kotlin. Please Upvote KT-25677
Thanks for the quick response. I upvoted the ticket 👍