REditorSupport / REditorSupport/languageserver
Code folding won't work if there is a single grammar error in one of the code trunks
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
A minimum RMD to reproduce this:
```{r}
good()
```
**You need to fix the following code trunk for the code folding to work.**
```{r}
bad(
```
Ideally a single error in one of the code trunks should not affect the code folding of the entire document.
Contributor guide
No contributing guide indexed for this repository
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 with the minimal R Markdown reproduction in the issue: one valid R code trunk followed by a trunk containing bad(. Trace how code folding handles grammar errors across separate trunks; done when the valid trunk remains foldable even when another trunk has a single grammar error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100