GDQuest / GDQuest/GDScript-formatter
Can --reorder-code can be put as a flag in the .editorconfig ?
- Dominant language
- Rust
- Stars
- 455
- Forks
- 39
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 4
Description
I'd like to be able to run gdscript-formatter without having it to pass options everytime I use the tool. This allow to only write settings once (e.g. in `.editorconfig`) without worrying about the option we use and to avoid duplication.
This could be nice to have if possible :
```.editorconfig
root = true
[*]
charset = utf-8
[*.gd]
max_line_length = 120
gdscript_formatter_reorder_code = true
[addons/**/*.gd]
gdscript_formatter_exclude = true
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining the formatter's configuration handling and how the --reorder-code option is parsed. Then inspect any existing .editorconfig support and related tests. Done means the option can be set with gdscript_formatter_reorder_code in .editorconfig and works without passing the command-line flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 63/100