How can switch between two Julia versions using VS Code?

I have versions v1.5 and v1.6 installed and VS Code.
I would like to benchmark both versions.
How can I quickly switch between them without needing to reconfigure the path every time?
Ideally I would like to be able to keep simulteneously both sessions running.

You don’t.
I suppose we could make the Julia path a directory-wide setting, such that two instances of VSCode wouldn’t necessarily share it. There probably are a bunch of subtleties to that approach though.

1 Like

If you use asdf (Home | asdf) to handle your Julia versions, you can choose (and change) locally which version of Julia you use (at folder level). But you’ll need to restart VSCode each time.

1 Like