GDQuest / GDQuest/zed-gdscript

Add support for the GDQuest GDScript formatter

Open
#49 1 comment 8 reactions 0 assignees View on GitHub
Dominant language
Tree-sitter Query
Stars
206
Forks
23
Avg merge
19d 1h
Merged PRs (30d)
2

Description

We made a new [GDScript formatter](https://github.com/GDQuest/godot-gdscript-formatter-tree-sitter) using Rust technologies that make the formatter really fast to build and maintain.

One reason for that was that the great existing community formatter, GDFormat, does not work for us at GDQuest - we use special, uncommon code patterns to build our learning resources that cannot be formatted super well with GDFormat. There are some pieces unsupported GDScript syntax.

Long story short, with the more recent rust technologies, we can make a formatter that more easily supports all or nearly all GDScript syntax by building upon the technology that powers GDScript support in Neovim, Zed, or recent versions of Emacs. And it runs about 3x to 10x faster depending on the file.

This task is about at least documenting how to use the new formatter, and possibly integrating it as an option that ships with the extension if and when possible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.