Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make singleton element of LanguageServerDefinition configurable #694

Open
ghentschke opened this issue Jun 12, 2023 · 2 comments
Open

Make singleton element of LanguageServerDefinition configurable #694

ghentschke opened this issue Jun 12, 2023 · 2 comments

Comments

@ghentschke
Copy link
Contributor

It should be possible to set the singleton attribute of the LanguageServerDefinition via an interface. This allows the definition of multiple LS per workspace or not depending on preferences.

User story: As a vendor supplier I want to use different language server in one workspace. The servers are toolchain specific.

WDYT?

@mickaelistria
Copy link
Contributor

Preferences usually reprensent items that are to be configured by users. Can you please clarify about your use-case where you'd like to dynamically flip the singleton behavior on/off ? Wouldn't it be possible for you to programatically define the LanguageServerDefinition and add it to the registry?

@ghentschke
Copy link
Contributor Author

ghentschke commented Jun 12, 2023

Wouldn't it be possible for you to programatically define the LanguageServerDefinition and add it to the registry?

Wouldn't that imply another LSP4E extension point which has an element which contains a class which has to extend LanguageServerDefinition ?

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

No branches or pull requests

2 participants