Skip to content

Couldn't detect installed module paths? #1788

@anta40

Description

@anta40

I'm on macOS 15.2 (M2) with OCaml 5.2 installed (via opam, not homebrew). I also have various tools like ocamlformat, ocaml-lsp-server installed.

Seems like vscode-ocaml-platform (mine is 1.29.0, and yes it properly detects my opam switch:5.2.0-flambda) ) couldn't detect installed module path (lwt, cohttp etc are also installed with opam):
Image

Seeing those red underlined texts are a bit annoying.

No issue compiling the code, though, like this:

ocamlfind ocamlopt -o redditdemo \ 
   -linkpkg \ 
   -package lwt,cohttp,cohttp-lwt-unix \
   -thread 
    reddit.ml

Wonder if I didn't configure vscode-ocaml-platform properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions