added IW commands to palette (#161533)

* added IW commands to palette

* disambiguate command category

* don't hijack shift+tab keybinding
This commit is contained in:
Aaron Munger 2022-09-23 14:06:42 -07:00 committed by GitHub
parent 9dc9b5a5bf
commit a82c06a66f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,7 +325,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: [
@ -441,7 +441,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),
@ -557,7 +557,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
});
}
@ -583,7 +583,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(
@ -622,7 +622,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(
@ -668,7 +668,7 @@ registerAction2(class extends Action2 {
mac: { primary: KeyMod.CtrlCmd | KeyCode.UpArrow },
weight: KeybindingWeight.WorkbenchContrib
},
category: 'Interactive',
category: 'Interactive Window',
});
}
@ -697,7 +697,7 @@ registerAction2(class extends Action2 {
mac: { primary: KeyMod.CtrlCmd | KeyCode.DownArrow },
weight: KeybindingWeight.WorkbenchContrib
},
category: 'Interactive',
category: 'Interactive Window',
});
}
@ -721,8 +721,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
});
}
@ -756,8 +756,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),
});
}