Skip to content

Commit 08d0ed1

Browse files
committed
Document how to use the IntelliJ plugin
1 parent 5d0ba67 commit 08d0ed1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ a single format.*
3333
A [google-java-format IntelliJ plugin](https://plugins.jetbrains.com/plugin/8527)
3434
is available from the plugin repository.
3535

36+
The plugin adds a `Reformat with google-java-format` action to the Code menu.
37+
The first time the action is used, the plugin substitutes the default
38+
CodeStyleManager with an implementation that uses `google-java-format` on Java
39+
files. Until IntelliJ is restarted, the `Reformat code` action will also
40+
`google-java-format`.
41+
42+
There is an [open bug](https://devnet.jetbrains.com/thread/464297) against
43+
IntelliJ to add support for configuring external formatters.
44+
3645
### as a library
3746

3847
The formatter can be used in software which generates java to output more

0 commit comments

Comments
 (0)