akabe / ocaml-jupyter

An OCaml kernel for Jupyter (IPython) notebook
https://akabe.github.io/ocaml-jupyter/
MIT License
292 stars 41 forks source link

VS Code merlin code completion #208

Open peaillaud opened 1 month ago

peaillaud commented 1 month ago

Hello,

I use OCaml with the WSL and VS Code on Windows 11, and I usually work with simple .ml files and the extension OCaml Platform.

This extension provides Merlin code completion:

image

I would like to enable this on OCaml Jupyter notebooks but I can't figure out how. On the following image, there is no completion.

image

How can I do?

Thanks

Addison-Reilly commented 2 weeks ago

I second this, seems like a great way to use OCaml but can't work out how to have proper completion

johnW-ret commented 5 days ago

There is an image of code completion on the GitHub Pages site when opened in JupyterLab. @peaillaud You may want to try JupyterLab as a short-term solution.

@akabe I came here to open an issue because code completions are not working for me in Jupyter. I have installed Jupyter and followed the installation steps. Any idea what might be going on?