From 38f1eddf382e508e8be605ba6ef39c8a97e03a61 Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Wed, 25 Apr 2018 14:17:10 -0700 Subject: [PATCH] Revert "added the key bindings for first and last selection in suggestions." as per user feedback in #43511 This reverts commit be5030b70ca62a1a05ad070743d1452614a4a7bb. --- src/vs/editor/contrib/suggest/suggestController.ts | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/vs/editor/contrib/suggest/suggestController.ts b/src/vs/editor/contrib/suggest/suggestController.ts index bba5c8bb188..7ed9c0c2af5 100644 --- a/src/vs/editor/contrib/suggest/suggestController.ts +++ b/src/vs/editor/contrib/suggest/suggestController.ts @@ -406,12 +406,7 @@ registerEditorCommand(new SuggestCommand({ registerEditorCommand(new SuggestCommand({ id: 'selectLastSuggestion', precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.MultipleSuggestions), - handler: c => c.selectLastSuggestion(), - kbOpts: { - weight: weight, - kbExpr: EditorContextKeys.textInputFocus, - primary: KeyCode.End - } + handler: c => c.selectLastSuggestion() })); registerEditorCommand(new SuggestCommand({ @@ -442,12 +437,7 @@ registerEditorCommand(new SuggestCommand({ registerEditorCommand(new SuggestCommand({ id: 'selectFirstSuggestion', precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.MultipleSuggestions), - handler: c => c.selectFirstSuggestion(), - kbOpts: { - weight: weight, - kbExpr: EditorContextKeys.textInputFocus, - primary: KeyCode.Home - } + handler: c => c.selectFirstSuggestion() })); registerEditorCommand(new SuggestCommand({