You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bea114f
Browse filesBrowse the repository at this point in the historyBrowse files
code-lsp: find every server via LanguageServerPlugins
LanguageServerService.launch(languageId, environment) now gets a server
for any LSP language a plugin serves, in-process or not: plugins say so
via supports(String), and supports(ScriptLanguage) for sessions. Server
processes are served by ProcessLanguageServerPlugin (internal), which
owns them and stops them when disposed; LanguageServerService also tells
whether a language is served at all, via supports(String).
Servers analyze scripts in one environment, given when created: plugins
whose scripts say where they run keep a server per environment
themselves. ProcessLanguageServer no longer moves documents.
Also:
- Rename ScriptLanguageServer to AbstractLanguageServer.
- Throw rather than return null when no plugin serves a language.
- Remove LanguageServerService.diagnose: a session does as much.
- Stop started server processes directly on shutdown, rather than via
the starter, whose shutdown could drop the stop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments