{
|
|
"name": "gitlens",
|
|
"version": "0.3.0",
|
|
"author": {
|
|
"name": "Eric Amodio",
|
|
"email": "eamodio@gmail.com"
|
|
},
|
|
"publisher": "eamodio",
|
|
"engines": {
|
|
"vscode": "^1.3.0"
|
|
},
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"displayName": "GitLens",
|
|
"description": "Provides Git information (most recent commit, # of authors) in CodeLens, on-demand inline blame annotations, a blame explorer, and commands to compare changes w/ the working tree or previous versions",
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"keywords": [
|
|
"git", "blame", "gitblame", "codelens", "annotation"
|
|
],
|
|
"galleryBanner": {
|
|
"color": "#f0efe7",
|
|
"theme": "light"
|
|
},
|
|
"icon": "images/gitlens-icon.png",
|
|
"preview": false,
|
|
"homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
|
|
"bugs": {
|
|
"url": "https://github.com/eamodio/vscode-gitlens/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/eamodio/vscode-gitlens.git"
|
|
},
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "GitLens configuration",
|
|
"properties": {
|
|
"gitlens.blame.annotation.style": {
|
|
"type": "string",
|
|
"default": "expanded",
|
|
"enum": [
|
|
"compact",
|
|
"expanded"
|
|
],
|
|
"description": "Specifies the style of the blame annotations. `compact` - groups annotations to limit the repetition and also adds author and date when possible. `expanded` - shows an annotation on every line"
|
|
},
|
|
"gitlens.blame.annotation.sha": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Specifies whether the commit sha will be shown in the blame annotations. Applies only to the `expanded` annotation style"
|
|
},
|
|
"gitlens.blame.annotation.author": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Specifies whether the committer will be shown in the blame annotations. Applies only to the `expanded` annotation style"
|
|
},
|
|
"gitlens.blame.annotation.date": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Specifies whether the commit date will be shown in the blame annotations. Applies only to the `expanded` annotation style"
|
|
},
|
|
"gitlens.blame.annotation.useCodeActions": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Specifies whether code actions (Diff with Working, Diff with Previous) will be provided for the selected line, when annotating. Not required as context menu options are always provided"
|
|
},
|
|
"gitlens.codeLens.visibility": {
|
|
"type": "string",
|
|
"default": "auto",
|
|
"enum": [
|
|
"auto",
|
|
"ondemand",
|
|
"off"
|
|
],
|
|
"description": "Specifies when CodeLens will be triggered in the active document. `auto` - automatically. `ondemand` - only when requested. `off` - disables all active document CodeLens"
|
|
},
|
|
"gitlens.codeLens.location": {
|
|
"type": "string",
|
|
"default": "document+containers",
|
|
"enum": [
|
|
"all",
|
|
"document+containers",
|
|
"document",
|
|
"custom"
|
|
],
|
|
"description": "Specifies where CodeLens will be rendered in the active document. `all` - render at the top of the document, on container-like (classes, modules, etc), and on member-like (methods, functions, properties, etc) lines. `document+containers` - render at the top of the document and on container-like lines. `document` - only render at the top of the document. `custom` - rendering controlled by `gitlens.codeLens.locationCustomSymbols`"
|
|
},
|
|
"gitlens.codeLens.locationCustomSymbols": {
|
|
"type": "array",
|
|
"description": "Specifies the set of document symbols to render active document CodeLens on. Must be a member of `SymbolKind`"
|
|
},
|
|
"gitlens.codeLens.recentChange.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Specifies whether the recent change CodeLens is shown"
|
|
},
|
|
"gitlens.codeLens.recentChange.command": {
|
|
"type": "string",
|
|
"default": "blame.explorer",
|
|
"enum": [
|
|
"blame.annotate",
|
|
"blame.explorer",
|
|
"git.history"
|
|
],
|
|
"description": "Specifies the command executed when the recent change CodeLens is clicked. `blame.annotate` - toggles blame annotations. `blame.explorer` - opens the blame explorer. `git.history` - opens a file history picker, which requires the Git History (git log) extension"
|
|
},
|
|
"gitlens.codeLens.authors.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Specifies whether the authors CodeLens is shown"
|
|
},
|
|
"gitlens.codeLens.authors.command": {
|
|
"type": "string",
|
|
"default": "blame.annotate",
|
|
"enum": [
|
|
"blame.annotate",
|
|
"blame.explorer",
|
|
"git.history"
|
|
],
|
|
"description": "Specifies the command executed when the authors CodeLens is clicked. `blame.annotate` - toggles blame annotations. `blame.explorer` - opens the blame explorer. `git.history` - opens a file history picker, which requires the Git History (git log) extension"
|
|
},
|
|
"gitlens.advanced.caching.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Specifies whether git blame output will be cached"
|
|
}
|
|
}
|
|
},
|
|
"commands": [{
|
|
"command": "gitlens.diffWithPrevious",
|
|
"title": "Git: Open Diff with Previous Commit",
|
|
"category": "GitLens"
|
|
},
|
|
{
|
|
"command": "gitlens.diffWithWorking",
|
|
"title": "Git: Open Diff with Working Tree",
|
|
"category": "GitLens"
|
|
},
|
|
{
|
|
"command": "gitlens.showBlame",
|
|
"title": "Git: Show Blame",
|
|
"category": "GitLens"
|
|
},
|
|
{
|
|
"command": "gitlens.toggleBlame",
|
|
"title": "Git: Toggle Blame",
|
|
"category": "GitLens"
|
|
},
|
|
{
|
|
"command": "gitlens.toggleCodeLens",
|
|
"title": "Git: Toggle CodeLens",
|
|
"category": "GitLens"
|
|
}],
|
|
"menus": {
|
|
"editor/title": [{
|
|
"when": "editorTextFocus",
|
|
"command": "gitlens.toggleBlame",
|
|
"group": "gitlens"
|
|
}],
|
|
"editor/context": [
|
|
{
|
|
"when": "editorTextFocus",
|
|
"command": "gitlens.diffWithWorking",
|
|
"group": "gitlens@1.0"
|
|
},
|
|
{
|
|
"when": "editorTextFocus",
|
|
"command": "gitlens.diffWithPrevious",
|
|
"group": "gitlens@1.1"
|
|
},
|
|
{
|
|
"when": "editorTextFocus",
|
|
"command": "gitlens.toggleBlame",
|
|
"group": "gitlens-blame@1.2"
|
|
}]
|
|
},
|
|
"keybindings": [{
|
|
"command": "gitlens.toggleBlame",
|
|
"key": "alt+b",
|
|
"mac": "alt+b",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"command": "gitlens.toggleCodeLens",
|
|
"key": "alt+shift+b",
|
|
"mac": "alt+shift+b",
|
|
"when": "editorTextFocus"
|
|
}]
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"dependencies": {
|
|
"ignore": "^3.1.5",
|
|
"lodash": "^4.15.0",
|
|
"moment": "^2.15.0",
|
|
"spawn-rx": "^2.0.1",
|
|
"tmp": "^0.0.29"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^2.0.2",
|
|
"vscode": "^0.11.17"
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "node ./node_modules/vscode/bin/compile && tsc",
|
|
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
|
}
|
|
}
|