Open
Description
VS Code has a new WorkspaceEditMetadata.isRefactoring
field:
Provide metadata for workspace edits
The API to apply a workspace edit now lets extensions provide metadata, for example for marking the edit as being a refactoring. This extra metadata will be honored by the editor and Auto Save after refactoring (setting: files.refactoring.autoSave
).
As far as I can tell LSP/the VS Code LSP client do not have anything to set this. It seems like a fairly VS-Code-specific thing to have, but presumably the expectation is that languages using LSP can still behave the same way as those that don't.