https://stackoverflow.com/questions/13661462/gett ... ocompletion-under-sublime-text
https://github.com/ternjs/tern_for_sublime
Installation
Check out the code in this repository into a subdirectory of your Sublime Text's Packages directory.
Код: Выделить всё
cd /path/to/sublime-text-N/Packages
git clone git://github.com/ternjs/tern_for_sublime.git
Код: Выделить всё
cd tern_for_sublime
npm install
On OS X, you might also need to install the Fix Mac Path Sublime plugin to help ST actually find your node binary.