ijfmt

ijfmt

2026In developmentDeveloper Tools

Overview

ijfmt is a fast, drop-in Java code formatter written in Rust. It reads IntelliJ IDEA's code-style XML configuration and formats Java source to match your IDE's exact settings, so command-line and CI formatting stays consistent with the editor. It uses tree-sitter (tree-sitter-java) for parsing, quick-xml to read the IntelliJ config, and rayon for parallel formatting across files, backed by an integration test harness with example-repo fixtures.

Rusttree-sitterJavaCLI

My Role

Author

Key Features

Formats Java from IntelliJ IDEA code-style XML
tree-sitter based parsing
Parallel formatting across files via rayon
Drop-in CLI that matches your IDE style in CI
Integration test harness with example fixtures

Tech Stack

Backend

Rusttree-sitterquick-xmlrayon

Tools & Services

clapDocker