Skip to content

fix: escape snippet variable in while snippet to fix VS Code warning#206

Merged
mszabo-wikia merged 1 commit intomasterfrom
fix/snippet-variable-escape
Mar 27, 2026
Merged

fix: escape snippet variable in while snippet to fix VS Code warning#206
mszabo-wikia merged 1 commit intomasterfrom
fix/snippet-variable-escape

Conversation

@mszabo-wikia
Copy link
Copy Markdown
Contributor

The while snippet used $$a which VS Code interprets as a snippet variable reference, triggering a startup warning about confusing snippet-variables and snippet-placeholders. Escape it as \$a to match the do…while snippet's existing correct escaping.

The while snippet used `$$a` which VS Code interprets as a snippet
variable reference, triggering a startup warning about confusing
snippet-variables and snippet-placeholders. Escape it as `\$a` to
match the do…while snippet's existing correct escaping.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@mszabo-wikia mszabo-wikia merged commit de60599 into master Mar 27, 2026
5 checks passed
@mszabo-wikia mszabo-wikia deleted the fix/snippet-variable-escape branch March 27, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants