-
Notifications
You must be signed in to change notification settings - Fork 54.4k
Eclipse Configuration
Eugen edited this page Jul 22, 2015
·
3 revisions
- import the code formatter from the repository into Eclipse (
Preferences - Java - Code Style - Formatter - Import
)
- Menu: Window > Preferences > Web > HTML Files > Editor
-
set:
Line Width
to 180 -
check:
Align final bracket in multi-line element tags
-
check:
Indent using spaces
-
set:
Indentation size
to 4
-
set:
-
remove:
input
from Inline Elements - uncheck: everything else (from the Formatting section)
- Menu: Window > Preferences > XML > XML Files > Editor
-
set:
Line Width
to 180 -
check:
Align final bracket in multi-line element tags
-
check:
Format comments
-
check:
Join lines
-
check:
-
check:
Indent using spaces
-
set:
Indentation size
to 4
-
set:
- uncheck: everything else (from the Formatting section)