mirror of
https://github.com/kahole/edamagit.git
synced 2024-09-17 10:27:09 +03:00
273 lines
7.0 KiB
JSON
273 lines
7.0 KiB
JSON
{
|
|
"name": "magit",
|
|
"displayName": "magit",
|
|
"description": "Magit for VSCode",
|
|
"publisher": "kahole",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.40.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:extension.magit"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "extension.magit",
|
|
"title": "Magit Status"
|
|
},
|
|
{
|
|
"command": "extension.magit-visit-at-point",
|
|
"title": "Magit Visit-at-point"
|
|
},
|
|
{
|
|
"command": "extension.magit-apply-at-point",
|
|
"title": "Magit Apply-at-point"
|
|
},
|
|
{
|
|
"command": "extension.magit-discard-at-point",
|
|
"title": "Magit Discard-at-point"
|
|
},
|
|
{
|
|
"command": "extension.magit-commit",
|
|
"title": "Magit Commit"
|
|
},
|
|
{
|
|
"command": "extension.magit-branching",
|
|
"title": "Magit Branching"
|
|
},
|
|
{
|
|
"command": "extension.magit-merging",
|
|
"title": "Magit Merging"
|
|
},
|
|
{
|
|
"command": "extension.magit-pushing",
|
|
"title": "Magit Pushing"
|
|
},
|
|
{
|
|
"command": "extension.magit-stage",
|
|
"title": "Magit Stage"
|
|
},
|
|
{
|
|
"command": "extension.magit-stage-all",
|
|
"title": "Magit Stage All"
|
|
},
|
|
{
|
|
"command": "extension.magit-unstage",
|
|
"title": "Magit Unstage"
|
|
},
|
|
{
|
|
"command": "extension.magit-unstage-all",
|
|
"title": "Magit Unstage All"
|
|
},
|
|
{
|
|
"command": "extension.magit-help",
|
|
"title": "Magit Help"
|
|
},
|
|
{
|
|
"command": "extension.magit-stashing",
|
|
"title": "Magit Stashing"
|
|
}
|
|
],
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "extension.magit-branching",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-merging",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-visit-at-point",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-apply-at-point",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-discard-at-point",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-stage",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-stage-all",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-unstage",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-unstage-all",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-commit",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-pushing",
|
|
"when": "editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-stashing",
|
|
"when": "editorLangId == magit"
|
|
}
|
|
]
|
|
},
|
|
"languages": [
|
|
{
|
|
"id": "magit",
|
|
"aliases": [
|
|
"Magit"
|
|
],
|
|
"extensions": [
|
|
".magit"
|
|
],
|
|
"configuration": "./languages/magit.language-configuration.json"
|
|
}
|
|
],
|
|
"configurationDefaults": {
|
|
"[magit]": {
|
|
"editor.lineNumbers": "off"
|
|
}
|
|
},
|
|
"grammars": [
|
|
{
|
|
"language": "magit",
|
|
"scopeName": "source.magit",
|
|
"path": "./syntaxes/magit.tmGrammar.json"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "editor.toggleFold",
|
|
"key": "tab",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-refresh",
|
|
"key": "g",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-help",
|
|
"key": "shift+/",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-visit-at-point",
|
|
"key": "enter",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-apply-at-point",
|
|
"key": "a",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-discard-at-point",
|
|
"key": "k",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-commit",
|
|
"key": "c",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-branching",
|
|
"key": "b",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-merging",
|
|
"key": "m",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-pushing",
|
|
"key": "shift+p",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-pulling",
|
|
"key": "shift+f",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-stashing",
|
|
"key": "z",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-fetching",
|
|
"key": "f",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-stage",
|
|
"key": "s",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-stage-all",
|
|
"key": "shift+s",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-unstage",
|
|
"key": "u",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"command": "extension.magit-unstage-all",
|
|
"key": "shift+u",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"command": "workbench.action.closeActiveEditor",
|
|
"key": "q",
|
|
"when": "editorTextFocus && editorLangId == magit"
|
|
}
|
|
]
|
|
},
|
|
"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",
|
|
"typescript": "^3.7.3",
|
|
"tslint": "^5.20.1",
|
|
"vscode-test": "^1.2.2"
|
|
}
|
|
} |