Can --reorder-code can be put as a flag in the .editorconfig ?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 63/100
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.
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 :
root = true
[*]
charset = utf-8
[*.gd]
max_line_length = 120
gdscript_formatter_reorder_code = true
[addons/**/*.gd]
gdscript_formatter_exclude = true
- Dominant language
- Rust
- Stars
- 458
- Forks
- 40
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GDQuest/GDScript-formatter
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GDQuest/GDScript-formatter#327 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
GDQuest/GDScript-formatter#354 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
GDQuest/GDScript-formatter#353 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
GDQuest/GDScript-formatter#341 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
GDQuest/GDScript-formatter#339 ·
All issues in GDQuest/GDScript-formatter
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·