{ "name": "magit", "displayName": "magit", "description": "Magit for VSCode", "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", "when": "editorLangId == magit-status" }, { "command": "extension.magit-commit", "title": "Magit Commit", "when": "editorLangId == magit-status" }, { "command": "extension.magit-branching", "title": "Magit Branching", "when": "editorLangId == magit-status" }, { "command": "extension.magit-pushing", "title": "Magit Pushing", "when": "editorLangId == magit-status" }, { "command": "extension.magit-stage", "title": "Magit Stage", "when": "editorLangId == magit-status" }, { "command": "extension.magit-stage-all", "title": "Magit Stage All", "when": "editorLangId == magit-status" }, { "command": "extension.magit-unstage", "title": "Magit Unstage", "when": "editorLangId == magit-status" }, { "command": "extension.magit-unstage-all", "title": "Magit Unstage All", "when": "editorLangId == magit-status" }, { "command": "extension.magit-help", "title": "Magit Help", "when": "editorLangId == magit-status" }, { "command": "extension.magit-save-and-close-commit-msg", "title": "Magit Save and close commit message", "when": "false" } ], "menus": { "commandPalette": [ { "command": "extension.magit-branching", "when": "editorLangId == magit-status" }, { "command": "extension.magit-visit-at-point", "when": "editorLangId == magit-status" }, { "command": "extension.magit-stage", "when": "editorLangId == magit-status" }, { "command": "extension.magit-stage-all", "when": "editorLangId == magit-status" }, { "command": "extension.magit-unstage", "when": "editorLangId == magit-status" }, { "command": "extension.magit-unstage-all", "when": "editorLangId == magit-status" }, { "command": "extension.magit-commit", "when": "editorLangId == magit-status" }, { "command": "extension.magit-pushing", "when": "editorLangId == magit-status" }, { "command": "extension.magit-save-and-close-commit-msg", "when": "false" } ] }, "languages": [ { "id": "magit-status", "aliases": [ "Magit" ], "extensions": [ ".magit" ], "configuration": "./languages/magit.language-configuration.json" } ], "configurationDefaults": { "[magit-status]": { "editor.lineNumbers": "off" } }, "grammars": [ { "language": "magit-status", "scopeName": "source.magit", "path": "./syntaxes/magitStatus.tmGrammar.json" } ], "keybindings": [ { "command": "editor.toggleFold", "key": "tab", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit", "key": "g", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-visit-at-point", "key": "enter", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-commit", "key": "c", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-branching", "key": "b", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-pushing", "key": "shift+p", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-help", "key": "?", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-stage", "key": "s", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-stage-all", "key": "shift+s", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-unstage", "key": "u", "when": "editorTextFocus && editorLangId == magit-status" }, { "command": "extension.magit-unstage-all", "key": "shift+u", "when": "editorTextFocus && editorLangId == magit-status" }, { "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" } ] }, "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" } }