https://github.com/vpoverennov/pegen-plugin
IntelliJ plugin for PEG grammar
https://github.com/vpoverennov/pegen-plugin
intellij-plugin peg python
Last synced: about 2 months ago
JSON representation
IntelliJ plugin for PEG grammar
- Host: GitHub
- URL: https://github.com/vpoverennov/pegen-plugin
- Owner: vpoverennov
- License: gpl-3.0
- Created: 2020-02-21T17:11:01.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T18:05:16.000Z (about 2 years ago)
- Last Synced: 2024-05-12T19:22:45.550Z (about 2 years ago)
- Topics: intellij-plugin, peg, python
- Language: Java
- Homepage: https://plugins.jetbrains.com/plugin/13832-pegen
- Size: 270 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



IntelliJ plugin for PEG grammar using Guido's pegen syntax (https://github.com/gvanrossum/pegen)
You only get syntax highlighting for strings and rule names, error highlighting for unresolved
rule names and go to definition/find usages on rules. Plugin breaks horribly on syntax errors,
has almost no other refactoring support. But it's better than editing black on white text.
I am not good at java or at writing intellij plugins, I made it for myself, but maybe you
will also find it useful.
This plugin on JetBrains plugin website: https://plugins.jetbrains.com/plugin/13832-pegen
Screenshots:



# how to build
- install gradle plugin for the IDE
- Gradle (side-bar) > Run Configurations > `package plugin`
- the plugin will be available under build/distributions