Would be cool if we can generate .snippets libraries from our Lua and JS libraries, then add them whenever we run in Mediawiki context to the CodeEditor completer.
Example of a snippets file for jQuery:
https://github.com/ajaxorg/ace/blob/master/lib/ace/snippets/javascript-jquery.snippets
Some examples of how a complete is defined and added in:
https://github.com/ajaxorg/ace/blob/62c514135d5ebd912c3a0c8e7c200b59ad0f6fca/lib/ace/ext/language_tools.js#L70-L73
Version: master
Severity: enhancement