Context sensitive completion for OCaml in Vim and Emacs (by ocaml)

Merlin Alternatives

Similar projects and alternatives to merlin

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better merlin alternative or higher similarity.

Suggest an alternative to merlin

Reviews and mentions

Posts with mentions or reviews of merlin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-03.
  • Hoogle for Rust?
    5 projects | | 3 Aug 2021
    Instead of searching functions based on their type structure (like Hoogle), you could search for functions that "consume"/"produce" values of given types (like OCaml's Merlin). I think Rust already computes variance of type constructors, so such a tool just would have to obtain this information.
  • Dot completion
    3 projects | | 7 May 2021
    Assuming you followed the instructions you got when you installed merlin (shows up as part of opam's output), you either need a manually created .merlin file to tell it where to find things, or a dune file that lists dependencies with which merlin can auto-create its own. Preferably the latter: use dune and let merlin do the rest.
    3 projects | | 7 May 2021
    However, after posting this question I stumbled upon this Github issue where they say it isn't supposed to work out of the box and you're supposed to bind a key to it by editing your .emacs file. Turns out the default .emacs file binds auto-complete to "backtab" which means Shift+Tab but that didn't work. I did eventually discover that I can get some kind of completion by binding backtab to completion-at-point like this:
  • Advice/best practice/arhitecture pattern for building language with LSP in mind?
    3 projects | | 3 May 2021
    Self-advertising: I partcipated to the writing of Merlin: A Language Server for OCaml (Experience Report), which explains the overall design of Merlin, a language server for OCaml. A key idea of Merlin are that classic lexing-parsing-typing pipelines can easily be adapted to be incremental for a Language Server, especially when they are using immutable data structures.
  • merlin: Context sensitive completion for OCaml in Vim and Emacs
    1 project | | 11 Apr 2021
  • Language Server built into the compiler ?
    2 projects | | 6 Mar 2021
    Self-advertisment: we wrote a paper on how the Merlin tool does this for the OCaml programming language, obtaining good incrementality thanks to well-chosen (and not so large) changes to the existing batch-compiler implementation.


Basic merlin repo stats
5 days ago

ocaml/merlin is an open source project licensed under MIT License which is an OSI approved license.

Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Find remote jobs at our new job board There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.