93

I need a nice JSP editor plugin for Eclipse. What are my choices?

Epaga
  • 38,231
  • 58
  • 157
  • 245

9 Answers9

74

I followed the advice of Simon Gibbs in this answer and found it worked out fine - if you're in a hurry, the "Web Page Editor (optional)" package from the Eclipse update site does the trick.

For the Eclipse-challenged (me) Help > Install New Software > Work with > Expand Web, XML, and Java EE Development > Select "Web Page Editor (optional)" and "next-through" to completion.

wwward
  • 840
  • 6
  • 6
59

As well as Amateras you could try Web Tools Project or Aptana. Although they will both give you way more than just a jsp editor.

Edit 2010/10/26 (comment from Simon Gibbs):

The Web Tools Project JSP editor is in the "Web Page Editor (Optional)" project.

Edit 2016/08/16 (extended comment from Dan Carter):

From Kepler (Eclipse 4.3.x) on, this is called "JSF Tools - Web Page Editor".

eclipse

Paul Vargas
  • 41,222
  • 15
  • 102
  • 148
slashnick
  • 26,167
  • 10
  • 55
  • 67
  • 2
    FYI: I am currently using Amateras and I FREQUENTLY get stack overflows causing Eclipse to crash in Ganymede. – Jesse Jul 07 '09 at 14:48
  • 29
    The JSP editor seems to come with the plugin called "Web Page Editor (Optional)" which is available via the WTP update site. Not as obvious as it could be. – Simon Gibbs Jul 28 '10 at 21:27
  • 1
    +1 for "Web Page Editor (Optional)" -- this works well for jsp editing. – Symmetric Jan 30 '11 at 08:22
  • 4
    In kepler this is now called "JSF Tools - Web Page Editor" – dan carter Dec 05 '13 at 03:49
  • There is no Web Page Editor any more (in the update dialog at least). Using Kepler, I had to set it the default for .jsp inside eclipse editor settings.... and you need to re-open any alrady open jsp files to take effect. – user1050755 Mar 21 '14 at 14:50
5

"Web Page Editor (optional)" package from the Eclipse Galileo/Helios update site has the following very minor quirks in a JSP editor:

  • Auto-commenting in Java code fragments does not work (Ctrl /); [fixed in Helios SR2]
  • [present in Galileo, fixed in Eclipse Helios SR1] If a Java code fragment has errors that are already fixed, the editor does not remove the error marks until you modify the erroneous place or close/reopen the file being edited;

This was valid at Dec 7, 2010.

Eugene Gr. Philippov
  • 1,908
  • 2
  • 23
  • 18
  • WTP has many problems ,CSS code completion not exist ! js validation has many problems ,jsp refactoring in form elements not safe ,Code sorting and autoformat is terrible – Ali.Mojtahed Jan 01 '16 at 08:02
3

You could check out JBoss Tools plugin.

mmh
  • 199
  • 4
  • 13
2

Check out this one, it's open source http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor

Epaga
  • 38,231
  • 58
  • 157
  • 245
1

MyEclipse has a pretty decent one, it costs money however. One of the reasons I went over to Netbeans is because of their JSP editor, which is still far from perfect but better then vanilla Eclipse.

James McMahon
  • 48,506
  • 64
  • 207
  • 283
0

Bravo JSP Editor (Can't comment on how good it is, i haven't tried it) http://marketplace.eclipse.org/content/bravo-jsp-editor

htkhtk
  • 131
  • 1
  • 4
  • 13
0

I'm using webstorm on the deployed files

NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
-1

Oracle Workshop for Weblogic is supposed to have a pretty nice jsp editor but I've never used it. You needn't be using Weblogic to use it.

slashnick
  • 26,167
  • 10
  • 55
  • 67