Formatter: introduce "Put left brace on new line option", support this option for "if/else" expressions

This commit is contained in:
Pavel V. Talanov
2014-01-13 16:45:54 +04:00
parent dab3cf37eb
commit 2d6f8aef4e
14 changed files with 213 additions and 25 deletions
@@ -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