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.29.0.1/ocamlformat-mlx-0.29.0.1.tbz
sha256=c4986e5af3e816e8a1fc130e5c26b4ac13fd60efed05a84449ec014640813273
sha512=fae91c260e9d8ddf2c6c8e7f46caf87329777e40e5c80320bbf942ed849789bca477e054010a71213f6451211be9fe3926923cc1aa7f3ac22db875dfbaa59dc2
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocamlformat-mlx/ocamlformat-mlx.0.29.0.1/opam
Required by