Better completion for static members: special behavior in case of imports from same class exist
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.Collections.singletonList
|
||||
|
||||
fun foo() {
|
||||
singl<caret>
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 1
|
||||
// EXIST_JAVA_ONLY: { allLookupStrings: "singleton", itemText: "Collections.singleton", tailText: "(T!) (java.util)", typeText: "(Mutable)Set<T!>!", attributes: "" }
|
||||
// ABSENT: { itemText: "Collections.singletonList" }
|
||||
// EXIST_JAVA_ONLY: { itemText: "singletonList", tailText: "(T!)", typeText: "(Mutable)List<T!>!", attributes: "" }
|
||||
Reference in New Issue
Block a user