[New Feature]: Support snippets in code action text edits #38380
Labels
Area/CodeAction
Language Server Code Actions
IceBox
Older issues that are not being actively worked on but may be revisited in the future.
Priority/Low
Team/LanguageServer
Language Server Implementation related issues. #Compiler
Type/NewFeature
userCategory/Editor
Description
With microsoft/language-server-protocol#592 LSP 3.18 will add support for snippets in code action text edits.
Seems like VSCode already supports that microsoft/vscode#145374. If so, we should be able to use snippet text edits without the new LSP version.
This will be a major improvement since writing/editing names, etc in text edits applied by code actions will be easier with this.
Describe your problem(s)
Right now, we can't have placeholders inside text edits returned by code actions
Describe your solution(s)
Use Snippet text edits coming in 3.18 of LSP
Related area
-> Editor
The text was updated successfully, but these errors were encountered: