Intellij IDEA, a very popular java IDE, with very customizable rules, doesn't seem to be able to sort in the same way that prettier-java does. I tried removing all the rules but "everything else" but it didn't work. the reason I mention this is that immediately after commit when reformatting and optimizing commits, intellij effectively reverts the changes by intellij-java. So prettier would have to reformat the files again every time.
If it is possible could you document it? if not maybe go through the possible sort rules for the popular java IDE's and find a common ground that works (IDEA, Eclipse, Netbeans, JDeveloper, VSCode) come to mind.
Intellij IDEA, a very popular java IDE, with very customizable rules, doesn't seem to be able to sort in the same way that prettier-java does. I tried removing all the rules but "everything else" but it didn't work. the reason I mention this is that immediately after commit when reformatting and optimizing commits, intellij effectively reverts the changes by intellij-java. So prettier would have to reformat the files again every time.
If it is possible could you document it? if not maybe go through the possible sort rules for the popular java IDE's and find a common ground that works (IDEA, Eclipse, Netbeans, JDeveloper, VSCode) come to mind.