File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,17 @@ google-java-format" checkbox.
5757
5858To enable it by default in new projects,
5959[ open the default settings for new projects] ( https://www.jetbrains.com/help/idea/configure-project-settings.html#new-default-settings )
60- and configure it under "Other Settings/ google-java-format Settings".
60+ and configure it under "Other Settings" > " google-java-format Settings".
6161
6262When enabled, it will replace the normal ` Reformat Code ` and ` Optimize Imports `
6363actions.
6464
65+ In the same location in Settings, under "Other Settings" > "google-java-format Settings",
66+ the drop down ` Code Style ` allows you to configure the formatter options:
67+
68+ * ` Default Google Java style ` : using 2 spaces indent
69+ * ` Android Open Source Project (AOSP) style ` : using 4 spaces indent
70+
6571#### IntelliJ JRE Config
6672
6773The google-java-format plugin uses some internal classes that aren't available
You can’t perform that action at this time.
0 commit comments