Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code completion for Peggy grammar #510

Open
alex-klimov opened this issue Apr 11, 2024 · 3 comments
Open

Code completion for Peggy grammar #510

alex-klimov opened this issue Apr 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@alex-klimov
Copy link

Here is code completion core, which can be generated from ANTL4 grammar:
https://github.com/mike-lischke/antlr4-c3

Is there analogous solution for Peggy? What is recommended way to provide auto-completion for Monaco-based editors for Peggy?

@hildjj
Copy link
Contributor

hildjj commented Apr 11, 2024

Not that I know of. It would be an interesting project for someone to tackle.

@alex-klimov
Copy link
Author

Got it, thank you for quick response!

@hildjj hildjj added the enhancement New feature or request label Apr 11, 2024
@hildjj
Copy link
Contributor

hildjj commented Apr 11, 2024

I'm going to leave this here as an enhancement, but in this case I mean that we should link to whatever external library ends up implementing this, and use it in the online editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants