# VoidLanguageServer VS Code client Thin VS Code extension for the installed `vls` language server and the `vls-dap` replay adapter. All language, build and debugger semantics stay in the C++ server. ## Build Node and npm are development prerequisites. Dependencies are fetched only by this explicit step, never by the acceptance test: ```sh cd clients/vscode npm install npm run compile ``` ## Use | Setting | Meaning | | --- | --- | | `vls.serverPath` | Absolute path to `vls` (default: `vls` on `PATH`). | | `vls.dapPath` | Absolute path to `vls-dap` (default: `vls-dap` on `PATH`). | | `vls.gccProfile` | Absolute prepared stock GCC profile for editor diagnostics. | | `vls.provider` | Build-context preference: `auto`, `vbs`, `compdb` or `none`. | Commands: `VLS: Start Language Server`, `VLS: Provider Status`, `VLS: Analysis Status`, `VLS: Replay Recording`, `VLS: Stop Language Server`. The C++ rename provider forwards `prepareRename`/`rename` to the server; the exported `applyRename` applies an LSP `changes` map through one WorkspaceEdit after checking the document versions captured at preparation, so a stale plan is refused without partial edits. The `VLS replay` debug configuration launches an absolute recording; the extension renders only bounded server replies and rejects a stale session/generation. ## Acceptance The test runs a disposable extension host with temporary user-data and extensions directories; it does not touch the user's profile. ```sh python3 -B tests/native/VscodeClient.py \ --server "$PWD/build/native/profiles/debug/out/bin/vls" \ --adapter "$PWD/build/native/profiles/debug/out/bin/vls-dap" \ --trace "$PWD/tests/debug/fixtures/integral-17.vls" ``` On Nix, the `code` launcher detaches from the terminal, so the test invokes the application binary (`lib/vscode/code`) directly to keep the extension host's exit status and output.