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
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') } }
The text was updated successfully, but these errors were encountered:
I think this is probably a bug in googleJavaFormat, not specific to Spotless. I don't think this is related to #1628, the configuration above does not use our indentStep
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') } }
The text was updated successfully, but these errors were encountered: