Consistent formatting makes code more readable and understandable. Hof automatically formats many languages with widely used defaults while also providing a means to customize or add new languages.
When you generate code with
hof it will automatically format
the output for known extensions and languages.
This typically happens by running a container in the background,
though some languages are handled directly in
gocode. (See below)
hof will start a container the first time it is needed for you.
You can fetch, run, and stop formatters manually with the hof fmt.
We have built several hof/formatters which use the most common tool for a language and use the most commonly used rules. You can build your own and configure generators to use them too, see the custom formatters section
If a language you need is missing, open an issue. If you can, please provide a link to a common tool used for that language.