Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ImportOrder: make static imports ordering as in Eclipse #3101
Expected, no violations for Eclipse users.
investigate sorting behavior for static imports in Idea and NetBeans.
If the same in all 3 IDEs - just follow them
NetBeans default, Looks like it is alphabetical order (upper before lower), ignoring static/nonstatic.
IntelliJ default, non-static first, then static. Rest seems similar to NetBeans.
Eclipse default, static first, looks complete alphabetical order afterwards (lower before upper).
We need new option for this Check - "useContainerOrderingForStatic" = "true/false". Default is false (as 2 of 3 IDEs use this approach).