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.

Source: https://github.com/HPI-Information-Systems/Metanome/wiki/Installing-the-google-styleguide-settings-in-intellij-and-eclipse

Checkstyle

  1. Settings > Plugins > Browse repositories
  2. Search for 'Checkstyle IDEA'
  3. Install and restart InteliJ
  4. Settings > Checkstyle
  5. ➕ configuration file, browse to Coldab directory, and select checkstyle.xml
  6. Check 'Thread Checkstyle errors as warnings'

https://plugins.jetbrains.com/plugin/1065-checkstyle-idea