eclipse-theia/theia

[vscode] language client cannot access configurations by first segment

Aperta

#6344 aperta il 8 ott 2019

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (2478 fork)batch import
bughelp wantedpreferencesvscode

Metriche repository

Star
 (18.676 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor