Eclipse 有好的 JSP 编辑器吗?

我需要一个适合 Eclipse 的 JSP 编辑器插件?

135310 次浏览

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

You could check out JBoss Tools plugin.

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.

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.

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

I'm using webstorm on the deployed files

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.

"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.