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
MaintainerAndrey Popp <me@andreypopp.com>
Dependencies
Source [http] https://github.com/ocaml-mlx/ocamlformat-mlx/releases/download/0.28.1.1/ocamlformat-mlx-0.28.1.1.tbz
sha256=087d7256a52808715875814d8bccf9172f97e933b398fc8d29ec40dc89fa9e0e
sha512=809b690e6c21110f81918dfdb1b5efecd185a4f26eadb2bb3aa6eb8069db20989e8797650b22a2207b6b26abe97db357c2dc6056943a3a4f630c4e1a0ebb4f1b
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocamlformat-mlx/ocamlformat-mlx.0.28.1.1/opam
Required by