ocaml-lsp icon indicating copy to clipboard operation
ocaml-lsp copied to clipboard

How to troubleshoot `destruct` when "No code actions for 'destruct' available"?

Open mbarbin opened this issue 1 month ago • 4 comments

Hi!

I notice the recent post about the amazing destruct on ocaml discuss, and I am excited to try it out.

When I type Alt+d on a pattern '_' in vscode, I see a message saying: "No code actions for 'destruct' available". This is from within an editor, while a dune build @all @runtest -w is running in that repo, and reached a Success, waiting for filesystem changes... state.

Here are some info about the environment under which this happens:

ocaml 5.2.0 dune 3.15.3 ocaml-lsp-server 1.18.0~5.2preview merlin 5.0-502

Could you give me some pointers as to how to troubleshoot my installation, or things I need to upgrade, enable, configure, etc.

Thank you!

mbarbin avatar Jun 06 '24 09:06 mbarbin