Formatter: introduce "Put left brace on new line option", support this option for "if/else" expressions
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
fun main(args: Array<String>) {
|
||||
if (true) {
|
||||
false
|
||||
} else if (false) {
|
||||
true
|
||||
} else {
|
||||
}
|
||||
|
||||
if (true)
|
||||
|
||||
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
if (true)
|
||||
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// SET_TRUE: LBRACE_ON_NEXT_LINE
|
||||
Reference in New Issue
Block a user