Files
kotlin-fork/idea/testData/intentions/insertCurlyBracesToTemplate/insertBrackets2.kt
T
Tal Man 89779b5013 2 Intentions for string templates:
the first removes curly braces from a simple name variable, ${x} -> $x
and the second does the opposite $x -> ${x}
2014-02-24 21:20:40 +04:00

5 lines
97 B
Kotlin

// IS_APPLICABLE: true
fun foo() {
val x = 4
val y = "something$<caret>x.somethingelse"
}