intellij-plugin-v4
intellij-plugin-v4 copied to clipboard
An IntelliJ plugin for ANTLR v4
Option name shouldn't be a rule ref. 
# IDEA and OS info IntelliJ IDEA 2023.2 Beta (Ultimate Edition) Build #IU-232.8660.48, built on July 12, 2023 Licensed to signup scooter You have a perpetual fallback license for this...
Stacktrace: ``` java.lang.RuntimeException: Document is locked by write PSI operations. Use PsiDocumentManager.doPostponedOperationsAndUnblockDocument() to commit PSI changes to the document. Unprocessed elements: JAVA_CODE_REFERENCE(756,767), WHITE_SPACE(755,756), IMPORT_STATEMENT(145,194), WHITE_SPACE(144,145), WHITE_SPACE(0,1) and 3 more. at...
when i open two g4 files. and use test rule function arguments with some rules. but if i both use input String and File by path. after i click other...
I am using the ANTLR 4 plugin (version `1.20`; including ANTLR `4.11.1`) for IntelliJ. In [`build.gradle`](https://github.com/courses-at-nju-by-hfwei/2023-compilers-coding/blob/main/build.gradle) [in this project](https://github.com/courses-at-nju-by-hfwei/2023-compilers-coding/tree/main), I use the `-Xlog` option as follows: generateGrammarSource { arguments +=...
I get a IDE error while generating ANTLR recognizer with 1.20. Everything worked fine with the previous version. PyCharm 2023.1 (Community Edition) Build #PC-231.8109.197, built on March 29, 2023 Runtime...
If a java file contains an error, then its name in the project view is underlined in red (see `GrammarSource` in the screenshot below). This doesn't happen for ANTLR files...
I am reading "Section 9.3: Automatic Error Recovery Strategy" of the book "The Definitive ANTLR 4 Reference" and trying the following grammar [`Class`](https://github.com/courses-at-nju-by-hfwei/compilers-antlr/blob/main/src/main/antlr/parser.allstar/error/Class.g4) on the input `class T { {...
Windows 10 x64 IntelliJ IDEA 2024.1.1 IDEA plugin version 1.23.1 When starting the IDE with the plugin enabled, CPU utilization is normal. After opening a `.g4` file, CPU usage spikes...
``` com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'org.antlr.intellij.plugin.actions.ConfigureANTLRAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: org.antlr.intellij.plugin] at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23) at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90) at...