浏览代码

Trigger autocomplete with Shift-Space, in addition to existing triggers

Shane Kilkelly 9 年之前
父节点
当前提交
c9678ad699

+ 1 - 1
services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee

@@ -169,7 +169,7 @@ define [
 						$(editor.completer.popup?.container).css({'font-size': @$scope.fontSize + 'px'})
 						$(editor.completer.popup?.container).css({'font-size': @$scope.fontSize + 'px'})
 						if editor.completer?.completions?.filtered?.length == 0
 						if editor.completer?.completions?.filtered?.length == 0
 							editor.completer.detach()
 							editor.completer.detach()
-					bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space"
+					bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space|Shift-Space"
 				}
 				}
 
 
 			Util.retrievePrecedingIdentifier = (text, pos, regex) ->
 			Util.retrievePrecedingIdentifier = (text, pos, regex) ->