Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added IW commands to palette #161533

Merged
merged 3 commits into from Sep 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -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: [
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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
});
}
Expand All @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -657,7 +657,7 @@ registerAction2(class extends Action2 {
mac: { primary: KeyMod.CtrlCmd | KeyCode.UpArrow },
weight: KeybindingWeight.WorkbenchContrib
},
category: 'Interactive',
category: 'Interactive Window',
});
}

Expand Down Expand Up @@ -686,7 +686,7 @@ registerAction2(class extends Action2 {
mac: { primary: KeyMod.CtrlCmd | KeyCode.DownArrow },
weight: KeybindingWeight.WorkbenchContrib
},
category: 'Interactive',
category: 'Interactive Window',
});
}

Expand All @@ -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
});
}

Expand Down Expand Up @@ -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),
});
}

Expand Down