Add option for wrapping closing paren in multiline if conditions
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
fun x() {
|
||||
if (foo.length > 0 &&
|
||||
barLen > 0
|
||||
) {
|
||||
println("> 0")
|
||||
}
|
||||
}
|
||||
|
||||
// SET_TRUE: IF_RPAREN_ON_NEW_LINE
|
||||
// SET_FALSE: CONTINUATION_INDENT_IN_IF_CONDITIONS
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
fun x() {
|
||||
if (foo.length > 0 &&
|
||||
barLen > 0) {
|
||||
println("> 0")
|
||||
}
|
||||
}
|
||||
|
||||
// SET_TRUE: IF_RPAREN_ON_NEW_LINE
|
||||
// SET_FALSE: CONTINUATION_INDENT_IN_IF_CONDITIONS
|
||||
Reference in New Issue
Block a user