What does enableBasicAutocompletion do for Ace Editor?

What does the option enableBasicAutocompletionfor the Ace editor do? I tried to set it to trueand false, but could not notice any difference.

enableLiveAutocompletion shows a dropdown list of suggestions for me when turned on.

This is how I set the parameters: ace.jsand ext-language_tools.js.

Then:

    ace.require("ace/ext/language_tools");
    var editor = ace.edit('someid');

    editor.setOptions({
        maxLines: Infinity,
        minLines: 7,
        enableBasicAutocompletion: true,
        enableLiveAutocompletion: true
    });

    editor.setTheme("ace/theme/tomorrow");
    editor.getSession().setMode("ace/mode/javascript");
+4
source share
1 answer
+6
source

Source: https://habr.com/ru/post/1548731/


All Articles