Java style guide based on Google Style Guide
Download the intellij-java-style.xml. Copy it into your config/codestyles folder in your IntelliJ settings folder. Under Settings or Preferences -> Editor -> Code Style select the styleguide as current code style. Click on Manage and import the downloaded Style Setting file. Select Style as new coding style.
Download the eclipse-java-style.xml. Under Window/Preferences select Java/Code Style/Formatter. Import the settings file by selecting Import.