KT-13220: Add completion for variable names

Using parameter name completion

#KT-13220 fixed
This commit is contained in:
Simon Ogorodnik
2017-10-17 00:17:27 +03:00
parent e65adeb029
commit 7a991ddc25
8 changed files with 134 additions and 17 deletions
@@ -0,0 +1,6 @@
class Foo
lateinit var f<caret>
// EXIST: { itemText: "foo: Foo" }
@@ -0,0 +1,8 @@
class Foo
fun test() {
var f<caret>
}
// EXIST: { itemText: "foo", tailText: ": Foo (<root>)" }
@@ -0,0 +1,6 @@
class Foo
val f<caret>
// EXIST: { itemText: "foo", tailText: ": Foo (<root>)" }