mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Support continue in local clone from remote window (#171134)
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"telemetryLogger",
|
||||
"diffCommand",
|
||||
"contribEditorContentMenu",
|
||||
"contribEditSessions",
|
||||
"contribViewsWelcome",
|
||||
"editSessionIdentityProvider",
|
||||
"scmActionButton",
|
||||
@@ -50,6 +51,13 @@
|
||||
},
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "git.continueInLocalClone",
|
||||
"title": "%command.continueInLocalClone%",
|
||||
"category": "Git",
|
||||
"icon": "$(repo-clone)",
|
||||
"enablement": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && remoteName"
|
||||
},
|
||||
{
|
||||
"command": "git.clone",
|
||||
"title": "%command.clone%",
|
||||
@@ -706,6 +714,13 @@
|
||||
"category": "Git"
|
||||
}
|
||||
],
|
||||
"continueEditSession": [
|
||||
{
|
||||
"command": "git.continueInLocalClone",
|
||||
"qualifiedName": "%command.continueInLocalClone.qualifiedName%",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && remoteName"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"command": "git.stageSelectedRanges",
|
||||
@@ -728,6 +743,10 @@
|
||||
],
|
||||
"menus": {
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "git.continueInLocalClone",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.clone",
|
||||
"when": "config.git.enabled && !git.missing"
|
||||
|
||||
Reference in New Issue
Block a user