4 ms·
You have a valid point, but if the only formatting issue you will have is tabs, then running `zig fmt` on your codebase is pretty much a non-issue. If your pro
by anand-bala 6y ago
You have a valid point, but if the only formatting issue you will have is tabs, then running `zig fmt` on your codebase is pretty much a non-issue.
If your project is small, just run `zig fmt` on the command line.
If you have a large codebase, you can just incorporate it into your build process (similar to how clang-format and clang-tidy are used in CMake projects).
But again, if you have a large codebase written in Zig, you've probably already configured your editor to run `zig fmt` on save :)
- littlestymaar 6y ago> But again, if you have a large codebase written in Zig, At this point it means you're probably Andrew himself because the Zig compiler is the only large Zig codebase out there;)
- jorangreef 6y agohttps://github.com/ifreund/river https://github.com/ifreund/river https://www.youtube.com/watch?v=124wdTckHNY https://www.youtube.com/watch?v=124wdTckHNY