Add string template surrounder
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
val a = 1
|
||||
val b = 2
|
||||
|
||||
<selection>a + b</selection>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
val a = 1
|
||||
val b = 2
|
||||
|
||||
"${a + b}"<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val a = <selection>1 * 3</selection>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val a = "${1 * 3}"<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val a = <selection>1</selection>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val a = "${1}"<caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
val a = "ddd"
|
||||
<selection>a</selection>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
val a = "ddd"
|
||||
"$a"<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user