ocamlformat-mlxversion Documentation on ocaml.org

Auto-formatter for OCaml .mlx 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 be used by other tools to easily format OCaml Code.
AuthorsAndrey Popp <me@andreypopp.com>, Josh Berdine <jjb@fb.com>, Hugo Heuzard <hugo.heuzard@gmail.com>, Etienne Millon <etienne@tarides.com>, Guillaume Petiot <guillaume@tarides.com> and Jules Aguillon <jules@j3s.fr>
LicensesMIT and LGPL-2.1-only WITH OCaml-LGPL-linking-exception
Homepagehttps://github.com/ocaml-mlx/ocamlformat-mlx
Issue Trackerhttps://github.com/ocaml-mlx/ocamlformat-mlx/issues
MaintainersAndrey Popp <me@andreypopp.com> and David Sancho <dsnxmoreno@gmail.com>
Dependencies
Source [http] https://github.com/ocaml-mlx/ocamlformat-mlx/releases/download/0.29.0.2/ocamlformat-mlx-0.29.0.2.tbz
sha256=194614629528fc6351c343c1c105e454996998a3f24a89f9e90e4b36a97d8122
sha512=04123a9b73db8bc90b7f99c7dcdbe180f18a4cba2aba2b72f6528e428e3f8939086161a5c88c3c304d2d908c9fdb625ffcf5b922c3dc515d8aa5671c86a2ecc0
Required by