LSP::WorkspaceEdit
Inherits JSON::Serializable < Struct < Value < Object
Constructors
Instance methods
A map of change annotations that can be referenced in
AnnotatedTextEdits or create, rename and delete file / folder
operations.
Whether clients honor this property depends on the client capability
workspace.changeAnnotationSupport.
A map of change annotations that can be referenced in
AnnotatedTextEdits or create, rename and delete file / folder
operations.
Whether clients honor this property depends on the client capability
workspace.changeAnnotationSupport.
Depending on the client capability
workspace.workspaceEdit.resourceOperations document changes are either
an array of TextDocumentEdits to express changes to n different text
documents where each text document edit addresses a specific version of
a text document. Or it can contain above TextDocumentEdits mixed with
create, rename and delete file / folder operations.
Whether a client supports versioned document edits is expressed via
workspace.workspaceEdit.documentChanges client capability.
If a client neither supports documentChanges nor
workspace.workspaceEdit.resourceOperations then only plain TextEdits
using the changes property are supported.
Depending on the client capability
workspace.workspaceEdit.resourceOperations document changes are either
an array of TextDocumentEdits to express changes to n different text
documents where each text document edit addresses a specific version of
a text document. Or it can contain above TextDocumentEdits mixed with
create, rename and delete file / folder operations.
Whether a client supports versioned document edits is expressed via
workspace.workspaceEdit.documentChanges client capability.
If a client neither supports documentChanges nor
workspace.workspaceEdit.resourceOperations then only plain TextEdits
using the changes property are supported.