GDQuest / GDQuest/GDScript-formatter

Editor config option `gdscript_formatter_indent_blank_lines` does not work with Godot editor

Aperta
#315 2 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
455
Fork
39
Merge medio
1g 15h
PR unite (30g)
4

Descrizione

Works well from cli and zed editor but some reason it does not work add-on. I tried addon version "0.24.0" from GitHub (since addon yet to update in Godot store).

Also, dedicated cli option for "indent_blank_lines" would be nice.

Temporary Fix:
If I add `.editorconifg` file at temporary file path (`/tmp/`) then it works with addon.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the behavior with addon version 0.24.0 in the Godot editor, comparing it with the CLI and Zed editor where the option works. Check how the add-on locates or loads EditorConfig files, including the temporary /tmp/.editorconfig workaround; done means gdscript_formatter_indent_blank_lines works in the add-on without that workaround.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
godot, rust
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.