SCM - introduce new menu for the repositories view (#272946)

This commit is contained in:
Ladislau Szomoru
2025-10-23 22:40:45 +02:00
committed by GitHub
parent 1877f27c54
commit aaa334f22a
3 changed files with 82 additions and 19 deletions

View File

@@ -1693,13 +1693,85 @@
"when": "scmProvider == git"
}
],
"scm/sourceControl/title": [
"scm/repositories/title": [
{
"command": "git.reopenClosedRepositories",
"group": "navigation@1",
"when": "git.closedRepositoryCount > 0"
}
],
"scm/repository": [
{
"command": "git.pull",
"group": "1_header@1",
"when": "scmProvider == git"
},
{
"command": "git.push",
"group": "1_header@2",
"when": "scmProvider == git"
},
{
"command": "git.clone",
"group": "1_header@3",
"when": "scmProvider == git"
},
{
"command": "git.checkout",
"group": "1_header@4",
"when": "scmProvider == git"
},
{
"command": "git.fetch",
"group": "1_header@5",
"when": "scmProvider == git"
},
{
"submenu": "git.commit",
"group": "2_main@1",
"when": "scmProvider == git"
},
{
"submenu": "git.changes",
"group": "2_main@2",
"when": "scmProvider == git"
},
{
"submenu": "git.pullpush",
"group": "2_main@3",
"when": "scmProvider == git"
},
{
"submenu": "git.branch",
"group": "2_main@4",
"when": "scmProvider == git"
},
{
"submenu": "git.remotes",
"group": "2_main@5",
"when": "scmProvider == git"
},
{
"submenu": "git.stash",
"group": "2_main@6",
"when": "scmProvider == git"
},
{
"submenu": "git.tags",
"group": "2_main@7",
"when": "scmProvider == git"
},
{
"submenu": "git.worktrees",
"group": "2_main@8",
"when": "scmProvider == git"
},
{
"command": "git.showOutput",
"group": "3_footer",
"when": "scmProvider == git"
}
],
"scm/sourceControl": [
{
"command": "git.close",