From 44c99e23a225a20f477b2bd8b0599e54dbe6d7d7 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 27 Jun 2018 10:53:58 +0200 Subject: [PATCH] Revert "don't accept suggestions with tab when in snippet mode, fixes #50776" This reverts commit ba476a64b17a657741aff89f0bcfd1b5a2c37178. --- src/vs/editor/contrib/suggest/suggestController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/editor/contrib/suggest/suggestController.ts b/src/vs/editor/contrib/suggest/suggestController.ts index e073751d3f3..f92c3459f73 100644 --- a/src/vs/editor/contrib/suggest/suggestController.ts +++ b/src/vs/editor/contrib/suggest/suggestController.ts @@ -355,7 +355,7 @@ registerEditorCommand(new SuggestCommand({ handler: x => x.acceptSelectedSuggestion(), kbOpts: { weight: weight, - kbExpr: ContextKeyExpr.and(EditorContextKeys.textInputFocus, SnippetController2.InSnippetMode.toNegated()), + kbExpr: EditorContextKeys.textInputFocus, primary: KeyCode.Tab } })); -- GitLab