diff options
| author | João Távora | 2026-01-15 10:38:53 +0000 |
|---|---|---|
| committer | João Távora | 2026-01-21 12:26:24 +0000 |
| commit | a3ea65a984ff8b27b3698045a682d51ddcf20fbc (patch) | |
| tree | 70ca7c807134b67c4538adc4461c60f25f3dce81 /java | |
| parent | f02a120f1838b49fe1bb0e155580e7690dd4972a (diff) | |
| download | emacs-a3ea65a984ff8b27b3698045a682d51ddcf20fbc.tar.gz emacs-a3ea65a984ff8b27b3698045a682d51ddcf20fbc.zip | |
Eglot: support more complex workspace edits (create/rename/delete)
Advertise support for file resource operations in workspace edits.
Implement create, rename, and delete file operations. Rework
confirmation UI to handle mixed operation types.
* lisp/progmodes/eglot.el (eglot--lsp-interface-alist): Add
CreateFile, RenameFile, DeleteFile interfaces.
(eglot-client-capabilities): Advertise resourceOperations and
failureHandling.
(eglot-handle-request<workspace/applyEdit>): Return failureReason.
(eglot--apply-text-edits): Tweak error message.
(eglot--propose-changes-as-diff): Adjust for new prepared format.
Return buffer.
(eglot--apply-workspace-edit): Rework. Handle file operations.
* etc/EGLOT-NEWS: Mention change.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions