eclipse-theia/theia

[vscode] language client cannot access configurations by first segment

Open

#6.344 geöffnet am 8. Okt. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (2.478 Forks)batch import
bughelp wantedpreferencesvscode

Repository-Metriken

Stars
 (18.676 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 15T 4h) (75 gemergte PRs in 30 T)

Beschreibung

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