Skip to content

Langium 3.0.0, "getOrCreateDocument" #1406

Answered by msujew
goto40 asked this question in Q&A
Discussion options

You must be logged in to vote

Instead of new DefaultLangiumDocumentFactory you should just use services.shared.workspace.LangiumDocumentFactory, but otherwise, this seems reasonable. I'm wondering though, why you explicitly need this to be synchronous?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cdietrich
Comment options

@goto40
Comment options

@msujew
Comment options

Answer selected by goto40
@goto40
Comment options

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