GDQuest / GDQuest/GDScript-formatter
Reordering granularity
- Lenguaje dominante
- Rust
- Estrellas
- 455
- Forks
- 39
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 4
Descripción
I like when reordering feature is applied to variables inside the file.
But I'd prefer to avoid reordering the functions.
- Sometimes I have a public function and a related private helper. It reads better when this private function located right after use. When code reordering is enabled, it might end up after a bunch of public functions.
- Sometimes I have static private helpers and they come first in the file. I read code top to bottom, so I'd prefer them to be located after when they used by public or virtual functions.
I know it contradicts the official style guide, but it would be nice to have a CLI option that enables only variables reordering.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza rastreando la opción existente de reordenamiento del formateador y cómo gestiona las variables y las funciones. Define la finalización como un modo CLI que reordena las variables mientras deja las funciones en el orden del código fuente, con pruebas que cubran ambos comportamientos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- godot, rust
- Área
- cli, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100