Skip to content

gdfmtGDScript, consistently formatted.

A formatter built in Rust. Set your style, format your project, and keep it consistent in CI.

gdfmt logo

Get started ​

Build and install from the repository with cargo install --path crates/gdfmt_cli --locked, then run in your Godot project:

sh
gdfmt .
gdfmt --check .

See the quickstart for installation. The npm prerelease is available as @gdfmt/gdfmt@next.

Explore the docs ​

Configuration · CLI reference · Language support · Node.js API

Code released under the MIT License. Logo: CC BY 4.0.