bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
111 stars 13 forks source link

The new yyp format has all of the resources sorted alphabetically. Stitch should also format things that way. #222

Closed adam-coster closed 6 months ago

adam-coster commented 6 months ago

Currently, the Stitch yy package does not do any sorting of array values (only keys). In the "new" GameMaker project format, Includes Files, and resources are now alphabetized whenever GameMaker operates on them. To reduce noise when switching between Stitch and GameMaker, Stitch should do the same.

I'll need to figure out if GameMaker is using the same weird sort algorithm for these as it is for object keys (where _ sorts after all text), but otherwise this is a straight forward problem!

adam-coster commented 6 months ago

Closed by 55b1a994c1ff25530650f4535abe331b7bef49e8