mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
git: more empty view documentation
This commit is contained in:
parent
52d3df6bf2
commit
3e8bb6cfd4
|
@ -1766,8 +1766,18 @@
|
|||
"view": [
|
||||
{
|
||||
"view": "workbench.scm",
|
||||
"contents": "Git is installed, but you currently don't have a folder open.\n[Open Folder](command:vscode.openFolder)",
|
||||
"when": "workbenchState == empty"
|
||||
"contents": "%view.workbench.scm.empty%",
|
||||
"when": "config.git.enabled && workbenchState == empty"
|
||||
},
|
||||
{
|
||||
"view": "workbench.scm",
|
||||
"contents": "%view.workbench.scm.folder%",
|
||||
"when": "config.git.enabled && workbenchState == folder"
|
||||
},
|
||||
{
|
||||
"view": "workbench.scm",
|
||||
"contents": "%view.workbench.scm.workspace%",
|
||||
"when": "config.git.enabled && workbenchState == workspace"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -146,5 +146,8 @@
|
|||
"colors.untracked": "Color for untracked resources.",
|
||||
"colors.ignored": "Color for ignored resources.",
|
||||
"colors.conflict": "Color for resources with conflicts.",
|
||||
"colors.submodule": "Color for submodule resources."
|
||||
"colors.submodule": "Color for submodule resources.",
|
||||
"view.workbench.scm.empty": "In order to use git features, you can open a folder containing a git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone from URL](command:git.clone)\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.folder": "The folder currently open doesn't have a git repository.\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.workspace": "The workspace currently open doesn't have any folders containing git repositories.\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)."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue