From 5ebcf1890449b722f1fa771f7d0e945260586921 Mon Sep 17 00:00:00 2001 From: tzolov Date: Wed, 2 Sep 2015 11:00:32 +0200 Subject: [PATCH] ZEPPELIN-277: Set the (TAB) key as an auto-completion shortcut --- .../src/app/notebook/paragraph/paragraph.controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js index 5a0da48c251..e472cac1b03 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js @@ -570,7 +570,9 @@ angular.module('zeppelinWebApp') }); */ - // autocomplete on 'ctrl+.' + // Auto-complete on 'TAB' key. + // (The 'ctrl+.' shortcut is deprecated but kept for backward compatibility) + $scope.editor.commands.bindKey('tab', 'startAutocomplete'); $scope.editor.commands.bindKey('ctrl-.', 'startAutocomplete'); $scope.editor.commands.bindKey('ctrl-space', null);