Question about langium with GLSP #1772
Unanswered
YourHarbour
asked this question in
Q&A
Replies: 1 comment
-
Hi @YourHarbour let's discuss a solution in TypeFox/monaco-languageclient#798 |
Beta Was this translation helpful? Give feedback.
0 replies
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