Skip to content
Discussion options

You must be logged in to vote

If the two languages are totally separate, they can be handled by different language servers (and different vscode extensions). But if you want cross-language references, they need to be processed together (in the same langium-config.json) and run in the same language server. The language server disambiguates requests based on the file extension of incoming URIs.

What you mentioned about requirements and tests sounds like a good example that we could add to examples in this repo. Ideally with the same structure as the other examples, but with two .langium files in it (every language needs a dedicated entry grammar). The example might be overly simplistic though, maybe we can make the mode…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@goto40
Comment options

@goto40
Comment options

@goto40
Comment options

Answer selected by goto40
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