For an OCaml beginner, the recommended editor of choice is Visual Studio code with the ReasonML plugin.
- VSCode-Reason: the Reason/OCaml plugin for Visual Studio code. It allows for all the advantages provided by Merlin with the convenience of the VSCode IDE.
- merlin: the main tool used to provide information to editors about OCaml codebases. Note that to provide information, the code must first be compiled. Dune is able to automatically create /.merlin/ files, which are needed to help merlin find the compiled files.
- tuareg: OCaml mode for Emacs that can run the toplevel and the debugger within Emacs.
- Sublime better ocaml: better OCaml mode for Sublime Text.
- ocp-index: Easy access to the interface information of installed OCaml libraries. Contains a few standalone tools:
- ocp-indent: indentation tool for OCaml, to be used from editors like Emacs and Vim.
automatically configures several editors to use merlin, ocp-indent, and ocp-index if they are installed.
opam install user-setupto install it, and then follow the instructions, which tell you to run
opam user-setup install.
- utop – Universal toplevel for OCaml with support of multiline edition, history, real-time and context sensitive completion, colors, and more. This is a must-install for every OCaml programmer.
- sketch.sh: Online tool for playing around with OCaml (most up-to-date version).
- Try OCaml – Try OCaml in your web browser.
- codingground – Compile and execute OCaml code online.
- iocaml – An OCaml kernel for the IPython notebook.
- ocamlbrowser – A source and compiled interface browser, written using LablTk. Included in the standard distribution for ocaml <= 4.01 and with labltk for ocaml >= 4.02.
- ghim – A command-line tool to manage Github Issues.
- OCaml Yeoman Generator – Yeoman generator to scaffold OCaml modules.
- Dead Code Analyzer: OCaml dead code analysis.