Accepted answer

hard, but true: just don't use it. eclipse is great with java(ee), but weak with (x)html/jsp in general. intellij is better here. in eclipse you just have to already write nice intented (x)html/jsp code. you can however configure several parameters in preferences by web > html files > editor, such as the line width. but still, it doesn't indent code nicely.


goto->preferences->web->html files->editor click to uncheck the checkbox of : split multiple attributes each on a new line

Related Query

More Query from same tag