Hi. This is great addon. Is there any way to enable ‘Ctrl+Space’ auto completition shortcut?
Hello Danijel,
first of all thanks for the feedback, I really appreciate it :)
To enable the “Ctrl+Space” autocompletion shortcut, you just have to use: <AceEditor>.setAutoComplete(true)
.
Have a great day,
David
Hi, thanks for fast reply. I somehow overlooked the ‘setAutoComplete’ method, my bad. But I have another question now. I’m using the editor with SQL mode and if I set the custom auto completion the ‘keyWordCompleter’ and ‘snippetCompleter’ are removed from completers array and only ‘staticWordCompleter’ is used ([lit-ace.js]
(https://github.com/F0rce/lit-ace/blob/c6e8d5de7b72d72bcfca2491e4d7e899f4f8d788/lit-ace.js#L366)). Would it be possible to add another parameter to ‘setCustomAutoCompletion’ methods by which users can decide to keep the ‘keyWordCompleter’ and ‘snippetCompleter’ or maybe add methods like ‘addCustomAutoCompletion’ which would keep the ‘keyWordCompleter’ and ‘snippetCompleter’ and add the custom one? Thanks…
Hi,
would you please open a Feature Request over at the [Github Repository]
(https://github.com/f0rce/ace) ?
I’m currently working on a new cool addition to the editor. I could integrate / elaborate on your request easily aswell. I would just not like to lose track of feature requests.
Thanks :)