tested on 0.9.1
Inline comments placed after member variable declarations are incorrectly moved so that they appear as standalone comments before the next function.
Original
class_name Foo
var _bar: Array = [] # This is a comment
var _baz: Dictionary = {} # This is a comment
# Ready
func _ready() -> void:
print("a") # This is a comment in A.gd
print("b") # Another comment
After Formatting
class_name Foo
var _bar: Array = [] # This is a comment
var _baz: Dictionary = { }
# This is a comment
# Ready
func _ready() -> void:
print("a") # This is a comment in A.gd
print("b") # Another comment
This might be related to #68
tested on
0.9.1Inline comments placed after member variable declarations are incorrectly moved so that they appear as standalone comments before the next function.
Original
After Formatting
This might be related to #68