GDQuest / GDQuest/GDScript-formatter
Can --reorder-code can be put as a flag in the .editorconfig ?
- Lenguaje dominante
- Rust
- Estrellas
- 455
- Forks
- 39
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 4
Descripción
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
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 63/100