vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

Control + enter within a Pipe does not execute the entire code block

Open brianmsm opened this issue 2 years ago • 3 comments

If inside a flow with pipe, I have a function of more than 1 line and I execute it (control + enter) while the course is inside the parenthesis, only that particular line of code is executed.

image

Here the operation in Rstudio with the same cursor position.

image

brianmsm avatar May 18 '22 07:05 brianmsm

This is currently the expected behavior. See https://github.com/REditorSupport/vscode-R/issues/437#issuecomment-1003074628.

eitsupi avatar May 18 '22 09:05 eitsupi

Closing as currently expected behaviour. Thanks @eitsupi!

andycraig avatar Aug 11 '22 02:08 andycraig

It is currently expected behaviour, but I've reopened in case there should be discussion about whether to change the expected behaviour.

andycraig avatar Aug 11 '22 04:08 andycraig