Tern is a stand-alone code-analysis engine for JavaScript. It is intended to be used with a code editor plugin to enhance the editor's support for intelligent JavaScript editing. Features provided are:
Vim 上用这货配上 syntastic 和 jslint,写 JS 实在是爽,基本上赶上 IDE 的功能了。 放一个官方的 demo: http://ternjs.net/doc/demo.html