I am trying to make my life easier and code more beautiful)
Intellij IDEA
is great IDEA with great engine which is used as core in Android Studio
.
I know about possibilities to arrange code, it has some predefined rules that can be changed.
So I have tried to add some my own rules in order to make rearrangement fit my requirements.
I have already tried to do this myself, but failed. Arrange Your Code Automatically
I need to have following rules with priorities, they are simple.
List according to priorities
I would be very grateful for any help or config files example.
For rearranging code you can use plugin Rearranger
He allows to you specify settings
I use a style settings from google , it helps for reading documentation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.