mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
upgrade eliminate keyboard shortcut feature and add document
This commit is contained in:
parent
4e1b8465a8
commit
5f30fe473b
2 changed files with 17 additions and 10 deletions
|
|
@ -60,4 +60,4 @@ So, copying `notebook` and `conf` directory should be enough.
|
|||
### Upgrading from Zeppelin 0.7 to 0.8
|
||||
|
||||
- From 0.8, we recommend to use `PYSPARK_PYTHON` and `PYSPARK_DRIVER_PYTHON` instead of `zeppelin.pyspark.python` as `zeppelin.pyspark.python` only effects driver. You can use `PYSPARK_PYTHON` and `PYSPARK_DRIVER_PYTHON` as using them in spark.
|
||||
|
||||
- From 0.8, depending on your device, the keyboard shortcut `Ctrl-L` or `Command-L` is not supported.
|
||||
|
|
@ -709,20 +709,27 @@ function ParagraphCtrl($scope, $rootScope, $route, $window, $routeParams, $locat
|
|||
*/
|
||||
|
||||
// remove binding
|
||||
$scope.editor.commands.bindKey('ctrl-alt-n.', null);
|
||||
$scope.editor.commands.removeCommand('showSettingsMenu');
|
||||
|
||||
$scope.editor.commands.bindKey('ctrl-alt-l', null);
|
||||
$scope.editor.commands.bindKey('ctrl-alt-w', null);
|
||||
$scope.editor.commands.bindKey('ctrl-alt-a', null);
|
||||
$scope.editor.commands.bindKey('ctrl-alt-k', null);
|
||||
$scope.editor.commands.bindKey('ctrl-alt-e', null);
|
||||
$scope.editor.commands.bindKey('ctrl-alt-t', null);
|
||||
var isOption = $rootScope.isMac? 'option' : 'alt';
|
||||
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-n.', null);
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-l', null);
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-w', null);
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-a', null);
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-k', null);
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-e', null);
|
||||
$scope.editor.commands.bindKey('ctrl-'+isOption+'-t', null);
|
||||
$scope.editor.commands.bindKey('ctrl-space', null);
|
||||
|
||||
if ($rootScope.isMac) {
|
||||
$scope.editor.commands.bindKey('command-l', null);
|
||||
} else {
|
||||
$scope.editor.commands.bindKey('ctrl-l', null);
|
||||
}
|
||||
|
||||
// autocomplete on 'ctrl+.'
|
||||
$scope.editor.commands.bindKey('ctrl-.', 'startAutocomplete');
|
||||
$scope.editor.commands.bindKey('ctrl-space', null);
|
||||
$scope.editor.commands.bindKey('ctrl-l', null);
|
||||
|
||||
var keyBindingEditorFocusAction = function(scrollValue) {
|
||||
var numRows = $scope.editor.getSession().getLength();
|
||||
|
|
|
|||
Loading…
Reference in a new issue