intellij-plugin-v4
intellij-plugin-v4 copied to clipboard
An IntelliJ plugin for ANTLR v4
Signed-off-by: Kjartan Olason @@ -1,5 +1,23 @@
Bugfix for issue: #569 Plugin doesn't reassign extension if it has already been associated with text
@@ -1,5 +1,23 @@
This could slow down switching between tabs so we should check see if the .tokens file is older than the lexer .g4 file in `RunANTLROnGrammarFile.run() on line 85. ```java //...
Signed-off-by: Kjartan Olason @@ -1,5 +1,23 @@
These changes add a new option to the grammar configuration and make it possible to use the generated parser instead of the source grammar (known limitation currently). It is not...
I get this error upon launching IDEA Ultimate with my project, on Ubuntu. It happens every time on [this branch](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/tree/batteries-included). Earlier today I was able to use the plugin on...
Opening a project greets you with this IDE error: ``` java.lang.NullPointerException at org.antlr.intellij.plugin.profiler.ProfilerPanel.lambda$createUIComponents$1(ProfilerPanel.java:384) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:219) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:186) at java.desktop/javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:723) at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(BasicTableUI.java:972) at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1185) at java.desktop/javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mouseReleased(BasicTableUI.java:820) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at...
If g4 is already associated with text files and plugin is installed after that it doesn't reassign *.g4 with ANTLR language
I had recently opened the IDE and hadn't opened any language files. This happened while the IDE was idle. ``` java.lang.NullPointerException at org.antlr.intellij.plugin.parsing.ParsingUtils.parseText(ParsingUtils.java:206) at org.antlr.intellij.plugin.ANTLRv4PluginController.lambda$parseText$3(ANTLRv4PluginController.java:448) at com.intellij.openapi.progress.util.BackgroundTaskUtil.lambda$computeInBackgroundAndTryWait$6(BackgroundTaskUtil.java:171) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189) at...