Tern Lint Demo // Unused var var id1 = "100"; // Used var by a call of function var id2 = "100"; console.log(id2); // Used var by a assign variable var id3 = "100"; var id4 = id3; // Unused var function var f = function() { } // Used var function var g = function() { } g(); // Unused function declaration function f1() { } // Used function declaration function g1() { } g1(); Demonstrates integration of Tern and CodeMirror. The following keys are bound: Ctrl-SpaceAutocomplete Ctrl-IFind type at cursor Alt-.Jump to definition (Alt-, to jump back) Ctrl-QRename variable Documentation is sparse for now. See the top of the script for a rough API overview.