The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I've just started using Lomboz and I really like the JSP editor. If you are using it in a Lomboz J2EE project, it will compile the JSP as you save so that you can find syntax errors without deploying it.
Do these "JSP editors" offer much beyond syntax coloring both HTML and Java scriptlets? Although I don't use much JSP in my own code these days, I often need to work on JSPs for a client and some refactoring options like "extract scriptlet to custom tag" would be invaluable. Anyone do anything like this?
Lomboz has a JSP parser, so if you have errors in your page you will know about it when you save. Unfortunately, this only works if your JSP is part of a Lomboz web module. A refactoring tool for JSPs would be nice.
Joined: Jul 11, 2001
The MyEclipse editor also has an auto-import feature, if I remember correctly.
The MyEclipse JSP Editor provides: - tag completion for standard JSP and HTML tags, custom taglibs, Java scriptlet code - auto-import of Java scriptlet classes similar to the Java editor - very customizable syntax coloring options - JSP validation for JSP syntax and translated Java error detection - native breakpoint and debug support for JSR045 compliant appservers - user preferences and actions to enable/disable JSP compilation and to rebuild only JSP resources - preview mode (Win32 for now) to view static HTML structure of a JSP file The MyEclipse 2.6.0 release scheduled for this week will introduce lots of new formatting preferences. If you're unfamiliar with MyEclipse visit http://www.myeclipseide.com. Wayne
Thanks for the update, Wayne! P.S. I don't know how the others feel about it, but for me, when you post a news release about your own product, I'd appreciate you disclosing the relationship. Just as a professional courtesy.
Joined: Aug 24, 2003
Joe, This was an unintentionally oversight of mine in a previous post. For readers of this thread I am the Product Manager and an active developer on the MyEclipse Enterprise Workbench product. An additional bit of news is that MyEclipse 2.6 was released today. Two of the release's new features that are relevant to this thread are extension of the MyEclipse JSP editor with new look-and-feel and formatting features, and support for Mac OSX. Some of the new JSP features include an overview ruler, line-numbering, current input line shading, print margin, and a handful of new formatting features. Regards, Wayne Parrott MyEclipse Product Manager www.myeclipseide.com
Joined: Jun 23, 2003
Wayne, I know you didn't have any devious intent . I don't think you were trying to hide the fact that your post was from someone involved with the product. I just thought I should point out the oversight. Joe
I used Intellij IDEA for a long time and it manages really a wonderfully jsp pages: coloring, tag insight, completion for tag libraries, completion for java code in the scriptlets, very very useful showing of which tag closes a beginning tag (for html, tag libraries, brackets in java code). I am now taking a look at similar plugins for Eclipse and the best is that provided by myeclipse (2.7): it has coloring, code completion, completion for java code, compilation of jsp (if you want). Something that myeclipse does not have but strecl has is the highliting of beginning and ending tag (html and tag library). In effect myeclipse does a lot of things I do not use (I use the SOFIA framework for web application development and it has its own J2EE containet management. I think this framework is a lot of times better than Struts based frameworks). Perhaps in the future the webtool project of clipse will provide something interesting for us. Bye, Marco.