6 ms·
anyone know a good ide for ocaml? something with tab complete and jump to definition?
by mlevental 7y ago
anyone know a good ide for ocaml? something with tab complete and jump to definition?
- mruts 7y agoEmacs?
- anuragsoni 7y agoWhile not a traditional IDE, Merlin [1] combined with vim/emacs/vscode is really good (autocompletion, jump to definition, type lookup and more). Merlin also gained support for language server protocol recently so that could be an option for any editor/IDE that has a language server client. [1] https://github.com/ocaml/merlin.git https://github.com/ocaml/merlin.git EDIT: I'd also like to point out OCamlformat (https://github.com/ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat). It works really well in my experience and makes it really easy to perform automatic code formatting, and can be used in CI to check that changed conform to the formatting style a project prefers.
- xfer 7y agoMerlin is very good. Wish something like this was available for haskell.
- shadowfox 7y agoBesides emacs (mentioned in another comment), VSCode with a language plugin/server like [1] works reasonably well for OCaml. [1] https://github.com/reasonml-editor/vscode-reasonml https://github.com/reasonml-editor/vscode-reasonml
- Barrin92 7y agoThe VS Code extension is really pleasant and pretty much requires no setup other than installing merlin with opam.
- andrepd 7y agoMerlin for vim/emacs/sublime/others