You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have IntelliJ 2023.3.6 and the plugin version is 1.23.1. In these versions of tools, the parser, lexer and the whole menagerie are not generated on save of grammar file. I do have the option checked. I don't remember the exact version of the plugin/IntelliJ when it worked but I'm sure that last year it worked like charm. Now I have to generate the code manually each time. OK, Ctrl Shift G is my friend but ^S is more natural ;).
The text was updated successfully, but these errors were encountered:
I've seen that after saving the grammar file, the following exception is thrown:
java.lang.Throwable: Read access is allowed from inside read-action (or EDT) only (see com.intellij.openapi.application.Application.runReadAction())
Current thread: Thread[Alarm Pool,4,main] 2036941950 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 402563983
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1002)
at com.intellij.openapi.roots.impl.DirectoryIndexImpl.checkAvailability(DirectoryIndexImpl.java:250)
at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getPackageName(DirectoryIndexImpl.java:213)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getPackageNameByDirectory(ProjectFileIndexImpl.java:250)
at org.antlr.intellij.plugin.parsing.RunANTLROnGrammarFile.getANTLRArgs(RunANTLROnGrammarFile.java:197)
...
I have IntelliJ 2023.3.6 and the plugin version is 1.23.1. In these versions of tools, the parser, lexer and the whole menagerie are not generated on save of grammar file. I do have the option checked. I don't remember the exact version of the plugin/IntelliJ when it worked but I'm sure that last year it worked like charm. Now I have to generate the code manually each time. OK, Ctrl Shift G is my friend but ^S is more natural ;).
The text was updated successfully, but these errors were encountered: