Configure IntelliJ Auto Formater - paffman/WBS-Project GitHub Wiki
The IntelliJ auto formater is a quite powerfull tool to minimize efforts while writing code.
To make it conform with our code style you need to do the following:
- File > Settings > Code Style > General > Line Separator (for new files): Use Unix and OS X (\n)
- File > Settings > Code Style > General > Right margin (columns): Set to 80
- File > Settings > Code Style > General > Wrap when typing reaches right margin: check
- File > Settings > Code Style > Java > Create a new scheme (from default theme)
Following edits need to be made to the new scheme:
###Wrapping and Braces:
###Imports Set class count to use import with '*' very high.
In import layout remove all packages with *.
###JavaDoc Check Wrap at right margin.
###Arrangement: