提交 d5893ac0 编写于 作者: R Rob Lourens

Use debug stop icon to stop cell execution

上级 f46b2fc5
......@@ -79,8 +79,8 @@ registerAction2(class extends Action2 {
constructor() {
super({
id: CANCEL_CELL_COMMAND_ID,
title: localize('notebookActions.cancel', "Cancel Execution"),
icon: { id: 'codicon/stop' }
title: localize('notebookActions.cancel', "Stop Execution"),
icon: { id: 'codicon/debug-stop' }
});
}
......@@ -123,7 +123,7 @@ export class CancelCellAction extends MenuItemAction {
{
id: CANCEL_CELL_COMMAND_ID,
title: localize('notebookActions.CancelCell', "Cancel Execution"),
icon: { id: 'codicon/stop' }
icon: { id: 'codicon/debug-stop' }
},
undefined,
{ shouldForwardArgs: true },
......@@ -351,8 +351,8 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
command: {
id: CANCEL_NOTEBOOK_COMMAND_ID,
title: localize('notebookActions.menu.cancelNotebook', "Cancel Notebook Execution"),
icon: { id: 'codicon/stop' }
title: localize('notebookActions.menu.cancelNotebook', "Stop Notebook Execution"),
icon: { id: 'codicon/debug-stop' }
},
order: -1,
group: 'navigation',
......@@ -366,7 +366,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
title: localize('notebookActions.menu.execute', "Execute Notebook Cell"),
icon: { id: 'codicon/run' }
},
order: -1,
order: 0,
group: 'navigation',
when: NOTEBOOK_EDITOR_FOCUSED
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册