Suggested Eclipse customization

On this page we show some optional Eclipse customizations that you might find useful when setting up you developers enviorment.

Necessary plugins

Plugins

Checkstyle configuration

  1. Go to Eclipse -> Preferences -> Checkstyle -> New ...
  2. Choose Project Relative Configuration, type in the name Qcadoo Checkstyle and choose the checkstyle.xml file from the projects main source directory
  3. Click OK
  4. Choose the new configuration and click Set as Default
  5. Click OK
  6. In the projects menu click on Checkstyle -> Activate Checkstyle

If you cant choose the file checkstyle.xml id Project Relative Configuration:

  1. go to Eclipse -> Preferences -> Checkstyle -> New ...
  2. choose External Configuration File, type in the name Qcadoo Checkstyle and choose the checkstyle.xml file
  3. click OK
  4. choose Set ad Default
  5. click OK
  6. in the projects menu click on Checkstyle -> Activate Checkstyle

Formatters configuration

  1. Go to Eclipse -> Preferences -> Java -> Code Style -> Formatter
  2. Click Import and choose the file formatter.xml from the projects main source code directory
  3. click OK

Save Actions configuration

  1. Go to Eclipse -> Preferences -> Java -> Editor -> Save Actions
  2. Choose Perform the selected actions on save
  3. Choose Format source code
  4. Choose Format all lines
  5. Choose Organize imports

Other configurations

  1. Go to Eclipse -> Preferences -> Java -> Compiler
  2. set Compiler Compliance Level on 1.6
  1. Go to Eclipse -> Preferences -> General -> Workspace
  2. Set Text File Encoding to Other: UTF-8
  3. Set New text file line delimiter to Unix
  4. Click OK
  1. Go to Eclipse -> Java -> Build Path -> Classpath Variables
  2. Click New and in the Name filed type in M2_REPO and in Path type the path to Mavens repository