I’m really excited about esy because it handles dependencies exactly the way I want (global cache, project-specific deps, built-in pinning, ability to easily package up all dependencies with the source), but the one thing I can’t get working in Merlin integration with Visual Studio code.
I was able to get dune to generate the .merlin files by setting
esy.buildsInSource = "_build" (had to create an entire package.json since esy won’t let me set that in .opam right now), but the Visual Studio Code integration isn’t picking up any of the libraries. It’s possible this has something to do with needing a custom OCAMLPATH but I have no idea how to set that up in my editor (especially on a per-project basis).
Has anyone got this to work?