-
Notifications
You must be signed in to change notification settings - Fork 470
VSCode instrumentation #7465
Copy link
Copy link
Closed
Labels
Description
Hello, In vscode, it seems that ocaml-lsp automatically launches the instrumentation and does it incorrectly.
I made a minimal example using mutaml. Here are the steps to reproduce:
$ git clone https://github.com/jmid/mutaml.git
$ cd mutaml
$ opam install .
$ cd ..
$ git clone https://github.com/epatrizio/mutaml_exp.git
$ cd mutaml_exp
$ git checkout vscode
Then, open VSCode on mutaml_exp. If you open any .ml file (e.g. lib/lib.ml) and put your mouse focus on it, you'll see some files appearing in the sources.
There are two issues there:
- first, the instrumentation should not run automatically
- second, the files end up in the wrong place (you can compare to what happen when you run
dune runtest --instrument-with mutamlnot from vscode), they end-up inlib/when they should be somewhere in_build/.
Thanks a lot!
Reactions are currently unavailable