0

Is it possible to configure Eclipse (Juno) for opening .jsp files so that it recognizes the jsp syntax and applies language specific formatting?

Dangerbunny
  • 81
  • 1
  • 3
  • 10
  • If you're working with Eclipse for Java EE developers, then it should. What's your specific question? – Luiggi Mendoza Jul 02 '13 at 20:37
  • Like is there an editor for jsp files like there is for xml's. Is there a way I can configure eclipse so that I can right click and select to open a jsp with a jsp editor within eclipse is what I'm asking I guess – Dangerbunny Jul 02 '13 at 20:41
  • Again, this is available in Eclipse for Java Ee developers. Are you using that Eclipse edition? – Luiggi Mendoza Jul 02 '13 at 20:45
  • No, not at the moment. Can I integrate that edition with my current version of eclipse or will it replace my current version entirely? I'm working on a google-app engine application with the likewise named plugin for Juno, which I'm not sure is available for Java EE. – Dangerbunny Jul 02 '13 at 20:55
  • Neither am I. Can you provide more info like the details (name, version, plugins) of the tool you're using? – Luiggi Mendoza Jul 02 '13 at 20:56
  • Sure, I'm using Eclipse 4.2.1 (Juno), with the Google App Engine plugin for 4.2 (found at https://dl.google.com/eclipse/plugin/4.2) – Dangerbunny Jul 02 '13 at 21:08
  • possible duplicate of [How can I upgrade from Eclipse Java SE version to Eclipse for Java EE via Eclipse?](http://stackoverflow.com/questions/5028659/how-can-i-upgrade-from-eclipse-java-se-version-to-eclipse-for-java-ee-via-eclips) – Luiggi Mendoza Jul 02 '13 at 21:18
  • Oh there we go, that fits the bill perfectly, followed the instructions there for installing the Java EE plugin and now there's a jsp editor! Thank you – Dangerbunny Jul 02 '13 at 22:32

1 Answers1

1

I use the jsp editor from the eclipse java web development tools package. I have kepler, but I'm sure you'll find something similar in juno. Go to help:install new software and select a work with site (I chose Kepler - http://download.eclipse.org/releases/kepler). Then scroll down to find web, xml, javaee, osgi and you'll find the eclipse java web development tools there.

The jsp editor is ok but it does have some quirks. The right click to select the editor works only within eclipse. This is not the javaee package.

(edit) -- oops --

Should've expanded the comments before I posted. You already got your answer.