KT-11633 Kotlin code editor applies wrong indentation after completing a statement in data class

#KT-11633 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-04 13:40:30 +03:00
parent 6b3a691367
commit b32859cf68
8 changed files with 66 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
import java.util.Date
data class Test(
@Deprecated("Other")
val some: Int? = 1,
val other: Date = Date<caret>,
val test: Int
)
// ELEMENT: Date
// TAIL_TEXT: "(...) (java.util)"
@@ -0,0 +1,11 @@
import java.util.Date
data class Test(
@Deprecated("Other")
val some: Int? = 1,
val other: Date = Date(<caret>),
val test: Int
)
// ELEMENT: Date
// TAIL_TEXT: "(...) (java.util)"