diff --git a/src/vs/workbench/contrib/interactive/browser/interactive.contribution.ts b/src/vs/workbench/contrib/interactive/browser/interactive.contribution.ts index 4647031ad07d2..3acf74b5e5e43 100644 --- a/src/vs/workbench/contrib/interactive/browser/interactive.contribution.ts +++ b/src/vs/workbench/contrib/interactive/browser/interactive.contribution.ts @@ -324,7 +324,7 @@ registerAction2(class extends Action2 { id: '_interactive.open', title: { value: localize('interactive.open', "Open Interactive Window"), original: 'Open Interactive Window' }, f1: false, - category: 'Interactive', + category: 'Interactive Window', description: { description: localize('interactive.open', "Open Interactive Window"), args: [ @@ -440,7 +440,7 @@ registerAction2(class extends Action2 { super({ id: 'interactive.execute', title: { value: localize('interactive.execute', "Execute Code"), original: 'Execute Code' }, - category: 'Interactive', + category: 'Interactive Window', keybinding: { // when: NOTEBOOK_CELL_LIST_FOCUSED, when: ContextKeyExpr.equals('resourceScheme', Schemas.vscodeInteractive), @@ -546,7 +546,7 @@ registerAction2(class extends Action2 { super({ id: 'interactive.input.clear', title: { value: localize('interactive.input.clear', "Clear the interactive window input editor contents"), original: 'Clear the interactive window input editor contents' }, - category: 'Interactive', + category: 'Interactive Window', f1: false }); } @@ -572,7 +572,7 @@ registerAction2(class extends Action2 { super({ id: 'interactive.history.previous', title: { value: localize('interactive.history.previous', "Previous value in history"), original: 'Previous value in history' }, - category: 'Interactive', + category: 'Interactive Window', f1: false, keybinding: { when: ContextKeyExpr.and( @@ -611,7 +611,7 @@ registerAction2(class extends Action2 { super({ id: 'interactive.history.next', title: { value: localize('interactive.history.next', "Next value in history"), original: 'Next value in history' }, - category: 'Interactive', + category: 'Interactive Window', f1: false, keybinding: { when: ContextKeyExpr.and( @@ -657,7 +657,7 @@ registerAction2(class extends Action2 { mac: { primary: KeyMod.CtrlCmd | KeyCode.UpArrow }, weight: KeybindingWeight.WorkbenchContrib }, - category: 'Interactive', + category: 'Interactive Window', }); } @@ -686,7 +686,7 @@ registerAction2(class extends Action2 { mac: { primary: KeyMod.CtrlCmd | KeyCode.DownArrow }, weight: KeybindingWeight.WorkbenchContrib }, - category: 'Interactive', + category: 'Interactive Window', }); } @@ -710,8 +710,8 @@ registerAction2(class extends Action2 { super({ id: 'interactive.input.focus', title: { value: localize('interactive.input.focus', "Focus input editor in the interactive window"), original: 'Focus input editor in the interactive window' }, - category: 'Interactive', - f1: false + category: 'Interactive Window', + f1: true }); } @@ -745,8 +745,9 @@ registerAction2(class extends Action2 { super({ id: 'interactive.history.focus', title: { value: localize('interactive.history.focus', "Focus history in the interactive window"), original: 'Focus input editor in the interactive window' }, - category: 'Interactive', - f1: false + category: 'Interactive Window', + f1: true, + precondition: ContextKeyExpr.equals('resourceScheme', Schemas.vscodeInteractive), }); }