2016-03-11 15:29:33 +00:00
|
|
|
{
|
2016-10-12 14:37:06 +00:00
|
|
|
"name": "git",
|
2018-02-20 15:00:50 +00:00
|
|
|
"displayName": "%displayName%",
|
|
|
|
"description": "%description%",
|
2016-10-12 14:37:06 +00:00
|
|
|
"publisher": "vscode",
|
2018-02-27 12:02:54 +00:00
|
|
|
"version": "1.0.0",
|
2016-10-12 14:37:06 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.5.0"
|
|
|
|
},
|
2017-02-20 18:32:21 +00:00
|
|
|
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
2016-11-24 15:24:32 +00:00
|
|
|
"enableProposedApi": true,
|
2016-10-12 14:37:06 +00:00
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"*"
|
|
|
|
],
|
|
|
|
"main": "./out/main",
|
2018-02-21 09:04:06 +00:00
|
|
|
"icon": "resources/icons/git.png",
|
2016-10-12 14:37:06 +00:00
|
|
|
"scripts": {
|
2016-11-23 11:03:23 +00:00
|
|
|
"compile": "gulp compile-extension:git",
|
2018-02-20 15:00:50 +00:00
|
|
|
"watch": "gulp watch-extension:git",
|
|
|
|
"update-grammar": "node ./build/update-grammars.js"
|
2016-10-12 14:37:06 +00:00
|
|
|
},
|
|
|
|
"contributes": {
|
2016-11-25 12:08:41 +00:00
|
|
|
"commands": [
|
2017-02-20 14:54:22 +00:00
|
|
|
{
|
|
|
|
"command": "git.clone",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.clone%",
|
2017-02-20 14:54:22 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-02-15 16:46:58 +00:00
|
|
|
{
|
|
|
|
"command": "git.init",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.init%",
|
2017-08-30 13:25:15 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/git.svg",
|
|
|
|
"dark": "resources/icons/dark/git.svg"
|
|
|
|
}
|
2017-02-15 16:46:58 +00:00
|
|
|
},
|
2017-09-28 09:09:30 +00:00
|
|
|
{
|
|
|
|
"command": "git.close",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.close%",
|
2017-09-28 09:09:30 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2016-11-25 12:08:41 +00:00
|
|
|
{
|
|
|
|
"command": "git.refresh",
|
2018-01-30 08:41:14 +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",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.openChange%",
|
2017-02-09 17:24:08 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/open-change.svg",
|
|
|
|
"dark": "resources/icons/dark/open-change.svg"
|
|
|
|
}
|
2016-12-01 14:12:27 +00:00
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.openFile",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.openFile%",
|
2017-02-09 17:24:08 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/open-file.svg",
|
|
|
|
"dark": "resources/icons/dark/open-file.svg"
|
|
|
|
}
|
2017-01-09 09:41:33 +00:00
|
|
|
},
|
2017-12-18 15:04:14 +00:00
|
|
|
{
|
|
|
|
"command": "git.openFile2",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.openFile%",
|
2017-12-18 15:04:14 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/open-file-mono.svg",
|
|
|
|
"dark": "resources/icons/dark/open-file-mono.svg"
|
|
|
|
}
|
|
|
|
},
|
2017-05-15 01:03:38 +00:00
|
|
|
{
|
2017-06-26 14:14:29 +00:00
|
|
|
"command": "git.openHEADFile",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.openHEADFile%",
|
2017-05-15 01:03:38 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2016-12-01 14:12:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.stage",
|
2018-01-30 08:41:14 +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",
|
2018-01-30 08:41:14 +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
|
|
|
},
|
2017-02-17 15:12:13 +00:00
|
|
|
{
|
|
|
|
"command": "git.stageSelectedRanges",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.stageSelectedRanges%",
|
2017-02-17 15:12:13 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-02-17 20:57:24 +00:00
|
|
|
{
|
|
|
|
"command": "git.revertSelectedRanges",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.revertSelectedRanges%",
|
2017-02-17 20:57:24 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-10-11 13:16:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.stageChange",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.stageChange%",
|
2017-10-11 13:16:47 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/stage.svg",
|
|
|
|
"dark": "resources/icons/dark/stage.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.revertChange",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.revertChange%",
|
2017-10-11 13:16:47 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/clean.svg",
|
|
|
|
"dark": "resources/icons/dark/clean.svg"
|
|
|
|
}
|
|
|
|
},
|
2016-12-01 14:12:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
2018-01-30 08:41:14 +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",
|
2018-01-30 08:41:14 +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
|
|
|
},
|
2017-02-17 15:36:17 +00:00
|
|
|
{
|
|
|
|
"command": "git.unstageSelectedRanges",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.unstageSelectedRanges%",
|
2017-02-17 15:36:17 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.clean",
|
2018-01-30 08:41:14 +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",
|
2018-01-30 08:41:14 +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",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commit%",
|
2017-01-31 15:47:04 +00:00
|
|
|
"category": "Git",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icons/light/check.svg",
|
|
|
|
"dark": "resources/icons/dark/check.svg"
|
|
|
|
}
|
2017-01-31 10:15:52 +00:00
|
|
|
},
|
2017-01-11 17:56:15 +00:00
|
|
|
{
|
2017-01-12 15:08:47 +00:00
|
|
|
"command": "git.commitStaged",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commitStaged%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStagedSigned",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commitStagedSigned%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-06-22 12:22:35 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitStagedAmend",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commitStagedAmend%",
|
2017-06-22 12:22:35 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitAll",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commitAll%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAllSigned",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commitAllSigned%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-06-22 12:22:35 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitAllAmend",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.commitAllAmend%",
|
2017-06-22 12:22:35 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.undoCommit",
|
2018-01-30 08:41:14 +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",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.checkout%",
|
2017-01-13 10:52:07 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.branch",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.branch%",
|
2017-01-13 10:52:07 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-05-03 21:53:26 +00:00
|
|
|
{
|
|
|
|
"command": "git.deleteBranch",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.deleteBranch%",
|
2017-05-03 21:53:26 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-08-10 18:00:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.renameBranch",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.renameBranch%",
|
2017-08-10 18:00:27 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-05-01 13:44:00 +00:00
|
|
|
{
|
|
|
|
"command": "git.merge",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.merge%",
|
2017-05-01 13:44:00 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-05-20 17:28:00 +00:00
|
|
|
{
|
|
|
|
"command": "git.createTag",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.createTag%",
|
2017-05-20 17:28:00 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-11-24 10:12:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.fetch",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.fetch%",
|
2017-11-24 10:12:33 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.pull",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.pull%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pullRebase",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.pullRebase%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-05-20 05:48:59 +00:00
|
|
|
{
|
2017-05-20 07:10:04 +00:00
|
|
|
"command": "git.pullFrom",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.pullFrom%",
|
2017-05-20 05:48:59 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.push",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.push%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pushTo",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.pushTo%",
|
2017-01-11 17:56:15 +00:00
|
|
|
"category": "Git"
|
2017-01-11 17:59:57 +00:00
|
|
|
},
|
2017-08-10 13:38:26 +00:00
|
|
|
{
|
|
|
|
"command": "git.pushWithTags",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.pushWithTags%",
|
2017-08-10 13:38:26 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-11 17:59:57 +00:00
|
|
|
{
|
|
|
|
"command": "git.sync",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.sync%",
|
2017-01-11 17:59:57 +00:00
|
|
|
"category": "Git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-07-25 22:06:26 +00:00
|
|
|
{
|
|
|
|
"command": "git.syncRebase",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.syncRebase%",
|
2017-07-25 22:06:26 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.publish",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.publish%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.showOutput",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.showOutput%",
|
2017-01-12 15:08:47 +00:00
|
|
|
"category": "Git"
|
2017-05-01 06:31:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.ignore",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.ignore%",
|
2017-05-01 06:31:17 +00:00
|
|
|
"category": "Git"
|
2017-06-20 20:54:14 +00:00
|
|
|
},
|
2017-09-20 05:06:52 +00:00
|
|
|
{
|
|
|
|
"command": "git.stashIncludeUntracked",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.stashIncludeUntracked%",
|
2017-09-20 05:06:52 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
2017-06-20 20:54:14 +00:00
|
|
|
{
|
|
|
|
"command": "git.stash",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.stash%",
|
2017-06-20 20:54:14 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stashPop",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.stashPop%",
|
2017-06-20 20:54:14 +00:00
|
|
|
"category": "Git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stashPopLatest",
|
2018-01-30 08:41:14 +00:00
|
|
|
"title": "%command.stashPopLatest%",
|
2017-06-20 20:54:14 +00:00
|
|
|
"category": "Git"
|
2016-11-25 12:08:41 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
2017-02-16 09:23:15 +00:00
|
|
|
"commandPalette": [
|
2017-03-20 14:49:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.clone",
|
|
|
|
"when": "config.git.enabled"
|
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.init",
|
2017-08-15 16:03:47 +00:00
|
|
|
"when": "config.git.enabled"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-11-27 14:18:31 +00:00
|
|
|
{
|
|
|
|
"command": "git.close",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-11-27 14:18:31 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.refresh",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.openFile",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-03-31 09:08:46 +00:00
|
|
|
},
|
2017-05-15 01:03:38 +00:00
|
|
|
{
|
2017-06-26 14:14:29 +00:00
|
|
|
"command": "git.openHEADFile",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-05-15 01:03:38 +00:00
|
|
|
},
|
2017-03-31 09:08:46 +00:00
|
|
|
{
|
2017-04-24 09:47:03 +00:00
|
|
|
"command": "git.openChange",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stage",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stageAll",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-03-20 14:49:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stageSelectedRanges",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-03-20 14:49:27 +00:00
|
|
|
},
|
2017-11-01 15:04:07 +00:00
|
|
|
{
|
|
|
|
"command": "git.stageChange",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2017-03-20 14:49:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.revertSelectedRanges",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-11-01 15:04:07 +00:00
|
|
|
{
|
|
|
|
"command": "git.revertChange",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2017-12-18 15:04:14 +00:00
|
|
|
{
|
|
|
|
"command": "git.openFile2",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstageAll",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-03-20 14:49:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstageSelectedRanges",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.clean",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && !gitFreshRepository"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && !gitFreshRepository"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commit",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStaged",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStagedSigned",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-06-22 12:22:35 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitStagedAmend",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-06-22 12:22:35 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitAll",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAllSigned",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-06-22 12:22:35 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitAllAmend",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-06-22 12:22:35 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.undoCommit",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.checkout",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.branch",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-05-03 21:53:26 +00:00
|
|
|
{
|
|
|
|
"command": "git.deleteBranch",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-05-03 21:53:26 +00:00
|
|
|
},
|
2017-08-10 18:00:27 +00:00
|
|
|
{
|
|
|
|
"command": "git.renameBranch",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-08-10 18:00:27 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.pull",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-05-20 05:48:59 +00:00
|
|
|
{
|
2017-06-26 13:42:53 +00:00
|
|
|
"command": "git.pullFrom",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-05-20 05:48:59 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.pullRebase",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-05-20 07:10:04 +00:00
|
|
|
{
|
|
|
|
"command": "git.pullFrom",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-08-23 14:25:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.merge",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-06-23 09:16:05 +00:00
|
|
|
},
|
2017-05-20 17:28:00 +00:00
|
|
|
{
|
|
|
|
"command": "git.createTag",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-05-20 17:28:00 +00:00
|
|
|
},
|
2017-11-27 14:18:31 +00:00
|
|
|
{
|
|
|
|
"command": "git.fetch",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-11-27 14:18:31 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.push",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pushTo",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
2017-08-10 13:38:26 +00:00
|
|
|
"command": "git.pushWithTags",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.sync",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
2017-07-25 22:06:26 +00:00
|
|
|
{
|
|
|
|
"command": "git.syncRebase",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-07-25 22:06:26 +00:00
|
|
|
},
|
2017-02-16 09:23:15 +00:00
|
|
|
{
|
|
|
|
"command": "git.publish",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.showOutput",
|
2018-02-23 08:04:51 +00:00
|
|
|
"when": "config.git.enabled"
|
2017-08-23 14:25:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.ignore",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-06-20 20:54:14 +00:00
|
|
|
},
|
2017-11-27 14:18:31 +00:00
|
|
|
{
|
|
|
|
"command": "git.stashIncludeUntracked",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-11-27 14:18:31 +00:00
|
|
|
},
|
2017-06-20 20:54:14 +00:00
|
|
|
{
|
|
|
|
"command": "git.stash",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-06-20 20:54:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stashPop",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-06-20 20:54:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stashPopLatest",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
|
2017-02-16 09:23:15 +00:00
|
|
|
}
|
|
|
|
],
|
2016-12-05 17:44:12 +00:00
|
|
|
"scm/title": [
|
2017-08-29 10:09:28 +00:00
|
|
|
{
|
|
|
|
"command": "git.init",
|
|
|
|
"group": "navigation",
|
2017-12-04 13:59:35 +00:00
|
|
|
"when": "config.git.enabled && !scmProvider && gitOpenRepositoryCount == 0 && workspaceFolderCount != 0"
|
2017-08-29 10:09:28 +00:00
|
|
|
},
|
2017-01-31 15:47:04 +00:00
|
|
|
{
|
|
|
|
"command": "git.commit",
|
|
|
|
"group": "navigation",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-31 15:47:04 +00:00
|
|
|
},
|
2016-11-25 12:08:41 +00:00
|
|
|
{
|
|
|
|
"command": "git.refresh",
|
2016-12-05 17:44:12 +00:00
|
|
|
"group": "navigation",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.sync",
|
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-07-25 22:06:26 +00:00
|
|
|
{
|
|
|
|
"command": "git.syncRebase",
|
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && gitState == idle"
|
2017-07-25 22:06:26 +00:00
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.pull",
|
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pullRebase",
|
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-05-20 05:48:59 +00:00
|
|
|
{
|
2017-05-20 07:10:04 +00:00
|
|
|
"command": "git.pullFrom",
|
2017-08-23 13:55:41 +00:00
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-05-20 05:48:59 +00:00
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.push",
|
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.pushTo",
|
|
|
|
"group": "1_sync",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.publish",
|
|
|
|
"group": "2_publish",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStaged",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitStagedSigned",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-06-22 12:22:35 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitStagedAmend",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-06-22 12:22:35 +00:00
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitAll",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.commitAllSigned",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-06-22 12:22:35 +00:00
|
|
|
{
|
|
|
|
"command": "git.commitAllAmend",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-06-22 12:22:35 +00:00
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.undoCommit",
|
|
|
|
"group": "3_commit",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-09-13 07:18:09 +00:00
|
|
|
{
|
|
|
|
"command": "git.stageAll",
|
|
|
|
"group": "4_stage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-09-13 07:18:09 +00:00
|
|
|
},
|
2017-01-12 15:08:47 +00:00
|
|
|
{
|
|
|
|
"command": "git.unstageAll",
|
|
|
|
"group": "4_stage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
|
|
|
"group": "4_stage",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "scmProvider == git && !gitFreshRepository"
|
2017-01-12 15:08:47 +00:00
|
|
|
},
|
2017-09-20 05:06:52 +00:00
|
|
|
{
|
|
|
|
"command": "git.stashIncludeUntracked",
|
|
|
|
"group": "5_stash",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-09-20 05:06:52 +00:00
|
|
|
},
|
2017-06-20 20:54:14 +00:00
|
|
|
{
|
|
|
|
"command": "git.stash",
|
|
|
|
"group": "5_stash",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-06-20 20:54:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stashPop",
|
|
|
|
"group": "5_stash",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-06-20 20:54:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stashPopLatest",
|
|
|
|
"group": "5_stash",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-08-30 11:01:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.showOutput",
|
|
|
|
"group": "7_repository",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2016-12-01 14:12:27 +00:00
|
|
|
}
|
|
|
|
],
|
2017-09-28 09:09:30 +00:00
|
|
|
"scm/sourceControl": [
|
|
|
|
{
|
|
|
|
"command": "git.close",
|
|
|
|
"group": "navigation",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git"
|
2017-09-28 09:09:30 +00:00
|
|
|
}
|
|
|
|
],
|
2016-12-05 17:44:12 +00:00
|
|
|
"scm/resourceGroup/context": [
|
2017-01-11 11:10:48 +00:00
|
|
|
{
|
|
|
|
"command": "git.stageAll",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
2017-01-11 11:10:48 +00:00
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stageAll",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
2017-01-11 11:10:48 +00:00
|
|
|
"group": "inline"
|
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2017-01-09 09:47:08 +00:00
|
|
|
"command": "git.unstageAll",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-01-09 09:45:37 +00:00
|
|
|
"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-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-01-09 09:45:37 +00:00
|
|
|
"group": "inline"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree && !gitFreshRepository",
|
2017-01-09 09:45:37 +00:00
|
|
|
"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-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-01-09 09:45:37 +00:00
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.cleanAll",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree && !gitFreshRepository",
|
2017-01-09 09:45:37 +00:00
|
|
|
"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-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-01-09 09:45:37 +00:00
|
|
|
"group": "inline"
|
2016-12-01 14:12:27 +00:00
|
|
|
}
|
|
|
|
],
|
2017-03-30 12:42:37 +00:00
|
|
|
"scm/resourceState/context": [
|
2017-01-11 11:10:48 +00:00
|
|
|
{
|
|
|
|
"command": "git.stage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
2017-01-11 11:10:48 +00:00
|
|
|
"group": "1_modification"
|
|
|
|
},
|
2017-12-15 14:38:30 +00:00
|
|
|
{
|
|
|
|
"command": "git.openFile",
|
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
|
|
"group": "navigation"
|
|
|
|
},
|
2017-01-11 11:10:48 +00:00
|
|
|
{
|
|
|
|
"command": "git.stage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
2017-01-11 11:10:48 +00:00
|
|
|
"group": "inline"
|
|
|
|
},
|
2017-12-15 14:38:30 +00:00
|
|
|
{
|
2017-12-18 15:04:14 +00:00
|
|
|
"command": "git.openFile2",
|
2018-01-26 14:28:49 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == merge && config.git.showInlineOpenFileAction",
|
2017-12-15 14:38:30 +00:00
|
|
|
"group": "inline0"
|
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2017-01-09 09:41:33 +00:00
|
|
|
"command": "git.openChange",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-01-09 09:45:37 +00:00
|
|
|
"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-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-01-09 09:45:37 +00:00
|
|
|
"group": "navigation"
|
2016-12-05 17:44:12 +00:00
|
|
|
},
|
2017-05-15 01:03:38 +00:00
|
|
|
{
|
2017-06-26 14:14:29 +00:00
|
|
|
"command": "git.openHEADFile",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-05-15 01:03:38 +00:00
|
|
|
"group": "navigation"
|
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "inline"
|
|
|
|
},
|
2017-12-15 14:38:30 +00:00
|
|
|
{
|
2017-12-18 15:04:14 +00:00
|
|
|
"command": "git.openFile2",
|
2018-01-26 14:28:49 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == index && config.git.showInlineOpenFileAction",
|
2017-12-15 14:38:30 +00:00
|
|
|
"group": "inline0"
|
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.openChange",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "navigation"
|
|
|
|
},
|
2017-05-15 01:03:38 +00:00
|
|
|
{
|
2017-06-26 14:14:29 +00:00
|
|
|
"command": "git.openHEADFile",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-05-15 01:03:38 +00:00
|
|
|
"group": "navigation"
|
|
|
|
},
|
2017-01-09 09:41:33 +00:00
|
|
|
{
|
|
|
|
"command": "git.openFile",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "navigation"
|
|
|
|
},
|
2016-12-01 15:09:14 +00:00
|
|
|
{
|
2016-12-05 17:44:12 +00:00
|
|
|
"command": "git.stage",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.clean",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree && !gitFreshRepository",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "1_modification"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.clean",
|
2018-02-08 10:38:24 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree && !gitFreshRepository",
|
2017-01-09 09:41:33 +00:00
|
|
|
"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-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-01-09 09:41:33 +00:00
|
|
|
"group": "inline"
|
2017-05-01 06:31:17 +00:00
|
|
|
},
|
2017-12-15 14:38:30 +00:00
|
|
|
{
|
2017-12-18 15:04:14 +00:00
|
|
|
"command": "git.openFile2",
|
2018-01-26 14:28:49 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.showInlineOpenFileAction",
|
2017-12-15 14:38:30 +00:00
|
|
|
"group": "inline0"
|
|
|
|
},
|
2017-05-01 06:31:17 +00:00
|
|
|
{
|
|
|
|
"command": "git.ignore",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
2017-05-01 06:31:17 +00:00
|
|
|
"group": "1_modification@3"
|
2016-11-25 12:08:41 +00:00
|
|
|
}
|
2017-02-09 17:24:08 +00:00
|
|
|
],
|
|
|
|
"editor/title": [
|
|
|
|
{
|
2017-04-24 09:47:03 +00:00
|
|
|
"command": "git.openFile",
|
2017-02-09 17:24:08 +00:00
|
|
|
"group": "navigation",
|
2018-02-08 16:23:43 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2017-02-09 17:24:08 +00:00
|
|
|
},
|
|
|
|
{
|
2017-04-24 09:47:03 +00:00
|
|
|
"command": "git.openChange",
|
2017-02-09 17:24:08 +00:00
|
|
|
"group": "navigation",
|
2018-02-01 09:00:56 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && !isInDiffEditor && resourceScheme == file"
|
2017-04-26 15:55:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.stageSelectedRanges",
|
|
|
|
"group": "2_git@1",
|
2018-02-08 16:23:43 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2017-04-26 15:55:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstageSelectedRanges",
|
|
|
|
"group": "2_git@2",
|
2018-02-08 16:23:43 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2017-04-26 15:55:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.revertSelectedRanges",
|
|
|
|
"group": "2_git@3",
|
2018-02-08 16:23:43 +00:00
|
|
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2018-02-18 17:41:25 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"editor/context": [
|
|
|
|
{
|
|
|
|
"command": "git.stageSelectedRanges",
|
|
|
|
"group": "2_git@1",
|
2018-03-19 13:26:37 +00:00
|
|
|
"when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2017-04-26 15:55:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.unstageSelectedRanges",
|
|
|
|
"group": "2_git@2",
|
2018-03-19 13:26:37 +00:00
|
|
|
"when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2017-04-26 15:55:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.revertSelectedRanges",
|
|
|
|
"group": "2_git@3",
|
2018-03-19 13:26:37 +00:00
|
|
|
"when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
2017-02-09 17:24:08 +00:00
|
|
|
}
|
2017-10-11 13:16:47 +00:00
|
|
|
],
|
|
|
|
"scm/change/title": [
|
|
|
|
{
|
|
|
|
"command": "git.stageChange",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "originalResourceScheme == git"
|
2017-10-11 13:16:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "git.revertChange",
|
2017-11-27 14:22:25 +00:00
|
|
|
"when": "originalResourceScheme == git"
|
2017-10-11 13:16:47 +00:00
|
|
|
}
|
2016-11-25 12:08:41 +00:00
|
|
|
]
|
2017-01-31 15:35:00 +00:00
|
|
|
},
|
|
|
|
"configuration": {
|
|
|
|
"title": "Git",
|
|
|
|
"properties": {
|
2017-02-07 11:03:42 +00:00
|
|
|
"git.enabled": {
|
|
|
|
"type": "boolean",
|
2017-11-27 15:08:06 +00:00
|
|
|
"scope": "resource",
|
2017-02-07 11:03:42 +00:00
|
|
|
"description": "%config.enabled%",
|
|
|
|
"default": true
|
|
|
|
},
|
2017-01-31 15:50:30 +00:00
|
|
|
"git.path": {
|
2017-01-31 16:06:21 +00:00
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
2017-01-31 15:50:30 +00:00
|
|
|
"description": "%config.path%",
|
|
|
|
"default": null,
|
|
|
|
"isExecutable": true
|
|
|
|
},
|
2017-10-13 01:19:07 +00:00
|
|
|
"git.autoRepositoryDetection": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.autoRepositoryDetection%",
|
|
|
|
"default": true
|
|
|
|
},
|
2017-01-31 15:40:05 +00:00
|
|
|
"git.autorefresh": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.autorefresh%",
|
|
|
|
"default": true
|
|
|
|
},
|
2017-01-31 15:35:00 +00:00
|
|
|
"git.autofetch": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.autofetch%",
|
2017-11-24 10:12:33 +00:00
|
|
|
"default": false
|
2017-01-31 15:54:47 +00:00
|
|
|
},
|
2017-02-07 09:47:14 +00:00
|
|
|
"git.confirmSync": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.confirmSync%",
|
|
|
|
"default": true
|
|
|
|
},
|
2017-01-31 16:06:21 +00:00
|
|
|
"git.countBadge": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"all",
|
|
|
|
"tracked",
|
|
|
|
"off"
|
|
|
|
],
|
|
|
|
"description": "%config.countBadge%",
|
|
|
|
"default": "all"
|
2017-01-31 16:13:47 +00:00
|
|
|
},
|
|
|
|
"git.checkoutType": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"all",
|
|
|
|
"local",
|
|
|
|
"tags",
|
|
|
|
"remote"
|
|
|
|
],
|
|
|
|
"description": "%config.checkoutType%",
|
|
|
|
"default": "all"
|
2017-04-13 08:04:48 +00:00
|
|
|
},
|
|
|
|
"git.ignoreLegacyWarning": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.ignoreLegacyWarning%",
|
|
|
|
"default": false
|
2017-04-19 06:44:16 +00:00
|
|
|
},
|
2017-11-17 10:35:43 +00:00
|
|
|
"git.ignoreMissingGitWarning": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.ignoreMissingGitWarning%",
|
|
|
|
"default": false
|
|
|
|
},
|
2017-04-19 06:44:16 +00:00
|
|
|
"git.ignoreLimitWarning": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.ignoreLimitWarning%",
|
|
|
|
"default": false
|
2017-04-19 15:49:50 +00:00
|
|
|
},
|
2017-05-04 14:04:30 +00:00
|
|
|
"git.defaultCloneDirectory": {
|
2017-04-18 12:26:28 +00:00
|
|
|
"type": "string",
|
|
|
|
"default": null,
|
2017-05-04 14:04:30 +00:00
|
|
|
"description": "%config.defaultCloneDirectory%"
|
2017-05-04 14:32:37 +00:00
|
|
|
},
|
2017-04-26 03:13:07 +00:00
|
|
|
"git.enableSmartCommit": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.enableSmartCommit%",
|
|
|
|
"default": false
|
2017-05-23 12:20:58 +00:00
|
|
|
},
|
|
|
|
"git.enableCommitSigning": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "%config.enableCommitSigning%",
|
|
|
|
"default": false
|
2017-11-01 13:41:30 +00:00
|
|
|
},
|
|
|
|
"git.decorations.enabled": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%config.decorations.enabled%"
|
2018-01-26 10:32:46 +00:00
|
|
|
},
|
|
|
|
"git.promptToSaveFilesBeforeCommit": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%config.promptToSaveFilesBeforeCommit%"
|
2018-01-26 14:28:49 +00:00
|
|
|
},
|
|
|
|
"git.showInlineOpenFileAction": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%config.showInlineOpenFileAction%"
|
2018-01-26 15:43:53 +00:00
|
|
|
},
|
|
|
|
"git.inputValidation": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"always",
|
|
|
|
"warn",
|
|
|
|
"off"
|
|
|
|
],
|
|
|
|
"default": "warn",
|
|
|
|
"description": "%config.inputValidation%"
|
2018-02-01 08:40:22 +00:00
|
|
|
},
|
|
|
|
"git.detectSubmodules": {
|
|
|
|
"type": "boolean",
|
2018-02-01 09:00:56 +00:00
|
|
|
"scope": "resource",
|
2018-02-01 08:40:22 +00:00
|
|
|
"default": true,
|
|
|
|
"description": "%config.detectSubmodules%"
|
2018-03-08 10:17:56 +00:00
|
|
|
},
|
|
|
|
"git.detectSubmodulesLimit": {
|
|
|
|
"type": "number",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": 10,
|
|
|
|
"description": "%config.detectSubmodulesLimit%"
|
2017-01-31 15:35:00 +00:00
|
|
|
}
|
|
|
|
}
|
2017-10-06 09:40:24 +00:00
|
|
|
},
|
|
|
|
"colors": [
|
|
|
|
{
|
2017-11-01 14:40:53 +00:00
|
|
|
"id": "gitDecoration.modifiedResourceForeground",
|
2017-11-01 13:17:38 +00:00
|
|
|
"description": "%colors.modified%",
|
2017-10-06 09:40:24 +00:00
|
|
|
"defaults": {
|
2017-10-25 15:20:39 +00:00
|
|
|
"light": "#a76e12",
|
2017-10-12 10:27:37 +00:00
|
|
|
"dark": "#E2C08D",
|
|
|
|
"highContrast": "#E2C08D"
|
2017-10-06 09:40:24 +00:00
|
|
|
}
|
2017-10-09 16:42:13 +00:00
|
|
|
},
|
2017-10-24 15:54:54 +00:00
|
|
|
{
|
2017-11-01 14:40:53 +00:00
|
|
|
"id": "gitDecoration.deletedResourceForeground",
|
2017-11-01 13:17:38 +00:00
|
|
|
"description": "%colors.deleted%",
|
2017-10-24 15:54:54 +00:00
|
|
|
"defaults": {
|
2017-10-25 15:24:24 +00:00
|
|
|
"light": "#ad0707",
|
2017-10-24 15:54:54 +00:00
|
|
|
"dark": "#c74e39",
|
|
|
|
"highContrast": "#c74e39"
|
|
|
|
}
|
|
|
|
},
|
2017-10-09 16:42:13 +00:00
|
|
|
{
|
2017-11-01 14:40:53 +00:00
|
|
|
"id": "gitDecoration.untrackedResourceForeground",
|
2017-11-01 13:17:38 +00:00
|
|
|
"description": "%colors.untracked%",
|
2017-10-09 16:42:13 +00:00
|
|
|
"defaults": {
|
2017-10-25 15:20:39 +00:00
|
|
|
"light": "#019001",
|
2017-10-12 10:27:37 +00:00
|
|
|
"dark": "#73C991",
|
|
|
|
"highContrast": "#73C991"
|
2017-10-09 16:42:13 +00:00
|
|
|
}
|
2017-10-18 07:03:15 +00:00
|
|
|
},
|
|
|
|
{
|
2017-11-01 14:40:53 +00:00
|
|
|
"id": "gitDecoration.ignoredResourceForeground",
|
2017-11-01 13:17:38 +00:00
|
|
|
"description": "%colors.ignored%",
|
2017-10-18 07:03:15 +00:00
|
|
|
"defaults": {
|
|
|
|
"light": "#8E8E90",
|
|
|
|
"dark": "#A7A8A9",
|
|
|
|
"highContrast": "#A7A8A9"
|
|
|
|
}
|
2017-10-24 15:54:54 +00:00
|
|
|
},
|
|
|
|
{
|
2017-11-01 14:40:53 +00:00
|
|
|
"id": "gitDecoration.conflictingResourceForeground",
|
2017-11-01 13:17:38 +00:00
|
|
|
"description": "%colors.conflict%",
|
2017-10-24 15:54:54 +00:00
|
|
|
"defaults": {
|
|
|
|
"light": "#6c6cc4",
|
|
|
|
"dark": "#6c6cc4",
|
|
|
|
"highContrast": "#6c6cc4"
|
|
|
|
}
|
2017-12-14 11:03:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "gitDecoration.submoduleResourceForeground",
|
|
|
|
"description": "%colors.submodule%",
|
|
|
|
"defaults": {
|
|
|
|
"light": "#1258a7",
|
|
|
|
"dark": "#8db9e2",
|
|
|
|
"highContrast": "#8db9e2"
|
|
|
|
}
|
2017-10-06 09:40:24 +00:00
|
|
|
}
|
2018-02-20 15:00:50 +00:00
|
|
|
],
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "git-commit",
|
|
|
|
"aliases": [
|
|
|
|
"Git Commit Message",
|
|
|
|
"git-commit"
|
|
|
|
],
|
|
|
|
"filenames": [
|
|
|
|
"COMMIT_EDITMSG",
|
|
|
|
"MERGE_MSG"
|
|
|
|
],
|
|
|
|
"configuration": "./languages/git-commit.language-configuration.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "git-rebase",
|
|
|
|
"aliases": [
|
|
|
|
"Git Rebase Message",
|
|
|
|
"git-rebase"
|
|
|
|
],
|
|
|
|
"filenames": [
|
|
|
|
"git-rebase-todo"
|
|
|
|
],
|
|
|
|
"configuration": "./languages/git-rebase.language-configuration.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "diff",
|
|
|
|
"aliases": [
|
|
|
|
"Diff",
|
|
|
|
"diff"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".patch",
|
|
|
|
".diff",
|
|
|
|
".rej"
|
|
|
|
],
|
|
|
|
"configuration": "./languages/diff.language-configuration.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "git-commit",
|
|
|
|
"scopeName": "text.git-commit",
|
|
|
|
"path": "./syntaxes/git-commit.tmLanguage.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "git-rebase",
|
|
|
|
"scopeName": "text.git-rebase",
|
|
|
|
"path": "./syntaxes/git-rebase.tmLanguage.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "diff",
|
|
|
|
"scopeName": "source.diff",
|
|
|
|
"path": "./syntaxes/diff.tmLanguage.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"configurationDefaults": {
|
|
|
|
"[git-commit]": {
|
|
|
|
"editor.rulers": [
|
|
|
|
72
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2016-10-12 14:37:06 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-10-03 08:20:45 +00:00
|
|
|
"byline": "^5.0.0",
|
2017-11-09 16:53:53 +00:00
|
|
|
"file-type": "^7.2.0",
|
2017-11-06 09:51:47 +00:00
|
|
|
"iconv-lite": "0.4.19",
|
2018-03-27 12:50:05 +00:00
|
|
|
"jschardet": "^1.6.0",
|
2018-02-27 21:42:26 +00:00
|
|
|
"vscode-extension-telemetry": "0.0.15",
|
2018-01-29 22:52:09 +00:00
|
|
|
"vscode-nls": "^3.2.1",
|
2017-12-15 09:36:07 +00:00
|
|
|
"which": "^1.3.0"
|
2017-02-01 23:20:17 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-11-09 16:53:53 +00:00
|
|
|
"@types/byline": "4.2.31",
|
|
|
|
"@types/file-type": "^5.2.1",
|
2017-10-04 11:36:20 +00:00
|
|
|
"@types/mocha": "2.2.43",
|
|
|
|
"@types/node": "7.0.43",
|
2017-12-15 09:36:07 +00:00
|
|
|
"@types/which": "^1.0.28",
|
2017-04-18 15:16:20 +00:00
|
|
|
"mocha": "^3.2.0"
|
2016-10-12 14:37:06 +00:00
|
|
|
}
|
2018-03-27 12:50:05 +00:00
|
|
|
}
|