Deprecated
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.
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.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.
Checkstyle
- Checkstyle
- Click New, type in the following values, and click OK:
- Set Type to Remote Configuration
- Set Name to KIELER Checks
- Set Location to http://git.rtsys.informatik.uni-kiel.de/projects/KIELER/repos/config/browse/checkstyle.xml?at=HEAD&raw
- Check Cache configuration file
- Select the new configuration and click Set as Default
- Click New, type in the following values, and click OK:
Git Settings
- Team -> Git -> Configuration
- Check whether user name and email are configured in User Settings. If not, add two new entries:
- Key = user.name, Value = <your name>
- Key = user.email, Value = <your email address>
- Check whether user name and email are configured in User Settings. If not, add two new entries:
Overview
Content Tools