What if I want to have two REPLs in VS Code?

I want to be able to use two REPL in one window. Is the correct procedure to use “Julia: Run in new process”? (If it was actually working, which it isn’t: the execution occurs in the debugger.) What if I open a new terminal and run julia in it. Is there any way I can use that running process to execute julia code?

Not sure if this is what you are looking for.

If you press Ctrl+Shift+5 in the terminal, you get a second terminal like what I have below.

Sure, it splits the terminal. But it doesn’t run the second Julia REPL

https://github.com/julia-vscode/julia-vscode/issues/1030

https://github.com/julia-vscode/julia-vscode/issues/502

4 Likes

Not that elegant, but for me opening two VSCode does the trick…
(I needed to open it in two different folders otherwise the VScode wouldn’t let me open another client.)

Duplicate Workspace in New Window

one of my JL is running for 10 more minutes, so I “Duplicate Workspace in New Window” and do other test, the new VS Code can launch its own REPL

3 Likes