-
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
This refs #626 (comment).
Prettier-Java 2.7.5
Input:
git.remoteAdd()
.setName(remoteName)
.setUri(new URIish(headRepoCloneUrl))
.call();Output:
git
.remoteAdd()
.setName(remoteName)
.setUri(new URIish(headRepoCloneUrl))
.call();Expected behavior:
Dots are aligned - and first method call directly after variable.
Similar:
- .filter(r -> r.getURIs().stream().anyMatch(uri -> uri.toString().contains("JabRef/jabref")))
+ .filter(r ->
+ r
+ .getURIs()
+ .stream()
+ .anyMatch(uri ->
+ uri.toString().contains("JabRef/jabref")
+ )
+ )It should be r.getURIs() and then .stream() in the next line.
Metadata
Metadata
Assignees
Labels
No labels