tree: c6b9ffa263c55f3a31b06a4a1fb6b6b99223e5a1 [path history] [tgz]
  1. META-INF/
  2. README.md
  3. build.properties
  4. plugin.xml
  5. pom.xml
  6. src/
eclipse_plugin/README.md

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.

  3. 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.

  4. Open the eclipse_plugin project in a recent Eclipse SDK build.

  5. From File > Export select Plugin-in Development > Deployable plugin-ins and fragments and follow the wizard to export a plugin jar.