REditorSupport / REditorSupport/vscode-R
request codeLensCommands: run to next chunck
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Is your feature request related to a problem? Please describe.
I'm using rstudio like section # xxx ---- and ## xxx ---- for outline which works well for vscode.
However, if I put the section as chunck, but subsection not. The extension will recogonization the first part as chunck. For example:
# %% chunck 1 ----
x <- 1
## subection 1 ---
y <- 1
# %% chunck 2 ----
print(y)
If I run code lens command run current chunck on chunck 1, it will run code to subsection 1, but not to chunck 2.
Describe the solution you'd like
I'd like a lens command run to next chunck which will run code between two chuncks.
FYI. There is a command r.goToNextChunk.
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
Start by locating the implementation of the existing r.goToNextChunk command and the code lens command handling in the VS Code extension. Trace how the current chunk boundaries are detected, then verify that the new command runs from the current chunk to the next chunk without stopping at subsections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100