Code completion for string templates after simple name + dot
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
fun foo(param: String) {
|
||||
val s = "$<caret>bla-bla-bla"
|
||||
}
|
||||
|
||||
// EXIST: foo
|
||||
// EXIST: param
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
fun foo(param: String) {
|
||||
val s = "${<caret>}"
|
||||
}
|
||||
|
||||
// EXIST: foo
|
||||
// EXIST: param
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(param: String) {
|
||||
val s = "$param.<caret>bla-bla-bla"
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "length", attributes: "" }
|
||||
// EXIST: { itemText: "hashCode", attributes: "" }
|
||||
// EXIST: { itemText: "capitalize", attributes: "bold" }
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(param: String) {
|
||||
val s = "$param.l<caret>bla-bla-bla"
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "length", attributes: "" }
|
||||
// ABSENT: hashCode
|
||||
// EXIST: { itemText: "lastIndex", attributes: "" }
|
||||
Reference in New Issue
Block a user