Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document describes how to configure code formatting in eclipse. Note, each workspace you use must be configured independently to reuse these settings.

Character Encoding and Line Termination Settings

 Under Window->Preferences->General->Workspace you can configure these settings.  Use the following:

  • Character encoding - UTF-8
  • Line Termination  - Unix (\n)

Java files

Java file formatting is configured via Window->Preferences, Java->Code Style->Formatter. The following attachment can be loaded by using the "Import" feature of the formatter.

...