Use code formatting tools
In my Python projects I have moved towards auto-formatting tools (FYI: https://pypi.org/project/black/ ) I want to suggest it for Vadere too, because my experience so far is positive.
- Don't waste time on formatting the code
- No different styles across project (which depends on the developer and sometimes even on the day)
- after getting used to a style, it is much easier to read code
A drawback is, that running formatting tools over the project changes many lines (so the history is a bit spoiled).
So it is best to have something independent of the IDE.
After looking on the internet a bit I found that the google-java-format
is very common.
https://github.com/google/google-java-format
It can be add to Maven (which is nice, because it is then independent of IDE): https://github.com/coveooss/fmt-maven-plugin
The format cannot be configured by design.
From my experience this can really pay off concerning code quality.