Skip to content

Eclipse Configuration

Eugen edited this page Jul 22, 2015 · 3 revisions

Eclipse: Setup and Configuration

Eclipse Configuration

set up Eclipse formatter

Eclipse - Editors Configuration

HTML

  • 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
  • remove: input from Inline Elements
  • uncheck: everything else (from the Formatting section)

XML

  • 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: Indent using spaces
    • set: Indentation size to 4
  • uncheck: everything else (from the Formatting section)