The following steps are necessary to ensure that your Eclipse recognizes our code style presets. You only need to do this once for any given Eclipse insallation.
The code style presets are meant to keep the patches clean. They will be applied automatically every time you save a file within Eclipse.
To "install" the presets follow the following steps:
- Right-click the "Saros" project in the project explorer and select "Properties"
- Navigate to the section "Java Code Style"
- Import the clean-up profile:
- Select the sub-section "Java Code Style" > "Clean up"
- Under the box "Active profile:", click Import...
- Navigate to the base folder of the "Saros" project ("[...]/de.fu_berlin.inf.dpp/")
- Select "clean-up-profile.xml" and click Open
- Click Apply and exit the menu by clicking Ok
- Import the formatter profile:
- Select the sub-section "Java Code Style" > "Formatter"
- Under the box "Active profile:", click Import...
- Navigate to the base folder of the "Saros" project ("[...]/de.fu_berlin.inf.dpp/")
- Select "formatter-profile.xml" and click "Open"
- Click Apply and exit the menu by clicking Ok