← All repos

ocamlformat

Auto-formatter for OCaml code

ocaml
Browse cluster: OCaml Systems and Utilities
1,947commits
79contributors
7languages

Tech stack & purpose

ocamlformat is a code formatter for the OCaml programming language that applies opinionated default formatting while remaining fully customizable through configuration files and predefined profiles such as `default`, `ocamlformat`, and `janestreet`. Beyond standard code formatting, it can format comments, docstrings, and code blocks within comments, and it provides an RPC server for integration with other tools. The project is part of the OCaml Platform and was initially created by Josh Berdine, with significant ongoing contributions from Hugo Heuzard, Guillaume Petiot, and Jules Aguillon, supported financially by Facebook, Jane Street, and Tarides.

Community & reference links

Languages

OCaml
88.5%
Pawn
9.0%
Emacs Lisp
0.7%
NASL
0.6%
Shell
0.6%
Makefile
0.3%
Dune
0.2%

Contributors (top 30 of 79)