2016-03-11 15:29:33 +00:00
|
|
|
{
|
2016-10-12 14:37:06 +00:00
|
|
|
"name": "git",
|
|
|
|
"publisher": "vscode",
|
|
|
|
"displayName": "git",
|
|
|
|
"description": "Git",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.5.0"
|
|
|
|
},
|
2016-11-24 15:24:32 +00:00
|
|
|
"enableProposedApi": true,
|
2016-10-12 14:37:06 +00:00
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"*"
|
|
|
|
],
|
|
|
|
"main": "./out/main",
|
|
|
|
"scripts": {
|
2016-11-23 11:03:23 +00:00
|
|
|
"compile": "gulp compile-extension:git",
|
|
|
|
"watch": "gulp watch-extension:git"
|
2016-10-12 14:37:06 +00:00
|
|
|
},
|
|
|
|
"contributes": {
|
2016-11-25 12:08:41 +00:00
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "git.refresh",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.refresh%",
|
2016-11-25 12:08:41 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/refresh.svg",
|
|
|
|
"dark": "resources/icons/dark/refresh.svg"
|
|
|
|
}
|
2016-11-28 10:08:37 +00:00
|
|
|
},
|
|
|
|
{
|
2017-01-09 09:41:33 +00:00
|
|
|
"command": "git.openChange",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.openChange%",
|
2016-11-28 10:08:37 +00:00
|
|
|
"category": "Git"
|
2016-12-01 14:12:27 +00:00
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.openFile",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.openFile%",
|
2017-01-09 09:41:33 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2016-12-01 14:12:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.stage",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.stage%",
|
2016-12-01 15:09:14 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/stage.svg",
|
|
|
|
"dark": "resources/icons/dark/stage.svg"
|
|
|
|
}
|
2016-12-01 14:12:27 +00:00
|
|
|
},
|
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.stageAll",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.stageAll%",
|
2016-12-01 15:09:14 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/stage.svg",
|
|
|
|
"dark": "resources/icons/dark/stage.svg"
|
|
|
|
}
|
2016-12-01 14:12:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.unstage%",
|
2016-12-01 15:09:14 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/unstage.svg",
|
|
|
|
"dark": "resources/icons/dark/unstage.svg"
|
|
|
|
}
|
2016-12-01 14:12:27 +00:00
|
|
|
},
|
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.unstageAll",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.unstageAll%",
|
2016-12-01 15:09:14 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/unstage.svg",
|
|
|
|
"dark": "resources/icons/dark/unstage.svg"
|
|
|
|
}
|
2017-01-09 09:41:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.clean",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.clean%",
|
2017-01-09 09:41:33 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/clean.svg",
|
|
|
|
"dark": "resources/icons/dark/clean.svg"
|
|
|
|
}
|
2017-01-09 09:45:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.cleanAll%",
|
2017-01-09 09:45:37 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/clean.svg",
|
|
|
|
"dark": "resources/icons/dark/clean.svg"
|
|
|
|
}
|
2017-01-11 17:56:15 +00:00
|
|
|
},
|
2017-01-31 10:15:52 +00:00
|
|
|
{
|
|
|
|
"command": "git.commit",
|
|
|
|
"title": "%command.commit%",
|
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-11 17:56:15 +00:00
|
|
|
{
|
2017-01-12 15:08:47 +00:00
|
|
|
"command": "git.commitStaged",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.commitStaged%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStagedSigned",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.commitStagedSigned%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAll",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.commitAll%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAllSigned",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.commitAllSigned%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.undoCommit",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.undoCommit%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-13 10:52:07 +00:00
|
|
|
{
|
|
|
|
"command": "git.checkout",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.checkout%",
|
2017-01-13 10:52:07 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.branch",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.branch%",
|
2017-01-13 10:52:07 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.pull",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.pull%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pullRebase",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.pullRebase%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.push",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.push%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pushTo",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.pushTo%",
|
2017-01-11 17:56:15 +00:00
|
|
|
"category": "Git"
|
2017-01-11 17:59:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.sync",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.sync%",
|
2017-01-11 17:59:57 +00:00
|
|
|
"category": "Git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.publish",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.publish%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.showOutput",
|
2017-01-17 16:38:00 +00:00
|
|
|
"title": "%command.showOutput%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
2016-11-25 12:08:41 +00:00
|
|
|
}
|
|
|
|
],
|
2017-01-31 10:15:52 +00:00
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"command": "git.commitWithInput",
|
|
|
|
"key": "ctrl+enter",
|
|
|
|
"mac": "cmd+enter",
|
|
|
|
"when": "inSCMInput"
|
|
|
|
}
|
|
|
|
],
|
2016-11-25 12:08:41 +00:00
|
|
|
"menus": {
|
2016-12-05 17:44:12 +00:00
|
|
|
"scm/title": [
|
2016-11-25 12:08:41 +00:00
|
|
|
{
|
|
|
|
"command": "git.refresh",
|
2016-12-05 17:44:12 +00:00
|
|
|
"group": "navigation",
|
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.sync",
|
|
|
|
"group": "1_sync",
|
|
|
|
"when": "scmProvider == git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pull",
|
|
|
|
"group": "1_sync",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pullRebase",
|
|
|
|
"group": "1_sync",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.push",
|
|
|
|
"group": "1_sync",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pushTo",
|
|
|
|
"group": "1_sync",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.publish",
|
|
|
|
"group": "2_publish",
|
|
|
|
"when": "scmProvider == git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStaged",
|
|
|
|
"group": "3_commit",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStagedSigned",
|
|
|
|
"group": "3_commit",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAll",
|
|
|
|
"group": "3_commit",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAllSigned",
|
|
|
|
"group": "3_commit",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.undoCommit",
|
|
|
|
"group": "3_commit",
|
2017-01-16 09:30:17 +00:00
|
|
|
"when": "scmProvider == none"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
2016-12-01 14:12:27 +00:00
|
|
|
}
|
|
|
|
],
|
2016-12-05 17:44:12 +00:00
|
|
|
"scm/resourceGroup/context": [
|
2017-01-11 11:10:48 +00:00
|
|
|
{
|
|
|
|
"command": "git.stageAll",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stageAll",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
|
|
"group": "inline"
|
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.unstageAll",
|
2017-01-09 09:45:37 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
|
|
"group": "1_modification"
|
2016-12-02 11:25:41 +00:00
|
|
|
},
|
2016-12-01 14:12:27 +00:00
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.unstageAll",
|
2017-01-09 09:45:37 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
|
|
"group": "inline"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "1_modification"
|
2016-12-05 17:44:12 +00:00
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.stageAll",
|
2017-01-09 09:45:37 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "inline"
|
2016-12-02 11:25:41 +00:00
|
|
|
},
|
2016-12-01 14:12:27 +00:00
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.stageAll",
|
2017-01-09 09:45:37 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "inline"
|
2016-12-01 14:12:27 +00:00
|
|
|
}
|
|
|
|
],
|
2016-12-05 17:44:12 +00:00
|
|
|
"scm/resource/context": [
|
2017-01-11 11:10:48 +00:00
|
|
|
{
|
|
|
|
"command": "git.stage",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stage",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
|
|
"group": "inline"
|
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2017-01-09 09:41:33 +00:00
|
|
|
"command": "git.openChange",
|
2017-01-09 09:45:37 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
|
|
"group": "navigation"
|
2016-12-02 11:25:41 +00:00
|
|
|
},
|
2016-12-01 14:12:27 +00:00
|
|
|
{
|
2017-01-09 09:41:33 +00:00
|
|
|
"command": "git.openFile",
|
2017-01-09 09:45:37 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
|
|
"group": "navigation"
|
2016-12-05 17:44:12 +00:00
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
|
|
"group": "inline"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.openChange",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "navigation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.openFile",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "navigation"
|
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2016-12-05 17:44:12 +00:00
|
|
|
"command": "git.stage",
|
2017-01-09 09:41:33 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.clean",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.clean",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "inline"
|
2016-12-02 11:25:41 +00:00
|
|
|
},
|
2016-11-28 10:08:37 +00:00
|
|
|
{
|
2016-12-01 14:12:27 +00:00
|
|
|
"command": "git.stage",
|
2017-01-09 09:41:33 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
|
|
"group": "inline"
|
2016-11-25 12:08:41 +00:00
|
|
|
}
|
|
|
|
]
|
2017-01-20 18:50:34 +00:00
|
|
|
}
|
2016-10-12 14:37:06 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2016-11-28 16:18:46 +00:00
|
|
|
"vscode-nls": "^2.0.1"
|
2016-10-12 14:37:06 +00:00
|
|
|
}
|
2016-11-29 16:09:55 +00:00
|
|
|
}
|