Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
/ LPG-VScode Public archive

LPG language support for Visual Studio Code

License

Notifications You must be signed in to change notification settings

kuafuwang/LPG-VScode

Repository files navigation

LPG-VScode README

lpg-vscode

The extension for LPG support in Visual Studio code.

Features

Syntax Coloring

  • Syntax coloring for LPG grammars (.lpg .g and .gi files)

Syntax Coloring

  • Comes with an own beautiful color theme, which not only includes all the recommended groups, but also some special rules for grammar elements that you won't find in other themes (e.g. alt labels and options). They are, immodestly, named Complete Dark and Complete Light.

Code Completion + Symbol Information

  • Code suggestions for all rule + optioins , etc. (including built-in ones).
  • Symbol type + location are shown on mouse hover. Navigate to any symbol with Ctrl/Cmd + Click. This works even for nested grammars.

completion

Grammar Validations

  • In the background syntax checking takes place, while typing. Also some semantic checks are done.

Doc formatting

Graphical-visualizations

  • Call graph for LPG grammars

Call graph

  • Terminal and non-terminal railroad graph for LPG grammars

Rule RailRoad

  • First set and follow set for LPG grammars

Parser-generation

More Informations

There are a number of documentation files for specific topics:

Miscellaneous

  • It's the beta version.

Known Issues

See the Git issue tracker.

What's planned next?

Bug fixing and what feels appealing to hack on.