Search code examples
javascriptcodemirror

Codemirror autocomplete - suggestions sources


I am using codemirror autocomplete demo. It shows some javascript keywords such as application cache,defaultStatus and framenet and many more suggestions. I want it to display my keywords as suggestions. But i am not able to find the source from which these javascript keywords are coming. Please help me with this..


Solution

  • Javascript mode was very hard to understand. so I took python mode and changing python-hint.js was very easy and i got output what i wanted. Thanks Eliran..