Releases: palantir/palantir-java-format
Releases · palantir/palantir-java-format
0.3.4
Type |
Description |
Link |
Fix |
Stop indiscriminately stopping an inlining at method calls like SafeArg.of . |
#94 |
0.3.3
Type |
Description |
Link |
Fix |
Get rid of constant error in new Intellij 193 by replacing CodeStyleManager programmatically. |
#51 |
Fix |
"Before commit -> Reformat code" now correctly uses the PJF formatter if it is enabled, rather than the IntelliJ default formatter. |
#80 |
Fix |
When inlining a level's leading docs, check that no breaks were introduced more robustly. |
#85 |
0.3.2
Type |
Description |
Link |
Fix |
Limit dotted chains for expressions starting with constructor. |
#71 |
0.3.1
Type |
Description |
Link |
Improvement |
Limit how far dots may appear in long method chains to 80 chars.
Note that this doesn't currently apply to prefixes (such as foo.bar().baz().stream() ) because prefixes are also used to group together fully qualified class names and it's a bit trickier to handle that case. |
#70 |
0.3.0
Type |
Description |
Link |
Break |
Remove JavaFormatterOptions altogether from the API, the style now being baked in to be PALANTIR. |
#47 |
Improvement |
Expose formatSourceReflowStringsAndFixImports from the SPI, which formats a whole file returning the formatted file as a String. |
#47 |
Break |
Rename palantir-java-format-api to palantir-java-format-spi . |
#47 |
Break |
The standalone com.palantir.java-format plugin provides a formatDiff task. IntelliJ setup has been moved to a com.palantir.java-format-idea plugin. |
#48 |
0.2.8
Type |
Description |
Link |
Fix |
NON-NLS comments are moved behind + tokens in string concatenations. This is a heuristic that doesn't look at what the thing before the + is, so it might produce confusing results. |
#45 |
0.2.7
Type |
Description |
Link |
Improvement |
Prefer inlining method references after whatever expression they follow. |
#44 |
0.2.6
Type |
Description |
Link |
Improvement |
Stop breaking method invocations after ( except in very few particular circumstances. |
#37 |
Improvement |
A new FormatDiffCli class reads the output of git diff -U0 and runs the formatter on modified lines only. |
#39 |
0.2.5
Type |
Description |
Link |
Fix |
Reflow long strings more thoroughly, taking into account that once a string is broken, its first chunk might fit on the starting line and thus it needs to be reflowed again. |
#35 |
0.2.4
Type |
Description |
Link |
Improvement |
Allow long binary operations to wrap starting from the current line. |
#30 |