Escaping is only necessary when string content after dollar can be misinterpreted as a string interpolation entry.
Example:
fun example() {
"The price today is \$10. The price tomorrow will be ${'$'}20."
}
The quick fix converts all safely replaceable escaped dollar characters to regular dollar characters:
fun example() {
"The price today is $10. The price tomorrow will be $20."
}