eclipse-langium / langium

Next-gen language engineering / DSL framework
https://langium.org/
MIT License
753 stars 68 forks source link

Langium Playground as a VSCode extension #969

Open emilkrebs opened 1 year ago

emilkrebs commented 1 year ago

I really like the langium playground on the website (https://langium.org/playground/)!

I thought having this as a vscode extension would be very helpful so that I can test the grammar directly.

spoenemann commented 1 year ago

That's a nice idea. I'm not sure how that can work with the VS Code API, but it would be cool to be able to open a preview editor for a grammar file.

msujew commented 1 year ago

As an intermediate step we could offer a editor toolbar button "open in playground" that opens the default browser with the current grammar in the parameters.