Skip to content

Latest commit

 

History

History

eclipse_plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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 build/libs/palantir-java-format-eclipse-plugin-<version>.jar to the dropins folder of your Eclipse installation,
  4. Run eclipse -clean.