I'm using RStudio and have activated GitHub Copilot. I want to use Copilot automatically (so not using the keyboard shortcut to request completion) but I always run into conflicts with the RStudio code completion.
Here is an example:
In this example, I'm using a very simple command and would like to use the code completion to get col_names =
to be selected. Because Copilot is making a suggestion, however, when pressing tab, I always get the Copilot suggestion (here guess_max = 100000
). This would then mean I have to delete the wrong suggestion from Codepilot again and go back to code completion - and then race to press the right code completion before Copilot comes back again (I'm aware that I can extend the period when Copilot makes suggestions).
Is there an option to disable Copilot making suggestions when code completion is shown?
Here my session info:
R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 26100)
Matrix products: default
locale:
[1] LC_COLLATE=English_Austria.utf8 LC_CTYPE=English_Austria.utf8 LC_MONETARY=English_Austria.utf8 LC_NUMERIC=C
[5] LC_TIME=English_Austria.utf8
time zone: Europe/Vienna
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] MetBrewer_0.2.0 cowplot_1.1.1 extrafont_0.19 readxl_1.4.3 janitor_2.2.0 broom_1.0.5 here_1.0.1 lubridate_1.9.3 forcats_1.0.0
[10] stringr_1.5.1 dplyr_1.1.4 purrr_1.0.2 readr_2.1.5 tidyr_1.3.1 tibble_3.2.1 ggplot2_3.5.1 tidyverse_2.0.0 conflicted_1.2.0
loaded via a namespace (and not attached):
[1] utf8_1.2.4 generics_0.1.3 stringi_1.8.4 extrafontdb_1.0 hms_1.1.3 magrittr_2.0.3 grid_4.3.0 timechange_0.3.0 fastmap_1.1.1
[10] cellranger_1.1.0 rprojroot_2.0.4 backports_1.5.0 fansi_1.0.6 scales_1.3.0 cli_3.6.3 crayon_1.5.3 rlang_1.1.4 bit64_4.5.2
[19] munsell_0.5.1 withr_3.0.2 cachem_1.0.8 parallel_4.3.0 tools_4.3.0 tzdb_0.4.0 memoise_2.0.1 colorspace_2.1-1 vctrs_0.6.5
[28] R6_2.5.1 lifecycle_1.0.4 snakecase_0.11.0 bit_4.5.0 vroom_1.6.5 pkgconfig_2.0.3 pillar_1.9.0 gtable_0.3.6 rsconnect_1.1.0
[37] glue_1.8.0 tidyselect_1.2.1 rstudioapi_0.14 Rttf2pt1_1.3.8 compiler_4.3.0
And my Copilot settings: