From a519324eb1145f72d0be4c4e9af92ded7424ec0d Mon Sep 17 00:00:00 2001 From: Hellebore Date: Thu, 17 Dec 2020 12:57:14 +0000 Subject: [PATCH] move sourcery commands to submenus --- package.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6b67f46d..aceb1a27 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "commands": [ { "command": "sourcery.refactor.workspace", - "title": "Scan with Sourcery", + "title": "Scan for refactorings", "category": "Sourcery" }, { @@ -38,8 +38,20 @@ "category": "Sourcery" } ], + "submenus": [ + { + "id": "sourcery.scans", + "label": "Sourcery" + } + ], "menus": { "explorer/context": [ + { + "submenu": "sourcery.scans", + "group": "1_modification@1" + } + ], + "sourcery.scans": [ { "command": "sourcery.refactor.workspace", "group": "1_modification@1"