Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse HTML Editor: Each <input> tag on the new line

Tags:

<input type="button" value=" 1 " />  <input type="button" value=" 2 " />  <input type="button" value=" 3 "/>  

How can I do it?

EDIT: Eclipse HTML Editor

Ctrl + Shift + F

I want to use autoformating but after I pressed Ctrl + Shift + F I am getting something like

<input type="button" value=" 1 " /> <input type="button"                  value=" 2 " />  

enter image description here

I want to have each html tag on new line after autoformatting

like image 837
ASD Avatar asked Apr 24 '12 12:04

ASD


1 Answers

Removing input from the list of inline elements will solve the problem for ya.

like image 122
Jay Soyer Avatar answered Oct 21 '22 12:10

Jay Soyer