From 4e00a9b1a5942c6e8e81d1a22e18f640b8ba7f12 Mon Sep 17 00:00:00 2001 From: gjsjohnmurray Date: Tue, 29 Sep 2020 15:23:07 +0100 Subject: [PATCH] fix #106487 Contribute an "activating" placeholder message and button --- extensions/git/package.json | 6 ++++++ extensions/git/package.nls.json | 1 + 2 files changed, 7 insertions(+) diff --git a/extensions/git/package.json b/extensions/git/package.json index 975e81f7d27..3ce5776241f 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -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%", diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json index 7300b63acbc..f8838782e3d 100644 --- a/extensions/git/package.nls.json +++ b/extensions/git/package.nls.json @@ -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)" }