Class RefactorWorkspaceEdit
What a refactoring changes in the workspace (LSP 3.17 §WorkspaceEdit): the documents it creates, then the edits of each document, which a client applies as one change.
public sealed record RefactorWorkspaceEdit : IEquatable<RefactorWorkspaceEdit>
- Inheritance
-
RefactorWorkspaceEdit
- Implements
- Inherited Members
Properties
Created
The documents the refactoring creates, empty, before any edit: the module of an interface that is extracted. An edit of the document writes its text.
public IReadOnlyList<Uri> Created { get; init; }
Property Value
Documents
The edits of each document, a document once.
public IReadOnlyList<RefactorDocumentEdit> Documents { get; init; }