{"repo":"GDQuest/GDScript-formatter","free":true,"listed":false,"github":"https://github.com/GDQuest/GDScript-formatter","clone":"git clone https://github.com/GDQuest/GDScript-formatter.git","description":"A faster code formatter for GDScript and Godot 4","language":"Rust","stars":433,"topics":["formatter","gdscript","godot","godot-engine","tree-sitter","rust"],"license":"MIT","category":"dev-tools","readme_excerpt":"Godot GDScript Formatter A fast code formatter for Godot's GDScript programming language, built on top of the Tree Sitter GDScript parser. The goal of this project is to provide a fast and reliable GDScript code formatter that's easy to contribute to and to maintain. We also use it to thoroughly test and improve the GDScript parser that powers GDScript support in code editors like Zed, Helix, Neovim and Emacs. This project aims to follow the official GDScript style guide Use a version control system: Please consider using a version control system like Git to track changes to your code before running the formatter. Even though we use the formatter ourselves at work and it has a large test suite, GDScript is a complex language and there can always be edge cases or less common syntax that may not be handled correctly yet. Features - Format GDScript files perceptually instantly (less than 1ms to a few ms per file on a mid-range laptop) - Wrap long lines automatically with a configurable maximum line length - Lint GDScript files for style and convention issues - Reorder GDScript code to match the official GDScript style guide (variables at the top, then functions, etc.) - Format code in place (overwrite the file) or print to the standard output - Check if a file is formatted (for CI/build systems) - Configure spaces vs tabs, indentation size, blank lines around definitions, and more - Share formatting settings with your teammates with an .editorconfig file - Exclude code from form","default_branch":null,"files":null,"tree":[],"storefront":"/r/GDQuest","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GDQuest/GDScript-formatter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}