mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-27 08:30:26 +00:00
Enable live autocompletion in CodeEditor
Bug: T377663 Change-Id: Ie7589c9ae7397ba389ef66cce0c354df747d423b
This commit is contained in:
parent
d3920f2a1c
commit
800ce75e9d
|
@ -375,6 +375,7 @@
|
||||||
// The options to enable
|
// The options to enable
|
||||||
context.codeEditor.setOptions( {
|
context.codeEditor.setOptions( {
|
||||||
enableBasicAutocompletion: true,
|
enableBasicAutocompletion: true,
|
||||||
|
enableLiveAutocompletion: true,
|
||||||
enableSnippets: true,
|
enableSnippets: true,
|
||||||
theme: inDarkMode ? 'ace/theme/monokai' : 'ace/theme/textmate'
|
theme: inDarkMode ? 'ace/theme/monokai' : 'ace/theme/textmate'
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue