Skip to content

Commit

Permalink
add focus input command to f1 (#183438)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 25, 2023
1 parent fdf6802 commit 97762b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ export class FocusInteractiveEditor extends EditorAction2 {
constructor() {
super({
id: 'interactiveEditor.focus',
title: localize('focus', 'Focus'),
title: { value: localize('focus', 'Focus Input'), original: 'Focus Input' },
f1: true,
category: AbstractInteractiveEditorAction.category,
precondition: ContextKeyExpr.and(EditorContextKeys.editorTextFocus, CTX_INTERACTIVE_EDITOR_VISIBLE, CTX_INTERACTIVE_EDITOR_FOCUSED.negate(), CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()),
keybinding: [{
Expand Down

0 comments on commit 97762b5

Please sign in to comment.