Experimental feature to show properties in completion after prefix with "get" or "set"

This commit is contained in:
Valentin Kipyatkov
2015-07-28 18:22:24 +03:00
parent 23dca520d5
commit a4c9aa43a5
8 changed files with 93 additions and 27 deletions
@@ -0,0 +1,16 @@
class C {
val property1: Int = 0
var property2: Int = 0
var xxx: Int = 0
fun setPPP(){}
}
fun foo(c: C) {
c.setP<caret>
}
// ABSENT: property1
// EXIST: property2
// EXIST: setPPP
// ABSENT: xxx