Skip to content

Commit 015881b

Browse files
committed
Update Readme on IntelliJ plugin config for code style (indent size)
1 parent d1d1f4d commit 015881b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,17 @@ google-java-format" checkbox.
5757

5858
To 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

6262
When enabled, it will replace the normal `Reformat Code` and `Optimize Imports`
6363
actions.
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

6773
The google-java-format plugin uses some internal classes that aren't available

0 commit comments

Comments
 (0)