mathiasfrohlich / vscode-kotlin

Kotlin language support for VS Code
Apache License 2.0
201 stars 21 forks source link

Sintax hightlight is broken when use String interpolation #44

Open oricis opened 4 years ago

oricis commented 4 years ago

2 1

7webfrog commented 4 years ago

Looks like this is related to #31

jolkdarr commented 4 years ago

Bad syntax highlighting when quote marks are used:

fun format(s: String) = s.replace('"', '_') // fails

Workaround:

fun format(s: String) = s.replace("\"", '_') // OK
7webfrog commented 4 years ago

Original issue was fixed with the release of #40. The quote mark issue still needs to be addressed. I'm not sure of the rules on this repository but it might be worth making a new issue page for the quote issue.