-
-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
Prettier-Java 2.7.3
--print-width 140Input:
public abstract class Foo implements MyInterface {
@Override public String foo() {
var a =
b("long text text text text text text " + "text text text text text text" + "something", b);
}
}Output:
public abstract class Foo implements MyInterface {
@Override
public String foo() {
var a = b(
"long text text text text text text " +
"text text text text text text" +
"something",
b
);
}
}Expected behavior:
public abstract class Foo implements MyInterface {
@Override
public String foo() {
var a = b(
"long text text text text text text " +
"text text text text text text" +
"something",
b
);
}
}Prettier for JavaScript does that. I would expect Prettier for Java to do the same.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels