Does Rstudio have a mechanism for setting up code snippets, like Geany? For faster writing of entire sections of user predefined frequent code. This is not exactly the same as the TAB termination already built into rstudio.
An example by imitating geany fragments
While the fragment definition is similar to the line below:
fun = %cursor% <- function(x, ...)\s{\n\n}\n
it is something like this:
fun<TAB> (like bash style completion)
so that the user can write code faster using their own definition of fragments. And the user can define any fragment of any size to complete using TAB.
This is not Rstudio extract cmd, nieder Rstudio is an existing TAB context browser.
source share