Smart completion: prefer items matching by name
This commit is contained in:
committed by
valentin
parent
56978c4e16
commit
0462d152eb
@@ -0,0 +1,12 @@
|
||||
import some.fooImported
|
||||
|
||||
val fooVar = 12
|
||||
fun fooLocal() = 12
|
||||
|
||||
val some = foo<caret>
|
||||
|
||||
// "foo" is before other elements because of exact prefix match
|
||||
|
||||
// ORDER: foo, fooVar, fooLocal, fooImported, fooNotImported
|
||||
// INVOCATION_COUNT: 2
|
||||
// SELECTED: 0
|
||||
Reference in New Issue
Block a user