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}
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val y = <spot>"${x}"</spot>
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val y = <spot>"$x"</spot>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention inserts curly braces around simple names in string templates
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user