-
Notifications
You must be signed in to change notification settings - Fork 36
Highlighting issue in VSCODE for string interpolation s2 #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch. I think the issue is that we use A minimized example: implicit class TestInterpolation(val sc: StringContext) extends AnyVal {
def `this doesn't work`(args: Any*): String = "no"
def test(args: Any*): String = "test"
def test1(args: Any*): String = "test1"
def test_+(args: Any*): String = "test_+"
}
val name = "world"
`this doesn't work`"hello $name" // this does not compile
test"hello $name"
test1"hello $name"
test_+"hello $name" |
TIL it accommodates So, you can't |
In VSCODE the highlighting for s2 string interpolation seems to be broken. See screenshots


The text was updated successfully, but these errors were encountered: