mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
SCM - Add "Reopen Closed Repositories..." action to the "Source control Repositories" view title bar (#203512)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"contribSourceControlHistoryItemGroupMenu",
|
||||
"contribSourceControlHistoryItemMenu",
|
||||
"contribSourceControlInputBoxMenu",
|
||||
"contribSourceControlTitleMenu",
|
||||
"contribViewsWelcome",
|
||||
"diffCommand",
|
||||
"editSessionIdentityProvider",
|
||||
@@ -94,6 +95,7 @@
|
||||
{
|
||||
"command": "git.reopenClosedRepositories",
|
||||
"title": "%command.reopenClosedRepositories%",
|
||||
"icon": "$(repo)",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress && git.closedRepositoryCount != 0"
|
||||
},
|
||||
@@ -1448,6 +1450,13 @@
|
||||
"when": "scmProvider == git"
|
||||
}
|
||||
],
|
||||
"scm/sourceControl/title": [
|
||||
{
|
||||
"command": "git.reopenClosedRepositories",
|
||||
"group": "navigation@1",
|
||||
"when": "scmProvider == git && git.closedRepositoryCount > 0"
|
||||
}
|
||||
],
|
||||
"scm/sourceControl": [
|
||||
{
|
||||
"command": "git.close",
|
||||
|
||||
Reference in New Issue
Block a user