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.3/ocamlformat-mlx-0.28.1.3.tbz
sha256=fb3af0d7a0b6ced6c9cbd84858e7aa86fe2a4b9f4b8f46080a04bc465b0e6eff
sha512=c0dc6c33aea286fbc007fdf02b09c37b72caf76d12ccf92576a04823cdcacf3044b6deba3372f40a87a0ae6f602da20d5840ebf0f116f4ca346b85c4d540b2f0
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocamlformat-mlx/ocamlformat-mlx.0.28.1.3/opam
Required by