Skip to content

Commit 8e81257

Browse files
committed
fix: using the IntelliJ results in incorrect formatting
IntelliJ IDEA users need to use the Eclipse Code Formatter plugin and use the Eclipse formatter configuration.
1 parent 585c9c1 commit 8e81257

File tree

2 files changed

+3
-599
lines changed

2 files changed

+3
-599
lines changed

CONTRIBUTING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ The SDK modules and samples are formatted to follow the Java Google code style.
6262
On every `compile` the code gets formatted automatically,
6363
however, to make things simpler (i.e. avoid getting a PR rejected simply because of code style issues), you can import one of the following code style schemes based on the IDE you use:
6464

65-
- for *Intellij IDEA* import [contributing/intellij-google-style.xml](contributing/intellij-google-style.xml)
65+
- for *IntelliJ IDEA*:
66+
- Install the [Eclipse Code Formatter plugin](https://github.com/krasa/EclipseCodeFormatter#instructions)
67+
- Use [contributing/eclipse-google-style.xml](contributing/eclipse-google-style.xml) for the Eclipse formatter config file
6668
- for *Eclipse* import [contributing/eclipse-google-style.xml](contributing/eclipse-google-style.xml)
6769

6870
## Thanks

0 commit comments

Comments
 (0)