Is it possible to start VS code with Julia repl running?

As it says in the subject line.

1 Like

I searched for this before and didn’t figure it out. What I want is when I open a directory that contains a .jl file, it should launch the Julia REPL and then do Pkg.activate(“.”) (which I guess I could just put in my startup.jl).

No, but that is a good idea to have an option, I think! Want to open an issue?

If there is a Manifest.toml (and a Project.toml) in the root of the folder that you open with VS Code, it should automatically activate that already.

5 Likes
1 Like

Portable Julia with portable preconfigured VS Code: Portable Julia - #8 by PetrKryslUCSD

1 Like

A simple bit of code in the startup file will do the trick as far as automatically activating and instantiating the opened folder. https://github.com/julia-vscode/julia-vscode/issues/1622

1 Like