Page MenuHomePhabricator

Add Lua code-completion support to CodeEditor
Closed, ResolvedPublic

Description

This has been requested... code-completion support for lua modules (being able to know our default MediaWiki modules, and being able to detect local names would be awesome) not sure if Ace has something handy to plug into, but CodeMirror does so provisionally making this depend on bug 48826.


Version: unspecified
Severity: enhancement

Details

Reference
bz48828

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:32 AM
bzimport added a project: CodeEditor.
bzimport set Reference to bz48828.
bzimport added a subscriber: Unknown Object (MLST).
brion created this task.May 26 2013, 8:44 AM

This is possible with ACE now.

http://ace.c9.io/build/kitchen-sink.html

I can ctrl-space to get autocomplete and snippet/template insertion for both JS and Lua there.

Change 106693 had a related patch set uploaded by TheDJ:
CodeEditor: Add basic code completion and snippet support

https://gerrit.wikimedia.org/r/106693

Change 106693 merged by jenkins-bot:
CodeEditor: Add basic code completion and snippet support

https://gerrit.wikimedia.org/r/106693

Snaevar removed a subscriber: Snaevar.Oct 12 2015, 9:38 PM