This morning with MyEclipse format JSP, found unable to remove blank lines, and found that indentation is not correct, some indentation, some indentation, and then found can be set
The following can solve the problem, any other need to check the English meaning attached to the article:
HTML Source, HTML, myeclipse Enterprise Workbench, Window---Preferences, check "Clear all Blank Lines" to remove the blank. Shortcut keys for use: ctrl+shift+f
1 . 1 set width per line
Line width is set to 80 to 100 characters.
Each property of the 1.2 tag is displayed on a separate line:
Select split multiple attributes each on a new line
1.3 The label Terminator does not occupy a single line:
Uncheck align final bracket in multi-line element tags
1.4 Remove all empty lines:
check clear all blank lines
1.5 Add a space before the label Terminator:
Check Insert whitespace before closing empty end-tags
1.6 indent uses a space instead of tab:
check indent using spaces
1.7 Set indent width
indentation size is set to 4, which is 4 spaces indented.