Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group the Gradle related menus in the file explorer into a submenu labeled 'Gradle' #1474

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading