vscode-ocaml-platform icon indicating copy to clipboard operation
vscode-ocaml-platform copied to clipboard

Running code more easily

Open ulugbekna opened this issue 3 years ago • 2 comments

It would be great if we provided built-in support for building and running OCaml projects.

I mean supporting this thing:

image

Clicking on "Run and Debug," one can get (template?) tasks for other langs:

image

ulugbekna avatar Jan 14 '22 16:01 ulugbekna

Looks like the extension provides some dune tasks

https://user-images.githubusercontent.com/5595092/151125234-dbc6b489-efae-48d6-b0b0-9ced8c9e3a43.mov

I think they're created from: https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/src/dune_task_provider.ml

Not sure if that's what you're referring to though?

tatchi avatar Jan 26 '22 08:01 tatchi

For example, in Java, if you click on "Run and Debug" button, your program is run. We could have something like that.

image

Or in Scala Metals:

image

ulugbekna avatar Jan 26 '22 16:01 ulugbekna