Closed dozn closed 1 week ago
Should be fixed.
Sort of =b
For the first example, it now removes the trailing comma:
package main
some_long_type_name_to_force_vertical_parameter_formatting :: int
a :: proc(
a: some_long_type_name_to_force_vertical_parameter_formatting,
// test
i: some_long_type_name_to_force_vertical_parameter_formatting <-- Trailing comma gets removed
) {
}
The second example is still broken as when you save the following, the comment will be incorrectly pushed down a line.
package main
some_long_type_name_to_force_vertical_parameter_formatting :: int
a :: proc(
a: some_long_type_name_to_force_vertical_parameter_formatting,
i: some_long_type_name_to_force_vertical_parameter_formatting, // test
) {
}
Appreciate you!
Thanks.
Both examples are hopefully fixed now.
You're the best, all good!
Start with
hit save, and it will turn into
then hit save again, and you'll get
which on top of being incorrect, also violates the 1TBS style (using
-strict-style
) ;D