Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/workbench/contrib/notebook/browser/controller/coreActions.ts')
-rw-r--r--src/vs/workbench/contrib/notebook/browser/controller/coreActions.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/notebook/browser/controller/coreActions.ts b/src/vs/workbench/contrib/notebook/browser/controller/coreActions.ts
index f7b01782aa0..9a42a89b378 100644
--- a/src/vs/workbench/contrib/notebook/browser/controller/coreActions.ts
+++ b/src/vs/workbench/contrib/notebook/browser/controller/coreActions.ts
@@ -42,7 +42,8 @@ export const enum CellToolbarOrder {
export const enum CellOverflowToolbarGroups {
Copy = '1_copy',
Insert = '2_insert',
- Edit = '3_edit'
+ Edit = '3_edit',
+ Share = '4_share'
}
export interface INotebookActionContext {
@@ -427,3 +428,9 @@ MenuRegistry.appendMenuItem(MenuId.EditorContext, {
group: CellOverflowToolbarGroups.Insert,
when: NOTEBOOK_EDITOR_FOCUSED
});
+
+MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
+ title: localize('miShare', "Share"),
+ submenu: MenuId.EditorContextShare,
+ group: CellOverflowToolbarGroups.Share
+});