I want to add complex code completion to the ACE editor.
For example, if I entered the following JavaScript code in ACE ...
function Car() {} Car.prototype = { model : '', maxSpeed : 0 }; var bugatti = new Car(); bugatti.
... after hitting a point after bugatti , the options " model " and " maxSpeed " will appear.
I know that ACE has a new enableBasicAutocompletion function, but it seems very missing. I hope that autocomplete is based on the code entered in the ACE editor and appears just by clicking. key. Autocomplete suggestions will be properties for this object.
The closest thing I can find is in this YouTube video: http://youtu.be/CSEDIhT6bXU
At 1:45, you can see that autocomplete is based on custom JavaScript, but there is no demonstration or explanation of how this was done.
source share