REditorSupport / REditorSupport/vscode-R
Recognize roxygen single line comment characters #' in toggle comment commands
Open
Nobody has claimed this yet.
feature-request
help wanted
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
- VSCode Version: 1.26.1
- VSCode-R Version: 0.6.1
- OS Version: OS X 10.13.6
Steps to Reproduce:
- In any R file add new line with
#' testroxygen comment - Toggle line comment
- expected:
test, - got:
' test
- expected:
- Toggle line comment
- expected:
# testor#' test - got:
# ' test
- expected:
Reg. the last point, it would be actually superb to have a separate command: Toggle roxygen line comment.
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 toggle line comment commands in an R file using a roxygen #' test comment, then trace the VSCode-R command entry point that handles comment characters. Done means toggling produces the expected roxygen-aware comment text, with the requested separate command treated as a distinct scope if needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100