Skip to content

Commit

Permalink
Merge pull request #76241 from jeanp413/fix-76214
Browse files Browse the repository at this point in the history
Update precondition for ShowExtensionEditorFindCommand
  • Loading branch information
mjbvz committed Jun 28, 2019
2 parents 378ff3f + 8af4026 commit 5f6f769
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1115,7 +1115,7 @@ class ShowExtensionEditorFindCommand extends Command {
}
const showCommand = new ShowExtensionEditorFindCommand({
id: 'editor.action.extensioneditor.showfind',
precondition: ContextKeyExpr.equals('activeEditor', ExtensionEditor.ID),
precondition: ContextKeyExpr.and(ContextKeyExpr.equals('activeEditor', ExtensionEditor.ID), ContextKeyExpr.not('editorFocus')),
kbOpts: {
primary: KeyMod.CtrlCmd | KeyCode.KEY_F,
weight: KeybindingWeight.EditorContrib
Expand Down

0 comments on commit 5f6f769

Please sign in to comment.