Skip to content
Discussion options

You must be logged in to vote

i assume you somewhere need to populate a
LanguageMetaData
in your language registration
https://github.com/AresEkb/langium-monaco-demo/blob/325d708d5846693748da7401fd5d2501df43f33b/src/dsl-editor/AbstractDslServer.ts#L64

see add. params for createServicesForGrammar

default impl is

const languageMetaData = config.languageMetaData ?? {
        caseInsensitive: false,
        fileExtensions: ['.txt'],
        languageId: grammarNode.name ?? 'UNKNOWN',
        mode: 'development'
    };

i cannot spot a "grammar classmodel" in your code

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AresEkb
Comment options

Answer selected by AresEkb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants