Smart completion: no fq-names in types
This commit is contained in:
@@ -4,4 +4,4 @@ fun foo(p : Any){
|
||||
var a : Foo<String> = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"Foo", itemText:"Foo<kotlin.String>()" }
|
||||
// EXIST: { lookupString:"Foo", itemText:"Foo<String>()" }
|
||||
|
||||
@@ -9,5 +9,5 @@ fun foo(){
|
||||
val f : Foo = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"Foo.X", itemText:"Foo.X", tailText:" (sample)", typeText:"sample.Foo" }
|
||||
// EXIST: { lookupString:"Foo.Y", itemText:"Foo.Y", tailText:" (sample)", typeText:"sample.Foo" }
|
||||
// EXIST: { lookupString:"Foo.X", itemText:"Foo.X", tailText:" (sample)", typeText:"Foo" }
|
||||
// EXIST: { lookupString:"Foo.Y", itemText:"Foo.Y", tailText:" (sample)", typeText:"Foo" }
|
||||
|
||||
@@ -4,5 +4,5 @@ fun foo(){
|
||||
val e : ElementType = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"ElementType.TYPE", itemText:"ElementType.TYPE", tailText:" (java.lang.annotation)", typeText:"java.lang.annotation.ElementType" }
|
||||
// EXIST: { lookupString:"ElementType.FIELD", itemText:"ElementType.FIELD", tailText:" (java.lang.annotation)", typeText:"java.lang.annotation.ElementType" }
|
||||
// EXIST: { lookupString:"ElementType.TYPE", itemText:"ElementType.TYPE", tailText:" (java.lang.annotation)", typeText:"ElementType" }
|
||||
// EXIST: { lookupString:"ElementType.FIELD", itemText:"ElementType.FIELD", tailText:" (java.lang.annotation)", typeText:"ElementType" }
|
||||
|
||||
@@ -4,5 +4,5 @@ fun foo(){
|
||||
var e : ElementType? = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"ElementType.TYPE", itemText:"ElementType.TYPE", tailText:" (java.lang.annotation)", typeText:"java.lang.annotation.ElementType" }
|
||||
// EXIST: { lookupString:"ElementType.FIELD", itemText:"ElementType.FIELD", tailText:" (java.lang.annotation)", typeText:"java.lang.annotation.ElementType" }
|
||||
// EXIST: { lookupString:"ElementType.TYPE", itemText:"ElementType.TYPE", tailText:" (java.lang.annotation)", typeText:"ElementType" }
|
||||
// EXIST: { lookupString:"ElementType.FIELD", itemText:"ElementType.FIELD", tailText:" (java.lang.annotation)", typeText:"ElementType" }
|
||||
|
||||
@@ -6,4 +6,4 @@ class Foo{
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"this@foo", typeText:"kotlin.String" }
|
||||
// EXIST: { lookupString:"this@foo", typeText:"String" }
|
||||
|
||||
@@ -2,4 +2,4 @@ fun String.foo(){
|
||||
val s : String = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"this", typeText:"kotlin.String" }
|
||||
// EXIST: { lookupString:"this", typeText:"String" }
|
||||
|
||||
Reference in New Issue
Block a user