We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fb7e9 commit c12eb1eCopy full SHA for c12eb1e
demo/tern.html
@@ -70,6 +70,20 @@ <h1>CodeMirror: Tern Demo</h1>
70
var randomInt = myMod.randomElt(myMod.intList);
71
</textarea></p>
72
73
+<p>Demonstrates integration of <a href="http://ternjs.net/">Tern</a>
74
+and CodeMirror. The following keys are bound:</p>
75
+
76
+<dl>
77
+ <dt>Ctrl-Space</dt><dd>Autocomplete</dd>
78
+ <dt>Ctrl-I</dt><dd>Find type at cursor</dd>
79
+ <dt>Alt-.</dt><dd>Jump to definition (Alt-, to jump back)</dd>
80
+ <dt>Ctrl-Q</dt><dd>Rename variable</dd>
81
+</dl>
82
83
+<p>Documentation is sparse for now. See the top of
84
+the <a href="../addon/tern/tern.js">script</a> for a rough API
85
+overview.</p>
86
87
<script>
88
function getURL(url, c) {
89
var xhr = new XMLHttpRequest();
0 commit comments