KT-1373 Completion suggests constructors in type position
KT-1316 Type name completion inserts fully qualified name when works in incomplete code
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
public StringMethod() : String {
|
||||
|
||||
}
|
||||
|
||||
open class StringMy() {
|
||||
}
|
||||
|
||||
public class Test : String<caret> {
|
||||
|
||||
}
|
||||
|
||||
// EXIST: StringMy
|
||||
// EXIST: String
|
||||
// ABSENT: StringMethod
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
fun test() {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: Any, Nothing, Tuple0, Int, Number
|
||||
// EXIST: Array, Math, Hashable, OutputStream
|
||||
@@ -0,0 +1,7 @@
|
||||
class Test : <caret> {
|
||||
fun test() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: Any, Nothing, Tuple0, Int, Number
|
||||
// EXIST: Array, Math, Hashable, OutputStream
|
||||
@@ -0,0 +1,3 @@
|
||||
package classCompletionImport
|
||||
|
||||
fun other() : SortedS<caret>
|
||||
@@ -0,0 +1,5 @@
|
||||
package classCompletionImport
|
||||
|
||||
import java.util.SortedSet
|
||||
|
||||
fun other() : SortedSet
|
||||
@@ -1,3 +1,5 @@
|
||||
package somefortest
|
||||
|
||||
fun test(a: Int) {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package somefortest
|
||||
|
||||
fun test(a: Int) {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package propertiesSetter
|
||||
|
||||
class TestClass {
|
||||
val a : Int
|
||||
ge<caret>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package propertiesSetter
|
||||
|
||||
class TestClass {
|
||||
val a : Int
|
||||
get()<caret>
|
||||
|
||||
Reference in New Issue
Block a user