diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-03 13:54:43 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-03 13:54:43 +0000 |
commit | 5443205fdd9f4886cc88ad15c3a6061ffa90ca19 (patch) | |
tree | 380084b87b5b6b9174f0a8eb6a7652942e862e23 /editors/code/src/config.ts | |
parent | aea2183799e7975d3d9000cec9bb9a3c001a3d4e (diff) | |
parent | 7d9e02e5a201fe997f98b6908daadd820d4a6593 (diff) |
Merge #415
415: use LSP file system operations r=matklad a=vemoo
implements #131
I've replaced `source_file_edits` and `file_system_edits` with `workspace_edit` because [`WorkspacEdit`](https://docs.rs/languageserver-types/0.53.1/languageserver_types/struct.WorkspaceEdit.html) can represent both.
I only use `document_changes` because `changes` cannot represent file system operations.
But if the client doesn't have the `workspace.workspaceEdit.resourceOperations` capability `WorkspaceEdit` cannot replace the current `FileSystemEdit`. Can we assume that the client will support it?
I also adapted the extension code to make use of the new response type, but only for vscode, i don't know if changes have to be made for the emacs part.
Co-authored-by: Bernardo <[email protected]>
Diffstat (limited to 'editors/code/src/config.ts')
0 files changed, 0 insertions, 0 deletions