Skip to content

Import sorting doesn't seem compatible with Intellij #447

@xenoterracide

Description

@xenoterracide

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions