Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 845 Bytes

File metadata and controls

27 lines (18 loc) · 845 Bytes

Java Code Styles

IntelliJ IDEA code style settings for Square's Java and Android projects.

Installation

  • On Unix, run the install.sh script. Windows users should use install.bat instead.
  • Restart IntelliJ if it's running.
  • Open IntelliJ Project Settings -> Code Styles, change the code style for the project to the one you want.

Eclipse Formatter users

For team using both Eclipse and Intellij, you should install the Eclipse Formatter Plugin, and import eclipse/square.xml into your plugin/Eclipse configuration.

License

Public domain