How configure eclipse for jsp formatting?
Maybe you can try this: Window -> Preference -> Web -> HTML Files ->Editor -> Formatting : change the "Line width" to 200 or larger
In eclipse:
- for Windows Open Window Menu -> choose Preferences
- for Mac Open EclipceMenu -> choose Preferences
From the Preferences Window choose Web => HTML Files => Editor
From the Inline Elements:
view, add all tags that you want appear in one line
Now whenever you press CTRL+SHIFT+F, the JSP will be formatted to your new style