bring notebook actions back to editor title bar menu static.
This commit is contained in:
parent
ceff50539f
commit
ce9298464e
1 changed files with 3 additions and 3 deletions
|
@ -626,7 +626,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|||
when: NOTEBOOK_EDITOR_FOCUSED
|
||||
});
|
||||
|
||||
MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
||||
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
||||
command: {
|
||||
id: EXECUTE_NOTEBOOK_COMMAND_ID,
|
||||
title: localize('notebookActions.menu.executeNotebook', "Execute Notebook (Run all cells)"),
|
||||
|
@ -637,7 +637,7 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
|||
when: ContextKeyExpr.and(executeNotebookCondition, ContextKeyExpr.or(NOTEBOOK_INTERRUPTIBLE_KERNEL.toNegated(), NOTEBOOK_HAS_RUNNING_CELL.toNegated()))
|
||||
});
|
||||
|
||||
MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
||||
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
||||
command: {
|
||||
id: CANCEL_NOTEBOOK_COMMAND_ID,
|
||||
title: localize('notebookActions.menu.cancelNotebook', "Stop Notebook Execution"),
|
||||
|
@ -1520,7 +1520,7 @@ registerAction2(class extends NotebookAction {
|
|||
id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
|
||||
title: localize('clearAllCellsOutputs', 'Clear All Cells Outputs'),
|
||||
menu: {
|
||||
id: MenuId.NotebookToolbar,
|
||||
id: MenuId.EditorTitle,
|
||||
// when: NOTEBOOK_IS_ACTIVE_EDITOR,
|
||||
group: 'navigation',
|
||||
order: 0
|
||||
|
|
Loading…
Reference in a new issue