Add "Copy As..." core submenu to editor context and Edit titlebar menu (#118212)

* add "Copy As..." submenu

fixes #118208

* bad editing

* address feedback

* menuBar/edit/copy menu
This commit is contained in:
João Moreno
2021-03-15 14:38:43 +01:00
committed by GitHub
parent 11b1f937eb
commit a4adb60e88
5 changed files with 33 additions and 10 deletions

View File

@@ -53,6 +53,11 @@ const apiMenus: IAPIMenu[] = [
id: MenuId.EditorContext,
description: localize('menus.editorContext', "The editor context menu")
},
{
key: 'editor/context/copy',
id: MenuId.EditorContextCopy,
description: localize('menus.editorContextCopyAs', "'Copy as' submenu in the editor context menu")
},
{
key: 'explorer/context',
id: MenuId.ExplorerContext,
@@ -91,6 +96,11 @@ const apiMenus: IAPIMenu[] = [
proposed: true,
supportsSubmenus: false
},
{
key: 'menuBar/edit/copy',
id: MenuId.MenubarCopy,
description: localize('menus.opy', "'Copy as' submenu in the top level Edit menu")
},
{
key: 'scm/title',
id: MenuId.SCMTitle,