Prettier-Java 2.10.0
--print-width 100
--use-tabs
Playground link
Input:
public A aaaa() {
if (true) {
return a
? a
: bbbbbbbbbbbbbbbbbbbbbbbbbbbbb ||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
? a
: null;
}
}
Output:
public A aaaa() {
if (true) {
return a
? a
: bbbbbbbbbbbbbbbbbbbbbbbbbbbbb ||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
? a
: null;
}
}
Note the spaces just before the long "bbb" line. That should be a tab instead.
Expected behavior:
Same but with tabs.
Prettier-Java 2.10.0
Playground link
Input:
Output:
Note the spaces just before the long "bbb" line. That should be a tab instead.
Expected behavior:
Same but with tabs.