intellij-plugin-v4
intellij-plugin-v4 copied to clipboard
IntelliJ IDEA 2022.1.2 CE / ANTLR IntelliJ Plugin 1.19.2 / ANTLR 4.10.1 - Grammar Config not retrieved in next IntelliJ session
- I can well define a grammar configuration by 'Configure ANTLR...'
- This config is well retrieved in the same IntelliJ session
- However, in the next IntelliJ session this config seems to be lost, the config dialog shows up empty
- However, the misc.xml contains the 1st session's config data
- If I now configure the grammar again in the 2nd session, there is the same xml block added at the end of the grammar configurations in misc.cml again
- 3rd IntelliJ session, all config is gone again.
The grammar config stored and duplicated in misc.xml is like:
<PerGrammarGenerationSettings>
<option name="fileName" value="$PROJECT_DIR$/src/main/java/com/lynxtechnik/robot/lib/lxrobject/buildable/parser/grammar/LXRDeviceGrammar.g4" />
<option name="autoGen" value="true" />
<option name="outputDir" value="$PROJECT_DIR$/../lynx-robot\src\generated\com\lynxtechnik\robot\lib\lxrobject\buildable\parser\antlr" />
<option name="libDir" value="$PROJECT_DIR$/../lynx-robot\src\main\java\com\lynxtechnik\robot\lib\lxrobject\buildable\parser\subgrammar" />
<option name="encoding" value="" />
<option name="pkg" value="com.lynxtechnik.robot.lib.lxrobject.buildable.parser.antlr" />
<option name="language" value="Java" />
</PerGrammarGenerationSettings>
Wow. So weird. @bjansen any ideas?