-
Notifications
You must be signed in to change notification settings - Fork 61
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
No rule selected #229
Comments
Experiencing the same. It's my first time using this extension so assumed there was something wrong with how I was using it. |
It's important to place the caret within a rule's text. Then it should work. |
this behavior cause is inconsistent. sometimes it comes after closing VSCODE and reopening it later. |
To help with issues like this I added a log feature to the extension. So, when you see a problem open the OUTPUT tab in VS Code and switch to the ANTLR4 Output channel. Then paste the content here. |
Same problem only call graph diagram is built. ANTLR OUTPUT shows this on edit of grammar file: Error: A JNI error has occurred, please check your installation and try again I updated JDK from 21 with GraalVM to 22 and it fixed the issue. |
BTW, awesome plugin! Thank you very much for you work! |
Just yesterday I had the same error in a different context and it turned out that the Java version from Oracle uses a smaller class file versions (52). When you install an OpenJDK Java version (at least 20) this issue should be gone. |
I experience unstable behavior from the extension. once installed the first time, it worked fine. later on, all right click commands for displaying graphs reveal this message "No rule selected".
The text was updated successfully, but these errors were encountered: