Apply versioned workspace edits in the VS Code client

applyRename accepts changes or documentChanges with per-document
versions, refusing both at once, resource operations and stale
versions before applying one WorkspaceEdit. The disposable
extension-host acceptance covers the versioned apply and refusals.
This commit is contained in:
faumaray committed 2026-12-06 02:34:13 +03:00
1 parent a075bd55d8
commit 5f41870a75
4 files changed
+76 -4

No files matched your search

+13
View File
@@ -61,6 +61,19 @@ start coordinate only, so ranges are zero-width until an end is available.
LSP adapters and index/rename/debugging integration remain open. `vbs test`
passed all 17 native suites; CMake passed the reflection and trace suites.
## December 6 versioned workspace edits in the VS Code client
`applyRename` accepts a full WorkspaceEdit: a `changes` map or versioned
`documentChanges`. Choosing both, a resource operation, or a stale document
version is refused before the single WorkspaceEdit is applied; the existing
version/text recheck stays. The disposable extension-host acceptance passed:
```
VS Code client passed: LSP status, replay session, timeline, source, stale
rejection and transactional rename
```
covering the versioned apply, stale-version refusal and resource-operation
refusal.
## December 6 versioned workspace edits in the Neovim client
`clients/neovim/lua/vls/init.lua` `apply_workspace_edit` now accepts a full