Closed wsxiaoys closed 2 weeks ago
I'll take this one if nobody else is doing it. I'll update the PR ASAP :^)
Please see https://github.com/TabbyML/tabby/blob/main/clients/tabby-agent/src/lsp/protocol.ts#L379 for the current implementation. The current implementation uses the LSP method workspace/applyEdit
multiple times to make the edit, which does not have the undo-redo parameters. In VSCode, there is an interface supporting setting an undo-redo stop programmatically.
My suggested approach
workspace/applyEdit
to add relevant parameters. Alternatively, add a new server-to-client method tabby/workspace/applyEdit
to be used primarily.workspace/applyEdit
or add new support for tabby/workspace/applyEdit
.released in 1.10
Please describe the feature you want As the chat editing is applied multi times as streaming, it requires a lot of ctrl+z for user to undo it.
Please reply with a 👍 if you want this feature.