Closed grantpassmore closed 6 years ago
Similarly, peek definition
fails as well
I am trying to figure this out but I think it may well be this line:
which means we need our own version of ocaml-language-server in reality to make this work properly. I can of course add this to the upstream PR but of course we don't know how long that will take.
Awesome investigative work. Hmm, maybe we just have to bite the bullet and fork?
Yep possibly. Let me see what's needed for the server stuff - what I could do is produce a custom reason plugin then depend on that if that's feasible in conjunction with the lean like stuff I need to figure out.
This is actually a merlin issue - I have made a temporary fix for it with a fork of merlin, but am working on a more principled PR which will allow you to define suffixes and their associations
Cmd+Click
on a definition gives an error, looking for the file in the wrong (global?) path.For example, if I have an IML file in a workspace (under, e.g.,
/Users/grant/AI/imandra-workspace/nat.iml
), and ICmd+Click
on an instance of a function which is defined within the file, I get the following error:It seems it's looking for
nat.ml
in the wrong place.