The current parser configuration strictly requires a "{" symbol at the start of an enum body, which causes an error when trying to format Allman-style enum definitions like
enum AnEnum
{
VAL_1,
VAL_2,
}
Since Godot 4 seems to have introduced support for this style (tested using Godot 4.2.1), I would suggest adding this variant to the toolkit's parser as well.
The current parser configuration strictly requires a "{" symbol at the start of an
enum
body, which causes an error when trying to format Allman-styleenum
definitions likeSince Godot 4 seems to have introduced support for this style (tested using Godot 4.2.1), I would suggest adding this variant to the toolkit's parser as well.