Struct lsp::types::WorkspaceEdit [−][src]
pub struct WorkspaceEdit { pub changes: Option<HashMap<String, Vec<TextEdit>>>, pub document_changes: Option<Vec<TextDocumentEdit>>, }
A workspace edit represents changes to many resources managed in the workspace. The edit
should either provide changes
or documentChanges
. If documentChanges are present
they are preferred over changes
if the client can handle versioned document edits.
Fields
changes: Option<HashMap<String, Vec<TextEdit>>>
Holds changes to existing resources.
document_changes: Option<Vec<TextDocumentEdit>>
An array of TextDocumentEdit
s to express changes to n different text documents
where each text document edit addresses a specific version of a text document.
Whether a client supports versioned document edits is expressed via
WorkspaceClientCapabilites.workspaceEdit.documentChanges
.
Trait Implementations
impl Debug for WorkspaceEdit
[src]
impl Debug for WorkspaceEdit
Auto Trait Implementations
impl Send for WorkspaceEdit
impl Send for WorkspaceEdit
impl Sync for WorkspaceEdit
impl Sync for WorkspaceEdit