Hacker News new | ask | show | jobs
Show HN: Zsort, a fast import organizer for Zig (github.com)
1 points by mstdokumaci 114 days ago
I was missing isort from Python, so I built one for Zig.

It can easily sort the imports of the entire Zig language source code. Here is a demonstration:

- Imports on top: https://codeberg.org/mustafa-dokumaci/zig/pulls/3

- Imports at the bottom: https://codeberg.org/mustafa-dokumaci/zig/pulls/4