diff --git a/README.md b/README.md index a5c400122..85e3668da 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,17 @@ google-java-format" checkbox. To enable it by default in new projects, [open the default settings for new projects](https://www.jetbrains.com/help/idea/configure-project-settings.html#new-default-settings) -and configure it under "Other Settings/google-java-format Settings". +and configure it under "Other Settings" > "google-java-format Settings". When enabled, it will replace the normal `Reformat Code` and `Optimize Imports` actions. +In the same location in Settings, under "Other Settings" > "google-java-format Settings", +the drop down `Code Style` allows you to configure the formatter options: + +* `Default Google Java style`: using 2 spaces indent +* `Android Open Source Project (AOSP) style`: using 4 spaces indent + #### IntelliJ JRE Config The google-java-format plugin uses some internal classes that aren't available