How to generate an inteface file in vscode?

Hi, I’ve decided to try vscode for a new project and the out-of-the-box support for OCaml looks quite nice. One thing I’d like to be able to do, though, is to easily generate mli files for my modules. If you refer to the module you want in another one, and hover over the name, you can get the signature displayed in a tooltip, but as far as I can tell it is impossible or at least very buggy to select it in full. Is there any way to get the same thing displayed in a more static part in the interface? Some older thread discusses shell commands that do this but I thought there might be an easier way since the information is evidently already there.

1 Like