fix(git): 🐛 git api commands should be registered as contributions
Closes: #111658
This commit is contained in:
parent
ace51630a9
commit
5dfa71a9e8
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -85,6 +85,7 @@
|
|||
"grid",
|
||||
"splitview",
|
||||
"table",
|
||||
"list"
|
||||
"list",
|
||||
"git"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -515,6 +515,21 @@
|
|||
"command": "git.rebaseAbort",
|
||||
"title": "%command.rebaseAbort%",
|
||||
"category": "Git"
|
||||
},
|
||||
{
|
||||
"command": "git.api.getRepositories",
|
||||
"title": "%command.api.getRepositories%",
|
||||
"category": "Git API"
|
||||
},
|
||||
{
|
||||
"command": "git.api.getRepositoryState",
|
||||
"title": "%command.api.getRepositoryState%",
|
||||
"category": "Git API"
|
||||
},
|
||||
{
|
||||
"command": "git.api.getRemoteSources",
|
||||
"title": "%command.api.getRemoteSources%",
|
||||
"category": "Git API"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
|
@ -898,6 +913,18 @@
|
|||
{
|
||||
"command": "git.timeline.compareWithSelected",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.api.getRepositories",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.api.getRepositoryState",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.api.getRemoteSources",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"scm/title": [
|
||||
|
|
|
@ -92,6 +92,9 @@
|
|||
"command.timelineCopyCommitMessage": "Copy Commit Message",
|
||||
"command.timelineSelectForCompare": "Select for Compare",
|
||||
"command.timelineCompareWithSelected": "Compare with Selected",
|
||||
"command.api.getRepositories": "Get Repositories",
|
||||
"command.api.getRepositoryState": "Get Repository State",
|
||||
"command.api.getRemoteSources": "Get Remote Sources",
|
||||
"config.enabled": "Whether git is enabled.",
|
||||
"config.path": "Path and filename of the git executable, e.g. `C:\\Program Files\\Git\\bin\\git.exe` (Windows). This can also be an array of string values containing multiple paths to look up.",
|
||||
"config.autoRepositoryDetection": "Configures when repositories should be automatically detected.",
|
||||
|
|
Loading…
Reference in a new issue