Skip to content
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

[Feature Request] support snippet in WorkspaceEdits #731

Closed
heejaechang opened this issue Jan 21, 2021 · 1 comment
Closed

[Feature Request] support snippet in WorkspaceEdits #731

heejaechang opened this issue Jan 21, 2021 · 1 comment

Comments

@heejaechang
Copy link
Contributor

currently, snippet (not the snippet feature but functionality) is only supported in completion (https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#textDocument_completion). but the snippet functionality seems generally useful for any text edits.

for example, code action that creates an identifier which is referenced in multiple places (ex, extract method or generate method), snippet (${0:newMethod}) can be used to let users to change auto generated identifier name. (I know this particular example can be done through rename, but let's assume rename is not available for whatever reason)

it would be nice if we can get this functionality in any text edits.

@dbaeumer
Copy link
Member

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

No branches or pull requests

2 participants