-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use Merlin with unusual OCaml packages? #1659
Comments
I am not familiar with Ocsigen build system, but I would. It looks like support is not great.
|
Hi, Presently, I can handle the client side with some templates.
I tried your sound .merlin file. I'm using Is there a way to see exactly what is happening when using Merlin and autocompletion? (Merlin log file, lsp-server log file or any other tool) This is a great chance to much more understand these Ocaml toolings. |
In fact, your issue might be due to There is a |
I use a few special Ocaml packages that do not follow the usual Ocaml way.
For instance, Ocsigen makes a specific compilation for _server and _client sides.
There are .cmi, .cmo, .cmx, .cmt and .type.mli for the _server side.
There are .cmi, .cmo, .js for the _client side.
From the specification of a .merlin file, I tried to point to the correctly compiled interfaces (with vs code + extension ocaml-platform + opam package ocaml-lsp-server) to get Merlin support.
I started with something like:
But as I don't exactly know the unusual structure of the pointed files, and how exactly Merlin handles the usual stuff, I'm blind.
It doesn't work.
Can you give a hint about the right way to inform Merlin of the available and correct (although unusual) compiled interfaces (I understand Merlin requires)?
Thanks.
The text was updated successfully, but these errors were encountered: