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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
needsConfirmationin associatedannotationistrue.Files used by workspace edit that not loaded will be opened by
tab dropby default (like VSCode) to avoid possible issue with change for hidden buffers.Added commands
workspace.undoandworkspace.redofor undo and redo previous workspace edit.Quickfix and locations support for edits is removed, use command
workspace.inspectEditinstead, 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