Skip to content

Add snippet sanitization for Zed completion items#237

Merged
tartarughina merged 2 commits intozed-extensions:mainfrom
tartarughina:snippet-sanitize
May 5, 2026
Merged

Add snippet sanitization for Zed completion items#237
tartarughina merged 2 commits intozed-extensions:mainfrom
tartarughina:snippet-sanitize

Conversation

@tartarughina
Copy link
Copy Markdown
Collaborator

Replace $TM_SELECTED_TEXT variable in completion snippets since Zed doesn't support VS Code-specific snippet variables.

Address #235

Replace `$TM_SELECTED_TEXT` variable in completion snippets
since Zed doesn't support VS Code-specific snippet variables.
@tartarughina tartarughina requested a review from playdohface May 5, 2026 16:23
@cla-bot cla-bot Bot added the cla-signed label May 5, 2026
@tartarughina
Copy link
Copy Markdown
Collaborator Author

Demo

Screen.Recording.2026-05-05.at.18.23.58.mov

@tartarughina tartarughina merged commit 47eac07 into zed-extensions:main May 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants