itemis / xtext-languageserver-example

An Example for an Xtext Language Server
Eclipse Public License 1.0
54 stars 26 forks source link

vscode-languageclient - Version Too high For Theia #85

Open jamcco opened 2 years ago

jamcco commented 2 years ago

Hello! I noticed the LSP was not working when you ran the Theia-vscode side of things.

To solve this I downgraded the vscode-extension-self-contained/package.json "vscode-languageclient": "^8.0.1" to "vscode-languageclient": "6.1.4"

Then had to update the extension.ts imports to: import { LanguageClient, LanguageClientOptions, ServerOptions } from 'vscode-languageclient';

Figured I'd post this here to let you know!

cdietrich commented 2 years ago

i assume using a newer theia lets you just install the vscode plugin directly without creating a theia extension