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

Holds changes to existing resources.

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. Whether a client supports versioned document edits is expressed via WorkspaceClientCapabilites.workspaceEdit.documentChanges.

Trait Implementations

impl Debug for WorkspaceEdit
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations