Smart completion: prefer items matching by name

This commit is contained in:
Valentin Kipyatkov
2014-09-23 23:01:57 +04:00
committed by valentin
parent 56978c4e16
commit 0462d152eb
38 changed files with 414 additions and 48 deletions
@@ -0,0 +1,11 @@
fun f(fooBar: String){}
object C {
fun aaa(): String = ""
}
fun g(b: Boolean, aaa: String, foo: String, bar: String) {
f(C.aaa() ?: <caret>)
}
// ORDER: bar, foo, aaa