From 0c2c28b3227cd902bd54b1eb02908a967ab2f525 Mon Sep 17 00:00:00 2001 From: Uri Bar <106860404+staycoolcall911@users.noreply.github.com> Date: Tue, 28 Nov 2023 18:26:53 +0200 Subject: [PATCH] chore(vscode): highlight string interpolation (#5083) Fixes #5058 Following #4326, this PR fixes the vscode highlighting of interpolated strings. Before this PR: ![image](https://github.com/winglang/wing/assets/106860404/944ef5b7-5b6b-4160-ae14-fbc12b2c995f) After: ![image](https://github.com/winglang/wing/assets/106860404/582e75f1-2ab8-4fad-af20-dc3a1d64076d) Note: this worked great with my local changes: https://www.winglang.io/contributing/start-here/development#-how-do-i-build-the-vscode-extension ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- apps/vscode-wing/syntaxes/wing.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vscode-wing/syntaxes/wing.tmLanguage.json b/apps/vscode-wing/syntaxes/wing.tmLanguage.json index f297c649cec..119c5e26e6f 100644 --- a/apps/vscode-wing/syntaxes/wing.tmLanguage.json +++ b/apps/vscode-wing/syntaxes/wing.tmLanguage.json @@ -50,7 +50,7 @@ "patterns": [ { "name": "meta.template.expression.wing", - "begin": "\\$\\{", + "begin": "\\{", "beginCaptures": { "0": { "name": "punctuation.definition.template-expression.begin.wing"