git: viewlet overflow commands

This commit is contained in:
Joao Moreno
2017-01-12 16:08:47 +01:00
parent 421d88f96e
commit b6eda35873

View File

@@ -95,14 +95,64 @@
}
},
{
"command": "git.publish",
"title": "Publish",
"command": "git.commitStaged",
"title": "Commit Staged",
"category": "Git"
},
{
"command": "git.commitStagedSigned",
"title": "Commit Staged (Signed Off)",
"category": "Git"
},
{
"command": "git.commitAll",
"title": "Commit All",
"category": "Git"
},
{
"command": "git.commitAllSigned",
"title": "Commit All (Signed Off)",
"category": "Git"
},
{
"command": "git.undoCommit",
"title": "Undo Last Commit",
"category": "Git"
},
{
"command": "git.pull",
"title": "Pull",
"category": "Git"
},
{
"command": "git.pullRebase",
"title": "Pull (Rebase)",
"category": "Git"
},
{
"command": "git.push",
"title": "Push",
"category": "Git"
},
{
"command": "git.pushTo",
"title": "Push to...",
"category": "Git"
},
{
"command": "git.sync",
"title": "Sync",
"category": "Git"
},
{
"command": "git.publish",
"title": "Publish",
"category": "Git"
},
{
"command": "git.showOutput",
"title": "Show Git Output",
"category": "Git"
}
],
"menus": {
@@ -111,6 +161,76 @@
"command": "git.refresh",
"group": "navigation",
"when": "scmProvider == git"
},
{
"command": "git.sync",
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.pull",
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.pullRebase",
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.push",
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.pushTo",
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.publish",
"group": "2_publish",
"when": "scmProvider == git"
},
{
"command": "git.commitStaged",
"group": "3_commit",
"when": "scmProvider == git"
},
{
"command": "git.commitStagedSigned",
"group": "3_commit",
"when": "scmProvider == git"
},
{
"command": "git.commitAll",
"group": "3_commit",
"when": "scmProvider == git"
},
{
"command": "git.commitAllSigned",
"group": "3_commit",
"when": "scmProvider == git"
},
{
"command": "git.undoCommit",
"group": "3_commit",
"when": "scmProvider == git"
},
{
"command": "git.unstageAll",
"group": "4_stage",
"when": "scmProvider == git"
},
{
"command": "git.cleanAll",
"group": "4_stage",
"when": "scmProvider == git"
},
{
"command": "git.showOutput",
"group": "5_output",
"when": "scmProvider == git"
}
],
"scm/resourceGroup/context": [