Make agent connect to existing Julia REPL

Hello,

Really enjoying cursor with agent mode, I think it’s amazing.
When developing in Julia, it is important to keep a persistent REPL session to avoid recompilation times. Is it possible to direct the agent to submit commands to repl directly rather than having to open new julia sessions all the time?

thanks!

This is what perplexity advised:

The Julia VS Code extension supports persistent REPL sessions through the julia.persistentSession.enabled setting. This feature leverages tmux (a terminal multiplexer) to maintain the REPL state across VS Code sessions[5]. Key steps include:

  1. Installing tmux on the server (e.g., apt install tmux).
  2. Enabling the persistent session setting in VS Code’s remote settings[5].
  3. Using the Julia: Start REPL command to initiate the session, which persists even after closing VS Code[5].

This setup avoids restarting Julia and recompiling packages, but it requires manual management of the tmux session[3][5].