REditorSupport / REditorSupport/languageserver
Hover code suggestion not work in box and R6 package
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
Hover suggestion not work in box and R6 package, The example in box package as follows:
'R/run_diff.R' file includes many functions such as calculate_diff, plot_diff and so on. the codes as follows:
box::use(R/run_diff)
run_diff$calculate_diff(object, ...)
When I hover my mouse on run_diff$calculate_diff(), no function pamameter suggestiong is shown.
When I use source("R/run_diff.R"), it works well that the function pamameter suggestion is shown.
R6 and box bring new OOB framework that isimilar to python into R, it may be a trend in future in R.
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
Reproduce the hover behavior using the issue's example with R/run_diff.R, box::use(R/run_diff), and run_diff$calculate_diff(object, ...), then compare it with source("R/run_diff.R"). Trace the language-server hover entry point for the imported function and verify that parameter suggestions appear for both the box and R6 cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100