Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 500 Bytes

code-style.md

File metadata and controls

19 lines (13 loc) · 500 Bytes

Code Style

Configure Java Style for IntelliJ

First, download the style configuration.

curl https://raw.githubusercontent.com/google/styleguide/gh-pages/intellij-java-google-style.xml -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!