Inconsistent continuation indent
Answered
With this indentation settings:

Can someone explain to me why the following two statements are formatted differently? (I would prefer the second to be formatted like the first.)
List<Integer> firstList = Stream.of(
1,
2,
3)
.toList();
List<Integer> secondList = of(
1,
2,
3)
.toList();
The statements are syntactically the same, only the second is using
import static java.util.stream.Stream.of;
Please sign in to leave a comment.
Currently it is not possible. Created bug request to implement this:
https://youtrack.jetbrains.com/issue/IDEA-292968/Inconsistent-continuation-indent-inside-chained-method-call-para