GDQuest / GDQuest/GDScript-formatter
Reorder code: Add support for attaching some warnings to the line above them
- Lingua principale
- Rust
- Stelle
- 455
- Fork
- 39
- Merge medio
- 1g 15h
- PR unite (30g)
- 4
Descrizione
Using gdscript-formatter 0.14.0 via AUR
with Helix 25.07.1 with `formatter = { command = "gdscript-formatter", args = ["--reorder-code"] }` and `auto-format = true`
Dunno if it is related or was fixed with cf1c680.
Before:
```
extends Node
@warning_ignore_start("unused_signal")
signal signal1
signal signal2
@warning_ignore_restore("unused_signal")
func f1() -> void:
print("Hi!")
```
After:
```
extends Node
@warning_ignore_start("unused_signal")
signal signal1
signal signal2
@warning_ignore_restore("unused_signal")
func f1() -> void:
print("Hi!")
```
Expected behavior:
@warning_ignore_restore should stay at the same line.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.