In VSCode, when we type Shift-Enter
, it sends the code to be executed in the REPL. Yet, it is not equivalent to copying and pasting the code, because the commands do not become available in the REPL history (I cannot use the up arrow to just run the last command again).
Is there a way to change this behavior such that Shift-Enter is equivalent to copying and pasting?
Huh, I get the desired behavior exactly
Up arrow in the REPL goes through the history?
Yep
There's a setting julia.execution.codeInREPL
:
image.png
to control this, maybe you have it turned off?
Last updated: Dec 28 2024 at 04:38 UTC