Skip to content

Commit

Permalink
Group the Gradle related menus in the file explorer into a submenu la…
Browse files Browse the repository at this point in the history
…beled 'Gradle'
  • Loading branch information
testforstephen committed Feb 27, 2024
1 parent cdad052 commit 94b55bd
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@
"icon": "$(sync)"
}
],
"submenus": [
{
"id": "explorer/gradle",
"label": "Gradle"
}
],
"menus": {
"commandPalette": [
{
Expand Down Expand Up @@ -675,9 +681,9 @@
],
"explorer/context": [
{
"when": "resourceFilename =~ /^((?!settings).)*\\.gradle(\\.kts)?$/",
"command": "gradle.showTasks",
"group": "gradle@0"
"submenu": "explorer/gradle",
"when": "resourceFilename =~ /^.*\\.gradle(\\.kts)?$/",
"group": "1_javaactions@200"
}
],
"editor/context": [
Expand All @@ -696,6 +702,13 @@
"command": "gradle.openBuildFile",
"group": "gradle@30"
}
],
"explorer/gradle": [
{
"when": "resourceFilename =~ /^((?!settings).)*\\.gradle(\\.kts)?$/",
"command": "gradle.showTasks",
"group": "gradle@10"
}
]
},
"configuration": {
Expand Down

0 comments on commit 94b55bd

Please sign in to comment.