ocamlformat
Auto-formatter for OCaml code
ocamlformat is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style. Profiles: ocamlformat offers profiles we predefined formatting configurations. Profiles include default, ocamlformat, janestreet. Configurable: Users can change the formatting profile and configure every option in their .ocamlformat configuration file. Format Comments: ocamlformat can format comments, docstrings, and even code blocks in your comments. RPC: ocamlformat provides an RPC server that can bed used by other tools to easily format OCaml Code. ocamlformat is part of the OCaml Platform, the recommended set of tools for OCaml.
homepage ↗ github: ocaml-ppx/ocamlformat
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| guru gitweb ↗ | 0.29.0 | 2 | 47 h | details › |
Versions & arches
Use flags of 0.29.0
- ocamlopt Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)