So far, for a long time I used VSCode on my Mac to edit OCaml projects only. Recently I started extending my use of VSCode to include the editing of Node.js projects (in separate windows, of course).
Now when I return to my Ocaml window I find that merlin is not working any more : as you can see in the image below, when I try to do something very basic as asking the editor to find the definition of a value (that happens to be 3 lines above in the same file), the menu produced by the Ctrl+Click shortcut does not include “Go To Definition” as it should.
VSCode still seems to recognize that this is an OCaml file and that merlin is present however (notice the “OCaml” and the “merlin” in the bottom bar).
How can I fix this ?