Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » VS Code published mydsl extensions don't work - why?
VS Code published mydsl extensions don't work - why? [message #1845065] Tue, 05 October 2021 11:28 Go to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 268
Registered: May 2012
Senior Member
I'm trying, again, to get some very basic language server stuff to work with VS Code.

I'm finding the basic examples don't work.

Neither the Xext VS Code example nor the mydsl examples fully work. If I install those extensions through the File->Preferences->Extensions menu I can get basic keyword highlighting, but the language server crashes immediately:

[Info - 9:52:16 PM] Connection to server got closed. Server will restart.
[Info - 9:52:16 PM] Connection to server got closed. Server will restart.
[Info - 9:52:17 PM] Connection to server got closed. Server will restart.
[Info - 9:52:17 PM] Connection to server got closed. Server will restart.
[Error - 9:52:17 PM] Connection to server got closed. Server will not be restarted.

Do these published examples work at all anymore? VS Code version is 1.60.2

Nearly all the articles are from 2016 and summarize with "it works, just download extension this and it's showtime!". But it's been 5 years since then, so I'm sure things have changed.
Re: VS Code published mydsl extensions don't work - why? [message #1845066 is a reply to message #1845065] Tue, 05 October 2021 11:30 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
i have doubts
but there is a branch that may work
https://github.com/itemis/xtext-languageserver-example/tree/cd_226wip

=> you need matching versions of xtext, package.json, lsp4j, ...



Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 05 October 2021 11:51]

Report message to a moderator

Previous Topic:An icon for DSL file
Next Topic:3AC three addresses code grammar
Goto Forum:
  


Current Time: Thu Mar 28 17:58:23 GMT 2024

Powered by FUDForum. Page generated in 0.02797 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top