Skip to content

Add an equivalent to VS Code's WorkspaceEditMetadata.isRefactoring #1645

Open
@DanTup

Description

@DanTup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions