1
0
Fork 0
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.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
META-INF Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
src/com/google/googlejavaformat/java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
build.properties Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
plugin.xml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pom.xml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

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.