Question authors can write their own user-interface plugins; an JavaScript
file with a name of the form ui_something.js
in the
folder
<moodlehome>/question/type/coderunner/amd/src
is assumed to be a user interface plugin and is automatically added to the drop-down menu of available plugins. Such plugin files must be AMD modules and must implement the interface defined in the file
<moodlehome>/question/type/coderunner/amd/src/userinterfacewrapper.js