-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Improve snippets #5282
base: master
Are you sure you want to change the base?
Improve snippets #5282
Conversation
chemzqm
commented
Mar 15, 2025
- Insert nested snippets instead of merge snippet.
- Different python snippet use its own global values as expected.
- Accept all acceptable changes (not only the one change, one marker), unless the change affects snippet and other code.
- Avoid execute python when current session have snippet using python.
SnippetTextEdit is added in LSP 3.18, we also need to support this https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#snippetTextEdit |
Need some work to allow snippet added to none active buffer. |