Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-prioritize completion results #3457

Open
kevinushey opened this issue Sep 11, 2018 · 2 comments
Open

re-prioritize completion results #3457

kevinushey opened this issue Sep 11, 2018 · 2 comments

Comments

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Sep 11, 2018

System details

RStudio Edition : Desktop
RStudio Version : v1.2.970
OS Version      : macOS 10.13.6
R Version       : 3.5.1

Steps to reproduce the problem

With the R document, request completions as e.g.

rm(list = ls())
library(caret)
library(stats)

prediction <- c(0, 0, 1)

predi<TAB>

Describe the problem in detail

Function completions are shown before variable names in scope.

screen shot 2018-09-11 at 10 52 37 am

Describe the behavior you expected

We should consider showing the names of variables defined and available in the script before function completions.

Notes

https://community.rstudio.com/t/code-completion-improvements/14070

@kevinushey
Copy link
Contributor Author

@kevinushey kevinushey commented Sep 11, 2018

Note that context completions (ie: the case where the variable has not yet been defined in the global environment)

screen shot 2018-09-11 at 10 54 38 am

@ronblum ronblum added the developer internal tech debt with no direct benefit to customer. label Sep 12, 2018
@mikebessuille mikebessuille added enhancement and removed developer internal tech debt with no direct benefit to customer. labels Jan 28, 2021
@github-actions
Copy link

@github-actions github-actions bot commented Feb 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

@github-actions github-actions bot added the stale Issues which have been closed automatically due to inactivitiy. label Feb 17, 2022
@kevinushey kevinushey added triage and removed stale Issues which have been closed automatically due to inactivitiy. labels Feb 17, 2022
@mikebessuille mikebessuille added this to the 2023 milestone Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants