haiku_format
Code formatter for Haiku coding style
haiku_format
Description
Format C/C++ code following the Haiku Coding Guidelines.
This is a superset of clang-format with extensions that implement the coding style followed by Haiku and several applications running on Haiku.
haiku-format looks for a configuration file '.haiku-format', going up the file hierarchy starting with the folder of the file you want to format. This optional configuration file can be used to override any default Haiku style options.
Install
Channel stable v22.1.0-1
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install haiku_format
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.