Is there an option to disable IDEA ANTLR plugin from generating parsers? I'd like to exclusively use GRADLE ANTLR plugin for this purpose. Especially given that IDEA ANTLR plugin doesn't seem to make use of generated parsers, AFAIK it interprets grammars?
It is quite confusing that while IDEA ANTLR plugin uses interpreter under the hood, it still to some extent relies on generated tokens and interferes with GRADLE ANTLR plugin. I'd expect it to either be:
isolated generation process, hidden from user (e.g. to tmp dir or to in-memory files), especially in case of interpreted ANTLR, so users won't deal with plugin's compilation settings (maybe except for target language choice, which btw might be a dropdown?)
leveraging existing generation process of GRADLE ANTRL plugin or any other mechanism used by any build system, e.g. by just pointing IDEA ANTLR plugin to directory with generated files or even better plugin might invoke already properly configured GRADLE ANTLR plugin task to generate sources, would be useful since I guess anyway no-one would rely on IDEA plugin to generate production parsers but instead would leverage build system for that, would be especially useful if one day this plugin would support semantic predicates (btw why it is the case that currently it is not supported?)
So, that we will avoid conflicts between GRADLE and IDEA ANTLR plugins or even having to configure both of them with same or separate configs to avoid such conflicts.
Is there an option to disable IDEA ANTLR plugin from generating parsers? I'd like to exclusively use GRADLE ANTLR plugin for this purpose. Especially given that IDEA ANTLR plugin doesn't seem to make use of generated parsers, AFAIK it interprets grammars?
It is quite confusing that while IDEA ANTLR plugin uses interpreter under the hood, it still to some extent relies on generated
tokens
and interferes with GRADLE ANTLR plugin. I'd expect it to either be:tmp
dir or to in-memory files), especially in case of interpreted ANTLR, so users won't deal with plugin's compilation settings (maybe except for target language choice, which btw might be a dropdown?)So, that we will avoid conflicts between GRADLE and IDEA ANTLR plugins or even having to configure both of them with same or separate configs to avoid such conflicts.