palantir-java-format/eclipse_plugin at develop · Pankraz76/palantir-java-format · GitHub
Skip to content

Latest commit

 

History

History
 
 

eclipse_plugin

Folders and files

README.md

palantir-java-format Eclipse Plugin

Installation

  1. Run ./gradlew :eclipse_plugin:build in the main folder,
  2. If running Eclipse under JRE 17 or later add these options to eclipse.ini after -vmargs:
    --add-exports
    jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
    --add-exports
    jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
    --add-exports
    jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
    --add-exports
    jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
    --add-exports
    jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
    
  3. Copy eclipse_plugin/build/libs/palantir-java-format-eclipse-plugin-<version>.jar to the dropins folder of your Eclipse installation,
  4. Run eclipse -clean.