Closed dfalbel closed 4 years ago
This would be fairly easy to do if you don't mind an rlang dep, but not too hard to do without it.
I'd prefer to keep R6 dependency-free, especially if the dependency package requires compilation.
FWIW, I just learned that the RStudio IDE has had autocomplete support for $new()
for some time now.
https://github.com/rstudio/rstudio/blob/2a9eaa49/src/cpp/session/modules/SessionRCompletions.R#L654-L658
It would be great to have autocomplete for the
initialize
method.In this example
R6$new()
autocompletes with...
, it would be nice to showx
.