Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Is it possible to replace the syntax parser in Eclipse or IDEA's JSP Plugin?

JSP in Eclipse 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.

Posted in Java at Jun 23 2008, 12:21:36 PM MDT 2 Comments
Comments:

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 02:31 PM MDT #

I am pretty sure you could substitute it Eclipse, but it would require some effort. You could start from looking at JST code and crawl trough, or you can start from scratch. Though if you already have parser and your own compiler, you can also implement your own editor and replace stuff from WTP.

Posted by Eugene Kuleshov on June 23, 2008 at 05:17 PM MDT #

Post a Comment:
Comments are closed for this entry.