Skip to content

Support for Multiple Languages in a Single Notebook Document #1488

Answered by msujew
samir-abis-everest asked this question in Q&A
Discussion options

You must be logged in to vote

The vscode-languageserver package exports a NotebookDocuments class, that should be used similar to the currently used TextDocuments class. One would need to use that in the LanguageServer service implementation and also adapt the LangiumDocumentsFactory to handle that better.

It probably makes sense to implement support for that natively in Langium. I've created #1496 to track this.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@msujew
Comment options

@msujew
Comment options

@cdietrich
Comment options

@msujew
Comment options

Answer selected by samir-abis-everest
@cdietrich
Comment options

@msujew
Comment options

@cdietrich
Comment options

@msujew
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
3 participants