Zsort: import organizer for zig Developer mstdokumaci released zsort, an opinionated import organizer for the Zig programming language, inspired by Python's isort and available on GitHub. The tool uses std.zig.Ast and supports Zig versions 0.15.2 and 0.16, with the developer disclosing use of LLMs in its creation. Early user feedback on Ziggit reports that zsort works well and improves code cleanliness. zsort: import organizer for zig I was missing isort from Python, so I built zsort for Zig: GitHub - mstdokumaci/zsort: Opinionated import organizer for Zig similar to isort / goimports · GitHub https://github.com/mstdokumaci/zsort I am using zlint and zwanzig on my Zig projects, but neither of them sorts the imports, and I like my code tidy. std.zig.Ast made my life easier building this project, can’t tell the same about trying to support both 0.15.2 and 0.16 at the same time. AI / LLM usage disclosure I used cheap LLMs for doing the hard work from the beginning to the end. But I have been coding since 1996, so I hope this is still not vibe coding. 4 Likes aixin https://ziggit.dev/u/aixin 2 I use your tool in my project, and it just work The code is more cleaner. Thank you 1 Like Thank you for this lovely feedback Great to hear the dev satisfaction with tidy code. mike https://ziggit.dev/u/mike 4 Looks nice Any thought about supporting bottom-of-file imports? I’ve been trying that out recently since the language lets us do this I am unaware of the concept. Let me research a little bit and understand better.