You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ For available versions see [releases](https://github.com/sbt/sbt-java-formatter/
38
38
* The `javafmtRemoveUnusedImports` setting controls whether unused imports are removed (`true` by default).
39
39
* The `javafmtReflowLongStrings` setting controls whether long string literals are reflowed (`true` by default).
40
40
* The `javafmtFormatJavadoc` setting controls whether Javadoc comments are reformatted (`true` by default).
41
-
* The `javafmtReorderModifiers` setting controls whether modifiers are reordered into JLS order (`true` by default).
41
+
* The `javafmtReorderModifiers` setting controls whether modifiers are reordered into JLS order (`true` by default). Disabling it requires `javafmtFormatterCompatibleJavaVersion := 21`.
42
42
* The `javafmtFormatterCompatibleJavaVersion` setting selects which `google-java-format` runtime line to use (`21` by default).
43
43
* The `javafmtJavaMaxHeap` setting controls the maximum heap passed to the forked `google-java-format` JVM (`Some("256m")` by default).
Copy file name to clipboardExpand all lines: plugin/src/sbt-test/sbt-java-formatter/reorder-modifiers-unsupported/src/main/java/com/lightbend/BadFormatting.java
0 commit comments