GDQuest / GDQuest/GDScript-formatter

Allow --reorder-code to optionally preserve code regions, even if it breaks the official style guide

Open
#149 6 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
455
Forks
39
Avg merge
1d 15h
Merged PRs (30d)
4

Description

gdscript-formatter 0.14.0

Expected behavior: running the formatter with the --reorder-code flag should not add or remove code from a region.

Actual behavior: running the formatter with the --reorder-code flag can remove code from a region.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior with gdscript-formatter 0.14.0 and the --reorder-code flag, using an input containing multiple code regions. Trace where reordered regions are processed and compare the output with the input; done means no code is added or removed from a region when the preservation option is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot, rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.