6560ecc82b
- Add extensions only when completion of static members is enabled (double ctrl + space and nonempty prefix) - Add full import for callables with receiver in `LookupElement.decorateAsStaticMember`
14 lines
280 B
Kotlin
Vendored
14 lines
280 B
Kotlin
Vendored
class T
|
|
|
|
object A {
|
|
fun T.fooExtension() {}
|
|
val T.fooProperty get() = 10
|
|
}
|
|
|
|
fun usage(t: T) {
|
|
t.foo<caret>
|
|
}
|
|
|
|
// INVOCATION_COUNT: 2
|
|
// EXIST: { lookupString: "fooExtension", itemText: "fooExtension" }
|
|
// EXIST: { lookupString: "fooProperty", itemText: "fooProperty" } |