mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
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:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user