mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
add focus input command to f1 (#183438)
https://github.com/microsoft/vscode-copilot-release/issues/81
This commit is contained in:
parent
fdf68021ff
commit
97762b52c8
|
@ -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: [{
|
||||
|
|
Loading…
Reference in a new issue