package ocamlformat
Auto-formatter for OCaml code
Install
github.com
Readme
Changelog
MIT; LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Authors
Maintainers
Sources
ocamlformat-0.26.1.tbz
sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7
sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a
Description
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.
Published: 19 Sep 2023
Dependencies (4)
-
re
>= "1.10.3"
-
ocamlformat-lib
= version
-
dune
>= "2.8"
-
ocaml
>= "4.08"
Dev Dependencies (3)
-
odoc
with-doc
-
ocamlformat-rpc-lib
with-test & = version
-
cmdliner
with-test = "false" & >= "1.1.0" | with-test & >= "1.2.0"
Used by (52)
- ask
- ask-integrator
- autofonce
- autofonce_config
- autofonce_core
- autofonce_lib
- autofonce_m4
- autofonce_misc
- autofonce_patch
- autofonce_share
- awsm-codegen
-
bastet
< "2.0.0"
-
binsec
>= "0.8.1"
- bitpack_serializer
- diff
-
diskuvbox
< "0.1.2"
- drom
- drom_lib
- drom_toml
- dump_ocamlformat
-
ez_cmdliner
>= "0.2.0"
-
ez_config
>= "0.2.0"
-
ez_file
>= "0.2.0"
-
ez_hash
< "0.5.3"
- ez_opam_file
- ez_search
- ez_subst
- fromager
-
guardian
< "0.1.0"
- header-check
-
js_of_ocaml-webgpu
>= "0.2"
-
letters
>= "0.2.0" & != "0.3.1"
- module-graph
-
noCanren
>= "0.3.0~alpha1"
-
OCanren-ppx
= "0.3.0~alpha1"
-
ocaml-lsp-server
< "1.8.0"
- ocp-search
-
ocplib_stuff
>= "0.3.0"
-
opam-bin
>= "0.9.5"
-
opam_bin_lib
>= "0.9.5"
- polars
- polars_async
-
psmt2-frontend
>= "0.3.0"
-
rea
< "0.2.0"
-
scaml
>= "1.2.0"
-
sihl
< "0.1.0"
- solidity-alcotest
- solidity-common
- solidity-parser
- solidity-test
- solidity-typechecker
- zanuda
Conflicts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page