Fork me on GitHub
#calva
<
2023-01-14
>
Carsten Behring15:01:57

Has anybody here experience with using VSCode/Calva together with the VsCode support for "devcontainers" (https://code.visualstudio.com/docs/devcontainers/containers) on Windows ? I am investigating Clojure for data science, and in this polyglot (= Clojure + python + R using libpython-clj and clojisr) is a must. This makes the "environment setup" far more complex then with Clojure alone. I came to devcontainer as one possible solution and I am wondering if there is any experience in this, specifically on Windows (which I don't use)

Jakub Holý (HolyJak)19:01:59

I use devcontainers in https://github.com/holyjak/interactive-dev-wshop and at the time I last had Windows participants, we discovered this > Beware: This directory must be at a place where both VS Code and Docker can see it. That might be an issue under Windows and WSL based on your setup. but that was a while back and can be different now. Otherwise it seemed to work fine.

Daniel Jomphe19:01:50

We've been using dev containers with Clojure (and some python tools) for a few years now, in VS Code with Calva, and are quite happy with it. No fussing around with setting things up "windows style", as you can work 100% of your time in your linux dev container and not worry about windows.

👍 2
Carsten Behring19:01:59

I really start to like it. I discovered that there is as well a cli tool for it: https://code.visualstudio.com/docs/devcontainers/devcontainer-cli which makes devcontainer fully usable without using vscode. It seems to work well. This make me hope that "adopting devcontainers" does not mean "adopting vscode"

Daniel Jomphe19:01:02

I've seen some automated support for dev containers in JetBrain's IDEs. I'm yet to try it.

Carsten Behring20:01:30

So it seems to get some traction, that's good. I found as well a first "alternative" implementation of the devcontainer CLI: https://gitlab.com/smoores/open-devcontainer