Replies: 1 comment
-
Hi @Plochem please open an issue in the corresponding repository. There is already an issue regarding the "inflexibility" or enforcement of |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an example on using the Monaco Editor Wrapper for multiple dependent languages? In the editor, I want to be able to create multiple "tabs"/models where I can set the language for each and they can "see" each other. I used the yeoman generator for langium and defined my languages just like the ones in multiple languages guide.
I've tried to use the extended wrapper config which allowed me to set multiple languages and grammars. The editor works fine only for whichever language I set for the languageId. Obviously, the parts that depend on the other language wouldn't work. I tried calling createModel & setModel from the Monaco API. But whenever I type in the editor, all the syntax highlighting and validation stop working. I also get this error whenever I type anything into the editor:

Beta Was this translation helpful? Give feedback.
All reactions