palantir / palantir/palantir-java-format

Publish palantir-java-format binary for CLI usage

Open
#1,259 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
907
Forks
101
Avg merge
1d 3h
Merged PRs (30d)
19

Description

I'd like to be able to install this library with something like brew install palantir-java-format and then format Java files on CLI with a command like palantir-java-format path/to/MyFile.java.

For AI-powered coding tools that tend to be built on VS Code, ./gradlew format is too slow (10+ seconds minimum in large repos due to gradle overhead) and the IntelliJ plugin can't run in VS Code. As of this writing, this affects tools like:

  • Codeium Windsurf / Cascade
  • Aider
  • Cursor
  • Claude Code

In the meantime, is there a way to get ahold of the Graal binary so I can copy it to my PATH ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the existing Graal binary and the ./gradlew format workflow, then compare the requested palantir-java-format command with the repository's current distribution options. Define how a user would install the binary, place it on PATH, and invoke it on a Java file; completion should provide a usable CLI path suitable for tools such as Homebrew.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, release, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.