I have been using ANTLR with Eclipse for some time using the ANTLRv3IDE plugin. Although not perfect and a bit dated, he does his job quite well.
Now I want to switch to ANTLRv4 for another DSL that I create. However, Eclipse support seems very subtle. I decided to try ANTLRWorks, which is a NetBeans plugin, but I could not install it (it seems to be blocked for certain dated versions (201302132200, while I have something newer, still 7.3, as docs say) dependencies).
So the question is: Has anyone configured any Java IDE (preferably Eclipse, but I could convince to switch if the support is good for something else) to integrate with ANTLR? With integration, I mean: generate code while saving / shortening keys and coloring syntax (at least). Of course, it's nice to have code to complete the code and other functions, but I could live without them for now.
I know Xtext well, and I had great success using it for some projects, but, unfortunately, it does not meet the needs here (there is no IDE support, I need my own DSL model, not based on ECore, etc.).
I know that ANTLRWorks can be run as a stand-alone application without a Java IDE, but I think this is the last solution, since it is very difficult to work this way (switching between applications, files is not synchronized, without VCS support, etc.). I tried the opposite: install the Java parts in ANTLRworks (which itself is a NetBeans distribution), but it did not end well (it seems that the main project support, etc. was removed from ANTLRworks).
eclipse antlr antlr4 antlrworks
Krumelur
source share