Skip to content

emersonmx/gdfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdfmt - GDScript Formatter

gdfmt is a simple command-line tool for formatting GDScript code. It leverages Tree-sitter to parse GDScript files into an Abstract Syntax Tree (AST), allowing for intelligent and consistent code formatting.

Installation

To install gdfmt, you'll need Rust and Cargo installed on your system. If you don't have them, you can get them from rustup.rs.

cargo install --git https://github.com/emersonmx/gdfmt

Usage

To format a GDScript file, simply run gdfmt followed by the path to the file:

gdfmt path/to/your_file.gd

The formatted content will be printed to standard output.

Donation

If you find gdfmt useful, consider supporting its development:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors