Question about langium with GLSP #798
Unanswered
YourHarbour
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @YourHarbour the web template in the langium generator is a bit outdated and the next major version of this is not yet released. The langium web generator guide will be updated at some point after the next release. Is it possible to share your code, because I currently don't know why it does not start. Btw, we have a react example of the statemachine in this repository as well that uses the current code: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm new in langium and want to embed the langium editor with GLSP(Graphical language server platform build with sprotty).
For example, I want to pop up a small Monaco editor when the user click the node to let them modify the node's properties.
However, I have some problems when I tried to combine the code for Langium/Monaco editor/GLSP.
I initiated the langium project with web worker (following the official guide), and then
npm run build
to generate the 'out' folder for the code (I didn't change anything about the langium project).I copy-paste the code into the GLSP folder:
And then I called the functions from them:
The editor seems loaded but the console log shows it stucked at:
and no more loading, I know in the official example there will be more to load:
And no editor showed on my div element.
I'm not sure whats going on here and there are no error messages in the console.
Could you help me with this?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions