2019-12-03 00:50:08 +03:00
|
|
|
{
|
|
|
|
"name": "magit",
|
2020-02-01 04:55:53 +03:00
|
|
|
"displayName": "Magit",
|
|
|
|
"description": "Magit for Visual Studio Code",
|
2020-01-09 23:18:13 +03:00
|
|
|
"publisher": "kahole",
|
2019-12-03 00:50:08 +03:00
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.40.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
2020-02-01 01:53:32 +03:00
|
|
|
"onCommand:extension.magit",
|
|
|
|
"onCommand:extension.magit-dispatch",
|
|
|
|
"onCommand:extension.magit-file-popup"
|
2019-12-03 00:50:08 +03:00
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "extension.magit",
|
|
|
|
"title": "Magit Status"
|
2019-12-07 04:28:37 +03:00
|
|
|
},
|
2020-02-01 04:30:55 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-toggle-fold",
|
|
|
|
"title": "Magit Toggle Fold"
|
|
|
|
},
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-dispatch",
|
|
|
|
"title": "Magit Dispatch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-file-popup",
|
|
|
|
"title": "Magit File Popup"
|
|
|
|
},
|
2019-12-07 04:28:37 +03:00
|
|
|
{
|
2019-12-11 01:17:15 +03:00
|
|
|
"command": "extension.magit-visit-at-point",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Visit-at-point"
|
2019-12-07 19:38:13 +03:00
|
|
|
},
|
2020-01-14 19:07:19 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-apply-at-point",
|
|
|
|
"title": "Magit Apply-at-point"
|
|
|
|
},
|
2020-01-16 22:01:12 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-discard-at-point",
|
|
|
|
"title": "Magit Discard-at-point"
|
|
|
|
},
|
2019-12-09 02:06:23 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-commit",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Commit"
|
2019-12-09 02:06:23 +03:00
|
|
|
},
|
2019-12-07 19:38:13 +03:00
|
|
|
{
|
2019-12-10 00:38:54 +03:00
|
|
|
"command": "extension.magit-branching",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Branching"
|
2019-12-08 21:57:55 +03:00
|
|
|
},
|
2020-01-26 22:46:24 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-merging",
|
|
|
|
"title": "Magit Merging"
|
|
|
|
},
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-rebasing",
|
|
|
|
"title": "Magit Rebasing"
|
|
|
|
},
|
2019-12-08 21:57:55 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-pushing",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Pushing"
|
2019-12-08 21:57:55 +03:00
|
|
|
},
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-pulling",
|
|
|
|
"title": "Magit Pulling"
|
|
|
|
},
|
2019-12-10 00:38:54 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-stage",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Stage"
|
2019-12-10 00:38:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-stage-all",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Stage All"
|
2019-12-10 00:38:54 +03:00
|
|
|
},
|
2019-12-13 00:43:52 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-unstage",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Unstage"
|
2019-12-13 00:43:52 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-unstage-all",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Unstage All"
|
2019-12-13 00:43:52 +03:00
|
|
|
},
|
2019-12-08 21:57:55 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-help",
|
2019-12-16 19:51:16 +03:00
|
|
|
"title": "Magit Help"
|
2019-12-23 00:12:15 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-stashing",
|
|
|
|
"title": "Magit Stashing"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-help",
|
|
|
|
"when": "editorLangId == magit"
|
|
|
|
},
|
2019-12-08 21:57:55 +03:00
|
|
|
{
|
2019-12-10 00:38:54 +03:00
|
|
|
"command": "extension.magit-branching",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-08 21:57:55 +03:00
|
|
|
},
|
2020-01-26 22:46:24 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-merging",
|
|
|
|
"when": "editorLangId == magit"
|
|
|
|
},
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-rebasing",
|
|
|
|
"when": "editorLangId == magit"
|
|
|
|
},
|
2019-12-07 04:28:37 +03:00
|
|
|
{
|
2019-12-11 01:17:15 +03:00
|
|
|
"command": "extension.magit-visit-at-point",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-07 19:38:13 +03:00
|
|
|
},
|
2020-01-14 19:07:19 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-apply-at-point",
|
|
|
|
"when": "editorLangId == magit"
|
|
|
|
},
|
2020-01-16 22:01:12 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-discard-at-point",
|
|
|
|
"when": "editorLangId == magit"
|
|
|
|
},
|
2019-12-10 00:38:54 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-stage",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-10 00:38:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-stage-all",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-10 00:38:54 +03:00
|
|
|
},
|
2019-12-13 00:43:52 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-unstage",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-13 00:43:52 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-unstage-all",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-13 00:43:52 +03:00
|
|
|
},
|
2019-12-09 02:06:23 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-commit",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-09 02:06:23 +03:00
|
|
|
},
|
2019-12-07 19:38:13 +03:00
|
|
|
{
|
2019-12-08 21:57:55 +03:00
|
|
|
"command": "extension.magit-pushing",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorLangId == magit"
|
2019-12-23 00:12:15 +03:00
|
|
|
},
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-pulling",
|
|
|
|
"when": "editorLangId == magit"
|
|
|
|
},
|
2019-12-23 00:12:15 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-stashing",
|
|
|
|
"when": "editorLangId == magit"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"languages": [
|
|
|
|
{
|
2019-12-18 23:02:33 +03:00
|
|
|
"id": "magit",
|
2019-12-13 00:09:00 +03:00
|
|
|
"aliases": [
|
|
|
|
"Magit"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".magit"
|
|
|
|
],
|
2019-12-07 05:02:04 +03:00
|
|
|
"configuration": "./languages/magit.language-configuration.json"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
],
|
2019-12-14 20:54:18 +03:00
|
|
|
"configurationDefaults": {
|
2019-12-18 23:02:33 +03:00
|
|
|
"[magit]": {
|
2020-02-01 06:14:21 +03:00
|
|
|
"editor.lineNumbers": "off",
|
|
|
|
"editor.lineHeight": 15
|
2019-12-14 20:54:18 +03:00
|
|
|
}
|
|
|
|
},
|
2019-12-07 04:28:37 +03:00
|
|
|
"grammars": [
|
|
|
|
{
|
2019-12-18 23:02:33 +03:00
|
|
|
"language": "magit",
|
2019-12-07 04:28:37 +03:00
|
|
|
"scopeName": "source.magit",
|
2019-12-18 23:02:33 +03:00
|
|
|
"path": "./syntaxes/magit.tmGrammar.json"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit",
|
|
|
|
"key": "ctrl+x g",
|
|
|
|
"when": "editorTextFocus"
|
|
|
|
},
|
2020-02-02 22:11:46 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-dispatch",
|
|
|
|
"key": "ctrl+x alt+g",
|
|
|
|
"when": "editorTextFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-file-popup",
|
2020-02-04 21:45:45 +03:00
|
|
|
"key": "ctrl-x ctrl+g",
|
2020-02-02 22:11:46 +03:00
|
|
|
"when": "editorTextFocus"
|
|
|
|
},
|
2019-12-07 04:28:37 +03:00
|
|
|
{
|
2020-02-01 04:30:55 +03:00
|
|
|
"command": "extension.magit-toggle-fold",
|
2019-12-07 04:28:37 +03:00
|
|
|
"key": "tab",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-07 04:28:37 +03:00
|
|
|
},
|
2019-12-13 00:09:00 +03:00
|
|
|
{
|
2019-12-23 21:05:21 +03:00
|
|
|
"command": "extension.magit-refresh",
|
2019-12-13 00:09:00 +03:00
|
|
|
"key": "g",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-13 00:09:00 +03:00
|
|
|
},
|
2019-12-22 19:55:34 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-help",
|
|
|
|
"key": "shift+/",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2019-12-07 04:28:37 +03:00
|
|
|
{
|
2019-12-11 01:17:15 +03:00
|
|
|
"command": "extension.magit-visit-at-point",
|
2019-12-07 04:28:37 +03:00
|
|
|
"key": "enter",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-07 19:38:13 +03:00
|
|
|
},
|
2020-01-14 19:07:19 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-apply-at-point",
|
|
|
|
"key": "a",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2020-01-16 22:01:12 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-discard-at-point",
|
|
|
|
"key": "k",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2019-12-09 02:06:23 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-commit",
|
|
|
|
"key": "c",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-09 02:06:23 +03:00
|
|
|
},
|
2019-12-07 19:38:13 +03:00
|
|
|
{
|
2019-12-10 00:38:54 +03:00
|
|
|
"command": "extension.magit-branching",
|
2019-12-07 19:38:13 +03:00
|
|
|
"key": "b",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-08 21:57:55 +03:00
|
|
|
},
|
2020-01-26 22:46:24 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-merging",
|
|
|
|
"key": "m",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2020-02-01 01:53:32 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-rebasing",
|
|
|
|
"key": "r",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2019-12-08 21:57:55 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-pushing",
|
|
|
|
"key": "shift+p",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-08 21:57:55 +03:00
|
|
|
},
|
2019-12-22 21:41:22 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-pulling",
|
|
|
|
"key": "shift+f",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2019-12-22 22:37:52 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-stashing",
|
|
|
|
"key": "z",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2019-12-22 02:50:00 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-fetching",
|
|
|
|
"key": "f",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
|
|
},
|
2019-12-10 00:38:54 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-stage",
|
|
|
|
"key": "s",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-10 00:38:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-stage-all",
|
|
|
|
"key": "shift+s",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-10 00:38:54 +03:00
|
|
|
},
|
2019-12-13 00:43:52 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-unstage",
|
|
|
|
"key": "u",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-13 00:43:52 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-unstage-all",
|
|
|
|
"key": "shift+u",
|
2019-12-18 23:02:33 +03:00
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-13 00:43:52 +03:00
|
|
|
},
|
2019-12-09 02:06:23 +03:00
|
|
|
{
|
|
|
|
"command": "extension.magit-save-and-close-commit-msg",
|
|
|
|
"key": "ctrl+c ctrl+c",
|
|
|
|
"when": "editorTextFocus && editorLangId == git-commit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "workbench.action.closeActiveEditor",
|
|
|
|
"key": "ctrl+c ctrl+k",
|
|
|
|
"when": "editorTextFocus && editorLangId == git-commit"
|
2020-01-21 18:39:11 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "workbench.action.closeActiveEditor",
|
|
|
|
"key": "q",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit"
|
2019-12-03 00:50:08 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
"compile": "tsc -p ./",
|
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
"pretest": "npm run compile",
|
|
|
|
"test": "node ./out/test/runTest.js"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/glob": "^7.1.1",
|
|
|
|
"@types/mocha": "^5.2.7",
|
|
|
|
"@types/node": "^12.11.7",
|
|
|
|
"@types/vscode": "^1.40.0",
|
|
|
|
"glob": "^7.1.5",
|
|
|
|
"mocha": "^6.2.2",
|
2019-12-13 00:09:00 +03:00
|
|
|
"typescript": "^3.7.3",
|
|
|
|
"tslint": "^5.20.1",
|
2019-12-03 00:50:08 +03:00
|
|
|
"vscode-test": "^1.2.2"
|
|
|
|
}
|
2019-12-22 02:50:00 +03:00
|
|
|
}
|