[antlr-interest] stg files in intellij
Matthew Pocock
matthew.pocock at ncl.ac.uk
Tue Aug 24 15:17:27 PDT 2010
Hi,
I have just installed the ANTLRWorks plugin for Intellij Idea. It recognises
the grammar files. However, it doesn't seem to be associated with the stg
files. Should I just tell Intellij to open stg files using ANTLRWorks, or is
there some other trickery I need to do?
I'm thinking of playing about with Scala code generation. I realise that I
can use the Java generated code, but from Scala it feels very java-ish, and
don't allow me to take advantage of the nice Scala syntax features, such as
case classes. However, to do this it would be really helpful to edit the stg
files as something richer than plain text :)
Thanks,
Matthew
More information about the antlr-interest
mailing list