I am looking for documentation on the rstudio code completion engine so that I can find the format that rstudio is expecting to receive data for code completions.
My code completion code works. However, I would like to pass it back in a way that allows rstudio IDE to take over and complete with the bells and whistles set in the Rstudio preferences created by the IDE. For example appending “(“ to a function name, and identifiying the variable types.
I think that I need to get the code returned from the customCompleter to pass through the .rs.makeCompletions()
function for Rstudio to take over but I am not entirely sure. As for right now I am just digging through the Rstudio source on github trying to trace the answer.
If anyone has any insight on this it would be really helpful.
Adam Wheeler.