Transaction and actions for workspace edit #3838
chemzqm
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When workspace edit fails, coc.nvim will revert the changes (including document edits and file operations) previous made.
Prompt for load files in disk is removed, the prompt would be shown when
needsConfirmation
in associatedannotation
istrue
.Files used by workspace edit that not loaded will be opened by
tab drop
by default (like VSCode) to avoid possible issue with change for hidden buffers.Added commands
workspace.undo
andworkspace.redo
for undo and redo previous workspace edit.Quickfix and locations support for edits is removed, use command
workspace.inspectEdit
instead, which will show all changes with diff highlights, use<CR>
for jump to change position under cursor.Beta Was this translation helpful? Give feedback.
All reactions