palantir-java-format
palantir-java-format copied to clipboard
Reformat string literal concatenation
At present, my IDE will take string literals and automatically break them across lines. An example might be
callMethod("some very very very long string");
which it will break to
callMethod("some very very"
+ " long string");
PJF may then reformat this code to
callMethod(
"some very very" + " very long string");
when I next save. Maybe the fix here is in PJF (you could make PJF do a good job with string literals), maybe it's in gradle-baseline (IDEA settings).