Skip to content

Commit a519324

Browse files
committed
move sourcery commands to submenus
1 parent 4fd7316 commit a519324

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"commands": [
3030
{
3131
"command": "sourcery.refactor.workspace",
32-
"title": "Scan with Sourcery",
32+
"title": "Scan for refactorings",
3333
"category": "Sourcery"
3434
},
3535
{
@@ -38,8 +38,20 @@
3838
"category": "Sourcery"
3939
}
4040
],
41+
"submenus": [
42+
{
43+
"id": "sourcery.scans",
44+
"label": "Sourcery"
45+
}
46+
],
4147
"menus": {
4248
"explorer/context": [
49+
{
50+
"submenu": "sourcery.scans",
51+
"group": "1_modification@1"
52+
}
53+
],
54+
"sourcery.scans": [
4355
{
4456
"command": "sourcery.refactor.workspace",
4557
"group": "1_modification@1"

0 commit comments

Comments
 (0)