Coding style in Intellij - TjeuKayim/coldab GitHub Wiki
Installing the coding style settings in Intellij
Download the intellij-java-google-style.xml
file from the http://code.google.com/p/google-styleguide/ repo.
Copy it into your config/codestyles
folder in your IntelliJ settings folder. Under Settings > Editor > Code Style
select the google-styleguide as current code style for the Coldab project.
Checkstyle
Settings > Plugins > Browse repositories
- Search for 'Checkstyle IDEA'
- Install and restart InteliJ
Settings > Checkstyle
- ➕ configuration file, browse to Coldab directory, and select
checkstyle.xml
- Check 'Thread Checkstyle errors as warnings'