This would be handy for conflicting functions, debugging purpose, or communicating the code to others who are not familiar with used packages. Having to write down the packages manually is annoying and time consuming, it could be avoided with code completion.
this request has 2 parts:
1) option to include masked functions in the completion pop-up menu
Example:
x magrittr::set_names() masks purrr::set_names()
while typing set_n and tab in the text editor, we only see the unmasked function magrittr::set_names() in the completion menu. I'd like to be able to pick the one I need from the menu.
2) option/shortcut to get code completion to write down both package::function()
Example:
for magrittr::set_names() when tabbing twice set_n in the text editor, code completion only writes down the function set_names(). I'd like an option/shortcut to get completion to write down the full designation magrittr::set_names().
The text was updated successfully, but these errors were encountered:
alp78
changed the title
option to get package and function together with code completion in RStudio
option to get package and function together with code completion
May 30, 2020
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.
stalebot
added
the
stale
Issues which have been closed automatically due to inactivitiy.
label
Feb 5, 2021
This would be handy for conflicting functions, debugging purpose, or communicating the code to others who are not familiar with used packages. Having to write down the packages manually is annoying and time consuming, it could be avoided with code completion.
this request has 2 parts:
1) option to include masked functions in the completion pop-up menu
Example:
x magrittr::set_names() masks purrr::set_names()while typing
set_nand tab in the text editor, we only see the unmasked functionmagrittr::set_names()in the completion menu. I'd like to be able to pick the one I need from the menu.2) option/shortcut to get code completion to write down both
package::function()Example:
for
magrittr::set_names()when tabbing twiceset_nin the text editor, code completion only writes down the functionset_names(). I'd like an option/shortcut to get completion to write down the full designationmagrittr::set_names().The text was updated successfully, but these errors were encountered: