GDScript Formatter

GDQuest·GDQuest.GDScript.Formatter

A faster code formatter for GDScript and Godot 4

A fast code formatter for Godot's GDScript programming language built with Tree Sitter GDScript and Topiary. The goal of this project is to provide a simple GDScript code formatter that runs fast enough and that's both easy to contribute to and to maintain while an official one built into the engine remains unavailable. Making it in user space allowed us to get a production-ready tool quickly and to update it anytime from here on. This project aims to follow the official GDScript style guide

winget install --id GDQuest.GDScript.Formatter --exact --source winget

Latest 0.28.0·October 30, 2026

Release Notes

A fast code formatter for GDScript in Godot 4.

Changelog

Added

• Linter:add support for stdin (#327) • The reorder code option now preserves code regions and reorders within each region separately. This gives you more control over your code structure if you want different things grouped together. If you don't use code regions, the option works like before (#149)

Fixed

• Linter:respect the EditorConfig indentation size when checking line lengths (#318) • Keep parenthesized lambda parentheses next to the lambda body when they are followed by an attribute call (#364) • Fix formatter giving parse error on a file using $% for getting nodes (#363) • Fix formatter not supporting node paths like %node/%node or %node/$node (#363) • Fix a long constructor definition not wrapping like other functions (#370)

Learn more about the formatter in the GDScript Formatter documentation

Installer type: zip

x64—F4012CEB0ECE52AF7E0F617CEB267FEE386512B51B0808F12743667B01AD7626
arm64—02858A0CEE92616B1B23ECF1CA977E6C9443F70DF2E3BD5C11634D33FD55DB19

Details

Homepage
https://github.com/GDQuest/GDScript-formatter
License
MIT
Publisher
GDQuest
Support
https://github.com/GDQuest/GDScript-formatter/issues
Copyright
Copyright (c) 2025 GDQuest

Tags

formattergdscriptgodotgodot-enginerusttree-sitter

Older versions (3)

0.27.0
x64—5DA94D9AE2D000B81EE8DE23F8E693EB15C0718FE72D4984174C7F153B5B4289
arm64—5124B8085123D587CAC3CA09EC3AE0F4703AB2A8A9E33026145F479F0050C43D
0.25.0
x64—A17E40EF62DB561084C5CC7C3C21C937CC68BBC014A71A50FB1F16519A37AEF6
arm64—4930FE132260BD8ACC12A5B4306CAA6655913C6F22BD0D25D554F6173D0C812B
0.20.1
x64—C5BE3E835C6FF6887D1EFA4D5D995D5B609AA357FCAC3B47402ADFF79F81C0A0
arm64—7DFD0415FD94B0C7D5AA8C703433E53671BBDC9D660421BCF1D4FD4580EC2BAE