Home

Awesome

!!!! Important !!!!

There is now a fork of PEG.js, called Peggy, that is actively maintained. I suggest migrating there (Peggy version 1.x.x is fully compatible to the latest PEG.js version).

They also provide a fork of this extension here with additional features like:

Please check it out!

This extension will stay as it is, continuing to provide support for the latest PEG.js version, but no further development is planned.

PEG.js Language Support

Syntax highlighting and error reporting for PEG.js in Visual Studio Code.

Syntax Highlighting

Syntax Highlighting

Error Reporting

Errors in the grammar are highlighted. Unfortunately only one error at a time is highlighted.

Error Reporting

Contributing

Feel free to contribute to this extension here. Please read the CONTRIBUTING.md.