Versions Compared

Key

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

You shouldn't have to do any manual configuration if you have installed Eclipse using our Oomph setup.

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)8
  • Java -> Compiler -> Building
    • Set Under Build path problems, set No strictly compatible JRE for execution environment available to Ignore to avoid warnings
  • Java -> Compiler -> Errors/Warnings
    • Under Potential programming problems, set Incomplete 'switch' cases on enum and 'switch' is missing default case to Ignore.

Checkstyle

...