Google's Java Code Style as a scheme for IntelliJ IDEA.
Optimized for IntelliJ 2016.3+
- Download the .xml file from this repo.
- Go to Preferences > Editor > Code Style.
- Click "Manage...", then "Import".
- Pick "IntelliJ IDEA code style XML" and pick your file.
IntelliJ will now automatically format your Java code according to Google!