Stream: helpdesk (published)

Topic: VSCcode: copy-paste on Shift-Enter


view this post on Zulip Leandro Martínez (Dec 15 2024 at 11:54):

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?

view this post on Zulip Daniel González (Dec 15 2024 at 15:23):

Huh, I get the desired behavior exactly

view this post on Zulip Leandro Martínez (Dec 15 2024 at 15:35):

Up arrow in the REPL goes through the history?

view this post on Zulip Daniel González (Dec 15 2024 at 15:37):

Yep

view this post on Zulip Sundar R (Dec 15 2024 at 16:09):

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