Open
Description
With the TypeScript language server, if I move point to the function arguments here and execute the code action Convert parameters to destructured object
, then attempting to M-x undo
will undo the edit in that file, but will not undo the corresponding edits previously made in other files. Something similar happens when trying to undo lsp-rename
operations.
I guess this should not be a surprise since undo
is a buffer-local operation. But I wonder if it might be possible to implement some kind of alternate undo operation that can span multiple files affected by LS-induced changes.