I have tried VSCode on Windows, but the menu “Execute/Execute without debugging” proposes multiple evironments :
Chrome, Edge, Node.js, Ocamlearlybird, Python…
Only Ocamlearlybird is Ocaml related… and it print “Unsupported file format” on a .ml file.
I didn’t manage to execute or compile an Ocaml program in this evironment excepted by typing command in the terminal. I think it is a new subject (How to execute a programme in VSCode+OCaml Platform)