palantir / palantir/palantir-java-format
Publish palantir-java-format binary for CLI usage
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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