Initial implementation of KT-8209 Support static member completion without writing the class name
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
invoke<caret>
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// ELEMENT_TEXT: "SwingUtilities.invokeLater"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import javax.swing.SwingUtilities
|
||||
|
||||
fun foo() {
|
||||
SwingUtilities.invokeLater(<caret>)
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// ELEMENT_TEXT: "SwingUtilities.invokeLater"
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
fromLit<caret>
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// ELEMENT_TEXT: "Regex.fromLiteral"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import kotlin.text.Regex
|
||||
|
||||
fun foo() {
|
||||
Regex.fromLiteral(<caret>)
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// ELEMENT_TEXT: "Regex.fromLiteral"
|
||||
Reference in New Issue
Block a user