Format produces:
extends Node
func foo() -> void:
print("foo")
#region Test Region
func bar() -> void:
print("bar")
#endregion
Reorder adds an extra new line, producing:
extends Node
func foo() -> void:
print("foo")
#region Test Region
func bar() -> void:
print("bar")
#endregion
This code will continue flipping between these states as the code is formatted/reordered. I usually run format then reorder, but now my CI fails since it thinks the code isn't formatted properly.
I prefer the result of reorder as it keeps the consistent 2 blank lines, but either works.
Format produces:
Reorder adds an extra new line, producing:
This code will continue flipping between these states as the code is formatted/reordered. I usually run format then reorder, but now my CI fails since it thinks the code isn't formatted properly.
I prefer the result of reorder as it keeps the consistent 2 blank lines, but either works.