eclipse-theia/theia

[vscode] language client cannot access configurations by first segment

Open

#6344 aperta il 8 ott 2019

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

Metriche repository

Star
 (18.676 star)
Metriche merge PR
 (Merge medio 15g 4h) (75 PR mergiate in 30 g)

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