ocaml / ocaml-lsp

OCaml Language Server Protocol implementation
Other
772 stars 121 forks source link

Code actions for "Unbound module ..." error #494

Open ulugbekna opened 3 years ago

ulugbekna commented 3 years ago

When we have Unbound module M-like diagnostic, we can offer user to fix the error by

Other suggestions?

If you want to work on this, please comment on this issue, preferably with ETA.

jfeser commented 3 years ago

I usually get this diagnostic when I've forgotten to open something. I'm not sure how helpful it would be to offer to create the missing module. Finding the appropriate module to open would be pretty neat though.

ulugbekna commented 3 years ago

@jfeser thanks for your input! I guess we can offer various quickfixes for this problem