thanks @saurfang for adding the code completion ability. I would like to propose a small improvement. Currently, R based code completion like the rlangCompleter is not called when the user presses Ctrl-Space twice with the same line. That is because shiny does not call the observer as the value of the shiny input for code completion has not change.
To fix this I have proposed a pull request that simple adds a random nonce in the call to Shiny.onInputChange('shinyAce_' + inputId + '_hint', {
in the rlangCompleter.
Hi,
thanks @saurfang for adding the code completion ability. I would like to propose a small improvement. Currently, R based code completion like the rlangCompleter is not called when the user presses Ctrl-Space twice with the same line. That is because shiny does not call the observer as the value of the shiny input for code completion has not change. To fix this I have proposed a pull request that simple adds a random nonce in the call to
Shiny.onInputChange('shinyAce_' + inputId + '_hint', {
in the rlangCompleter.