Skip to content

Commit

Permalink
Revert "don't accept suggestions with tab when in snippet mode, fixes #…
Browse files Browse the repository at this point in the history
…50776"

This reverts commit ba476a6.
  • Loading branch information
jrieken committed Jun 27, 2018
1 parent 5718c7e commit 44c99e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/suggest/suggestController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}));
Expand Down

0 comments on commit 44c99e2

Please sign in to comment.