X Tutup
Skip to content

feat: default to single language server for multi-root workspaces#1682

Merged
randy3k merged 3 commits intomasterfrom
feat/multi-root-lsp
Mar 10, 2026
Merged

feat: default to single language server for multi-root workspaces#1682
randy3k merged 3 commits intomasterfrom
feat/multi-root-lsp

Conversation

@randy3k
Copy link
Member

@randy3k randy3k commented Mar 9, 2026

The multi root support is added in langugeserver REditorSupport/languageserver#719

@randy3k randy3k force-pushed the feat/multi-root-lsp branch 4 times, most recently from 355ab11 to 61f28b9 Compare March 9, 2026 19:21
randy3k added 2 commits March 9, 2026 13:14
- Enable multi-root support when lsp.multiServer is disabled
- Make lsp.multiServer accept 'auto', true, or false, defaulting to 'auto'
- 'auto' uses single server mode for languageserver > 0.3.17, and multi-server otherwise
- Refactor LanguageService to simplify client management
- Fix bug where multiServer setting was read incorrectly
- Fix bug where checkClient caused deadlocks on running servers
- Introduce compareVersions utility to avoid external dependency
The error message incorrectly referred to r.term and r.path instead of
r.rterm and r.rpath.
- Replace webpack with esbuild for significantly faster build times
- Update tsconfig.json to target ES2022
- Fix class field initializers by explicitly using `declare` to adhere to ES2022 standards
- Remove obsolete webpack configuration and custom GitHub Actions scripts
- Update GitHub workflows to use standard npm install without webpack hooks
@randy3k randy3k force-pushed the feat/multi-root-lsp branch from 1f65ee7 to 3c0c545 Compare March 9, 2026 21:43
@randy3k randy3k merged commit 1c46518 into master Mar 10, 2026
14 checks passed
@randy3k randy3k deleted the feat/multi-root-lsp branch March 10, 2026 16:31
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

X Tutup