Code Style

Configure Java Style for IntelliJ

First, download the style configuration.

curl -o ~/Downloads/intellij-java-google-style.xml

Install it in IntelliJ:‌

  1. Go to Preferences > Editor > Code Style

  2. Press the little cog:

    1. Import Scheme > IntelliJ IDEA code style XML

    2. Select the file we just downloaded

  3. Select GoogleStyle in the drop down

  4. You're done!