diff --git a/browser/components/CodeEditor.js b/browser/components/CodeEditor.js index 27ee4271e..a554ffdf5 100644 --- a/browser/components/CodeEditor.js +++ b/browser/components/CodeEditor.js @@ -185,6 +185,9 @@ export default class CodeEditor extends React.Component { const expandSnippet = snippetManager.expandSnippet this.defaultKeyMap = CodeMirror.normalizeKeyMap({ + 'Ctrl-Space': function(cm) { + cm.showHint({ hint: CodeMirror.hint.anyword }) + }, Tab: function(cm) { const cursor = cm.getCursor() const line = cm.getLine(cursor.line) diff --git a/lib/main.development.html b/lib/main.development.html index d6216b7e5..1ee3393f0 100644 --- a/lib/main.development.html +++ b/lib/main.development.html @@ -11,6 +11,7 @@ +