vehomzzz
vehomzzz

Reputation: 44628

How to indent jsp pages in eclipse

just started working with jsps and my pages look awful. Please suggest a way to have them indented.

thanks

Upvotes: 3

Views: 10972

Answers (3)

Ctrl+I to indent the selected part (or all) of you code

Upvotes: 0

Tobias M
Tobias M

Reputation: 1338

First make sure you have Web Tools installed, if not check this link: http://download.eclipse.org/webtools/updates/

Then right click in your code of your jsp page and click source then click format or press SHIFT+CTRL+F

Upvotes: 4

akf
akf

Reputation: 39495

Take a look at the webtools plugin.

Upvotes: 1

Related Questions