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
Please sign in to leave a comment.
No: https://stackoverflow.com/a/46382825/104891.
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
Request is welcome at https://youtrack.jetbrains.com/issues/IDEA.
thanks, filed https://youtrack.jetbrains.com/issue/IDEA-180965