You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
699 B
27 lines
699 B
4 months ago
|
# google-java-format Eclipse Plugin
|
||
|
|
||
|
## Enabling
|
||
|
|
||
|
See https://github.com/google/google-java-format#eclipse
|
||
|
|
||
|
## Development
|
||
|
|
||
|
1) Uncomment `<module>eclipse_plugin</module>` in the parent `pom.xml`
|
||
|
|
||
|
2) Run `mvn install`, which will copy the dependences of the plugin to
|
||
|
`eclipse_plugin/lib`.
|
||
|
|
||
|
2) If you are using Java 9, add
|
||
|
|
||
|
```
|
||
|
-vm
|
||
|
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java
|
||
|
```
|
||
|
|
||
|
to `/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini`.
|
||
|
|
||
|
3) Open the `eclipse_plugin` project in a recent Eclipse SDK build.
|
||
|
|
||
|
4) From `File > Export` select `Plugin-in Development > Deployable plugin-ins
|
||
|
and fragments` and follow the wizard to export a plugin jar.
|