Overview of ocamlformat features
mainocamlformat is an opinionated but fully customizable code formatter for OCaml. Key features include:
- Profiles: Predefined configurations like
default,ocamlformat, andjanestreet. - Customization: Every option can be tuned via an
.ocamlformatfile. - Comment Formatting: Supports formatting of comments, docstrings, and code blocks within comments.
- RPC Server: Provides an RPC interface that allows other tools to programmatically request code formatting.