eclipse-langium / langium-website

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

[Playground] Ability to navigate back to where it was #227

Open brsanthu opened 4 months ago

brsanthu commented 4 months ago

Playground has been invaluable to fine tune the grammar. Thank you all for that tool.

Since we have big grammar, when we ctrl+click, which takes to a Rule which is somewhere far from where we were, going back is painful. If we could navigate back usig toolbar icon or shortcut would be helpful.

msujew commented 4 months ago

@kaisalmen Do you know whether this is a supported feature of Monaco? I.e. back navigation (maybe at least programmatically)?

kaisalmen commented 4 months ago

@msujew I have to check. ALT+Arrow keys doesn't seem to work (I tested this quickly).

kaisalmen commented 4 months ago

@brsanthu and @brsanthu I found this https://github.com/microsoft/monaco-editor/issues/2352 so monaco-editor does not provide it, but maybe there is way via a monaco-vscode-api services. I will check that, because this feature could be a valuable addition to the user experience.