Embedded Java in new file types (esp. JavaCC)

Is there a way to tell IDEA how to recognise Java code in other file types, such as JavaCC? This would be similar to the way IDEA handles JSP, where blocks inside <%...%> are treated as Java, and outside as HTML.

1 comment

Would be nice to colorize velocity templates which produce java code (ie
JDO)

"Art Taylor" <ataylor@templarcorp.com> wrote in message
news:1745978.1043169684387.JavaMail.jrun@is.intellij.net...

Is there a way to tell IDEA how to recognise Java code in other file

types, such as JavaCC? This would be similar to the way IDEA handles JSP,
where blocks inside <%...%> are treated as Java, and outside as HTML.


0

Please sign in to leave a comment.