Reputation: 2569
I have an if block with multiple lines in the expression. Everywhere else where there is a close parenthesis, it is aligned with the start of the line with the open parenthesis except for "if" expressions. For if expressions, it is using the continuation indent value of 8 added to the base indentation of 8 for the "if" line.
How do I get the right parenthesis to indent at column 8 while keeping the expression indented?
Edit: Updated picture with full expression.
Upvotes: 5
Views: 741
Reputation: 2569
Opened a ticket, and it looks like it was fixed. See https://youtrack.jetbrains.com/issue/IDEA-175560
Upvotes: 1