Pasting a string with a `$` in a string literal In...
# intellij
d
Pasting a string with a
$
in a string literal IntelliJ or Android automatically escapes it to
\$
. This is usually helpful, but often unnecessary. For example,
$5.30
becomes
\$5.30
, but Kotlin already doesn't treat
$
as a template value in that context because it isn't followed by a valid variable name character.
h
You can paste the content as it as a workaround.
d
What do you mean by "the content as it"?
h
Paste as Plain Text
👍🏻 1
p