Stream: Dune devs & users

Topic: OCaml annotations


view this post on Zulip Julien Puydt (May 25 2023 at 06:12):

I'm trying to convert a small experiment from single-ml-file-with-Makefile to several-ml-files-with-dune, but I don't know how to enable annotations so emacs can tell me the type of the place I'm pointing at ; grepping through the sources didn't turn anything useful up...

How does one do that?

view this post on Zulip Gaëtan Gilbert (May 25 2023 at 07:22):

dune should produce the cmt(i) files automatically

view this post on Zulip Julien Puydt (May 25 2023 at 11:08):

find . -name "*.cmt*" does find files, so my question should become: how do I make emacs see files in ./_build/default/lib/.elaboration.objs/byte/ when editing files in ./lib or `./test' ?

view this post on Zulip Gaëtan Gilbert (May 25 2023 at 11:09):

install merlin

view this post on Zulip Gaëtan Gilbert (May 25 2023 at 11:09):

https://github.com/ocaml/merlin/


Last updated: Oct 13 2024 at 01:02 UTC