REditorSupport / REditorSupport/languageserver
languageserver features doesn't work on saved files
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
Hi all,
I've noticed that lsp featruers as autocompliation, on hover popup etc aren't working when I'm working on a saved R file, but if I start a new file and set it as an R file (without seving) everything works fine.
Describe the bug
autocompliation, and on hover popups aren't working when editing saved files, but do work on an unsaved R file.
To Reproduce
- Open a saved .R file
- Type a function name or hover over a function ,and expact popup to apear
- nothing happens
- Open a new file (
ctrl+alt+win+n), chooseR documentfrom the dropdown - Start typing a function name or hover over a fucntion: a pop up appears!
User settings.JSON :

Workspace settings.JSON:

I'm using Win 11, and a fresh install of VScode, R extention and languageserver
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
The report names no source files, tests, or entry points. Start by reproducing the difference between a saved .R file and an unsaved R document in VS Code, then trace why completion and hover behavior differs; done means both features work for saved R files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100