This project was just a POC. Please use this tern ace project https://github.com/sevin7676/Ace.Tern
If you open completion, on Array variable, you will see functions of the array :
If you apply the completion, it will generate the signature of the selected function :
Use tab, to switch to next parameter.
If you hover known JS elements, a tooltip displays some useful information like documentation, type, url :
The basic structure of the project is given in the following way:
demos/demos with Tern and ACE. Open tern-autocompletion.html.
tern-ace.jswhich is the glue between Tern and ACE.