• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# google-java-format Eclipse Plugin
2
3## Enabling
4
5See https://github.com/google/google-java-format#eclipse
6
7## Development
8
91) Uncomment `<module>eclipse_plugin</module>` in the parent `pom.xml`
10
112) Run `mvn install`, which will copy the dependences of the plugin to
12`eclipse_plugin/lib`.
13
142) If you are using Java 9, add
15
16    ```
17    -vm
18    /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java
19    ```
20
21    to `/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini`.
22
233) Open the `eclipse_plugin` project in a recent Eclipse SDK build.
24
254) From `File > Export` select `Plugin-in Development > Deployable plugin-ins
26and fragments` and follow the wizard to export a plugin jar.
27