Order imports
Apache 2.0Groups and orders import statements. If a style has been defined, this recipe will order the imports according to that style. If no style is detected, this recipe will default to ordering imports in the same way that IntelliJ IDEA does.
org. openrewrite. java. OrderImportsmod run . --recipe= org. openrewrite. java. OrderImportsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.