I've read this article describing how to format jsp's in eclipse. I have WTP installed and the jsp tags are colored. However, there is no indenation on the html (i.e. <html>
and <body>
etc. are all at the same level). I've tried Source -> Format with no success. Is this a bug?
views:
247answers:
1
A:
- make sure you open the jsps with the JSP editor (
Right click > Open with
) - open it and try
CTRL + SHIFT + F
- get a fresh installation of eclipse (don't delete the current one), and try it there
Bozho
2010-01-28 07:44:07