-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Move language description configuration out of source code #7790
Comments
There are two things that link a particular resource to a language server:
|
But in this case we don't have a launcher as it is now. Language server starts in a container as part of CMD or entrypoint instructions. |
I think the problem is likely within these lines of public List<Collection<InitializedLanguageServer>> getApplicableLanguageServers(String fileUri)
throws LanguageServerException {
String projectPath = extractProjectPath(fileUri);
LanguageDescription language = findLanguage(fileUri);
if (projectPath == null || language == null) {
return Collections.emptyList();
}
...
} If we can't find |
Right now we use
LanguageDescription
instances when we want to find which language corresponds to specific file and further which language server corresponds to mentioned file. ThoseLanguageDescription
instances are configured insideGuice
modules.If we want to make it possible to have complete language server configuration as a part of workspace configuration, we need to find a way how we can move language description from
Guice
to workspace configuration or change the way we define a correspondence between file and language server instance.The text was updated successfully, but these errors were encountered: