TernJS is a very helpful tool for javascript code analyzer and give completion suggestion.
Now have tow project on github:
one is sublime-tern:
this one is give a good suggestion but is Deprecated. and do not support ES6.
other one is tern_for_sublime:
‘https://github.com/ternjs/tern_for_sublime’
this one is not good to use, always crash the editor.
so if sublime can build-in support terns will be cool and useful!