Command line formatter, rearrange Java code?

Answered

Is there a way to make the command line formatter to do code re-arrangement as well?

https://www.jetbrains.com/help/idea/command-line-formatter.html

 

Passing the config xml (-settings) with both code-style settings and arrangement rules only results in reformatting of the code but does not rearrange code based on arrangement rules.

 

Thanks

 

0
4 comments
Avatar
Permanently deleted user

Is there a way to add support for it?

Or is there another way we can apply rearrangement of the code from IntelliJ command line?

We enforce formatting rules as part of committing code to our Git repo and we use IntelliJ command line for it. We would like to do the same for arrangement rules as well.

 

Thanks

0
Avatar
Permanently deleted user
0

Please sign in to leave a comment.