vscode-kotlin icon indicating copy to clipboard operation
vscode-kotlin copied to clipboard

Sintax hightlight is broken when use String interpolation

Open oricis opened this issue 6 years ago • 3 comments

2 1

oricis avatar Oct 30 '19 16:10 oricis

Looks like this is related to #31

7webfrog avatar Nov 13 '19 15:11 7webfrog

Bad syntax highlighting when quote marks are used:

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

Workaround:

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

jolkdarr avatar May 04 '20 16:05 jolkdarr

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.

7webfrog avatar May 18 '20 22:05 7webfrog