# Connect to external REPL no longer works

**URL:** https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015
**Category:** VS Code
**Created:** [April 25, 2022, 9:13pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015 "2022-04-25T21:13:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)
#### Post date: [April 25, 2022, 9:13pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015/1 "2022-04-25T21:13:08Z")

</div>

Version 1.7.2 of Julia. Latest version of VS Code.

I got the command from the plugin Julia Connect to External REPL to work once. A sort of prompt came up with a button. I clicked it. I had an external repl connected. I could execute cells from a notebook script. Awesomeness.

Now, I can’t get it to work again. I uninstalled and reinstalled the plugin. Didn’t fix it.

There is no documentation of how to do this in the Visual Studio Code for Julia documentation here: [Home · Julia in VS Code](https://www.julia-vscode.org/docs/latest/). There is a section on running code, but no mention of external repl. In fact, searching the documentation for “external” brings up no results. Well, it does but the returned documents don’t actually contain the word “external”.

The internal REPL is OK: a tiny bit slower. I actually prefer the separate terminal window because it doesn’t have to share all the “chrome” of the VS Code UI.

I can get by but I’d love to get this working again.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [April 26, 2022, 7:54am UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015/2 "2022-04-26T07:54:21Z")

</div>

What does “no longer works” mean? What exactly happens after running the `Julia: Connect to External REPL` command?

---

<div class="post-metadata">

### Author: ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)
#### Post date: [April 26, 2022, 3:52pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015/3 "2022-04-26T15:52:13Z")

</div>

Nothing happens. It’s a noop.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [April 27, 2022, 1:21pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015/4 "2022-04-27T13:21:18Z")

</div>

Hm, I can’t repro that. What version of the extension do you have installed?

---

<div class="post-metadata">

### Author: ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)
#### Post date: [April 27, 2022, 6:10pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015/5 "2022-04-27T18:10:42Z")

</div>

Actually, I spoke too soon.

It displays an alert, “Start a Julia session and execute the code in your clipboard into it.”

Well, I am a dope—I was stumped because the button or checkbox for “always paste… “ or something to that effect didn’t work.

So, I followed the instructions: copied some Julia, started an external terminal, ran Julia, pasted—and the connection was established. I need to recopy the Julia I intend to execute because the initial paste creates the connection and doesn’t execute the pasted statements. Then, I can step through a notebook script and it all works.

Apologies: I was stumped because it appeared different than the first time I got it to work and there is no mention of this feature in the “running code” explanations in the doc. Shall I try a pull request to add a sentence or two?

Closed,.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [April 27, 2022, 7:50pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015/6 "2022-04-27T19:50:26Z")

</div>

Glad you got it figured out. The prompt changed because you clicked “Always copy code” when asked whether you want to copy the connection code into your clipboard (that option was implemented in [Add "Always copy" option to "Connect to external REPL" by pfitzseb · Pull Request #2759 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/pull/2759)).

> [@lewis](#):
>
> there is no mention of this feature in the “running code” explanations in the doc. Shall I try a pull request to add a sentence or two?

Yes please! Many features are chronically underdocumented, so every contribution is very appreciated.
