SCM - add more commands to the repositories view (#274352)

* SCM - artifact tree improvements

* Add support for compression

* Add more commands
This commit is contained in:
Ladislau Szomoru
2025-10-31 14:44:15 +00:00
committed by GitHub
parent 4b1a7b8b8c
commit e82ab3b366
5 changed files with 251 additions and 87 deletions

View File

@@ -1028,6 +1028,18 @@
"icon": "$(target)",
"category": "Git",
"enablement": "!operationInProgress"
},
{
"command": "git.repositories.checkoutDetached",
"title": "%command.graphCheckoutDetached%",
"category": "Git",
"enablement": "!operationInProgress"
},
{
"command": "git.repositories.compareRef",
"title": "%command.graphCompareRef%",
"category": "Git",
"enablement": "!operationInProgress"
}
],
"continueEditSession": [
@@ -1655,6 +1667,14 @@
{
"command": "git.repositories.checkout",
"when": "false"
},
{
"command": "git.repositories.checkoutDetached",
"when": "false"
},
{
"command": "git.repositories.compareRef",
"when": "false"
}
],
"scm/title": [
@@ -1862,6 +1882,21 @@
"command": "git.repositories.checkout",
"group": "inline@1",
"when": "scmProvider == git"
},
{
"command": "git.repositories.checkout",
"group": "1_checkout@1",
"when": "scmProvider == git"
},
{
"command": "git.repositories.checkoutDetached",
"group": "1_checkout@2",
"when": "scmProvider == git"
},
{
"command": "git.repositories.compareRef",
"group": "2_compare@1",
"when": "scmProvider == git"
}
],
"scm/resourceGroup/context": [