mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-25 04:07:37 +00:00
265 lines
6.9 KiB
JSON
265 lines
6.9 KiB
JSON
{
|
|
"name": "git",
|
|
"publisher": "vscode",
|
|
"displayName": "git",
|
|
"description": "Git",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.5.0"
|
|
},
|
|
"enableProposedApi": true,
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/main",
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:git",
|
|
"watch": "gulp watch-extension:git"
|
|
},
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "git.refresh",
|
|
"title": "Refresh",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/refresh.svg",
|
|
"dark": "resources/icons/dark/refresh.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.openChange",
|
|
"title": "Open Change",
|
|
"category": "Git"
|
|
},
|
|
{
|
|
"command": "git.openFile",
|
|
"title": "Open File",
|
|
"category": "Git"
|
|
},
|
|
{
|
|
"command": "git.stage",
|
|
"title": "Stage",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/stage.svg",
|
|
"dark": "resources/icons/dark/stage.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.stageAll",
|
|
"title": "Stage All",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/stage.svg",
|
|
"dark": "resources/icons/dark/stage.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.unstage",
|
|
"title": "Unstage",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/unstage.svg",
|
|
"dark": "resources/icons/dark/unstage.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.unstageAll",
|
|
"title": "Unstage All",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/unstage.svg",
|
|
"dark": "resources/icons/dark/unstage.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.clean",
|
|
"title": "Clean",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/clean.svg",
|
|
"dark": "resources/icons/dark/clean.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.cleanAll",
|
|
"title": "Clean All",
|
|
"category": "Git",
|
|
"icon": {
|
|
"light": "resources/icons/light/clean.svg",
|
|
"dark": "resources/icons/dark/clean.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "git.publish",
|
|
"title": "Publish",
|
|
"category": "Git"
|
|
},
|
|
{
|
|
"command": "git.sync",
|
|
"title": "Sync",
|
|
"category": "Git"
|
|
}
|
|
],
|
|
"menus": {
|
|
"scm/title": [
|
|
{
|
|
"command": "git.refresh",
|
|
"group": "navigation",
|
|
"when": "scmProvider == git"
|
|
}
|
|
],
|
|
"scm/resourceGroup/context": [
|
|
{
|
|
"command": "git.stageAll",
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
"group": "1_modification"
|
|
},
|
|
{
|
|
"command": "git.stageAll",
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "git.unstageAll",
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
"group": "1_modification"
|
|
},
|
|
{
|
|
"command": "git.unstageAll",
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "git.cleanAll",
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
"group": "1_modification"
|
|
},
|
|
{
|
|
"command": "git.stageAll",
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
"group": "1_modification"
|
|
},
|
|
{
|
|
"command": "git.cleanAll",
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "git.stageAll",
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
"group": "inline"
|
|
}
|
|
],
|
|
"scm/resource/context": [
|
|
{
|
|
"command": "git.stage",
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
"group": "1_modification"
|
|
},
|
|
{
|
|
"command": "git.stage",
|
|
"when": "scmProvider == git && scmResourceGroup == merge",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "git.openChange",
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "git.openFile",
|
|
"when": "scmProvider == git && scmResourceGroup == index",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"command": "git.stage",
|
|
"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"
|
|
},
|
|
{
|
|
"command": "git.stage",
|
|
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
|
"group": "inline"
|
|
}
|
|
]
|
|
},
|
|
"languages": [
|
|
{
|
|
"id": "git-commit",
|
|
"aliases": [
|
|
"Git Commit Message",
|
|
"git-commit"
|
|
],
|
|
"filenames": [
|
|
"COMMIT_EDITMSG",
|
|
"MERGE_MSG"
|
|
],
|
|
"configuration": "./git-commit.language-configuration.json"
|
|
},
|
|
{
|
|
"id": "git-rebase",
|
|
"aliases": [
|
|
"Git Rebase Message",
|
|
"git-rebase"
|
|
],
|
|
"filenames": [
|
|
"git-rebase-todo"
|
|
],
|
|
"configuration": "./git-rebase.language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "git-commit",
|
|
"scopeName": "text.git-commit",
|
|
"path": "./syntaxes/git-commit.tmLanguage"
|
|
},
|
|
{
|
|
"language": "git-rebase",
|
|
"scopeName": "text.git-rebase",
|
|
"path": "./syntaxes/git-rebase.tmLanguage"
|
|
}
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"core-decorators": "^0.14.0",
|
|
"denodeify": "^1.2.1",
|
|
"lodash": "^4.17.2",
|
|
"vscode-nls": "^2.0.1"
|
|
}
|
|
} |