Issue with text blocks formatting on java 21. Defaulting to extreme left indentation
rohan-changejar opened this issue ยท 9 comments
-
Issue description - While trying to migrate our existing string implementations of string append to the latest text block format
in our java 21 project, we are seeing that text blocks are not being handled properly and therefore causing unexpected left indentation, which is deviant from the standard formatting pattern -
Gradle or Maven version - id "com.diffplug.spotless" version "6.17.0"
-
operating system and version - MacOs sonoma 14.5
-
spotless { java { // googleJavaFormat() // optional: you can specify a specific version (>= 1.8) and/or switch to AOSP style // and/or reflow long strings // and/or use custom group artifact (you probably don't need this) googleJavaFormat('1.22.0').aosp().reflowLongStrings().groupArtifact('com.google.googlejavaformat:google-java-format') } }
Facing the same issue, please help
+1 .. Facing a similar issue
Ruins the point of formatting the code, please fix this
Same here.
Facing a similar issue, Please fix.
Facing the same issue.
Facing the similar issue, taking a bit more time to format it and thus reducing the efficiency of the developers. Please help us sort this soon. Thank you!