Open nyxkn opened 2 years ago
When writing library-type code it's common to end up with very long argument lines, which we might want to split.
An example from a library I was just working on:
func arc_normal(position: Vector3, normal: Vector3, angle_from: float, angle_to: float, radius: float = 1.0, draw_origin: bool = false, color: Color = current_color) -> void:
This should most definitely be split into two lines. Something like this:
But when this is done, gdscriptify only picks up the first line and ignores the second.
I'll have a look. It should work on Arrays and Dictionaries, but functions could have escaped the parsing.
When writing library-type code it's common to end up with very long argument lines, which we might want to split.
An example from a library I was just working on:
This should most definitely be split into two lines. Something like this:
But when this is done, gdscriptify only picks up the first line and ignores the second.