reprex icon indicating copy to clipboard operation
reprex copied to clipboard

Update `rstudio_open_and_select_all()`

Open jennybc opened this issue 2 years ago • 1 comments

A better API for activating documents in RStudio is taking shape. Next time I work on reprex, check the status and consider updating rstudio_open_and_select_all() to take advantage.

Work already completed in the IDE: https://github.com/rstudio/rstudio/issues/8938

Related issues re: exposing the functionality in rstudioapi: https://github.com/rstudio/rstudioapi/issues/250 https://github.com/rstudio/rstudioapi/issues/251

jennybc avatar Feb 22 '22 17:02 jennybc

I read up on this 2022-08-14, but it feels like the changes in the IDE are too new to use in reprex, i.e. I'd have to do some sort of check of the RStudio version, which just makes everything more brittle.

jennybc avatar Aug 14 '22 20:08 jennybc