Haiku code formatter on Linux
There’s a handy util for people working on the Haiku code base called haiku-format. This tool is able to auto-format the Haiku C/C++ code so that the style of the code is compliant with the coding guidelines.
The tool is also integrated with git so that you can see the difference between your actual changes and how they should be formatted. Getting this right before a PR is raised saves a lot of time because the reviewer can avoid needing to comment on banal formatting issues.
The build + install script from the author of the tool works with Haiku itself, but if you’re code-editing on a Linux host, there so far hasn’t been a way to get this tool available on that platform. However I’ve just added a build + install script for Linux as well as instructions on how to use it.