Stream: helpdesk (published)

Topic: Default folder in VSCode REPL


view this post on Zulip Júlio Hoffimann (Jan 09 2026 at 10:35):

After recent updates I lost a very handy feature of the VSCode Julia extension: it recognized the module of the current file upon restart with Alt+J+Alt+R.

Do you know if there is a setting that can be set to automatically restart the REPL in the current module?

view this post on Zulip Júlio Hoffimann (Jan 09 2026 at 10:36):

I have multiple modules opened in my VSCode Workspace and it is always restarting the REPL in the first module of the list. The previous behavior saved a lot of time, and I used it quite often to speed up development of multiple packages.

view this post on Zulip Patrick Toche (Jan 10 2026 at 16:19):

I have the Julia extension on VSCodium, which is a clone. I still see the shortcut. The way you can set or reset the shortcut is with the following json:

I just put f1 here to get the json code for you: you can replace with alt+j+alt+r or whatever else you like.

{
        "key": "f1",
        "command": "language-julia.restartREPL"
    },

view this post on Zulip Patrick Toche (Jan 10 2026 at 16:20):

Or perhaps you mean that the behavior of "command": "language-julia.restartREPL" is totally different now? Then I have no answer...

view this post on Zulip Júlio Hoffimann (Jan 10 2026 at 16:25):

I have the shortcut still. The problem is the behavior. It no longer opens the REPL in the active module.


Last updated: Jan 28 2026 at 04:59 UTC