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
A language server's configuration can only be global: a project can't have its own #2305
LanguageClientImpl.createSettings() (main a900e494, LanguageClientImpl.java:487-493) takes the configuration that workspace/configuration and workspace/didChangeConfiguration send from GlobalLanguageServerSettings, the
application store. The project only resolves macros such as $PROJECT_DIR$ in that one text
(LanguageServerSettings.getLanguageServerConfiguration(project), LanguageServerSettings.java:347). So two open
projects that need different settings for the same server (another module path, build mode or library location) get
the same configuration, and a user can't set one for one project without changing it for every project.
A client can override createSettings() and keep its own project store, as we do for the Ecstasy server, but then the
server's settings page no longer shows what is sent, and LSP4IJ's listeners don't know when that store changes.
Proposal. An optional project-level configuration for a server, in its settings page, that overrides or is merged
over the global one; createSettings() returns the merged object and the project store's changes send didChangeConfiguration as the global store's do. Servers without one behave as today.
Activity