Add commands

This commit is contained in:
Krzysztof Cieślak
2017-06-20 22:54:14 +02:00
parent 4cd45c49bd
commit 13484ae98d
3 changed files with 85 additions and 1 deletions

View File

@@ -251,6 +251,21 @@
"command": "git.ignore",
"title": "%command.ignore%",
"category": "Git"
},
{
"command": "git.stash",
"title": "%command.stash%",
"category": "Git"
},
{
"command": "git.stashPop",
"title": "%command.stashPop%",
"category": "Git"
},
{
"command": "git.stashPopLatest",
"title": "%command.stashPopLatest%",
"category": "Git"
}
],
"menus": {
@@ -402,6 +417,18 @@
{
"command": "git.showOutput",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.stash",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.stashPop",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.stashPopLatest",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
}
],
"scm/title": [
@@ -501,7 +528,22 @@
},
{
"command": "git.showOutput",
"group": "5_output",
"group": "6_output",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.stash",
"group": "5_stash",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.stashPop",
"group": "5_stash",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.stashPopLatest",
"group": "5_stash",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
}
],