GDQuest / GDQuest/GDScript-formatter
Can --reorder-code can be put as a flag in the .editorconfig ?
- 主要言語
- Rust
- スター
- 455
- フォーク
- 39
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 4
説明
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
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 63/100