Always add new line space with space before to deal with KEEP_FIRST_COLUMN_COMMENT option

InvertIfConditionIntention, RemoveBracesIntention tests are affected

 #KT-4175 In Progress
This commit is contained in:
Nikolay Krasko
2016-03-11 12:41:10 +03:00
parent 6193987d0d
commit a9f11d2c64
8 changed files with 19 additions and 21 deletions
@@ -1,7 +1,7 @@
fun doSomething<T>(a: T) {} fun <T> doSomething(a: T) {}
fun foo() { fun foo() {
<caret>if (true) { if (true) <caret>{
// val a = 1 // val a = 1
// var b = 1 // var b = 1
doSomething("test") doSomething("test")
@@ -1,9 +1,7 @@
fun doSomething<T>(a: T) {} fun <T> doSomething(a: T) {}
fun foo() { fun foo() {
<caret>if (true) {
// val a = 1 // val a = 1
// var b = 1 // var b = 1
doSomething("test") if (true) doSomething("test")
}
} }