eclipse-langium / langium-website

Source of langium.org
https://langium.org/
MIT License
14 stars 34 forks source link

Recipe: File-based symbol import/export #239

Closed Lotes closed 3 weeks ago

Lotes commented 3 months ago

I added a recipe based on the Hello World example about file-based imports. They are added shortly to the scoping overview page.

I used the "Simpsons" for exporting persons, feel free to suggest some cooler persons.

One might add hints for missing validations or other LSP services, that make this feature more attractive.

Closes #234

github-actions[bot] commented 3 months ago

PR Preview Action v1.4.6 :---: Preview removed because the pull request was closed. 2024-08-22 12:54 UTC

Lotes commented 3 months ago

Great, I didn't fully review it yet, will get to it later this week. A small request: Can you attach the whole code (similar to here) to the end of the recipe? That would make it easier for people to just copy it in case they made a mistake at a certain part.

Done :)

Lotes commented 3 months ago

Possible things to add: