Page MenuHomePhabricator

Add Lua and JS code completion for MediaWiki libraries
Open, MediumPublic

Description

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

Details

Reference
bz63256

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:56 AM
bzimport added a project: CodeEditor.
bzimport set Reference to bz63256.
bzimport added a subscriber: Unknown Object (MLST).
TheDJ created this task.Mar 29 2014, 12:22 PM