antlr / intellij-plugin-v4

An IntelliJ plugin for ANTLR v4
https://plugins.jetbrains.com/plugin/7358-antlr-v4
BSD 3-Clause "New" or "Revised" License
468 stars 104 forks source link

Antlr Generator Config Lost between IntelliJ sessions #400

Open ktr62 opened 4 years ago

ktr62 commented 4 years ago

Via .g4 context menu in project tree, I configure the Antlr generator. Within the same Intellj session, I can reopen the configurator, having all values still at hand.

However: After IntlliJ restart, the settings are gone. The config data however is properly written to .idea\misc.xml:

`

`

I use

Is this an issue? In the antlr comments, the plugin is targeted ti IntelliJ 2019.x, Is there an update available?

ktr62 commented 4 years ago

Checked same function on another PC. Working well there. Both workstations are Win 10 Pro, latest updates applied. The file system entries in misc.xml are all prefixed with $PROJECT_DIR$/src (filename) or $PROJECT_DIR$/../lynx-robot\ (remaining) The filename entry is forward slashed, the remaining are backward slashed with the prefix being backward slashed) Sources have been transferred between workstations via git.

bjansen commented 4 years ago

Hi, it looks like it's a bug indeed. Although it's strange that the same project on a similar machine is not affected. I'll try to reproduce the problem and let you know.