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
Published
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.28.1.2/ocamlformat-mlx-0.28.1.2.tbz
sha256=af4e7ed7e84bd681e1058c3573e255427aa3c3a9952c115f1c2441295766d14c
sha512=48a153ad33283a95b3d5a54cd04e8a26feb5d394b291a45aa01f77e376bcfc94a2b6350b3f3611a3d2511f25b0f69f6d2d694d7ace81004ed7e6850ac6947b4c
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocamlformat-mlx/ocamlformat-mlx.0.28.1.2/opam
Required by