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