REditorSupport / REditorSupport/languageserver
Auto completion not work properly when complete is.* and as.*
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
I'm writing R markdown in VS Code when I find a weird error
When I type is.data.frame or is.na in an .Rmd file, it will have auto completion options like this:

then if I click Tab, it will give an redundant is like:

but when I write my code in normal .R file, this problem does not exist.


I wonder what caused the problem and how to fix it
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 by reproducing completion in an .Rmd file with is.data.frame or is.na, then compare the same input in an .R file. Trace the R Markdown completion and Tab insertion path, and verify that accepting a completion does not duplicate the is prefix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100