Versions Compared

Key

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

...

Once you have an Eclipse installation at your fingertips, it's time to configure it. This guide will walk you through the necessary steps. Fire up the Preferences dialog, and let's get started.

You may also try importing the this configuration file file (Import - General - Preferences). The file sets the correct values for those preferences marked with an asterisk. (*)

Editor Settings

  • General -> Editors -> Text Editors
    • Check Insert spaces for tabs
    • Set Print margin column to 105
  • General -> Workspace
    • Make sure the Text file encoding is set to UTF-8

Java Settings (*)

  • Java -> Code Style -> Code Templates
    • Import this file to automatically add our license text to the start of every file
    • Check Automatically add comments for new methods and types
  • Java -> Code Style -> Formatter
    • Import this file to make the formatter compatible with our Checkstyle settings
  • Java -> Compiler
    • Set the Compiler compliance level to 1.5 (we want to stay compatible to Java 1.5)
  • Java -> Compiler -> Building
    • Set No strictly compatible JRE for execution environment available to Ignore to avoid warnings

Checkstyle

Git Settings

  • Team -> Git -> Configuration
    • Check whether user name and email are configured in User Settings. If not, add two new entries:
      1. Key = user.name, Value = <your name>
      2. Key = user.email, Value = <your email address>