Is it possible to replace the syntax parser in Eclipse or IDEA's JSP Plugin?
At LinkedIn, we have our own JSP Compiler. Our version of JSP is more like FreeMarker than JSP since it solves many of the deficiencies of JSP. Since we allow a different syntax than standard JSP (more powerful EL, new tags for looping, loading from classpath), we (like FreeMarker) don't get much love from IDEs.
We don't get much in the way of syntax-highlighting or code completion. However, since we use JavaCC/JJTree for parsing, I'm wondering if Eclipse or IDEA (or even NetBeans) allows replacing the default syntax definition with a new one.
Has anyone extended one of these IDEs to enhance its JSP syntax highlighting and compilation? If so, I'd love to hear about it. If not, it's likely we'll be doing it in the near future.
Hi Matt,
I have had wishes for Freemarker support for a long time also in IDEA. Looks like it is coming in version 8.0 which is great!
With regards to your customizing the syntax parser, I came across this page a while back:
http://www.javalobby.org/java/forums/t66413.html
it is a bit dated version-wise, but am sure it might point you in the right direction!
HTH,
Al
P.S. loved the slides + video of your what java framework + smack down on parleys.com - just caught that for the first time this morning! Awesome site.
Posted by Al Power on June 23, 2008 at 08:31 PM MDT #
Posted by Eugene Kuleshov on June 23, 2008 at 11:17 PM MDT #