Revert "added the key bindings for first and last selection in suggestions."

as per user feedback in #43511
This reverts commit be5030b70c.
This commit is contained in:
Ramya Achutha Rao
2018-04-25 14:17:10 -07:00
parent 361741afae
commit 38f1eddf38
@@ -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({