eclipse-theia/theia

[vscode] language client cannot access configurations by first segment

Open

#6,344 opened on Oct 8, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
bughelp wantedpreferencesvscode

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

It is reproducible with sample VS Code extension: https://github.com/microsoft/vscode-extension-samples/tree/master/lsp-sample

An extension should produce diagnostics for upper-case worlds, but it does not. By looking at logs one can see that the server fails with cannot read a property of null. It happens because Theia does not properly return a default value for the first segment, i.e. a language client id.

Contributor guide