Skip to content

Run Selection can't handle multi line strings #1313

Description

@gowerc

Describe the bug

When trying to submit the following code snippet only the first line gets submitted (i.e. just the x <- "

x <- "
a
"

For reference Rstudio seems to submit the whole chunk

To Reproduce

  • Create a new file
  • Enter the above snippet
  • Place cursor infront of the x
  • try submitting via ctrl+enter

Can you fix this issue by yourself? (We appreciate the help)

No (sorry)

Expected behavior
The whole string gets submitted

Environment (please complete the following information):

  • OS: macOS
  • VSCode Version: 1.75.1
  • R Version: 4.2.2
  • vscode-R version: v2.7.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions