Skip to content

Fix multi-workspace crash in VS Code#260

Merged
blopker merged 1 commit intomainfrom
feature/vscode-multiworkspace
May 4, 2026
Merged

Fix multi-workspace crash in VS Code#260
blopker merged 1 commit intomainfrom
feature/vscode-multiworkspace

Conversation

@blopker
Copy link
Copy Markdown
Owner

@blopker blopker commented May 4, 2026

  • editors/vscode/src/extension.ts — collapsed the per-folder Map<string, LanguageClient> into a single client instance. refreshClients now starts one server using workspaceFolders[0] as --root (with the existing fallback chain when there are no folders). Logs a one-line note in the Codebook output channel when a multi-root workspace is detected, calling out the first-folder limitation. stopClient replaces stopAllClients and surfaces stop errors instead of swallowing them.

  • editors/vscode/CHANGELOG.md — Unreleased entry pointing at [BUG]: Better multi-root workspace support in VS Code #250 with the limitation note.

…ng, LanguageClient> into a single client instance. refreshClients now starts one server using workspaceFolders[0] as --root (with the existing fallback chain when there are no folders). Logs a one-line note in the Codebook output channel when a multi-root workspace is detected, calling out the first-folder limitation. stopClient replaces stopAllClients and surfaces stop errors instead of swallowing them.

- editors/vscode/CHANGELOG.md — Unreleased entry pointing at #250 with the limitation note.
@blopker blopker merged commit 64fd2fd into main May 4, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant