REditorSupport / REditorSupport/vscode-R
Run Selection can't handle multi line strings
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code with the vscode-R extension using the provided multiline R string and Ctrl+Enter. Trace the selection and submission entry point, then verify that the complete multiline string is submitted rather than only its first line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100