fix #106487 Contribute an "activating" placeholder message and button

This commit is contained in:
gjsjohnmurray
2020-09-29 15:23:07 +01:00
parent 4c72203007
commit 4e00a9b1a5
2 changed files with 7 additions and 0 deletions

View File

@@ -2104,6 +2104,12 @@
"when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount == 0",
"group": "2_open@1"
},
{
"view": "explorer",
"contents": "%view.workbench.activating%",
"when": "config.git.enabled && git.state != initialized",
"group": "5_scm@1"
},
{
"view": "explorer",
"contents": "%view.workbench.cloneRepository%",

View File

@@ -181,5 +181,6 @@
"view.workbench.scm.folder": "The folder currently open doesn't have a git repository. You can initialize a repository which will enable source control features powered by git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
"view.workbench.scm.workspace": "The workspace currently open doesn't have any folders containing git repositories. You can initialize a repository on a folder which will enable source control features powered by git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
"view.workbench.scm.emptyWorkspace": "The workspace currently open doesn't have any folders containing git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
"view.workbench.activating": "Git extension is activating...\n[Learn More](https://aka.ms/vscode-scm)",
"view.workbench.cloneRepository": "You can also clone a repository from a URL. To learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).\n[Clone Repository](command:git.clone)"
}