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.
- 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
- 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.