mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 04:17:37 +00:00
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:
parent
9dc9b5a5bf
commit
a82c06a66f
1 changed files with 12 additions and 11 deletions
|
@ -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),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue