You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 line
6.9 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "0.2.0",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.3.0"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "GitLens",
  14. "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",
  15. "categories": [
  16. "Other"
  17. ],
  18. "keywords": [
  19. "git", "blame", "gitblame", "codelens", "annotation"
  20. ],
  21. "galleryBanner": {
  22. "color": "#f0efe7",
  23. "theme": "light"
  24. },
  25. "icon": "images/gitlens-icon.png",
  26. "preview": false,
  27. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  28. "bugs": {
  29. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/eamodio/vscode-gitlens.git"
  34. },
  35. "main": "./out/src/extension",
  36. "contributes": {
  37. "configuration": {
  38. "type": "object",
  39. "title": "GitLens configuration",
  40. "properties": {
  41. "gitlens.blame.annotation.style": {
  42. "type": "string",
  43. "default": "expanded",
  44. "enum": [
  45. "compact",
  46. "expanded"
  47. ],
  48. "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"
  49. },
  50. "gitlens.blame.annotation.sha": {
  51. "type": "boolean",
  52. "default": true,
  53. "description": "Specifies whether the commit sha will be shown in the blame annotations. Applies only to the Expanded annotation style"
  54. },
  55. "gitlens.blame.annotation.author": {
  56. "type": "boolean",
  57. "default": true,
  58. "description": "Specifies whether the committer will be shown in the blame annotations. Applies only to the Expanded annotation style"
  59. },
  60. "gitlens.blame.annotation.date": {
  61. "type": "boolean",
  62. "default": false,
  63. "description": "Specifies whether the commit date will be shown in the blame annotations. Applies only to the Expanded annotation style"
  64. },
  65. "gitlens.blame.annotation.useCodeActions": {
  66. "type": "boolean",
  67. "default": false,
  68. "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"
  69. },
  70. "gitlens.codeLens.recentChange.enabled": {
  71. "type": "boolean",
  72. "default": true,
  73. "description": "Specifies whether the recent change CodeLens is shown"
  74. },
  75. "gitlens.codeLens.recentChange.command": {
  76. "type": "string",
  77. "default": "blame.explorer",
  78. "enum": [
  79. "blame.annotate",
  80. "blame.explorer",
  81. "git.history"
  82. ],
  83. "description": "Specifies the command executed when the recent change CodeLens is clicked. Annotate - toggles blame annotations. Explorer - opens the blame explorer. History - opens a file history picker, which requires the Git History (git log) extension"
  84. },
  85. "gitlens.codeLens.authors.enabled": {
  86. "type": "boolean",
  87. "default": true,
  88. "description": "Specifies whether the authors CodeLens is shown"
  89. },
  90. "gitlens.codeLens.authors.command": {
  91. "type": "string",
  92. "default": "blame.annotate",
  93. "enum": [
  94. "blame.annotate",
  95. "blame.explorer",
  96. "git.history"
  97. ],
  98. "description": "Specifies the command executed when the authors CodeLens is clicked. Annotate - toggles blame annotations. Explorer - opens the blame explorer. History - opens a file history picker, which requires the Git History (git log) extension"
  99. },
  100. "gitlens.advanced.caching.enabled": {
  101. "type": "boolean",
  102. "default": true,
  103. "description": "Specifies whether git blame output will be cached"
  104. }
  105. }
  106. },
  107. "commands": [{
  108. "command": "gitlens.diffWithPrevious",
  109. "title": "Git: Open Diff with Previous Commit",
  110. "category": "GitLens"
  111. },
  112. {
  113. "command": "gitlens.diffWithWorking",
  114. "title": "Git: Open Diff with Working Tree",
  115. "category": "GitLens"
  116. },
  117. {
  118. "command": "gitlens.showBlame",
  119. "title": "Git: Show Blame",
  120. "category": "GitLens"
  121. },
  122. {
  123. "command": "gitlens.toggleBlame",
  124. "title": "Git: Toggle Blame",
  125. "category": "GitLens"
  126. }],
  127. "menus": {
  128. "editor/title": [{
  129. "when": "editorTextFocus",
  130. "command": "gitlens.toggleBlame",
  131. "group": "gitlens"
  132. }],
  133. "editor/context": [
  134. {
  135. "when": "editorTextFocus",
  136. "command": "gitlens.diffWithWorking",
  137. "group": "gitlens@1.0"
  138. },
  139. {
  140. "when": "editorTextFocus",
  141. "command": "gitlens.diffWithPrevious",
  142. "group": "gitlens@1.1"
  143. },
  144. {
  145. "when": "editorTextFocus",
  146. "command": "gitlens.toggleBlame",
  147. "group": "gitlens-blame@1.2"
  148. }]
  149. },
  150. "keybindings": [{
  151. "command": "gitlens.toggleBlame",
  152. "key": "alt+b",
  153. "mac": "alt+b",
  154. "when": "editorTextFocus"
  155. }]
  156. },
  157. "activationEvents": [
  158. "*"
  159. ],
  160. "dependencies": {
  161. "ignore": "^3.1.5",
  162. "lodash": "^4.15.0",
  163. "moment": "^2.15.0",
  164. "spawn-rx": "^2.0.1",
  165. "tmp": "^0.0.29"
  166. },
  167. "devDependencies": {
  168. "typescript": "^2.0.2",
  169. "vscode": "^0.11.17"
  170. },
  171. "scripts": {
  172. "vscode:prepublish": "node ./node_modules/vscode/bin/compile && tsc",
  173. "compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
  174. "postinstall": "node ./node_modules/vscode/bin/install"
  175. }
  176. }