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.

5025 lines
228 KiB

преди 7 години
преди 5 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 5 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 5 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 5 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 5 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 7 години
преди 5 години
преди 5 години
преди 7 години
преди 7 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 6 години
преди 5 години
преди 5 години
преди 6 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 7 години
преди 6 години
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
  5. "version": "9.6.0",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.30.0"
  22. },
  23. "main": "./dist/extension",
  24. "icon": "images/gitlens-icon.png",
  25. "preview": false,
  26. "badges": [
  27. {
  28. "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack",
  29. "href": "https://vscode-slack.amod.io",
  30. "description": "Join us in the #gitlens channel"
  31. }
  32. ],
  33. "categories": [
  34. "Other"
  35. ],
  36. "galleryBanner": {
  37. "color": "#8647ae",
  38. "theme": "dark"
  39. },
  40. "keywords": [
  41. "gitlens",
  42. "git",
  43. "blame",
  44. "log",
  45. "annotation",
  46. "multi-root ready"
  47. ],
  48. "activationEvents": [
  49. "*"
  50. ],
  51. "contributes": {
  52. "configuration": {
  53. "type": "object",
  54. "title": "GitLens",
  55. "properties": {
  56. "gitlens.blame.avatars": {
  57. "type": "boolean",
  58. "default": true,
  59. "markdownDescription": "Specifies whether to show avatar images in the gutter blame annotations",
  60. "scope": "window"
  61. },
  62. "gitlens.blame.compact": {
  63. "type": "boolean",
  64. "default": true,
  65. "markdownDescription": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  66. "scope": "window"
  67. },
  68. "gitlens.blame.dateFormat": {
  69. "type": "string",
  70. "default": null,
  71. "markdownDescription": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  72. "scope": "window"
  73. },
  74. "gitlens.blame.format": {
  75. "type": "string",
  76. "default": "${message|40?} ${agoOrDate|14-}",
  77. "markdownDescription": "Specifies the format of the gutter blame annotations. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.blame.dateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  78. "scope": "window"
  79. },
  80. "gitlens.blame.heatmap.enabled": {
  81. "type": "boolean",
  82. "default": true,
  83. "markdownDescription": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  84. "scope": "window"
  85. },
  86. "gitlens.blame.heatmap.location": {
  87. "type": "string",
  88. "default": "right",
  89. "enum": [
  90. "left",
  91. "right"
  92. ],
  93. "enumDescriptions": [
  94. "Adds a heatmap indicator on the left edge of the gutter blame annotations",
  95. "Adds a heatmap indicator on the right edge of the gutter blame annotations"
  96. ],
  97. "markdownDescription": "Specifies where the heatmap indicators will be shown in the gutter blame annotations",
  98. "scope": "window"
  99. },
  100. "gitlens.blame.highlight.enabled": {
  101. "type": "boolean",
  102. "default": true,
  103. "markdownDescription": "Specifies whether to highlight lines associated with the current line",
  104. "scope": "window"
  105. },
  106. "gitlens.blame.highlight.locations": {
  107. "type": "array",
  108. "default": [
  109. "gutter",
  110. "line",
  111. "overview"
  112. ],
  113. "items": {
  114. "type": "string",
  115. "enum": [
  116. "gutter",
  117. "line",
  118. "overview"
  119. ],
  120. "enumDescriptions": [
  121. "Adds a gutter glyph",
  122. "Adds a full-line highlight background color",
  123. "Adds a decoration to the overview ruler (scroll bar)"
  124. ]
  125. },
  126. "minItems": 1,
  127. "maxItems": 3,
  128. "uniqueItems": true,
  129. "markdownDescription": "Specifies where the associated line highlights will be shown",
  130. "scope": "window"
  131. },
  132. "gitlens.blame.ignoreWhitespace": {
  133. "type": "boolean",
  134. "default": false,
  135. "markdownDescription": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  136. "scope": "resource"
  137. },
  138. "gitlens.blame.separateLines": {
  139. "type": "boolean",
  140. "default": true,
  141. "markdownDescription": "Specifies whether gutter blame annotations will be separated by a small gap",
  142. "scope": "window"
  143. },
  144. "gitlens.blame.toggleMode": {
  145. "type": "string",
  146. "default": "file",
  147. "enum": [
  148. "file",
  149. "window"
  150. ],
  151. "enumDescriptions": [
  152. "Toggles each file individually",
  153. "Toggles the window, i.e. all files at once"
  154. ],
  155. "markdownDescription": "Specifies how the gutter blame annotations will be toggled",
  156. "scope": "window"
  157. },
  158. "gitlens.codeLens.authors.command": {
  159. "type": "string",
  160. "default": "gitlens.toggleFileBlame",
  161. "enum": [
  162. "gitlens.toggleFileBlame",
  163. "gitlens.diffWithPrevious",
  164. "gitlens.showQuickCommitDetails",
  165. "gitlens.showQuickCommitFileDetails",
  166. "gitlens.showQuickFileHistory",
  167. "gitlens.showQuickRepoHistory"
  168. ],
  169. "enumDescriptions": [
  170. "Toggles file blame annotations",
  171. "Compares the current committed file with the previous commit",
  172. "Shows a commit details quick pick",
  173. "Shows a commit file details quick pick",
  174. "Shows a file history quick pick",
  175. "Shows a branch history quick pick"
  176. ],
  177. "markdownDescription": "Specifies the command to be executed when an _authors_ code lens is clicked",
  178. "scope": "window"
  179. },
  180. "gitlens.codeLens.authors.enabled": {
  181. "type": "boolean",
  182. "default": true,
  183. "markdownDescription": "Specifies whether to provide an _authors_ code lens, showing number of authors of the file or code block and the most prominent author (if there is more than one)",
  184. "scope": "window"
  185. },
  186. "gitlens.codeLens.enabled": {
  187. "type": "boolean",
  188. "default": true,
  189. "markdownDescription": "Specifies whether to provide any Git code lens, by default. Use the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current window",
  190. "scope": "window"
  191. },
  192. "gitlens.codeLens.includeSingleLineSymbols": {
  193. "type": "boolean",
  194. "default": false,
  195. "markdownDescription": "Specifies whether to provide any Git code lens on symbols that span only a single line",
  196. "scope": "window"
  197. },
  198. "gitlens.codeLens.recentChange.command": {
  199. "type": "string",
  200. "default": "gitlens.showQuickCommitFileDetails",
  201. "enum": [
  202. "gitlens.toggleFileBlame",
  203. "gitlens.diffWithPrevious",
  204. "gitlens.showQuickCommitDetails",
  205. "gitlens.showQuickCommitFileDetails",
  206. "gitlens.showQuickFileHistory",
  207. "gitlens.showQuickRepoHistory"
  208. ],
  209. "enumDescriptions": [
  210. "Toggles file blame annotations",
  211. "Compares the current committed file with the previous commit",
  212. "Shows a commit details quick pick",
  213. "Shows a commit file details quick pick",
  214. "Shows a file history quick pick",
  215. "Shows a branch history quick pick"
  216. ],
  217. "markdownDescription": "Specifies the command to be executed when a _recent change_ code lens is clicked",
  218. "scope": "window"
  219. },
  220. "gitlens.codeLens.recentChange.enabled": {
  221. "type": "boolean",
  222. "default": true,
  223. "markdownDescription": "Specifies whether to provide a _recent change_ code lens, showing the author and date of the most recent commit for the file or code block",
  224. "scope": "window"
  225. },
  226. "gitlens.codeLens.scopes": {
  227. "type": "array",
  228. "default": [
  229. "document",
  230. "containers"
  231. ],
  232. "items": {
  233. "type": "string",
  234. "enum": [
  235. "document",
  236. "containers",
  237. "blocks"
  238. ],
  239. "enumDescriptions": [
  240. "Adds code lens at the top of the document",
  241. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  242. "Adds code lens at the start of block-like symbols (functions, methods, etc) lines"
  243. ]
  244. },
  245. "minItems": 1,
  246. "maxItems": 4,
  247. "uniqueItems": true,
  248. "markdownDescription": "Specifies where Git code lens will be shown in the document",
  249. "scope": "resource"
  250. },
  251. "gitlens.codeLens.scopesByLanguage": {
  252. "type": "array",
  253. "default": [
  254. {
  255. "language": "azure-pipelines",
  256. "scopes": [
  257. "document"
  258. ]
  259. },
  260. {
  261. "language": "css",
  262. "scopes": [
  263. "document"
  264. ]
  265. },
  266. {
  267. "language": "html",
  268. "scopes": [
  269. "document"
  270. ]
  271. },
  272. {
  273. "language": "json",
  274. "scopes": [
  275. "document"
  276. ]
  277. },
  278. {
  279. "language": "jsonc",
  280. "scopes": [
  281. "document"
  282. ]
  283. },
  284. {
  285. "language": "less",
  286. "scopes": [
  287. "document"
  288. ]
  289. },
  290. {
  291. "language": "postcss",
  292. "scopes": [
  293. "document"
  294. ]
  295. },
  296. {
  297. "language": "python",
  298. "symbolScopes": [
  299. "!Module"
  300. ]
  301. },
  302. {
  303. "language": "scss",
  304. "scopes": [
  305. "document"
  306. ]
  307. },
  308. {
  309. "language": "stylus",
  310. "scopes": [
  311. "document"
  312. ]
  313. },
  314. {
  315. "language": "vue",
  316. "scopes": [
  317. "document"
  318. ]
  319. },
  320. {
  321. "language": "yaml",
  322. "scopes": [
  323. "document"
  324. ]
  325. }
  326. ],
  327. "items": {
  328. "type": "object",
  329. "required": [
  330. "language"
  331. ],
  332. "properties": {
  333. "language": {
  334. "type": "string",
  335. "description": "Specifies the language to which this code lens override applies"
  336. },
  337. "scopes": {
  338. "type": "array",
  339. "default": [
  340. "document",
  341. "containers"
  342. ],
  343. "items": {
  344. "type": "string",
  345. "enum": [
  346. "document",
  347. "containers",
  348. "blocks",
  349. "custom"
  350. ],
  351. "enumDescriptions": [
  352. "Adds code lens at the top of the document",
  353. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  354. "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
  355. "Adds code lens at the start of symbols contained in `symbolScopes`"
  356. ]
  357. },
  358. "minItems": 1,
  359. "maxItems": 4,
  360. "uniqueItems": true,
  361. "description": "Specifies where Git code lens will be shown in the document for the specified language"
  362. },
  363. "symbolScopes": {
  364. "type": "array",
  365. "items": {
  366. "type": "string"
  367. },
  368. "uniqueItems": true,
  369. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language. Must be a member of `SymbolKind`"
  370. }
  371. }
  372. },
  373. "uniqueItems": true,
  374. "markdownDescription": "Specifies where Git code lens will be shown in the document for the specified languages",
  375. "scope": "resource"
  376. },
  377. "gitlens.codeLens.symbolScopes": {
  378. "type": "array",
  379. "items": {
  380. "type": "string"
  381. },
  382. "uniqueItems": true,
  383. "markdownDescription": "Specifies a set of document symbols where Git code lens will or will not be shown in the document. Prefix with `!` to avoid providing a Git code lens for the symbol. Must be a member of `SymbolKind`",
  384. "scope": "resource"
  385. },
  386. "gitlens.currentLine.dateFormat": {
  387. "type": "string",
  388. "default": null,
  389. "markdownDescription": "Specifies how to format absolute dates (using the `${date}` token) for the current line blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  390. "scope": "window"
  391. },
  392. "gitlens.currentLine.enabled": {
  393. "type": "boolean",
  394. "default": true,
  395. "markdownDescription": "Specifies whether to provide a blame annotation for the current line, by default. Use the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
  396. "scope": "window"
  397. },
  398. "gitlens.currentLine.format": {
  399. "type": "string",
  400. "default": "${authorAgoOrDate} • ${message}",
  401. "markdownDescription": "Specifies the format of the current line blame annotation. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.currentLine.dateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  402. "scope": "window"
  403. },
  404. "gitlens.currentLine.scrollable": {
  405. "type": "boolean",
  406. "default": true,
  407. "markdownDescription": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  408. "scope": "window"
  409. },
  410. "gitlens.debug": {
  411. "type": "boolean",
  412. "default": false,
  413. "markdownDescription": "Specifies debug mode",
  414. "scope": "window"
  415. },
  416. "gitlens.defaultDateFormat": {
  417. "type": "string",
  418. "default": null,
  419. "markdownDescription": "Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  420. "scope": "window"
  421. },
  422. "gitlens.defaultDateShortFormat": {
  423. "type": "string",
  424. "default": null,
  425. "markdownDescription": "Specifies how short absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  426. "scope": "window"
  427. },
  428. "gitlens.defaultDateStyle": {
  429. "type": "string",
  430. "default": "relative",
  431. "enum": [
  432. "relative",
  433. "absolute"
  434. ],
  435. "enumDescriptions": [
  436. "e.g. 1 day ago",
  437. "e.g. July 25th, 2018 7:18pm"
  438. ],
  439. "markdownDescription": "Specifies how dates will be displayed by default",
  440. "scope": "window"
  441. },
  442. "gitlens.defaultGravatarsStyle": {
  443. "type": "string",
  444. "default": "robohash",
  445. "enum": [
  446. "identicon",
  447. "mp",
  448. "monsterid",
  449. "retro",
  450. "robohash",
  451. "wavatar"
  452. ],
  453. "enumDescriptions": [
  454. "A geometric pattern",
  455. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  456. "A monster with different colors, faces, etc",
  457. "8-bit arcade-style pixelated faces",
  458. "A robot with different colors, faces, etc",
  459. "A face with differing features and backgrounds"
  460. ],
  461. "markdownDescription": "Specifies the style of the gravatar default (fallback) images",
  462. "scope": "window"
  463. },
  464. "gitlens.heatmap.ageThreshold": {
  465. "type": "string",
  466. "default": "90",
  467. "markdownDescription": "Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `#gitlens.heatmap.coldColor#` instead of `#gitlens.heatmap.hotColor#`)",
  468. "scope": "window"
  469. },
  470. "gitlens.heatmap.coldColor": {
  471. "type": "string",
  472. "default": "#0a60f6",
  473. "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  474. "scope": "window"
  475. },
  476. "gitlens.heatmap.hotColor": {
  477. "type": "string",
  478. "default": "#f66a0a",
  479. "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  480. "scope": "window"
  481. },
  482. "gitlens.heatmap.toggleMode": {
  483. "type": "string",
  484. "default": "file",
  485. "enum": [
  486. "file",
  487. "window"
  488. ],
  489. "enumDescriptions": [
  490. "Toggles each file individually",
  491. "Toggles the window, i.e. all files at once"
  492. ],
  493. "markdownDescription": "Specifies how the gutter heatmap annotations will be toggled",
  494. "scope": "window"
  495. },
  496. "gitlens.hovers.annotations.changes": {
  497. "type": "boolean",
  498. "default": true,
  499. "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for all lines when showing blame annotations",
  500. "scope": "window"
  501. },
  502. "gitlens.hovers.annotations.details": {
  503. "type": "boolean",
  504. "default": true,
  505. "markdownDescription": "Specifies whether to provide a _commit details_ hover for all lines when showing blame annotations",
  506. "scope": "window"
  507. },
  508. "gitlens.hovers.annotations.enabled": {
  509. "type": "boolean",
  510. "default": true,
  511. "markdownDescription": "Specifies whether to provide any hovers when showing blame annotations",
  512. "scope": "window"
  513. },
  514. "gitlens.hovers.annotations.over": {
  515. "type": "string",
  516. "default": "line",
  517. "enum": [
  518. "annotation",
  519. "line"
  520. ],
  521. "enumDescriptions": [
  522. "Only shown when hovering over the line annotation",
  523. "Shown when hovering anywhere over the line"
  524. ],
  525. "markdownDescription": "Specifies when to trigger hovers when showing blame annotations",
  526. "scope": "window"
  527. },
  528. "gitlens.hovers.currentLine.changes": {
  529. "type": "boolean",
  530. "default": true,
  531. "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for the current line",
  532. "scope": "window"
  533. },
  534. "gitlens.hovers.currentLine.details": {
  535. "type": "boolean",
  536. "default": true,
  537. "markdownDescription": "Specifies whether to provide a _commit details_ hover for the current line",
  538. "scope": "window"
  539. },
  540. "gitlens.hovers.currentLine.enabled": {
  541. "type": "boolean",
  542. "default": true,
  543. "markdownDescription": "Specifies whether to provide any hovers for the current line",
  544. "scope": "window"
  545. },
  546. "gitlens.hovers.currentLine.over": {
  547. "type": "string",
  548. "default": "annotation",
  549. "enum": [
  550. "annotation",
  551. "line"
  552. ],
  553. "enumDescriptions": [
  554. "Only shown when hovering over the line annotation",
  555. "Shown when hovering anywhere over the line"
  556. ],
  557. "markdownDescription": "Specifies when to trigger hovers for the current line",
  558. "scope": "window"
  559. },
  560. "gitlens.hovers.avatars": {
  561. "type": "boolean",
  562. "default": true,
  563. "markdownDescription": "Specifies whether to show avatar images in hovers",
  564. "scope": "window"
  565. },
  566. "gitlens.hovers.detailsMarkdownFormat": {
  567. "type": "string",
  568. "default": "[${avatar}  __${author}__](mailto:${email}), ${ago}   _(${date})_ ${message}\n\n${commands}",
  569. "markdownDescription": "Specifies the format (in markdown) of the _commit details_ hover. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.defaultDateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`\n - `${avatar}` — commit author avatar\n - `${commands}` — a set of commit commands",
  570. "scope": "window"
  571. },
  572. "gitlens.hovers.enabled": {
  573. "type": "boolean",
  574. "default": true,
  575. "markdownDescription": "Specifies whether to provide any hovers",
  576. "scope": "window"
  577. },
  578. "gitlens.insiders": {
  579. "type": "boolean",
  580. "default": false,
  581. "markdownDescription": "Specifies whether to enable experimental features",
  582. "scope": "window"
  583. },
  584. "gitlens.keymap": {
  585. "type": "string",
  586. "default": "chorded",
  587. "enum": [
  588. "alternate",
  589. "chorded",
  590. "none"
  591. ],
  592. "enumDescriptions": [
  593. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  594. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  595. "No shortcut keys will be added"
  596. ],
  597. "markdownDescription": "Specifies the keymap to use for GitLens shortcut keys",
  598. "scope": "window"
  599. },
  600. "gitlens.liveshare.allowGuestAccess": {
  601. "type": "boolean",
  602. "default": true,
  603. "description": "Specifies whether to allow guest access to GitLens features when using Visual Studio Live Share",
  604. "scope": "window"
  605. },
  606. "gitlens.menus": {
  607. "anyOf": [
  608. {
  609. "enum": [
  610. false
  611. ]
  612. },
  613. {
  614. "type": "object",
  615. "properties": {
  616. "editor": {
  617. "anyOf": [
  618. {
  619. "enum": [
  620. false
  621. ]
  622. },
  623. {
  624. "type": "object",
  625. "properties": {
  626. "blame": {
  627. "type": "boolean"
  628. },
  629. "clipboard": {
  630. "type": "boolean"
  631. },
  632. "compare": {
  633. "type": "boolean"
  634. },
  635. "details": {
  636. "type": "boolean"
  637. },
  638. "history": {
  639. "type": "boolean"
  640. },
  641. "remote": {
  642. "type": "boolean"
  643. }
  644. }
  645. }
  646. ]
  647. },
  648. "editorGroup": {
  649. "anyOf": [
  650. {
  651. "enum": [
  652. false
  653. ]
  654. },
  655. {
  656. "type": "object",
  657. "properties": {
  658. "blame": {
  659. "type": "boolean"
  660. },
  661. "compare": {
  662. "type": "boolean"
  663. }
  664. }
  665. }
  666. ]
  667. },
  668. "editorTab": {
  669. "anyOf": [
  670. {
  671. "enum": [
  672. false
  673. ]
  674. },
  675. {
  676. "type": "object",
  677. "properties": {
  678. "clipboard": {
  679. "type": "boolean"
  680. },
  681. "compare": {
  682. "type": "boolean"
  683. },
  684. "history": {
  685. "type": "boolean"
  686. },
  687. "remote": {
  688. "type": "boolean"
  689. }
  690. }
  691. }
  692. ]
  693. },
  694. "explorer": {
  695. "anyOf": [
  696. {
  697. "enum": [
  698. false
  699. ]
  700. },
  701. {
  702. "type": "object",
  703. "properties": {
  704. "clipboard": {
  705. "type": "boolean"
  706. },
  707. "compare": {
  708. "type": "boolean"
  709. },
  710. "history": {
  711. "type": "boolean"
  712. },
  713. "remote": {
  714. "type": "boolean"
  715. }
  716. }
  717. }
  718. ]
  719. },
  720. "scmGroup": {
  721. "anyOf": [
  722. {
  723. "enum": [
  724. false
  725. ]
  726. },
  727. {
  728. "type": "object",
  729. "properties": {
  730. "compare": {
  731. "type": "boolean"
  732. },
  733. "openClose": {
  734. "type": "boolean"
  735. },
  736. "stash": {
  737. "type": "boolean"
  738. },
  739. "stashInline": {
  740. "type": "boolean"
  741. }
  742. }
  743. }
  744. ]
  745. },
  746. "scmItem": {
  747. "anyOf": [
  748. {
  749. "enum": [
  750. false
  751. ]
  752. },
  753. {
  754. "type": "object",
  755. "properties": {
  756. "clipboard": {
  757. "type": "boolean"
  758. },
  759. "compare": {
  760. "type": "boolean"
  761. },
  762. "history": {
  763. "type": "boolean"
  764. },
  765. "remote": {
  766. "type": "boolean"
  767. },
  768. "stash": {
  769. "type": "boolean"
  770. }
  771. }
  772. }
  773. ]
  774. }
  775. }
  776. }
  777. ],
  778. "default": {
  779. "editor": {
  780. "blame": false,
  781. "clipboard": true,
  782. "compare": true,
  783. "details": false,
  784. "history": false,
  785. "remote": false
  786. },
  787. "editorGroup": {
  788. "blame": true,
  789. "compare": true
  790. },
  791. "editorTab": {
  792. "clipboard": true,
  793. "compare": true,
  794. "history": true,
  795. "remote": true
  796. },
  797. "explorer": {
  798. "clipboard": true,
  799. "compare": true,
  800. "history": true,
  801. "remote": true
  802. },
  803. "scmGroup": {
  804. "compare": true,
  805. "openClose": true,
  806. "stash": true,
  807. "stashInline": true
  808. },
  809. "scmItem": {
  810. "clipboard": true,
  811. "compare": true,
  812. "history": true,
  813. "remote": true,
  814. "stash": true
  815. }
  816. },
  817. "markdownDescription": "Specifies which commands will be added to which menus",
  818. "scope": "window"
  819. },
  820. "gitlens.mode.active": {
  821. "type": "string",
  822. "markdownDescription": "Specifies the active GitLens mode, if any",
  823. "scope": "window"
  824. },
  825. "gitlens.mode.statusBar.enabled": {
  826. "type": "boolean",
  827. "default": true,
  828. "markdownDescription": "Specifies whether to provide the active GitLens mode in the status bar",
  829. "scope": "window"
  830. },
  831. "gitlens.mode.statusBar.alignment": {
  832. "type": "string",
  833. "default": "right",
  834. "enum": [
  835. "left",
  836. "right"
  837. ],
  838. "enumDescriptions": [
  839. "Aligns to the left",
  840. "Aligns to the right"
  841. ],
  842. "markdownDescription": "Specifies the active GitLens mode alignment in the status bar",
  843. "scope": "window"
  844. },
  845. "gitlens.modes": {
  846. "type": "object",
  847. "properties": {
  848. "zen": {
  849. "type": "object",
  850. "properties": {
  851. "name": {
  852. "type": "string",
  853. "description": "Specifies the friendly name of this user-defined mode"
  854. },
  855. "statusBarItemName": {
  856. "type": "string",
  857. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  858. },
  859. "description": {
  860. "type": "string",
  861. "description": "Specifies the description of this user-defined mode"
  862. },
  863. "codeLens": {
  864. "type": "boolean",
  865. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  866. },
  867. "currentLine": {
  868. "type": "boolean",
  869. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  870. },
  871. "hovers": {
  872. "type": "boolean",
  873. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  874. },
  875. "statusBar": {
  876. "type": "boolean",
  877. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  878. },
  879. "views": {
  880. "type": "boolean",
  881. "description": "Specifies whether to show any GitLens views when this user-defined mode is active"
  882. }
  883. }
  884. },
  885. "review": {
  886. "type": "object",
  887. "properties": {
  888. "name": {
  889. "type": "string",
  890. "description": "Specifies the friendly name of this user-defined mode"
  891. },
  892. "statusBarItemName": {
  893. "type": "string",
  894. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  895. },
  896. "description": {
  897. "type": "string",
  898. "description": "Specifies the description of this user-defined mode"
  899. },
  900. "codeLens": {
  901. "type": "boolean",
  902. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  903. },
  904. "currentLine": {
  905. "type": "boolean",
  906. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  907. },
  908. "hovers": {
  909. "type": "boolean",
  910. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  911. },
  912. "statusBar": {
  913. "type": "boolean",
  914. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  915. },
  916. "views": {
  917. "type": "boolean",
  918. "description": "Specifies whether to show any GitLens views when this user-defined mode is active"
  919. }
  920. }
  921. }
  922. },
  923. "additionalProperties": {
  924. "type": "object",
  925. "required": [
  926. "name"
  927. ],
  928. "properties": {
  929. "name": {
  930. "type": "string",
  931. "description": "Specifies the friendly name of this user-defined mode"
  932. },
  933. "statusBarItemName": {
  934. "type": "string",
  935. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  936. },
  937. "description": {
  938. "type": "string",
  939. "description": "Specifies the description of this user-defined mode"
  940. },
  941. "annotations": {
  942. "type": "string",
  943. "enum": [
  944. "blame",
  945. "heatmap",
  946. "recentChanges"
  947. ],
  948. "enumDescriptions": [
  949. "Shows the gutter blame annotations",
  950. "Shows the gutter heatmap annotations",
  951. "Shows the recently changed lines annotations"
  952. ],
  953. "description": "Specifies which (if any) file annotations will be shown when this user-defined mode is active"
  954. },
  955. "codeLens": {
  956. "type": "boolean",
  957. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  958. },
  959. "currentLine": {
  960. "type": "boolean",
  961. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  962. },
  963. "hovers": {
  964. "type": "boolean",
  965. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  966. },
  967. "statusBar": {
  968. "type": "boolean",
  969. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  970. },
  971. "views": {
  972. "type": "boolean",
  973. "description": "Specifies whether to show any GitLens views when this user-defined mode is active"
  974. }
  975. }
  976. },
  977. "default": {
  978. "zen": {
  979. "name": "Zen",
  980. "statusBarItemName": "Zen",
  981. "description": "for a zen-like experience, disables many visual features",
  982. "codeLens": false,
  983. "currentLine": false,
  984. "hovers": false,
  985. "statusBar": false
  986. },
  987. "review": {
  988. "name": "Review",
  989. "statusBarItemName": "Reviewing",
  990. "description": "for reviewing code, enables many visual features",
  991. "codeLens": true,
  992. "currentLine": true,
  993. "hovers": true
  994. }
  995. },
  996. "markdownDescription": "Specifies the user-defined GitLens modes",
  997. "scope": "window"
  998. },
  999. "gitlens.outputLevel": {
  1000. "type": "string",
  1001. "default": "errors",
  1002. "enum": [
  1003. "silent",
  1004. "errors",
  1005. "verbose",
  1006. "debug"
  1007. ],
  1008. "enumDescriptions": [
  1009. "Logs nothing",
  1010. "Logs only errors",
  1011. "Logs all errors, warnings, and messages",
  1012. "Logs all errors, warnings, and messages with extra context useful for debugging"
  1013. ],
  1014. "markdownDescription": "Specifies how much (if any) output will be sent to the GitLens output channel",
  1015. "scope": "window"
  1016. },
  1017. "gitlens.recentChanges.highlight.locations": {
  1018. "type": "array",
  1019. "default": [
  1020. "gutter",
  1021. "line",
  1022. "overview"
  1023. ],
  1024. "items": {
  1025. "type": "string",
  1026. "enum": [
  1027. "gutter",
  1028. "line",
  1029. "overview"
  1030. ],
  1031. "enumDescriptions": [
  1032. "Adds a gutter glyph",
  1033. "Adds a full-line highlight background color",
  1034. "Adds a decoration to the overview ruler (scroll bar)"
  1035. ]
  1036. },
  1037. "minItems": 1,
  1038. "maxItems": 3,
  1039. "uniqueItems": true,
  1040. "markdownDescription": "Specifies where the highlights of the recently changed lines will be shown",
  1041. "scope": "window"
  1042. },
  1043. "gitlens.recentChanges.toggleMode": {
  1044. "type": "string",
  1045. "default": "file",
  1046. "enum": [
  1047. "file",
  1048. "window"
  1049. ],
  1050. "enumDescriptions": [
  1051. "Toggles each file individually",
  1052. "Toggles the window, i.e. all files at once"
  1053. ],
  1054. "markdownDescription": "Specifies how the recently changed lines annotations will be toggled",
  1055. "scope": "window"
  1056. },
  1057. "gitlens.remotes": {
  1058. "type": "array",
  1059. "default": null,
  1060. "items": {
  1061. "type": "object",
  1062. "required": [
  1063. "type",
  1064. "domain"
  1065. ],
  1066. "properties": {
  1067. "type": {
  1068. "type": "string",
  1069. "enum": [
  1070. "Bitbucket",
  1071. "BitbucketServer",
  1072. "Custom",
  1073. "GitHub",
  1074. "GitLab"
  1075. ],
  1076. "description": "Specifies the type of the custom remote service"
  1077. },
  1078. "domain": {
  1079. "type": "string",
  1080. "description": "Specifies the domain name of the custom remote service"
  1081. },
  1082. "name": {
  1083. "type": "string",
  1084. "description": "Specifies an optional friendly name for the custom remote service"
  1085. },
  1086. "protocol": {
  1087. "type": "string",
  1088. "default": "https",
  1089. "description": "Specifies an optional url protocol for the custom remote service"
  1090. },
  1091. "urls": {
  1092. "type": "object",
  1093. "required": [
  1094. "repository",
  1095. "branches",
  1096. "branch",
  1097. "commit",
  1098. "file",
  1099. "fileInCommit",
  1100. "fileInBranch",
  1101. "fileLine",
  1102. "fileRange"
  1103. ],
  1104. "properties": {
  1105. "repository": {
  1106. "type": "string",
  1107. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo}` — repository path"
  1108. },
  1109. "branches": {
  1110. "type": "string",
  1111. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${branch}` — branch"
  1112. },
  1113. "branch": {
  1114. "type": "string",
  1115. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${branch}` — branch"
  1116. },
  1117. "commit": {
  1118. "type": "string",
  1119. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${id}` — commit id"
  1120. },
  1121. "file": {
  1122. "type": "string",
  1123. "description": "Specifies the format of a file url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${file}` — file name\n ${line}` — formatted line information"
  1124. },
  1125. "fileInBranch": {
  1126. "type": "string",
  1127. "description": "Specifies the format of a branch file url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${file}` — file name\n ${branch}` — branch\n ${line}` — formatted line information"
  1128. },
  1129. "fileInCommit": {
  1130. "type": "string",
  1131. "description": "Specifies the format of a commit file url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${file}` — file name\n ${id}` — commit id\n ${line}` — formatted line information"
  1132. },
  1133. "fileLine": {
  1134. "type": "string",
  1135. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line}` — line"
  1136. },
  1137. "fileRange": {
  1138. "type": "string",
  1139. "description": "Specifies the format of a range in a file url for the custom remote service\nAvailable tokens\n ${start}` — starting line\n ${end}` — ending line"
  1140. }
  1141. }
  1142. },
  1143. "description": "Specifies the url formats of the custom remote service"
  1144. }
  1145. },
  1146. "uniqueItems": true,
  1147. "markdownDescription": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1148. "scope": "resource"
  1149. },
  1150. "gitlens.settings.mode": {
  1151. "type": "string",
  1152. "default": "simple",
  1153. "enum": [
  1154. "simple",
  1155. "advanced"
  1156. ],
  1157. "enumDescriptions": [
  1158. "Only displays common settings",
  1159. "Displays all settings"
  1160. ],
  1161. "markdownDescription": "Specifies the display mode of the interactive settings editor",
  1162. "scope": "window"
  1163. },
  1164. "gitlens.showWhatsNewAfterUpgrades": {
  1165. "type": "boolean",
  1166. "default": true,
  1167. "markdownDescription": "Specifies whether to show What's New after upgrading to new feature releases",
  1168. "scope": "window"
  1169. },
  1170. "gitlens.statusBar.alignment": {
  1171. "type": "string",
  1172. "default": "right",
  1173. "enum": [
  1174. "left",
  1175. "right"
  1176. ],
  1177. "enumDescriptions": [
  1178. "Aligns to the left",
  1179. "Aligns to the right"
  1180. ],
  1181. "markdownDescription": "Specifies the blame alignment in the status bar",
  1182. "scope": "window"
  1183. },
  1184. "gitlens.statusBar.command": {
  1185. "type": "string",
  1186. "default": "gitlens.showQuickCommitDetails",
  1187. "enum": [
  1188. "gitlens.toggleFileBlame",
  1189. "gitlens.diffWithPrevious",
  1190. "gitlens.diffWithWorking",
  1191. "gitlens.toggleCodeLens",
  1192. "gitlens.showQuickCommitDetails",
  1193. "gitlens.showQuickCommitFileDetails",
  1194. "gitlens.showQuickFileHistory",
  1195. "gitlens.showQuickRepoHistory"
  1196. ],
  1197. "enumDescriptions": [
  1198. "Toggles file blame annotations",
  1199. "Compares the current line commit with the previous",
  1200. "Compares the current line commit with the working tree",
  1201. "Toggles Git code lens",
  1202. "Shows a commit details quick pick",
  1203. "Shows a commit file details quick pick",
  1204. "Shows a file history quick pick",
  1205. "Shows a branch history quick pick"
  1206. ],
  1207. "markdownDescription": "Specifies the command to be executed when the blame status bar item is clicked",
  1208. "scope": "window"
  1209. },
  1210. "gitlens.statusBar.dateFormat": {
  1211. "type": "string",
  1212. "default": null,
  1213. "markdownDescription": "Specifies the date format of absolute dates shown in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  1214. "scope": "window"
  1215. },
  1216. "gitlens.statusBar.enabled": {
  1217. "type": "boolean",
  1218. "default": true,
  1219. "markdownDescription": "Specifies whether to provide blame information in the status bar",
  1220. "scope": "window"
  1221. },
  1222. "gitlens.statusBar.format": {
  1223. "type": "string",
  1224. "default": "${authorAgoOrDate}",
  1225. "markdownDescription": "Specifies the format of the gutter blame annotations. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.statusBar.dateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  1226. "scope": "window"
  1227. },
  1228. "gitlens.statusBar.reduceFlicker": {
  1229. "type": "boolean",
  1230. "default": false,
  1231. "markdownDescription": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1232. "scope": "window"
  1233. },
  1234. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1235. "type": "string",
  1236. "default": "Unsaved changes (cannot determine recent change or authors)",
  1237. "markdownDescription": "Specifies the string to be shown in place of both the _recent change_ and _authors_ code lens when there are unsaved changes",
  1238. "scope": "window"
  1239. },
  1240. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1241. "type": "string",
  1242. "default": "Unsaved changes (cannot determine recent change)",
  1243. "markdownDescription": "Specifies the string to be shown in place of the _recent change_ code lens when there are unsaved changes",
  1244. "scope": "window"
  1245. },
  1246. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1247. "type": "string",
  1248. "default": "Unsaved changes (cannot determine authors)",
  1249. "markdownDescription": "Specifies the string to be shown in place of the _authors_ code lens when there are unsaved changes",
  1250. "scope": "window"
  1251. },
  1252. "gitlens.views.commitFileFormat": {
  1253. "type": "string",
  1254. "default": "${file}",
  1255. "markdownDescription": "Specifies the format of a committed file in the views\n- Available tokens\n - `${directory}` — directory name\n - `${file}` — file name\n - `${filePath}` — formatted file name and path\n - `${path}` — full file path",
  1256. "scope": "window"
  1257. },
  1258. "gitlens.views.commitFileDescriptionFormat": {
  1259. "type": "string",
  1260. "default": "${directory}",
  1261. "markdownDescription": "Specifies the description format of a committed file in the views\n- Available tokens\n - `${directory}` — directory name\n - `${file}` — file name\n - `${filePath}` — formatted file name and path\n - `${path}` — full file path",
  1262. "scope": "window"
  1263. },
  1264. "gitlens.views.commitFormat": {
  1265. "type": "string",
  1266. "default": "${message}",
  1267. "markdownDescription": "Specifies the format of committed changes in the views. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.defaultDateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  1268. "scope": "window"
  1269. },
  1270. "gitlens.views.commitDescriptionFormat": {
  1271. "type": "string",
  1272. "default": "${changes • }${authorAgoOrDate}",
  1273. "markdownDescription": "Specifies the description format of committed changes in the views. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.defaultDateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  1274. "scope": "window"
  1275. },
  1276. "gitlens.views.compare.avatars": {
  1277. "type": "boolean",
  1278. "default": true,
  1279. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Compare_ view",
  1280. "scope": "window"
  1281. },
  1282. "gitlens.views.compare.enabled": {
  1283. "type": "boolean",
  1284. "default": true,
  1285. "markdownDescription": "Specifies whether to show the _Compare_ view",
  1286. "scope": "window"
  1287. },
  1288. "gitlens.views.compare.files.compact": {
  1289. "type": "boolean",
  1290. "default": true,
  1291. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Compare_ view. Only applies when `#gitlens.views.compare.files.layout#` is set to `tree` or `auto`",
  1292. "scope": "window"
  1293. },
  1294. "gitlens.views.compare.files.layout": {
  1295. "type": "string",
  1296. "default": "auto",
  1297. "enum": [
  1298. "auto",
  1299. "list",
  1300. "tree"
  1301. ],
  1302. "enumDescriptions": [
  1303. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.compare.files.threshold#` value and the number of files at each nesting level",
  1304. "Displays files as a list",
  1305. "Displays files as a tree"
  1306. ],
  1307. "markdownDescription": "Specifies how the _Compare_ view will display files",
  1308. "scope": "window"
  1309. },
  1310. "gitlens.views.compare.files.threshold": {
  1311. "type": "number",
  1312. "default": 5,
  1313. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Compare_ view. Only applies when `#gitlens.views.compare.files.layout#` is set to `auto`",
  1314. "scope": "window"
  1315. },
  1316. "gitlens.views.compare.location": {
  1317. "type": "string",
  1318. "default": "gitlens",
  1319. "enum": [
  1320. "gitlens",
  1321. "explorer",
  1322. "scm"
  1323. ],
  1324. "enumDescriptions": [
  1325. "Adds to the GitLens side bar",
  1326. "Adds to the Explorer side bar",
  1327. "Adds to the Source Control side bar"
  1328. ],
  1329. "markdownDescription": "Specifies where to show the _Compare_ view",
  1330. "scope": "window"
  1331. },
  1332. "gitlens.views.defaultItemLimit": {
  1333. "type": "number",
  1334. "default": 10,
  1335. "markdownDescription": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
  1336. "scope": "window"
  1337. },
  1338. "gitlens.views.pageItemLimit": {
  1339. "type": "number",
  1340. "default": 20,
  1341. "markdownDescription": "Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit",
  1342. "scope": "window"
  1343. },
  1344. "gitlens.views.fileHistory.avatars": {
  1345. "type": "boolean",
  1346. "default": true,
  1347. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _File History_ view",
  1348. "scope": "window"
  1349. },
  1350. "gitlens.views.fileHistory.enabled": {
  1351. "type": "boolean",
  1352. "default": true,
  1353. "markdownDescription": "Specifies whether to show the _File History_ view",
  1354. "scope": "window"
  1355. },
  1356. "gitlens.views.fileHistory.location": {
  1357. "type": "string",
  1358. "default": "gitlens",
  1359. "enum": [
  1360. "gitlens",
  1361. "explorer",
  1362. "scm"
  1363. ],
  1364. "enumDescriptions": [
  1365. "Adds to the GitLens side bar",
  1366. "Adds to the Explorer side bar",
  1367. "Adds to the Source Control side bar"
  1368. ],
  1369. "markdownDescription": "Specifies where to show the _File History_ view",
  1370. "scope": "window"
  1371. },
  1372. "gitlens.views.lineHistory.avatars": {
  1373. "type": "boolean",
  1374. "default": true,
  1375. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _Line History_ view",
  1376. "scope": "window"
  1377. },
  1378. "gitlens.views.lineHistory.enabled": {
  1379. "type": "boolean",
  1380. "default": true,
  1381. "markdownDescription": "Specifies whether to show the _Line History_ view",
  1382. "scope": "window"
  1383. },
  1384. "gitlens.views.lineHistory.location": {
  1385. "type": "string",
  1386. "default": "gitlens",
  1387. "enum": [
  1388. "gitlens",
  1389. "explorer",
  1390. "scm"
  1391. ],
  1392. "enumDescriptions": [
  1393. "Adds to the GitLens side bar",
  1394. "Adds to the Explorer side bar",
  1395. "Adds to the Source Control side bar"
  1396. ],
  1397. "markdownDescription": "Specifies where to show the _Line History_ view",
  1398. "scope": "window"
  1399. },
  1400. "gitlens.views.repositories.autoRefresh": {
  1401. "type": "boolean",
  1402. "default": true,
  1403. "markdownDescription": "Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes",
  1404. "scope": "window"
  1405. },
  1406. "gitlens.views.repositories.autoReveal": {
  1407. "type": "boolean",
  1408. "default": true,
  1409. "markdownDescription": "Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files",
  1410. "scope": "window"
  1411. },
  1412. "gitlens.views.repositories.avatars": {
  1413. "type": "boolean",
  1414. "default": true,
  1415. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view",
  1416. "scope": "window"
  1417. },
  1418. "gitlens.views.repositories.branches.layout": {
  1419. "type": "string",
  1420. "default": "tree",
  1421. "enum": [
  1422. "list",
  1423. "tree"
  1424. ],
  1425. "enumDescriptions": [
  1426. "Displays branches as a list",
  1427. "Displays branches as a tree when branch names contain slashes `/`"
  1428. ],
  1429. "markdownDescription": "Specifies how the _Repositories_ view will display branches",
  1430. "scope": "window"
  1431. },
  1432. "gitlens.views.repositories.compact": {
  1433. "type": "boolean",
  1434. "default": false,
  1435. "markdownDescription": "Specifies whether to show the _Repositories_ view in a compact display density",
  1436. "scope": "window"
  1437. },
  1438. "gitlens.views.repositories.enabled": {
  1439. "type": "boolean",
  1440. "default": true,
  1441. "markdownDescription": "Specifies whether to show the _Repositories_ view",
  1442. "scope": "window"
  1443. },
  1444. "gitlens.views.repositories.files.compact": {
  1445. "type": "boolean",
  1446. "default": true,
  1447. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Repositories_ view. Only applies when `#gitlens.views.repositories.files.layout#` is set to `tree` or `auto`",
  1448. "scope": "window"
  1449. },
  1450. "gitlens.views.repositories.files.layout": {
  1451. "type": "string",
  1452. "default": "auto",
  1453. "enum": [
  1454. "auto",
  1455. "list",
  1456. "tree"
  1457. ],
  1458. "enumDescriptions": [
  1459. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.repositories.files.threshold#` value and the number of files at each nesting level",
  1460. "Displays files as a list",
  1461. "Displays files as a tree"
  1462. ],
  1463. "markdownDescription": "Specifies how the _Repositories_ view will display files",
  1464. "scope": "window"
  1465. },
  1466. "gitlens.views.repositories.files.threshold": {
  1467. "type": "number",
  1468. "default": 5,
  1469. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Repositories_ view. Only applies when `#gitlens.views.repositories.files.layout#` is set to `auto`",
  1470. "scope": "window"
  1471. },
  1472. "gitlens.views.repositories.includeWorkingTree": {
  1473. "type": "boolean",
  1474. "default": true,
  1475. "markdownDescription": "Specifies whether to include working tree file status for each repository in the _Repositories_ view",
  1476. "scope": "window"
  1477. },
  1478. "gitlens.views.repositories.location": {
  1479. "type": "string",
  1480. "default": "gitlens",
  1481. "enum": [
  1482. "gitlens",
  1483. "explorer",
  1484. "scm"
  1485. ],
  1486. "enumDescriptions": [
  1487. "Adds to the GitLens side bar",
  1488. "Adds to the Explorer side bar",
  1489. "Adds to the Source Control side bar"
  1490. ],
  1491. "markdownDescription": "Specifies where to show the _Repositories_ view",
  1492. "scope": "window"
  1493. },
  1494. "gitlens.views.repositories.showTrackingBranch": {
  1495. "type": "boolean",
  1496. "default": true,
  1497. "markdownDescription": "Specifies whether to show the tracking branch when displaying local branches in the _Repositories_ view",
  1498. "scope": "window"
  1499. },
  1500. "gitlens.views.search.avatars": {
  1501. "type": "boolean",
  1502. "default": true,
  1503. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Search Commits_ view",
  1504. "scope": "window"
  1505. },
  1506. "gitlens.views.search.enabled": {
  1507. "type": "boolean",
  1508. "default": true,
  1509. "markdownDescription": "Specifies whether to show the _Search Commits_ view",
  1510. "scope": "window"
  1511. },
  1512. "gitlens.views.search.files.compact": {
  1513. "type": "boolean",
  1514. "default": true,
  1515. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Search Commits_ view. Only applies when `#gitlens.views.search.files.layout#` is set to `tree` or `auto`",
  1516. "scope": "window"
  1517. },
  1518. "gitlens.views.search.files.layout": {
  1519. "type": "string",
  1520. "default": "auto",
  1521. "enum": [
  1522. "auto",
  1523. "list",
  1524. "tree"
  1525. ],
  1526. "enumDescriptions": [
  1527. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.search.files.threshold#` value and the number of files at each nesting level",
  1528. "Displays files as a list",
  1529. "Displays files as a tree"
  1530. ],
  1531. "markdownDescription": "Specifies how the _Search Commits_ view will display files",
  1532. "scope": "window"
  1533. },
  1534. "gitlens.views.search.files.threshold": {
  1535. "type": "number",
  1536. "default": 5,
  1537. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Search Commits_ view. Only applies when `#gitlens.views.search.files.layout#` is set to `auto`",
  1538. "scope": "window"
  1539. },
  1540. "gitlens.views.search.location": {
  1541. "type": "string",
  1542. "default": "gitlens",
  1543. "enum": [
  1544. "gitlens",
  1545. "explorer",
  1546. "scm"
  1547. ],
  1548. "enumDescriptions": [
  1549. "Adds to the GitLens side bar",
  1550. "Adds to the Explorer side bar",
  1551. "Adds to the Source Control side bar"
  1552. ],
  1553. "markdownDescription": "Specifies where to show the _Search Commits_ view",
  1554. "scope": "window"
  1555. },
  1556. "gitlens.views.showRelativeDateMarkers": {
  1557. "type": "boolean",
  1558. "default": true,
  1559. "markdownDescription": "Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views",
  1560. "scope": "window"
  1561. },
  1562. "gitlens.views.stashFileFormat": {
  1563. "type": "string",
  1564. "default": "${file}",
  1565. "markdownDescription": "Specifies the format of a stashed file in the views\n- Available tokens\n - `${directory}` — directory name\n - `${file}` — file name\n - `${filePath}` — formatted file name and path\n - `${path}` — full file path",
  1566. "scope": "window"
  1567. },
  1568. "gitlens.views.stashFileDescriptionFormat": {
  1569. "type": "string",
  1570. "default": "${directory}",
  1571. "markdownDescription": "Specifies the description format of a stashed file in the views\n- Available tokens\n - `${directory}` — directory name\n - `${file}` — file name\n - `${filePath}` — formatted file name and path\n - `${path}` — full file path",
  1572. "scope": "window"
  1573. },
  1574. "gitlens.views.stashFormat": {
  1575. "type": "string",
  1576. "default": "${message}",
  1577. "markdownDescription": "Specifies the format of stashed changes in the views. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.defaultDateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  1578. "scope": "window"
  1579. },
  1580. "gitlens.views.stashDescriptionFormat": {
  1581. "type": "string",
  1582. "default": "${changes • }${agoOrDate}",
  1583. "markdownDescription": "Specifies the description format of stashed changes in the views. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${email}` — commit author e-mail\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.defaultDateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
  1584. "scope": "window"
  1585. },
  1586. "gitlens.views.statusFileFormat": {
  1587. "type": "string",
  1588. "default": "${working }${file}",
  1589. "markdownDescription": "Specifies the format of the status of a working or committed file in the views\n- Available tokens\n - `${directory}` — directory name\n - `${file}` — file name\n - `${filePath}` — formatted file name and path\n - `${path}` — full file path\n - `${working}` — optional indicator if the file is uncommitted",
  1590. "scope": "window"
  1591. },
  1592. "gitlens.views.statusFileDescriptionFormat": {
  1593. "type": "string",
  1594. "default": "${directory}",
  1595. "markdownDescription": "Specifies the description format of the status of a working or committed file in the views\n- Available tokens\n - `${directory}` — directory name\n - `${file}` — file name\n - `${filePath}` — formatted file name and path\n - `${path}` — full file path\n - `${working}` — optional indicator if the file is uncommitted",
  1596. "scope": "window"
  1597. },
  1598. "gitlens.advanced.abbreviatedShaLength": {
  1599. "type": "number",
  1600. "default": "7",
  1601. "markdownDescription": "Specifies the length of abbreviated commit ids (shas)",
  1602. "scope": "window"
  1603. },
  1604. "gitlens.advanced.blame.customArguments": {
  1605. "type": "array",
  1606. "default": null,
  1607. "items": {
  1608. "type": "string"
  1609. },
  1610. "markdownDescription": "Specifies additional arguments to pass to the `git blame` command",
  1611. "scope": "resource"
  1612. },
  1613. "gitlens.advanced.blame.delayAfterEdit": {
  1614. "type": "number",
  1615. "default": 5000,
  1616. "markdownDescription": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1617. "scope": "window"
  1618. },
  1619. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1620. "type": "number",
  1621. "default": 5000,
  1622. "markdownDescription": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  1623. "scope": "window"
  1624. },
  1625. "gitlens.advanced.caching.enabled": {
  1626. "type": "boolean",
  1627. "default": true,
  1628. "markdownDescription": "Specifies whether git output will be cached — changing the default is not recommended",
  1629. "scope": "window"
  1630. },
  1631. "gitlens.advanced.fileHistoryFollowsRenames": {
  1632. "type": "boolean",
  1633. "default": true,
  1634. "markdownDescription": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  1635. "scope": "window"
  1636. },
  1637. "gitlens.advanced.maxListItems": {
  1638. "type": "number",
  1639. "default": 200,
  1640. "markdownDescription": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  1641. "scope": "window"
  1642. },
  1643. "gitlens.advanced.messages": {
  1644. "type": "object",
  1645. "default": {
  1646. "suppressCommitHasNoPreviousCommitWarning": false,
  1647. "suppressCommitNotFoundWarning": false,
  1648. "suppressFileNotUnderSourceControlWarning": false,
  1649. "suppressGitDisabledWarning": false,
  1650. "suppressGitVersionWarning": false,
  1651. "suppressLineUncommittedWarning": false,
  1652. "suppressNoRepositoryWarning": false,
  1653. "suppressSupportGitLensNotification": false
  1654. },
  1655. "properties": {
  1656. "suppressCommitHasNoPreviousCommitWarning": {
  1657. "type": "boolean",
  1658. "default": false
  1659. },
  1660. "suppressCommitNotFoundWarning": {
  1661. "type": "boolean",
  1662. "default": false
  1663. },
  1664. "suppressFileNotUnderSourceControlWarning": {
  1665. "type": "boolean",
  1666. "default": false
  1667. },
  1668. "suppressGitDisabledWarning": {
  1669. "type": "boolean",
  1670. "default": false
  1671. },
  1672. "suppressGitVersionWarning": {
  1673. "type": "boolean",
  1674. "default": false
  1675. },
  1676. "suppressLineUncommittedWarning": {
  1677. "type": "boolean",
  1678. "default": false
  1679. },
  1680. "suppressNoRepositoryWarning": {
  1681. "type": "boolean",
  1682. "default": false
  1683. },
  1684. "suppressSupportGitLensNotification": {
  1685. "type": "boolean",
  1686. "default": false
  1687. }
  1688. },
  1689. "markdownDescription": "Specifies which messages should be suppressed",
  1690. "scope": "window"
  1691. },
  1692. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1693. "type": "boolean",
  1694. "default": true,
  1695. "markdownDescription": "Specifies whether to close QuickPick menus when focus is lost",
  1696. "scope": "window"
  1697. },
  1698. "gitlens.advanced.repositorySearchDepth": {
  1699. "type": "number",
  1700. "default": 1,
  1701. "markdownDescription": "Specifies how many folders deep to search for repositories",
  1702. "scope": "resource"
  1703. },
  1704. "gitlens.advanced.telemetry.enabled": {
  1705. "type": "boolean",
  1706. "default": true,
  1707. "markdownDescription": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `#telemetry.enableTelemetry#` setting",
  1708. "scope": "window"
  1709. }
  1710. }
  1711. },
  1712. "colors": [
  1713. {
  1714. "id": "gitlens.gutterBackgroundColor",
  1715. "description": "Specifies the background color of the gutter blame annotations",
  1716. "defaults": {
  1717. "dark": "#FFFFFF13",
  1718. "light": "#0000000C",
  1719. "highContrast": "#FFFFFF13"
  1720. }
  1721. },
  1722. {
  1723. "id": "gitlens.gutterForegroundColor",
  1724. "description": "Specifies the foreground color of the gutter blame annotations",
  1725. "defaults": {
  1726. "dark": "#BEBEBE",
  1727. "light": "#747474",
  1728. "highContrast": "#BEBEBE"
  1729. }
  1730. },
  1731. {
  1732. "id": "gitlens.gutterUncommittedForegroundColor",
  1733. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1734. "defaults": {
  1735. "dark": "#00BCF299",
  1736. "light": "#00BCF299",
  1737. "highContrast": "#00BCF2FF"
  1738. }
  1739. },
  1740. {
  1741. "id": "gitlens.trailingLineBackgroundColor",
  1742. "description": "Specifies the background color of the blame annotation for the current line",
  1743. "defaults": {
  1744. "dark": "#00000000",
  1745. "light": "#00000000",
  1746. "highContrast": "#00000000"
  1747. }
  1748. },
  1749. {
  1750. "id": "gitlens.trailingLineForegroundColor",
  1751. "description": "Specifies the foreground color of the blame annotation for the current line",
  1752. "defaults": {
  1753. "dark": "#99999959",
  1754. "light": "#99999959",
  1755. "highContrast": "#99999999"
  1756. }
  1757. },
  1758. {
  1759. "id": "gitlens.lineHighlightBackgroundColor",
  1760. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1761. "defaults": {
  1762. "dark": "#00BCF233",
  1763. "light": "#00BCF233",
  1764. "highContrast": "#00BCF233"
  1765. }
  1766. },
  1767. {
  1768. "id": "gitlens.lineHighlightOverviewRulerColor",
  1769. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1770. "defaults": {
  1771. "dark": "#00BCF299",
  1772. "light": "#00BCF299",
  1773. "highContrast": "#00BCF299"
  1774. }
  1775. }
  1776. ],
  1777. "commands": [
  1778. {
  1779. "command": "gitlens.supportGitLens",
  1780. "title": "Support GitLens ❤",
  1781. "category": "GitLens",
  1782. "icon": {
  1783. "dark": "images/dark/icon-heart.svg",
  1784. "light": "images/light/icon-heart.svg"
  1785. }
  1786. },
  1787. {
  1788. "command": "gitlens.showSettingsPage",
  1789. "title": "Open Settings",
  1790. "category": "GitLens",
  1791. "icon": {
  1792. "dark": "images/dark/icon-gear.svg",
  1793. "light": "images/light/icon-gear.svg"
  1794. }
  1795. },
  1796. {
  1797. "command": "gitlens.showWelcomePage",
  1798. "title": "Welcome",
  1799. "category": "GitLens"
  1800. },
  1801. {
  1802. "command": "gitlens.showCompareView",
  1803. "title": "Show Compare View",
  1804. "category": "GitLens"
  1805. },
  1806. {
  1807. "command": "gitlens.showFileHistoryView",
  1808. "title": "Show File History View",
  1809. "category": "GitLens"
  1810. },
  1811. {
  1812. "command": "gitlens.showLineHistoryView",
  1813. "title": "Show Line History View",
  1814. "category": "GitLens"
  1815. },
  1816. {
  1817. "command": "gitlens.showRepositoriesView",
  1818. "title": "Show Repositories View",
  1819. "category": "GitLens"
  1820. },
  1821. {
  1822. "command": "gitlens.showSearchView",
  1823. "title": "Show Search Commits View",
  1824. "category": "GitLens"
  1825. },
  1826. {
  1827. "command": "gitlens.diffDirectory",
  1828. "title": "Directory Compare Working Tree with...",
  1829. "category": "GitLens"
  1830. },
  1831. {
  1832. "command": "gitlens.diffDirectoryWithHead",
  1833. "title": "Directory Compare All Changes",
  1834. "category": "GitLens"
  1835. },
  1836. {
  1837. "command": "gitlens.diffHeadWith",
  1838. "title": "Compare HEAD with...",
  1839. "category": "GitLens"
  1840. },
  1841. {
  1842. "command": "gitlens.diffWorkingWith",
  1843. "title": "Compare Working Tree with...",
  1844. "category": "GitLens"
  1845. },
  1846. {
  1847. "command": "gitlens.diffWithRef",
  1848. "title": "Open Changes with...",
  1849. "category": "GitLens"
  1850. },
  1851. {
  1852. "command": "gitlens.diffWithNext",
  1853. "title": "Open Changes with Next Revision",
  1854. "category": "GitLens",
  1855. "icon": {
  1856. "dark": "images/dark/icon-next-commit.svg",
  1857. "light": "images/light/icon-next-commit.svg"
  1858. }
  1859. },
  1860. {
  1861. "command": "gitlens.diffWithNextInDiff",
  1862. "title": "Open Changes with Next Revision",
  1863. "category": "GitLens",
  1864. "icon": {
  1865. "dark": "images/dark/icon-next-commit.svg",
  1866. "light": "images/light/icon-next-commit.svg"
  1867. }
  1868. },
  1869. {
  1870. "command": "gitlens.diffWithPrevious",
  1871. "title": "Open Changes with Previous Revision",
  1872. "category": "GitLens",
  1873. "icon": {
  1874. "dark": "images/dark/icon-prev-commit.svg",
  1875. "light": "images/light/icon-prev-commit.svg"
  1876. }
  1877. },
  1878. {
  1879. "command": "gitlens.diffWithPreviousInDiff",
  1880. "title": "Open Changes with Previous Revision",
  1881. "category": "GitLens",
  1882. "icon": {
  1883. "dark": "images/dark/icon-prev-commit.svg",
  1884. "light": "images/light/icon-prev-commit.svg"
  1885. }
  1886. },
  1887. {
  1888. "command": "gitlens.diffLineWithPrevious",
  1889. "title": "Open Line Changes with Previous Revision",
  1890. "category": "GitLens"
  1891. },
  1892. {
  1893. "command": "gitlens.diffWithRevision",
  1894. "title": "Open Changes with Revision...",
  1895. "category": "GitLens",
  1896. "icon": {
  1897. "dark": "images/dark/icon-prev-commit-menu.svg",
  1898. "light": "images/light/icon-prev-commit-menu.svg"
  1899. }
  1900. },
  1901. {
  1902. "command": "gitlens.diffWithWorking",
  1903. "title": "Open Changes with Working File",
  1904. "category": "GitLens",
  1905. "icon": {
  1906. "dark": "images/dark/icon-compare-ref-working.svg",
  1907. "light": "images/light/icon-compare-ref-working.svg"
  1908. }
  1909. },
  1910. {
  1911. "command": "gitlens.diffWithWorkingInDiff",
  1912. "title": "Open Changes with Working File",
  1913. "category": "GitLens",
  1914. "icon": {
  1915. "dark": "images/dark/icon-compare-ref-working.svg",
  1916. "light": "images/light/icon-compare-ref-working.svg"
  1917. }
  1918. },
  1919. {
  1920. "command": "gitlens.diffLineWithWorking",
  1921. "title": "Open Line Changes with Working File",
  1922. "category": "GitLens"
  1923. },
  1924. {
  1925. "command": "gitlens.toggleFileBlame",
  1926. "title": "Toggle File Blame Annotations",
  1927. "category": "GitLens",
  1928. "icon": {
  1929. "dark": "images/dark/icon-git.svg",
  1930. "light": "images/light/icon-git.svg"
  1931. }
  1932. },
  1933. {
  1934. "command": "gitlens.clearFileAnnotations",
  1935. "title": "Clear File Annotations",
  1936. "category": "GitLens",
  1937. "icon": {
  1938. "dark": "images/dark/icon-git-orange.svg",
  1939. "light": "images/light/icon-git-orange.svg"
  1940. }
  1941. },
  1942. {
  1943. "command": "gitlens.computingFileAnnotations",
  1944. "title": "Computing File Annotations...",
  1945. "category": "GitLens",
  1946. "icon": {
  1947. "dark": "images/dark/icon-git-progress.svg",
  1948. "light": "images/light/icon-git-progress.svg"
  1949. }
  1950. },
  1951. {
  1952. "command": "gitlens.toggleFileHeatmap",
  1953. "title": "Toggle File Heatmap Annotations",
  1954. "category": "GitLens",
  1955. "icon": {
  1956. "dark": "images/dark/icon-git.svg",
  1957. "light": "images/light/icon-git.svg"
  1958. }
  1959. },
  1960. {
  1961. "command": "gitlens.toggleFileRecentChanges",
  1962. "title": "Toggle Recent File Changes Annotations",
  1963. "category": "GitLens",
  1964. "icon": {
  1965. "dark": "images/dark/icon-git.svg",
  1966. "light": "images/light/icon-git.svg"
  1967. }
  1968. },
  1969. {
  1970. "command": "gitlens.toggleLineBlame",
  1971. "title": "Toggle Line Blame Annotations",
  1972. "category": "GitLens"
  1973. },
  1974. {
  1975. "command": "gitlens.toggleCodeLens",
  1976. "title": "Toggle Git Code Lens",
  1977. "category": "GitLens"
  1978. },
  1979. {
  1980. "command": "gitlens.switchMode",
  1981. "title": "Switch Mode",
  1982. "category": "GitLens"
  1983. },
  1984. {
  1985. "command": "gitlens.toggleReviewMode",
  1986. "title": "Toggle Review Mode",
  1987. "category": "GitLens"
  1988. },
  1989. {
  1990. "command": "gitlens.toggleZenMode",
  1991. "title": "Toggle Zen Mode",
  1992. "category": "GitLens"
  1993. },
  1994. {
  1995. "command": "gitlens.showCommitSearch",
  1996. "title": "Search Commits",
  1997. "category": "GitLens",
  1998. "icon": {
  1999. "dark": "images/dark/icon-search.svg",
  2000. "light": "images/light/icon-search.svg"
  2001. }
  2002. },
  2003. {
  2004. "command": "gitlens.showLastQuickPick",
  2005. "title": "Show Last Opened Quick Pick",
  2006. "category": "GitLens"
  2007. },
  2008. {
  2009. "command": "gitlens.showCommitInView",
  2010. "title": "Show Commit in View",
  2011. "category": "GitLens"
  2012. },
  2013. {
  2014. "command": "gitlens.showFileHistoryInView",
  2015. "title": "Show File History in View",
  2016. "category": "GitLens"
  2017. },
  2018. {
  2019. "command": "gitlens.showQuickCommitDetails",
  2020. "title": "Show Commit Details",
  2021. "category": "GitLens"
  2022. },
  2023. {
  2024. "command": "gitlens.showQuickCommitFileDetails",
  2025. "title": "Show Commit Details",
  2026. "category": "GitLens"
  2027. },
  2028. {
  2029. "command": "gitlens.showQuickRevisionDetails",
  2030. "title": "Show Revision Details",
  2031. "category": "GitLens",
  2032. "icon": {
  2033. "dark": "images/dark/icon-commit.svg",
  2034. "light": "images/light/icon-commit.svg"
  2035. }
  2036. },
  2037. {
  2038. "command": "gitlens.showQuickFileHistory",
  2039. "title": "Show File History",
  2040. "category": "GitLens"
  2041. },
  2042. {
  2043. "command": "gitlens.showQuickBranchHistory",
  2044. "title": "Show Branch History",
  2045. "category": "GitLens"
  2046. },
  2047. {
  2048. "command": "gitlens.showQuickRepoHistory",
  2049. "title": "Show Current Branch History",
  2050. "category": "GitLens"
  2051. },
  2052. {
  2053. "command": "gitlens.showQuickRepoStatus",
  2054. "title": "Show Repository Status",
  2055. "category": "GitLens"
  2056. },
  2057. {
  2058. "command": "gitlens.showQuickStashList",
  2059. "title": "Show Stashed Changes",
  2060. "category": "GitLens"
  2061. },
  2062. {
  2063. "command": "gitlens.copyMessageToClipboard",
  2064. "title": "Copy Commit Message to Clipboard",
  2065. "category": "GitLens",
  2066. "icon": {
  2067. "dark": "images/dark/icon-clipboard.svg",
  2068. "light": "images/light/icon-clipboard.svg"
  2069. }
  2070. },
  2071. {
  2072. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2073. "title": "Copy Remote Url to Clipboard",
  2074. "category": "GitLens",
  2075. "icon": {
  2076. "dark": "images/dark/icon-copy-remote.svg",
  2077. "light": "images/light/icon-copy-remote.svg"
  2078. }
  2079. },
  2080. {
  2081. "command": "gitlens.copyShaToClipboard",
  2082. "title": "Copy Commit ID to Clipboard",
  2083. "category": "GitLens",
  2084. "icon": {
  2085. "dark": "images/dark/icon-copy-commit.svg",
  2086. "light": "images/light/icon-copy-commit.svg"
  2087. }
  2088. },
  2089. {
  2090. "command": "gitlens.closeUnchangedFiles",
  2091. "title": "Close Unchanged Files",
  2092. "category": "GitLens"
  2093. },
  2094. {
  2095. "command": "gitlens.openChangedFiles",
  2096. "title": "Open Changed Files",
  2097. "category": "GitLens"
  2098. },
  2099. {
  2100. "command": "gitlens.openBranchesInRemote",
  2101. "title": "Open Branches on Remote",
  2102. "category": "GitLens",
  2103. "icon": {
  2104. "dark": "images/dark/icon-link.svg",
  2105. "light": "images/light/icon-link.svg"
  2106. }
  2107. },
  2108. {
  2109. "command": "gitlens.openBranchInRemote",
  2110. "title": "Open Branch on Remote",
  2111. "category": "GitLens",
  2112. "icon": {
  2113. "dark": "images/dark/icon-link.svg",
  2114. "light": "images/light/icon-link.svg"
  2115. }
  2116. },
  2117. {
  2118. "command": "gitlens.openCommitInRemote",
  2119. "title": "Open Commit on Remote",
  2120. "category": "GitLens",
  2121. "icon": {
  2122. "dark": "images/dark/icon-link.svg",
  2123. "light": "images/light/icon-link.svg"
  2124. }
  2125. },
  2126. {
  2127. "command": "gitlens.openFileInRemote",
  2128. "title": "Open File on Remote",
  2129. "category": "GitLens",
  2130. "icon": {
  2131. "dark": "images/dark/icon-link.svg",
  2132. "light": "images/light/icon-link.svg"
  2133. }
  2134. },
  2135. {
  2136. "command": "gitlens.openFileRevision",
  2137. "title": "Open Revision...",
  2138. "category": "GitLens"
  2139. },
  2140. {
  2141. "command": "gitlens.openFileRevisionFrom",
  2142. "title": "Open Revision from...",
  2143. "category": "GitLens"
  2144. },
  2145. {
  2146. "command": "gitlens.openRepoInRemote",
  2147. "title": "Open Repository on Remote",
  2148. "category": "GitLens",
  2149. "icon": {
  2150. "dark": "images/dark/icon-link.svg",
  2151. "light": "images/light/icon-link.svg"
  2152. }
  2153. },
  2154. {
  2155. "command": "gitlens.openWorkingFile",
  2156. "title": "Open Working File",
  2157. "category": "GitLens",
  2158. "icon": {
  2159. "dark": "images/dark/icon-open-working-file.svg",
  2160. "light": "images/light/icon-open-working-file.svg"
  2161. }
  2162. },
  2163. {
  2164. "command": "gitlens.stashApply",
  2165. "title": "Apply Stashed Changes",
  2166. "category": "GitLens",
  2167. "icon": {
  2168. "dark": "images/dark/icon-stash-pop.svg",
  2169. "light": "images/light/icon-stash-pop.svg"
  2170. }
  2171. },
  2172. {
  2173. "command": "gitlens.stashDelete",
  2174. "title": "Delete Stashed Changes",
  2175. "category": "GitLens",
  2176. "icon": {
  2177. "dark": "images/dark/icon-delete.svg",
  2178. "light": "images/light/icon-delete.svg"
  2179. }
  2180. },
  2181. {
  2182. "command": "gitlens.stashSave",
  2183. "title": "Stash All Changes",
  2184. "category": "GitLens",
  2185. "icon": {
  2186. "dark": "images/dark/icon-stash-save.svg",
  2187. "light": "images/light/icon-stash-save.svg"
  2188. }
  2189. },
  2190. {
  2191. "command": "gitlens.stashSaveFiles",
  2192. "title": "Stash Changes",
  2193. "category": "GitLens",
  2194. "icon": {
  2195. "dark": "images/dark/icon-stash-save.svg",
  2196. "light": "images/light/icon-stash-save.svg"
  2197. }
  2198. },
  2199. {
  2200. "command": "gitlens.externalDiff",
  2201. "title": "Open Changes (with difftool)",
  2202. "category": "GitLens"
  2203. },
  2204. {
  2205. "command": "gitlens.externalDiffAll",
  2206. "title": "Open All Changes (with difftool)",
  2207. "category": "GitLens"
  2208. },
  2209. {
  2210. "command": "gitlens.resetSuppressedWarnings",
  2211. "title": "Reset Suppressed Warnings",
  2212. "category": "GitLens"
  2213. },
  2214. {
  2215. "command": "gitlens.views.exploreRepoRevision",
  2216. "title": "Explore Repository from Here",
  2217. "category": "GitLens"
  2218. },
  2219. {
  2220. "command": "gitlens.fetchRepositories",
  2221. "title": "Fetch Repositories",
  2222. "category": "GitLens",
  2223. "icon": {
  2224. "dark": "images/dark/icon-sync.svg",
  2225. "light": "images/light/icon-sync.svg"
  2226. }
  2227. },
  2228. {
  2229. "command": "gitlens.pullRepositories",
  2230. "title": "Pull Repositories",
  2231. "category": "GitLens",
  2232. "icon": {
  2233. "dark": "images/dark/icon-pull.svg",
  2234. "light": "images/light/icon-pull.svg"
  2235. }
  2236. },
  2237. {
  2238. "command": "gitlens.pushRepositories",
  2239. "title": "Push Repositories",
  2240. "category": "GitLens",
  2241. "icon": {
  2242. "dark": "images/dark/icon-push.svg",
  2243. "light": "images/light/icon-push.svg"
  2244. }
  2245. },
  2246. {
  2247. "command": "gitlens.views.checkout",
  2248. "title": "Checkout",
  2249. "category": "GitLens",
  2250. "icon": {
  2251. "dark": "images/dark/icon-checkout.svg",
  2252. "light": "images/light/icon-checkout.svg"
  2253. }
  2254. },
  2255. {
  2256. "command": "gitlens.views.fetch",
  2257. "title": "Fetch",
  2258. "category": "GitLens",
  2259. "icon": {
  2260. "dark": "images/dark/icon-sync.svg",
  2261. "light": "images/light/icon-sync.svg"
  2262. }
  2263. },
  2264. {
  2265. "command": "gitlens.views.pull",
  2266. "title": "Pull",
  2267. "category": "GitLens",
  2268. "icon": {
  2269. "dark": "images/dark/icon-pull.svg",
  2270. "light": "images/light/icon-pull.svg"
  2271. }
  2272. },
  2273. {
  2274. "command": "gitlens.views.push",
  2275. "title": "Push",
  2276. "category": "GitLens",
  2277. "icon": {
  2278. "dark": "images/dark/icon-push.svg",
  2279. "light": "images/light/icon-push.svg"
  2280. }
  2281. },
  2282. {
  2283. "command": "gitlens.views.pushWithForce",
  2284. "title": "Push (force)",
  2285. "category": "GitLens",
  2286. "icon": {
  2287. "dark": "images/dark/icon-push-force.svg",
  2288. "light": "images/light/icon-push-force.svg"
  2289. }
  2290. },
  2291. {
  2292. "command": "gitlens.views.openInTerminal",
  2293. "title": "Open in Terminal",
  2294. "category": "GitLens"
  2295. },
  2296. {
  2297. "command": "gitlens.views.setAsDefault",
  2298. "title": "Set as Default",
  2299. "category": "GitLens"
  2300. },
  2301. {
  2302. "command": "gitlens.views.unsetAsDefault",
  2303. "title": "Unset as Default",
  2304. "category": "GitLens"
  2305. },
  2306. {
  2307. "command": "gitlens.views.stageDirectory",
  2308. "title": "Stage All Changes",
  2309. "category": "GitLens",
  2310. "icon": {
  2311. "dark": "images/dark/icon-add.svg",
  2312. "light": "images/light/icon-add.svg"
  2313. }
  2314. },
  2315. {
  2316. "command": "gitlens.views.stageFile",
  2317. "title": "Stage Changes",
  2318. "category": "GitLens",
  2319. "icon": {
  2320. "dark": "images/dark/icon-add.svg",
  2321. "light": "images/light/icon-add.svg"
  2322. }
  2323. },
  2324. {
  2325. "command": "gitlens.views.unstageDirectory",
  2326. "title": "Unstage All Changes",
  2327. "category": "GitLens",
  2328. "icon": {
  2329. "dark": "images/dark/icon-minus.svg",
  2330. "light": "images/light/icon-minus.svg"
  2331. }
  2332. },
  2333. {
  2334. "command": "gitlens.views.unstageFile",
  2335. "title": "Unstage Changes",
  2336. "category": "GitLens",
  2337. "icon": {
  2338. "dark": "images/dark/icon-minus.svg",
  2339. "light": "images/light/icon-minus.svg"
  2340. }
  2341. },
  2342. {
  2343. "command": "gitlens.views.star",
  2344. "title": "Add to Favorites",
  2345. "category": "GitLens",
  2346. "icon": {
  2347. "dark": "images/dark/icon-star.svg",
  2348. "light": "images/light/icon-star.svg"
  2349. }
  2350. },
  2351. {
  2352. "command": "gitlens.views.unstar",
  2353. "title": "Remove from Favorites",
  2354. "category": "GitLens",
  2355. "icon": {
  2356. "dark": "images/dark/icon-star-filled.svg",
  2357. "light": "images/light/icon-star-filled.svg"
  2358. }
  2359. },
  2360. {
  2361. "command": "gitlens.views.openDirectoryDiff",
  2362. "title": "Open Directory Compare",
  2363. "category": "GitLens"
  2364. },
  2365. {
  2366. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2367. "title": "Open Directory Compare with Working Tree",
  2368. "category": "GitLens"
  2369. },
  2370. {
  2371. "command": "gitlens.views.openChanges",
  2372. "title": "Open Changes",
  2373. "category": "GitLens"
  2374. },
  2375. {
  2376. "command": "gitlens.views.openChangesWithWorking",
  2377. "title": "Open Changes with Working File",
  2378. "category": "GitLens"
  2379. },
  2380. {
  2381. "command": "gitlens.views.openFile",
  2382. "title": "Open File",
  2383. "category": "GitLens",
  2384. "icon": {
  2385. "dark": "images/dark/icon-open-file.svg",
  2386. "light": "images/light/icon-open-file.svg"
  2387. }
  2388. },
  2389. {
  2390. "command": "gitlens.views.openFileRevision",
  2391. "title": "Open Revision",
  2392. "category": "GitLens"
  2393. },
  2394. {
  2395. "command": "gitlens.views.openFileRevisionInRemote",
  2396. "title": "Open Revision on Remote",
  2397. "category": "GitLens",
  2398. "icon": {
  2399. "dark": "images/dark/icon-link.svg",
  2400. "light": "images/light/icon-link.svg"
  2401. }
  2402. },
  2403. {
  2404. "command": "gitlens.views.openChangedFiles",
  2405. "title": "Open Files",
  2406. "category": "GitLens"
  2407. },
  2408. {
  2409. "command": "gitlens.views.openChangedFileChanges",
  2410. "title": "Open All Changes",
  2411. "category": "GitLens"
  2412. },
  2413. {
  2414. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2415. "title": "Open All Changes with Working Tree",
  2416. "category": "GitLens"
  2417. },
  2418. {
  2419. "command": "gitlens.views.openChangedFileRevisions",
  2420. "title": "Open Revisions",
  2421. "category": "GitLens"
  2422. },
  2423. {
  2424. "command": "gitlens.views.applyChanges",
  2425. "title": "Apply Changes",
  2426. "category": "GitLens"
  2427. },
  2428. {
  2429. "command": "gitlens.views.closeRepository",
  2430. "title": "Close Repository",
  2431. "category": "GitLens"
  2432. },
  2433. {
  2434. "command": "gitlens.views.compareAncestryWithWorking",
  2435. "title": "Compare Ancestry with Working Tree",
  2436. "category": "GitLens"
  2437. },
  2438. {
  2439. "command": "gitlens.views.compareWithHead",
  2440. "title": "Compare with HEAD",
  2441. "category": "GitLens",
  2442. "icon": {
  2443. "dark": "images/dark/icon-compare-refs.svg",
  2444. "light": "images/light/icon-compare-refs.svg"
  2445. }
  2446. },
  2447. {
  2448. "command": "gitlens.views.compareWithRemote",
  2449. "title": "Compare with Remote",
  2450. "category": "GitLens",
  2451. "icon": {
  2452. "dark": "images/dark/icon-compare-ref-remote.svg",
  2453. "light": "images/light/icon-compare-ref-remote.svg"
  2454. }
  2455. },
  2456. {
  2457. "command": "gitlens.views.compareWithSelected",
  2458. "title": "Compare with Selected",
  2459. "category": "GitLens"
  2460. },
  2461. {
  2462. "command": "gitlens.views.selectForCompare",
  2463. "title": "Select for Compare",
  2464. "category": "GitLens"
  2465. },
  2466. {
  2467. "command": "gitlens.views.compareFileWithSelected",
  2468. "title": "Compare with Selected",
  2469. "category": "GitLens"
  2470. },
  2471. {
  2472. "command": "gitlens.views.selectFileForCompare",
  2473. "title": "Select for Compare",
  2474. "category": "GitLens"
  2475. },
  2476. {
  2477. "command": "gitlens.views.compareWithWorking",
  2478. "title": "Compare with Working Tree",
  2479. "category": "GitLens",
  2480. "icon": {
  2481. "dark": "images/dark/icon-compare-ref-working.svg",
  2482. "light": "images/light/icon-compare-ref-working.svg"
  2483. }
  2484. },
  2485. {
  2486. "command": "gitlens.views.contributor.addCoauthoredBy",
  2487. "title": "Add as Co-author",
  2488. "category": "GitLens"
  2489. },
  2490. {
  2491. "command": "gitlens.views.contributor.copyToClipboard",
  2492. "title": "Copy to Clipboard",
  2493. "category": "GitLens",
  2494. "icon": {
  2495. "dark": "images/dark/icon-clipboard.svg",
  2496. "light": "images/light/icon-clipboard.svg"
  2497. }
  2498. },
  2499. {
  2500. "command": "gitlens.views.terminalCheckoutBranch",
  2501. "title": "Checkout Branch (via Terminal)",
  2502. "category": "GitLens"
  2503. },
  2504. {
  2505. "command": "gitlens.views.terminalCreateBranch",
  2506. "title": "Create Branch (via Terminal)...",
  2507. "category": "GitLens"
  2508. },
  2509. {
  2510. "command": "gitlens.views.terminalDeleteBranch",
  2511. "title": "Delete Branch (via Terminal)",
  2512. "category": "GitLens"
  2513. },
  2514. {
  2515. "command": "gitlens.views.terminalMergeBranch",
  2516. "title": "Merge Branch (via Terminal)",
  2517. "category": "GitLens"
  2518. },
  2519. {
  2520. "command": "gitlens.views.terminalRebaseBranch",
  2521. "title": "Rebase (Interactive) Branch (via Terminal)",
  2522. "category": "GitLens"
  2523. },
  2524. {
  2525. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2526. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2527. "category": "GitLens"
  2528. },
  2529. {
  2530. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2531. "title": "Squash Branch into Commit (via Terminal)",
  2532. "category": "GitLens"
  2533. },
  2534. {
  2535. "command": "gitlens.views.terminalCheckoutCommit",
  2536. "title": "Checkout Commit (via Terminal)",
  2537. "category": "GitLens"
  2538. },
  2539. {
  2540. "command": "gitlens.views.terminalCherryPickCommit",
  2541. "title": "Cherry Pick Commit (via Terminal)",
  2542. "category": "GitLens"
  2543. },
  2544. {
  2545. "command": "gitlens.views.terminalPushCommit",
  2546. "title": "Push to Commit (via Terminal)",
  2547. "category": "GitLens"
  2548. },
  2549. {
  2550. "command": "gitlens.views.terminalRebaseCommit",
  2551. "title": "Rebase to Commit (via Terminal)",
  2552. "category": "GitLens"
  2553. },
  2554. {
  2555. "command": "gitlens.views.terminalResetCommit",
  2556. "title": "Reset to Commit (via Terminal)",
  2557. "category": "GitLens"
  2558. },
  2559. {
  2560. "command": "gitlens.views.terminalRevertCommit",
  2561. "title": "Revert Commit (via Terminal)",
  2562. "category": "GitLens"
  2563. },
  2564. {
  2565. "command": "gitlens.views.terminalRemoveRemote",
  2566. "title": "Remove Remote (via Terminal)",
  2567. "category": "GitLens"
  2568. },
  2569. {
  2570. "command": "gitlens.views.terminalCreateTag",
  2571. "title": "Create Tag (via Terminal)...",
  2572. "category": "GitLens"
  2573. },
  2574. {
  2575. "command": "gitlens.views.terminalDeleteTag",
  2576. "title": "Delete Tag (via Terminal)",
  2577. "category": "GitLens"
  2578. },
  2579. {
  2580. "command": "gitlens.views.repositories.refresh",
  2581. "title": "Refresh",
  2582. "category": "GitLens",
  2583. "icon": {
  2584. "dark": "images/dark/icon-refresh.svg",
  2585. "light": "images/light/icon-refresh.svg"
  2586. }
  2587. },
  2588. {
  2589. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2590. "title": "Automatic Layout",
  2591. "category": "GitLens"
  2592. },
  2593. {
  2594. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2595. "title": "List Layout",
  2596. "category": "GitLens"
  2597. },
  2598. {
  2599. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2600. "title": "Tree Layout",
  2601. "category": "GitLens"
  2602. },
  2603. {
  2604. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2605. "title": "Enable Automatic Refresh",
  2606. "category": "GitLens"
  2607. },
  2608. {
  2609. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2610. "title": "Disable Automatic Refresh",
  2611. "category": "GitLens"
  2612. },
  2613. {
  2614. "command": "gitlens.views.fileHistory.refresh",
  2615. "title": "Refresh",
  2616. "category": "GitLens",
  2617. "icon": {
  2618. "dark": "images/dark/icon-refresh.svg",
  2619. "light": "images/light/icon-refresh.svg"
  2620. }
  2621. },
  2622. {
  2623. "command": "gitlens.views.fileHistory.changeBase",
  2624. "title": "Change Base...",
  2625. "category": "GitLens",
  2626. "icon": {
  2627. "dark": "images/dark/icon-history.svg",
  2628. "light": "images/light/icon-history.svg"
  2629. }
  2630. },
  2631. {
  2632. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2633. "title": "Resume File Tracking",
  2634. "category": "GitLens",
  2635. "icon": {
  2636. "dark": "images/dark/icon-location.svg",
  2637. "light": "images/light/icon-location.svg"
  2638. }
  2639. },
  2640. {
  2641. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2642. "title": "Pause File Tracking",
  2643. "category": "GitLens",
  2644. "icon": {
  2645. "dark": "images/dark/icon-location-filled.svg",
  2646. "light": "images/light/icon-location-filled.svg"
  2647. }
  2648. },
  2649. {
  2650. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2651. "title": "Follow Renames",
  2652. "category": "GitLens"
  2653. },
  2654. {
  2655. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2656. "title": "Don't Follow Renames",
  2657. "category": "GitLens"
  2658. },
  2659. {
  2660. "command": "gitlens.views.lineHistory.refresh",
  2661. "title": "Refresh",
  2662. "category": "GitLens",
  2663. "icon": {
  2664. "dark": "images/dark/icon-refresh.svg",
  2665. "light": "images/light/icon-refresh.svg"
  2666. }
  2667. },
  2668. {
  2669. "command": "gitlens.views.lineHistory.changeBase",
  2670. "title": "Change Base...",
  2671. "category": "GitLens",
  2672. "icon": {
  2673. "dark": "images/dark/icon-history.svg",
  2674. "light": "images/light/icon-history.svg"
  2675. }
  2676. },
  2677. {
  2678. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2679. "title": "Resume Line Tracking",
  2680. "category": "GitLens",
  2681. "icon": {
  2682. "dark": "images/dark/icon-location.svg",
  2683. "light": "images/light/icon-location.svg"
  2684. }
  2685. },
  2686. {
  2687. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2688. "title": "Pause Line Tracking",
  2689. "category": "GitLens",
  2690. "icon": {
  2691. "dark": "images/dark/icon-location-filled.svg",
  2692. "light": "images/light/icon-location-filled.svg"
  2693. }
  2694. },
  2695. {
  2696. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2697. "title": "Follow Renames",
  2698. "category": "GitLens"
  2699. },
  2700. {
  2701. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2702. "title": "Don't Follow Renames",
  2703. "category": "GitLens"
  2704. },
  2705. {
  2706. "command": "gitlens.views.compare.selectForCompare",
  2707. "title": "Compare References...",
  2708. "category": "GitLens",
  2709. "icon": {
  2710. "dark": "images/dark/icon-compare-refs.svg",
  2711. "light": "images/light/icon-compare-refs.svg"
  2712. }
  2713. },
  2714. {
  2715. "command": "gitlens.views.compare.clear",
  2716. "title": "Clear Results",
  2717. "category": "GitLens",
  2718. "icon": {
  2719. "dark": "images/dark/icon-clear.svg",
  2720. "light": "images/light/icon-clear.svg"
  2721. }
  2722. },
  2723. {
  2724. "command": "gitlens.views.compare.refresh",
  2725. "title": "Refresh",
  2726. "category": "GitLens",
  2727. "icon": {
  2728. "dark": "images/dark/icon-refresh.svg",
  2729. "light": "images/light/icon-refresh.svg"
  2730. }
  2731. },
  2732. {
  2733. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  2734. "title": "Automatic Layout",
  2735. "category": "GitLens"
  2736. },
  2737. {
  2738. "command": "gitlens.views.compare.setFilesLayoutToList",
  2739. "title": "List Layout",
  2740. "category": "GitLens"
  2741. },
  2742. {
  2743. "command": "gitlens.views.compare.setFilesLayoutToTree",
  2744. "title": "Tree Layout",
  2745. "category": "GitLens"
  2746. },
  2747. {
  2748. "command": "gitlens.views.compare.setKeepResultsToOn",
  2749. "title": "Keep Results",
  2750. "category": "GitLens",
  2751. "icon": {
  2752. "dark": "images/dark/icon-lock.svg",
  2753. "light": "images/light/icon-lock.svg"
  2754. }
  2755. },
  2756. {
  2757. "command": "gitlens.views.compare.setKeepResultsToOff",
  2758. "title": "Keep Results",
  2759. "category": "GitLens",
  2760. "icon": {
  2761. "dark": "images/dark/icon-locked.svg",
  2762. "light": "images/light/icon-locked.svg"
  2763. }
  2764. },
  2765. {
  2766. "command": "gitlens.views.compare.pinComparison",
  2767. "title": "Pin Comparison",
  2768. "category": "GitLens",
  2769. "icon": {
  2770. "dark": "images/dark/icon-pin-tilted.svg",
  2771. "light": "images/light/icon-pin-tilted.svg"
  2772. }
  2773. },
  2774. {
  2775. "command": "gitlens.views.compare.unpinComparison",
  2776. "title": "Unpin Comparison",
  2777. "category": "GitLens",
  2778. "icon": {
  2779. "dark": "images/dark/icon-pin-filled.svg",
  2780. "light": "images/light/icon-pin-filled.svg"
  2781. }
  2782. },
  2783. {
  2784. "command": "gitlens.views.compare.swapComparison",
  2785. "title": "Swap Comparison",
  2786. "category": "GitLens",
  2787. "icon": {
  2788. "dark": "images/dark/icon-swap.svg",
  2789. "light": "images/light/icon-swap.svg"
  2790. }
  2791. },
  2792. {
  2793. "command": "gitlens.views.search.searchCommits",
  2794. "title": "Search Commits",
  2795. "category": "GitLens",
  2796. "icon": {
  2797. "dark": "images/dark/icon-search.svg",
  2798. "light": "images/light/icon-search.svg"
  2799. }
  2800. },
  2801. {
  2802. "command": "gitlens.views.search.clear",
  2803. "title": "Clear Results",
  2804. "category": "GitLens",
  2805. "icon": {
  2806. "dark": "images/dark/icon-clear.svg",
  2807. "light": "images/light/icon-clear.svg"
  2808. }
  2809. },
  2810. {
  2811. "command": "gitlens.views.search.refresh",
  2812. "title": "Refresh",
  2813. "category": "GitLens",
  2814. "icon": {
  2815. "dark": "images/dark/icon-refresh.svg",
  2816. "light": "images/light/icon-refresh.svg"
  2817. }
  2818. },
  2819. {
  2820. "command": "gitlens.views.search.setFilesLayoutToAuto",
  2821. "title": "Automatic Layout",
  2822. "category": "GitLens"
  2823. },
  2824. {
  2825. "command": "gitlens.views.search.setFilesLayoutToList",
  2826. "title": "List Layout",
  2827. "category": "GitLens"
  2828. },
  2829. {
  2830. "command": "gitlens.views.search.setFilesLayoutToTree",
  2831. "title": "Tree Layout",
  2832. "category": "GitLens"
  2833. },
  2834. {
  2835. "command": "gitlens.views.search.setKeepResultsToOn",
  2836. "title": "Keep Results",
  2837. "category": "GitLens",
  2838. "icon": {
  2839. "dark": "images/dark/icon-lock.svg",
  2840. "light": "images/light/icon-lock.svg"
  2841. }
  2842. },
  2843. {
  2844. "command": "gitlens.views.search.setKeepResultsToOff",
  2845. "title": "Keep Results",
  2846. "category": "GitLens",
  2847. "icon": {
  2848. "dark": "images/dark/icon-locked.svg",
  2849. "light": "images/light/icon-locked.svg"
  2850. }
  2851. },
  2852. {
  2853. "command": "gitlens.views.dismissNode",
  2854. "title": "Dismiss",
  2855. "category": "GitLens",
  2856. "icon": {
  2857. "dark": "images/dark/icon-close-small.svg",
  2858. "light": "images/light/icon-close-small.svg"
  2859. }
  2860. },
  2861. {
  2862. "command": "gitlens.views.expandNode",
  2863. "title": "Expand",
  2864. "category": "GitLens"
  2865. },
  2866. {
  2867. "command": "gitlens.views.refreshNode",
  2868. "title": "Refresh",
  2869. "category": "GitLens",
  2870. "icon": {
  2871. "dark": "images/dark/icon-refresh.svg",
  2872. "light": "images/light/icon-refresh.svg"
  2873. }
  2874. }
  2875. ],
  2876. "menus": {
  2877. "commandPalette": [
  2878. {
  2879. "command": "gitlens.showCompareView",
  2880. "when": "gitlens:enabled"
  2881. },
  2882. {
  2883. "command": "gitlens.showFileHistoryView",
  2884. "when": "gitlens:enabled"
  2885. },
  2886. {
  2887. "command": "gitlens.showLineHistoryView",
  2888. "when": "gitlens:enabled"
  2889. },
  2890. {
  2891. "command": "gitlens.showRepositoriesView",
  2892. "when": "gitlens:enabled"
  2893. },
  2894. {
  2895. "command": "gitlens.showSearchView",
  2896. "when": "gitlens:enabled"
  2897. },
  2898. {
  2899. "command": "gitlens.diffDirectory",
  2900. "when": "gitlens:enabled"
  2901. },
  2902. {
  2903. "command": "gitlens.diffDirectoryWithHead",
  2904. "when": "gitlens:enabled"
  2905. },
  2906. {
  2907. "command": "gitlens.diffHeadWith",
  2908. "when": "gitlens:enabled"
  2909. },
  2910. {
  2911. "command": "gitlens.diffWorkingWith",
  2912. "when": "gitlens:enabled"
  2913. },
  2914. {
  2915. "command": "gitlens.diffWithRef",
  2916. "when": "gitlens:activeFileStatus =~ /tracked/"
  2917. },
  2918. {
  2919. "command": "gitlens.diffWithNext",
  2920. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  2921. },
  2922. {
  2923. "command": "gitlens.diffWithNextInDiff",
  2924. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  2925. },
  2926. {
  2927. "command": "gitlens.diffWithPrevious",
  2928. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2929. },
  2930. {
  2931. "command": "gitlens.diffWithPreviousInDiff",
  2932. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2933. },
  2934. {
  2935. "command": "gitlens.diffLineWithPrevious",
  2936. "when": "gitlens:activeFileStatus =~ /blameable/"
  2937. },
  2938. {
  2939. "command": "gitlens.diffWithRevision",
  2940. "when": "gitlens:activeFileStatus =~ /tracked/"
  2941. },
  2942. {
  2943. "command": "gitlens.diffWithWorking",
  2944. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  2945. },
  2946. {
  2947. "command": "gitlens.diffWithWorkingInDiff",
  2948. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  2949. },
  2950. {
  2951. "command": "gitlens.diffLineWithWorking",
  2952. "when": "gitlens:activeFileStatus =~ /blameable/"
  2953. },
  2954. {
  2955. "command": "gitlens.externalDiff",
  2956. "when": "gitlens:activeFileStatus =~ /tracked/"
  2957. },
  2958. {
  2959. "command": "gitlens.externalDiffAll",
  2960. "when": "gitlens:enabled"
  2961. },
  2962. {
  2963. "command": "gitlens.toggleFileBlame",
  2964. "when": "gitlens:activeFileStatus =~ /blameable/"
  2965. },
  2966. {
  2967. "command": "gitlens.clearFileAnnotations",
  2968. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2969. },
  2970. {
  2971. "command": "gitlens.computingFileAnnotations",
  2972. "when": "false"
  2973. },
  2974. {
  2975. "command": "gitlens.toggleFileHeatmap",
  2976. "when": "gitlens:activeFileStatus =~ /blameable/"
  2977. },
  2978. {
  2979. "command": "gitlens.toggleFileRecentChanges",
  2980. "when": "gitlens:activeFileStatus =~ /blameable/"
  2981. },
  2982. {
  2983. "command": "gitlens.toggleLineBlame",
  2984. "when": "gitlens:enabled"
  2985. },
  2986. {
  2987. "command": "gitlens.toggleCodeLens",
  2988. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2989. },
  2990. {
  2991. "command": "gitlens.switchMode",
  2992. "when": "gitlens:enabled"
  2993. },
  2994. {
  2995. "command": "gitlens.toggleReviewMode",
  2996. "when": "gitlens:enabled"
  2997. },
  2998. {
  2999. "command": "gitlens.toggleZenMode",
  3000. "when": "gitlens:enabled"
  3001. },
  3002. {
  3003. "command": "gitlens.showCommitSearch",
  3004. "when": "gitlens:enabled"
  3005. },
  3006. {
  3007. "command": "gitlens.showLastQuickPick",
  3008. "when": "gitlens:enabled"
  3009. },
  3010. {
  3011. "command": "gitlens.showCommitInView",
  3012. "when": "gitlens:activeFileStatus =~ /blameable/"
  3013. },
  3014. {
  3015. "command": "gitlens.showFileHistoryInView",
  3016. "when": "gitlens:activeFileStatus =~ /tracked/"
  3017. },
  3018. {
  3019. "command": "gitlens.showQuickCommitDetails",
  3020. "when": "gitlens:activeFileStatus =~ /blameable/"
  3021. },
  3022. {
  3023. "command": "gitlens.showQuickCommitFileDetails",
  3024. "when": "gitlens:activeFileStatus =~ /blameable/"
  3025. },
  3026. {
  3027. "command": "gitlens.showQuickRevisionDetails",
  3028. "when": "gitlens:activeFileStatus =~ /revision/"
  3029. },
  3030. {
  3031. "command": "gitlens.showQuickFileHistory",
  3032. "when": "gitlens:activeFileStatus =~ /tracked/"
  3033. },
  3034. {
  3035. "command": "gitlens.showQuickBranchHistory",
  3036. "when": "gitlens:enabled"
  3037. },
  3038. {
  3039. "command": "gitlens.showQuickRepoHistory",
  3040. "when": "gitlens:enabled"
  3041. },
  3042. {
  3043. "command": "gitlens.showQuickRepoStatus",
  3044. "when": "gitlens:enabled"
  3045. },
  3046. {
  3047. "command": "gitlens.showQuickStashList",
  3048. "when": "gitlens:enabled"
  3049. },
  3050. {
  3051. "command": "gitlens.copyMessageToClipboard",
  3052. "when": "gitlens:activeFileStatus =~ /blameable/"
  3053. },
  3054. {
  3055. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3056. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  3057. },
  3058. {
  3059. "command": "gitlens.copyShaToClipboard",
  3060. "when": "gitlens:activeFileStatus =~ /blameable/"
  3061. },
  3062. {
  3063. "command": "gitlens.closeUnchangedFiles",
  3064. "when": "gitlens:enabled"
  3065. },
  3066. {
  3067. "command": "gitlens.openChangedFiles",
  3068. "when": "gitlens:enabled"
  3069. },
  3070. {
  3071. "command": "gitlens.openBranchesInRemote",
  3072. "when": "gitlens:hasRemotes"
  3073. },
  3074. {
  3075. "command": "gitlens.openBranchInRemote",
  3076. "when": "gitlens:hasRemotes"
  3077. },
  3078. {
  3079. "command": "gitlens.openCommitInRemote",
  3080. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  3081. },
  3082. {
  3083. "command": "gitlens.openFileInRemote",
  3084. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  3085. },
  3086. {
  3087. "command": "gitlens.openFileRevision",
  3088. "when": "gitlens:activeFileStatus =~ /tracked/"
  3089. },
  3090. {
  3091. "command": "gitlens.openFileRevisionFrom",
  3092. "when": "gitlens:activeFileStatus =~ /tracked/"
  3093. },
  3094. {
  3095. "command": "gitlens.openRepoInRemote",
  3096. "when": "gitlens:hasRemotes"
  3097. },
  3098. {
  3099. "command": "gitlens.openWorkingFile",
  3100. "when": "gitlens:activeFileStatus =~ /revision/"
  3101. },
  3102. {
  3103. "command": "gitlens.stashApply",
  3104. "when": "gitlens:enabled && !gitlens:readonly"
  3105. },
  3106. {
  3107. "command": "gitlens.stashDelete",
  3108. "when": "false"
  3109. },
  3110. {
  3111. "command": "gitlens.stashSave",
  3112. "when": "gitlens:enabled && !gitlens:readonly"
  3113. },
  3114. {
  3115. "command": "gitlens.stashSaveFiles",
  3116. "when": "false"
  3117. },
  3118. {
  3119. "command": "gitlens.resetSuppressedWarnings",
  3120. "when": "gitlens:enabled"
  3121. },
  3122. {
  3123. "command": "gitlens.views.exploreRepoRevision",
  3124. "when": "false"
  3125. },
  3126. {
  3127. "command": "gitlens.fetchRepositories",
  3128. "when": "gitlens:hasRemotes && !gitlens:readonly"
  3129. },
  3130. {
  3131. "command": "gitlens.pullRepositories",
  3132. "when": "gitlens:hasRemotes && !gitlens:readonly"
  3133. },
  3134. {
  3135. "command": "gitlens.pushRepositories",
  3136. "when": "gitlens:hasRemotes && !gitlens:readonly"
  3137. },
  3138. {
  3139. "command": "gitlens.views.checkout",
  3140. "when": "false"
  3141. },
  3142. {
  3143. "command": "gitlens.views.fetch",
  3144. "when": "false"
  3145. },
  3146. {
  3147. "command": "gitlens.views.pull",
  3148. "when": "false"
  3149. },
  3150. {
  3151. "command": "gitlens.views.push",
  3152. "when": "false"
  3153. },
  3154. {
  3155. "command": "gitlens.views.pushWithForce",
  3156. "when": "false"
  3157. },
  3158. {
  3159. "command": "gitlens.views.openInTerminal",
  3160. "when": "false"
  3161. },
  3162. {
  3163. "command": "gitlens.views.setAsDefault",
  3164. "when": "false"
  3165. },
  3166. {
  3167. "command": "gitlens.views.unsetAsDefault",
  3168. "when": "false"
  3169. },
  3170. {
  3171. "command": "gitlens.views.stageDirectory",
  3172. "when": "false"
  3173. },
  3174. {
  3175. "command": "gitlens.views.stageFile",
  3176. "when": "false"
  3177. },
  3178. {
  3179. "command": "gitlens.views.unstageDirectory",
  3180. "when": "false"
  3181. },
  3182. {
  3183. "command": "gitlens.views.unstageFile",
  3184. "when": "false"
  3185. },
  3186. {
  3187. "command": "gitlens.views.star",
  3188. "when": "false"
  3189. },
  3190. {
  3191. "command": "gitlens.views.unstar",
  3192. "when": "false"
  3193. },
  3194. {
  3195. "command": "gitlens.views.openChanges",
  3196. "when": "false"
  3197. },
  3198. {
  3199. "command": "gitlens.views.openDirectoryDiff",
  3200. "when": "false"
  3201. },
  3202. {
  3203. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3204. "when": "false"
  3205. },
  3206. {
  3207. "command": "gitlens.views.openChangesWithWorking",
  3208. "when": "false"
  3209. },
  3210. {
  3211. "command": "gitlens.views.openFile",
  3212. "when": "false"
  3213. },
  3214. {
  3215. "command": "gitlens.views.openFileRevision",
  3216. "when": "false"
  3217. },
  3218. {
  3219. "command": "gitlens.views.openFileRevisionInRemote",
  3220. "when": "false"
  3221. },
  3222. {
  3223. "command": "gitlens.views.openChangedFiles",
  3224. "when": "false"
  3225. },
  3226. {
  3227. "command": "gitlens.views.openChangedFileChanges",
  3228. "when": "false"
  3229. },
  3230. {
  3231. "command": "gitlens.views.openChangedFileChangesWithWorking",
  3232. "when": "false"
  3233. },
  3234. {
  3235. "command": "gitlens.views.openChangedFileRevisions",
  3236. "when": "false"
  3237. },
  3238. {
  3239. "command": "gitlens.views.applyChanges",
  3240. "when": "false"
  3241. },
  3242. {
  3243. "command": "gitlens.views.closeRepository",
  3244. "when": "false"
  3245. },
  3246. {
  3247. "command": "gitlens.views.compareAncestryWithWorking",
  3248. "when": "false"
  3249. },
  3250. {
  3251. "command": "gitlens.views.compareWithHead",
  3252. "when": "false"
  3253. },
  3254. {
  3255. "command": "gitlens.views.compareWithRemote",
  3256. "when": "false"
  3257. },
  3258. {
  3259. "command": "gitlens.views.compareWithSelected",
  3260. "when": "false"
  3261. },
  3262. {
  3263. "command": "gitlens.views.selectForCompare",
  3264. "when": "false"
  3265. },
  3266. {
  3267. "command": "gitlens.views.compareFileWithSelected",
  3268. "when": "false"
  3269. },
  3270. {
  3271. "command": "gitlens.views.selectFileForCompare",
  3272. "when": "false"
  3273. },
  3274. {
  3275. "command": "gitlens.views.compareWithWorking",
  3276. "when": "false"
  3277. },
  3278. {
  3279. "command": "gitlens.views.contributor.addCoauthoredBy",
  3280. "when": "false"
  3281. },
  3282. {
  3283. "command": "gitlens.views.contributor.copyToClipboard",
  3284. "when": "false"
  3285. },
  3286. {
  3287. "command": "gitlens.views.terminalCheckoutBranch",
  3288. "when": "false"
  3289. },
  3290. {
  3291. "command": "gitlens.views.terminalCreateBranch",
  3292. "when": "false"
  3293. },
  3294. {
  3295. "command": "gitlens.views.terminalDeleteBranch",
  3296. "when": "false"
  3297. },
  3298. {
  3299. "command": "gitlens.views.terminalMergeBranch",
  3300. "when": "false"
  3301. },
  3302. {
  3303. "command": "gitlens.views.terminalRebaseBranch",
  3304. "when": "false"
  3305. },
  3306. {
  3307. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3308. "when": "false"
  3309. },
  3310. {
  3311. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3312. "when": "false"
  3313. },
  3314. {
  3315. "command": "gitlens.views.terminalCheckoutCommit",
  3316. "when": "false"
  3317. },
  3318. {
  3319. "command": "gitlens.views.terminalCherryPickCommit",
  3320. "when": "false"
  3321. },
  3322. {
  3323. "command": "gitlens.views.terminalPushCommit",
  3324. "when": "false"
  3325. },
  3326. {
  3327. "command": "gitlens.views.terminalRebaseCommit",
  3328. "when": "false"
  3329. },
  3330. {
  3331. "command": "gitlens.views.terminalResetCommit",
  3332. "when": "false"
  3333. },
  3334. {
  3335. "command": "gitlens.views.terminalRevertCommit",
  3336. "when": "false"
  3337. },
  3338. {
  3339. "command": "gitlens.views.terminalRemoveRemote",
  3340. "when": "false"
  3341. },
  3342. {
  3343. "command": "gitlens.views.terminalCreateTag",
  3344. "when": "false"
  3345. },
  3346. {
  3347. "command": "gitlens.views.terminalDeleteTag",
  3348. "when": "false"
  3349. },
  3350. {
  3351. "command": "gitlens.views.repositories.refresh",
  3352. "when": "false"
  3353. },
  3354. {
  3355. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3356. "when": "false"
  3357. },
  3358. {
  3359. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3360. "when": "false"
  3361. },
  3362. {
  3363. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3364. "when": "false"
  3365. },
  3366. {
  3367. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3368. "when": "false"
  3369. },
  3370. {
  3371. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3372. "when": "false"
  3373. },
  3374. {
  3375. "command": "gitlens.views.fileHistory.refresh",
  3376. "when": "false"
  3377. },
  3378. {
  3379. "command": "gitlens.views.fileHistory.changeBase",
  3380. "when": "false"
  3381. },
  3382. {
  3383. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3384. "when": "false"
  3385. },
  3386. {
  3387. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3388. "when": "false"
  3389. },
  3390. {
  3391. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3392. "when": "false"
  3393. },
  3394. {
  3395. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3396. "when": "false"
  3397. },
  3398. {
  3399. "command": "gitlens.views.lineHistory.refresh",
  3400. "when": "false"
  3401. },
  3402. {
  3403. "command": "gitlens.views.lineHistory.changeBase",
  3404. "when": "false"
  3405. },
  3406. {
  3407. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3408. "when": "false"
  3409. },
  3410. {
  3411. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3412. "when": "false"
  3413. },
  3414. {
  3415. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3416. "when": "false"
  3417. },
  3418. {
  3419. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3420. "when": "false"
  3421. },
  3422. {
  3423. "command": "gitlens.views.compare.selectForCompare",
  3424. "when": "gitlens:enabled && config.gitlens.views.compare.enabled"
  3425. },
  3426. {
  3427. "command": "gitlens.views.compare.clear",
  3428. "when": "false"
  3429. },
  3430. {
  3431. "command": "gitlens.views.compare.refresh",
  3432. "when": "false"
  3433. },
  3434. {
  3435. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3436. "when": "false"
  3437. },
  3438. {
  3439. "command": "gitlens.views.compare.setFilesLayoutToList",
  3440. "when": "false"
  3441. },
  3442. {
  3443. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3444. "when": "false"
  3445. },
  3446. {
  3447. "command": "gitlens.views.compare.setKeepResultsToOn",
  3448. "when": "false"
  3449. },
  3450. {
  3451. "command": "gitlens.views.compare.setKeepResultsToOff",
  3452. "when": "false"
  3453. },
  3454. {
  3455. "command": "gitlens.views.compare.pinComparison",
  3456. "when": "false"
  3457. },
  3458. {
  3459. "command": "gitlens.views.compare.unpinComparison",
  3460. "when": "false"
  3461. },
  3462. {
  3463. "command": "gitlens.views.compare.swapComparison",
  3464. "when": "false"
  3465. },
  3466. {
  3467. "command": "gitlens.views.search.searchCommits",
  3468. "when": "false"
  3469. },
  3470. {
  3471. "command": "gitlens.views.search.clear",
  3472. "when": "false"
  3473. },
  3474. {
  3475. "command": "gitlens.views.search.refresh",
  3476. "when": "false"
  3477. },
  3478. {
  3479. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3480. "when": "false"
  3481. },
  3482. {
  3483. "command": "gitlens.views.search.setFilesLayoutToList",
  3484. "when": "false"
  3485. },
  3486. {
  3487. "command": "gitlens.views.search.setFilesLayoutToTree",
  3488. "when": "false"
  3489. },
  3490. {
  3491. "command": "gitlens.views.search.setKeepResultsToOn",
  3492. "when": "false"
  3493. },
  3494. {
  3495. "command": "gitlens.views.search.setKeepResultsToOff",
  3496. "when": "false"
  3497. },
  3498. {
  3499. "command": "gitlens.views.dismissNode",
  3500. "when": "false"
  3501. },
  3502. {
  3503. "command": "gitlens.views.expandNode",
  3504. "when": "false"
  3505. },
  3506. {
  3507. "command": "gitlens.views.refreshNode",
  3508. "when": "false"
  3509. }
  3510. ],
  3511. "editor/context": [
  3512. {
  3513. "command": "gitlens.diffLineWithPrevious",
  3514. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3515. "group": "1_gitlens@1"
  3516. },
  3517. {
  3518. "command": "gitlens.diffLineWithWorking",
  3519. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3520. "group": "1_gitlens@2"
  3521. },
  3522. {
  3523. "command": "gitlens.openFileInRemote",
  3524. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3525. "group": "1_gitlens_1@1"
  3526. },
  3527. {
  3528. "command": "gitlens.openCommitInRemote",
  3529. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3530. "group": "1_gitlens_1@2"
  3531. },
  3532. {
  3533. "command": "gitlens.showQuickCommitFileDetails",
  3534. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  3535. "group": "1_gitlens_1@3"
  3536. },
  3537. {
  3538. "command": "gitlens.showQuickFileHistory",
  3539. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3540. "group": "3_gitlens@1"
  3541. },
  3542. {
  3543. "command": "gitlens.showFileHistoryInView",
  3544. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3545. "group": "3_gitlens@2"
  3546. },
  3547. {
  3548. "command": "gitlens.toggleFileBlame",
  3549. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  3550. "group": "3_gitlens@3"
  3551. },
  3552. {
  3553. "command": "gitlens.copyShaToClipboard",
  3554. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3555. "group": "9_b_gitlens@1"
  3556. },
  3557. {
  3558. "command": "gitlens.copyMessageToClipboard",
  3559. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3560. "group": "9_b_gitlens@2"
  3561. },
  3562. {
  3563. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3564. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  3565. "group": "9_b_gitlens@3"
  3566. }
  3567. ],
  3568. "editor/title": [
  3569. {
  3570. "command": "gitlens.diffWithWorking",
  3571. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3572. "group": "navigation@0"
  3573. },
  3574. {
  3575. "command": "gitlens.diffWithWorkingInDiff",
  3576. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3577. "group": "navigation@0"
  3578. },
  3579. {
  3580. "command": "gitlens.openWorkingFile",
  3581. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3582. "group": "navigation@0"
  3583. },
  3584. {
  3585. "command": "gitlens.openWorkingFile",
  3586. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  3587. "group": "navigation@0"
  3588. },
  3589. {
  3590. "command": "gitlens.openWorkingFile",
  3591. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  3592. "group": "navigation@0"
  3593. },
  3594. {
  3595. "command": "gitlens.diffWithPrevious",
  3596. "alt": "gitlens.diffWithRevision",
  3597. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3598. "group": "navigation@97"
  3599. },
  3600. {
  3601. "command": "gitlens.diffWithPreviousInDiff",
  3602. "alt": "gitlens.diffWithRevision",
  3603. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3604. "group": "navigation@97"
  3605. },
  3606. {
  3607. "command": "gitlens.showQuickRevisionDetails",
  3608. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && config.gitlens.menus.editorGroup.compare",
  3609. "group": "navigation@98"
  3610. },
  3611. {
  3612. "command": "gitlens.diffWithNext",
  3613. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3614. "group": "navigation@99"
  3615. },
  3616. {
  3617. "command": "gitlens.diffWithNextInDiff",
  3618. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3619. "group": "navigation@99"
  3620. },
  3621. {
  3622. "command": "gitlens.toggleFileBlame",
  3623. "alt": "gitlens.toggleFileHeatmap",
  3624. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  3625. "group": "navigation@100"
  3626. },
  3627. {
  3628. "command": "gitlens.computingFileAnnotations",
  3629. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  3630. "group": "navigation@100"
  3631. },
  3632. {
  3633. "command": "gitlens.clearFileAnnotations",
  3634. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  3635. "group": "navigation@100"
  3636. }
  3637. ],
  3638. "editor/title/context": [
  3639. {
  3640. "command": "gitlens.openWorkingFile",
  3641. "when": "resourceScheme == gitlens",
  3642. "group": "1_co_gitlens@1"
  3643. },
  3644. {
  3645. "command": "gitlens.openFileInRemote",
  3646. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.remote",
  3647. "group": "1_co_gitlens@2"
  3648. },
  3649. {
  3650. "command": "gitlens.diffWithPrevious",
  3651. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3652. "group": "1_co_gitlens_1@1"
  3653. },
  3654. {
  3655. "command": "gitlens.diffWithRevision",
  3656. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3657. "group": "1_co_gitlens_1@2"
  3658. },
  3659. {
  3660. "command": "gitlens.diffWithWorking",
  3661. "when": "resourceScheme == gitlens && config.gitlens.menus.editorTab.compare",
  3662. "group": "1_co_gitlens_1@3"
  3663. },
  3664. {
  3665. "command": "gitlens.showQuickFileHistory",
  3666. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3667. "group": "1_co_gitlens_2@1"
  3668. },
  3669. {
  3670. "command": "gitlens.showFileHistoryInView",
  3671. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3672. "group": "1_co_gitlens_2@2"
  3673. },
  3674. {
  3675. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3676. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.clipboard",
  3677. "group": "1_cutcopypaste@100"
  3678. }
  3679. ],
  3680. "explorer/context": [
  3681. {
  3682. "command": "gitlens.openFileInRemote",
  3683. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3684. "group": "navigation@100"
  3685. },
  3686. {
  3687. "command": "gitlens.diffWithPrevious",
  3688. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3689. "group": "3_compare@1"
  3690. },
  3691. {
  3692. "command": "gitlens.diffWithRevision",
  3693. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3694. "group": "3_compare@2"
  3695. },
  3696. {
  3697. "command": "gitlens.showQuickFileHistory",
  3698. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3699. "group": "4_gitlens_1@1"
  3700. },
  3701. {
  3702. "command": "gitlens.showFileHistoryInView",
  3703. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3704. "group": "4_gitlens_1@2"
  3705. },
  3706. {
  3707. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3708. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.clipboard",
  3709. "group": "5_cutcopypaste@100"
  3710. }
  3711. ],
  3712. "scm/resourceGroup/context": [
  3713. {
  3714. "command": "gitlens.stashSave",
  3715. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stashInline",
  3716. "group": "inline@-1"
  3717. },
  3718. {
  3719. "command": "gitlens.stashSave",
  3720. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash",
  3721. "group": "1_modification@100"
  3722. },
  3723. {
  3724. "command": "gitlens.openChangedFiles",
  3725. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  3726. "group": "2_gitlens@1"
  3727. },
  3728. {
  3729. "command": "gitlens.closeUnchangedFiles",
  3730. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  3731. "group": "2_gitlens@2"
  3732. },
  3733. {
  3734. "command": "gitlens.externalDiffAll",
  3735. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  3736. "group": "3_gitlens@3"
  3737. },
  3738. {
  3739. "command": "gitlens.diffDirectoryWithHead",
  3740. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  3741. "group": "3_gitlens@4"
  3742. }
  3743. ],
  3744. "scm/resourceState/context": [
  3745. {
  3746. "command": "gitlens.openFileInRemote",
  3747. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.remote",
  3748. "group": "navigation"
  3749. },
  3750. {
  3751. "command": "gitlens.externalDiff",
  3752. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3753. "group": "navigation"
  3754. },
  3755. {
  3756. "command": "gitlens.diffWithRevision",
  3757. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3758. "group": "1_gitlens@1"
  3759. },
  3760. {
  3761. "command": "gitlens.diffWithRef",
  3762. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3763. "group": "1_gitlens@2"
  3764. },
  3765. {
  3766. "command": "gitlens.showQuickFileHistory",
  3767. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  3768. "group": "1_gitlens_1@1"
  3769. },
  3770. {
  3771. "command": "gitlens.showFileHistoryInView",
  3772. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  3773. "group": "1_gitlens_1@2"
  3774. },
  3775. {
  3776. "command": "gitlens.stashSaveFiles",
  3777. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmItem.stash",
  3778. "group": "1_modification@-1"
  3779. },
  3780. {
  3781. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3782. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.clipboard",
  3783. "group": "9_gitlens@1"
  3784. }
  3785. ],
  3786. "view/title": [
  3787. {
  3788. "command": "gitlens.pushRepositories",
  3789. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3790. "group": "navigation@10"
  3791. },
  3792. {
  3793. "command": "gitlens.pullRepositories",
  3794. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3795. "group": "navigation@11"
  3796. },
  3797. {
  3798. "command": "gitlens.fetchRepositories",
  3799. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3800. "group": "navigation@12"
  3801. },
  3802. {
  3803. "command": "gitlens.views.repositories.refresh",
  3804. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3805. "group": "navigation@99"
  3806. },
  3807. {
  3808. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3809. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3810. "group": "1_gitlens"
  3811. },
  3812. {
  3813. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3814. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3815. "group": "1_gitlens"
  3816. },
  3817. {
  3818. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3819. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3820. "group": "1_gitlens"
  3821. },
  3822. {
  3823. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3824. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  3825. "group": "2_gitlens"
  3826. },
  3827. {
  3828. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3829. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  3830. "group": "2_gitlens"
  3831. },
  3832. {
  3833. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3834. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
  3835. "group": "navigation@10"
  3836. },
  3837. {
  3838. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3839. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
  3840. "group": "navigation@10"
  3841. },
  3842. {
  3843. "command": "gitlens.views.fileHistory.changeBase",
  3844. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3845. "group": "navigation@11"
  3846. },
  3847. {
  3848. "command": "gitlens.views.fileHistory.refresh",
  3849. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3850. "group": "navigation@99"
  3851. },
  3852. {
  3853. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3854. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3855. "group": "1_gitlens"
  3856. },
  3857. {
  3858. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3859. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3860. "group": "1_gitlens"
  3861. },
  3862. {
  3863. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3864. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
  3865. "group": "navigation@10"
  3866. },
  3867. {
  3868. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3869. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
  3870. "group": "navigation@10"
  3871. },
  3872. {
  3873. "command": "gitlens.views.lineHistory.changeBase",
  3874. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3875. "group": "navigation@11"
  3876. },
  3877. {
  3878. "command": "gitlens.views.lineHistory.refresh",
  3879. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3880. "group": "navigation@99"
  3881. },
  3882. {
  3883. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3884. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3885. "group": "1_gitlens"
  3886. },
  3887. {
  3888. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3889. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3890. "group": "1_gitlens"
  3891. },
  3892. {
  3893. "command": "gitlens.views.compare.selectForCompare",
  3894. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3895. "group": "navigation@10"
  3896. },
  3897. {
  3898. "command": "gitlens.views.compare.setKeepResultsToOn",
  3899. "when": "view =~ /^gitlens\\.views\\.compare:/ && !gitlens:views:compare:keepResults",
  3900. "group": "navigation@11"
  3901. },
  3902. {
  3903. "command": "gitlens.views.compare.setKeepResultsToOff",
  3904. "when": "view =~ /^gitlens\\.views\\.compare:/ && gitlens:views:compare:keepResults",
  3905. "group": "navigation@11"
  3906. },
  3907. {
  3908. "command": "gitlens.views.compare.clear",
  3909. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3910. "group": "navigation@98"
  3911. },
  3912. {
  3913. "command": "gitlens.views.compare.refresh",
  3914. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3915. "group": "navigation@99"
  3916. },
  3917. {
  3918. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3919. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3920. "group": "1_gitlens"
  3921. },
  3922. {
  3923. "command": "gitlens.views.compare.setFilesLayoutToList",
  3924. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3925. "group": "1_gitlens"
  3926. },
  3927. {
  3928. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3929. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3930. "group": "1_gitlens"
  3931. },
  3932. {
  3933. "command": "gitlens.views.search.searchCommits",
  3934. "when": "view =~ /^gitlens\\.views\\.search:/",
  3935. "group": "navigation@10"
  3936. },
  3937. {
  3938. "command": "gitlens.views.search.setKeepResultsToOn",
  3939. "when": "view =~ /^gitlens\\.views\\.search:/ && !gitlens:views:search:keepResults",
  3940. "group": "navigation@11"
  3941. },
  3942. {
  3943. "command": "gitlens.views.search.setKeepResultsToOff",
  3944. "when": "view =~ /^gitlens\\.views\\.search:/ && gitlens:views:search:keepResults",
  3945. "group": "navigation@11"
  3946. },
  3947. {
  3948. "command": "gitlens.views.search.clear",
  3949. "when": "view =~ /^gitlens\\.views\\.search:/",
  3950. "group": "navigation@98"
  3951. },
  3952. {
  3953. "command": "gitlens.views.search.refresh",
  3954. "when": "view =~ /^gitlens\\.views\\.search:/",
  3955. "group": "navigation@99"
  3956. },
  3957. {
  3958. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3959. "when": "view =~ /^gitlens\\.views\\.search:/",
  3960. "group": "1_gitlens"
  3961. },
  3962. {
  3963. "command": "gitlens.views.search.setFilesLayoutToList",
  3964. "when": "view =~ /^gitlens\\.views\\.search:/",
  3965. "group": "1_gitlens"
  3966. },
  3967. {
  3968. "command": "gitlens.views.search.setFilesLayoutToTree",
  3969. "when": "view =~ /^gitlens\\.views\\.search:/",
  3970. "group": "1_gitlens"
  3971. },
  3972. {
  3973. "command": "gitlens.supportGitLens",
  3974. "when": "view =~ /^gitlens\\.views\\..*:/ && config.gitlens.advanced.messages.suppressSupportGitLensNotification != true && gitlens:views:supportGitLens:hide != true",
  3975. "group": "navigation@1"
  3976. },
  3977. {
  3978. "command": "gitlens.showSettingsPage",
  3979. "when": "view =~ /^gitlens\\.views\\..*:/",
  3980. "group": "9_gitlens"
  3981. }
  3982. ],
  3983. "view/item/context": [
  3984. {
  3985. "command": "gitlens.openBranchesInRemote",
  3986. "when": "viewItem =~ /gitlens:branches\\b.*?\\+remotes\\b.*?/",
  3987. "group": "inline@98"
  3988. },
  3989. {
  3990. "command": "gitlens.openBranchesInRemote",
  3991. "when": "viewItem =~ /gitlens:branches\\b.*?\\+remotes\\b.*?/",
  3992. "group": "1_gitlens@1"
  3993. },
  3994. {
  3995. "command": "gitlens.views.star",
  3996. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\+starred\\b.*?)/",
  3997. "group": "inline@1"
  3998. },
  3999. {
  4000. "command": "gitlens.views.unstar",
  4001. "when": "viewItem =~ /gitlens:branch\\b.*?\\+starred\\b.*?/",
  4002. "group": "inline@2"
  4003. },
  4004. {
  4005. "command": "gitlens.views.checkout",
  4006. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4007. "group": "inline@10"
  4008. },
  4009. {
  4010. "command": "gitlens.views.compareWithRemote",
  4011. "when": "viewItem =~ /gitlens:branch\\b.*?\\+tracking\\b.*?/",
  4012. "group": "inline@96"
  4013. },
  4014. {
  4015. "command": "gitlens.views.compareWithHead",
  4016. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\+current\\b.*?)|commit\\b|stash\\b|tag\\b)/",
  4017. "group": "inline@97",
  4018. "alt": "gitlens.views.compareWithWorking"
  4019. },
  4020. {
  4021. "command": "gitlens.views.compareWithWorking",
  4022. "when": "viewItem =~ /gitlens:branch\\b.*?\\+current\\b.*?/",
  4023. "group": "inline@97"
  4024. },
  4025. {
  4026. "command": "gitlens.openBranchInRemote",
  4027. "when": "viewItem =~ /gitlens:branch\\b.*?\\+(tracking|remote)\\b.*?/",
  4028. "group": "inline@98"
  4029. },
  4030. {
  4031. "command": "gitlens.views.checkout",
  4032. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4033. "group": "1_gitlens@1"
  4034. },
  4035. {
  4036. "command": "gitlens.openBranchInRemote",
  4037. "when": "viewItem =~ /gitlens:branch\\b.*?\\+(tracking|remote)\\b.*?/",
  4038. "group": "2_gitlens@1"
  4039. },
  4040. {
  4041. "command": "gitlens.views.compareWithRemote",
  4042. "when": "viewItem =~ /gitlens:branch\\b.*?\\+tracking\\b.*?/",
  4043. "group": "7_gitlens@1"
  4044. },
  4045. {
  4046. "command": "gitlens.views.compareWithHead",
  4047. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\+current\\b.*?)|commit\\b|stash\\b|tag\\b)/",
  4048. "group": "7_gitlens@2"
  4049. },
  4050. {
  4051. "command": "gitlens.views.compareWithWorking",
  4052. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  4053. "group": "7_gitlens@3"
  4054. },
  4055. {
  4056. "command": "gitlens.views.compareAncestryWithWorking",
  4057. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4058. "group": "7_gitlens@4"
  4059. },
  4060. {
  4061. "command": "gitlens.views.compareWithSelected",
  4062. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  4063. "group": "7_gitlens_@1"
  4064. },
  4065. {
  4066. "command": "gitlens.views.selectForCompare",
  4067. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  4068. "group": "7_gitlens_@2"
  4069. },
  4070. {
  4071. "command": "gitlens.views.compareFileWithSelected",
  4072. "when": "viewItem =~ /gitlens:file:\\b/ && gitlens:views:canCompare:file",
  4073. "group": "7_gitlens_@1"
  4074. },
  4075. {
  4076. "command": "gitlens.views.selectFileForCompare",
  4077. "when": "viewItem =~ /gitlens:file:\\b/",
  4078. "group": "7_gitlens_@2"
  4079. },
  4080. {
  4081. "command": "gitlens.views.openDirectoryDiffWithWorking",
  4082. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  4083. "group": "7_gitlens_more@2"
  4084. },
  4085. {
  4086. "command": "gitlens.views.terminalCheckoutBranch",
  4087. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)//",
  4088. "group": "8_gitlens@1"
  4089. },
  4090. {
  4091. "command": "gitlens.views.terminalRebaseBranchToRemote",
  4092. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b.*?\\+current\\b.*?\\+tracking\\b.*?/",
  4093. "group": "8_gitlens@1"
  4094. },
  4095. {
  4096. "command": "gitlens.views.terminalMergeBranch",
  4097. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4098. "group": "8_gitlens@2"
  4099. },
  4100. {
  4101. "command": "gitlens.views.terminalRebaseBranch",
  4102. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4103. "group": "8_gitlens@3"
  4104. },
  4105. {
  4106. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  4107. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4108. "group": "8_gitlens@4"
  4109. },
  4110. {
  4111. "command": "gitlens.views.terminalCreateBranch",
  4112. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit|tag)\\b/",
  4113. "group": "8_gitlens@5"
  4114. },
  4115. {
  4116. "command": "gitlens.views.terminalDeleteBranch",
  4117. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4118. "group": "8_gitlens@6"
  4119. },
  4120. {
  4121. "command": "gitlens.views.terminalCreateTag",
  4122. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit)\\b/",
  4123. "group": "8_gitlens@7"
  4124. },
  4125. {
  4126. "command": "gitlens.views.star",
  4127. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\+starred\\b.*?)/",
  4128. "group": "8_gitlens_@1"
  4129. },
  4130. {
  4131. "command": "gitlens.views.unstar",
  4132. "when": "viewItem =~ /gitlens:branch\\b.*?\\+starred\\b.*?/",
  4133. "group": "8_gitlens_@1"
  4134. },
  4135. {
  4136. "command": "gitlens.views.contributor.copyToClipboard",
  4137. "when": "viewItem =~ /gitlens:contributor\\b/",
  4138. "group": "inline@98"
  4139. },
  4140. {
  4141. "command": "gitlens.views.contributor.copyToClipboard",
  4142. "when": "viewItem =~ /gitlens:contributor\\b/",
  4143. "group": "1_gitlens@1"
  4144. },
  4145. {
  4146. "command": "gitlens.views.contributor.addCoauthoredBy",
  4147. "when": "viewItem =~ /gitlens:contributor\\b/",
  4148. "group": "2_gitlens@1"
  4149. },
  4150. {
  4151. "command": "gitlens.openCommitInRemote",
  4152. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  4153. "group": "inline@98"
  4154. },
  4155. {
  4156. "command": "gitlens.openCommitInRemote",
  4157. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  4158. "group": "1_gitlens@1"
  4159. },
  4160. {
  4161. "command": "gitlens.views.openChangedFileChanges",
  4162. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4163. "group": "2_gitlens@1"
  4164. },
  4165. {
  4166. "command": "gitlens.views.openChangedFileChangesWithWorking",
  4167. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4168. "group": "2_gitlens@2"
  4169. },
  4170. {
  4171. "command": "gitlens.views.openChangedFiles",
  4172. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4173. "group": "3_gitlens@1"
  4174. },
  4175. {
  4176. "command": "gitlens.views.openChangedFileRevisions",
  4177. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4178. "group": "3_gitlens@2"
  4179. },
  4180. {
  4181. "command": "gitlens.copyShaToClipboard",
  4182. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  4183. "group": "inline@98",
  4184. "alt": "gitlens.copyMessageToClipboard"
  4185. },
  4186. {
  4187. "command": "gitlens.copyShaToClipboard",
  4188. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  4189. "group": "5_gitlens@1"
  4190. },
  4191. {
  4192. "command": "gitlens.copyMessageToClipboard",
  4193. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  4194. "group": "5_gitlens@2"
  4195. },
  4196. {
  4197. "command": "gitlens.showQuickCommitDetails",
  4198. "when": "viewItem =~ /gitlens:commit\\b/",
  4199. "group": "5_gitlens_1@1"
  4200. },
  4201. {
  4202. "command": "gitlens.showCommitInView",
  4203. "when": "viewItem =~ /gitlens:commit\\b/",
  4204. "group": "5_gitlens_1@2"
  4205. },
  4206. {
  4207. "command": "gitlens.views.terminalCherryPickCommit",
  4208. "when": "!gitlens:readonly && viewItem == gitlens:commit",
  4209. "group": "8_gitlens@1"
  4210. },
  4211. {
  4212. "command": "gitlens.views.terminalPushCommit",
  4213. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b.*?\\+current\\b.*?/",
  4214. "group": "8_gitlens@2"
  4215. },
  4216. {
  4217. "command": "gitlens.views.terminalRevertCommit",
  4218. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b.*?\\+current\\b.*?/",
  4219. "group": "8_gitlens@3"
  4220. },
  4221. {
  4222. "command": "gitlens.views.terminalCheckoutCommit",
  4223. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  4224. "group": "8_gitlens@4"
  4225. },
  4226. {
  4227. "command": "gitlens.views.terminalRebaseCommit",
  4228. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  4229. "group": "8_gitlens@5"
  4230. },
  4231. {
  4232. "command": "gitlens.views.terminalResetCommit",
  4233. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  4234. "group": "8_gitlens@6"
  4235. },
  4236. {
  4237. "command": "gitlens.views.openFile",
  4238. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  4239. "group": "inline@1"
  4240. },
  4241. {
  4242. "command": "gitlens.views.stageFile",
  4243. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+unstaged\\b.*?/",
  4244. "group": "inline@1"
  4245. },
  4246. {
  4247. "command": "gitlens.views.unstageFile",
  4248. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+staged\\b.*?/",
  4249. "group": "inline@1"
  4250. },
  4251. {
  4252. "command": "gitlens.views.stageFile",
  4253. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+unstaged\\b.*?/",
  4254. "group": "1_gitlens@1"
  4255. },
  4256. {
  4257. "command": "gitlens.views.unstageFile",
  4258. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+staged\\b.*?/",
  4259. "group": "1_gitlens@1"
  4260. },
  4261. {
  4262. "command": "gitlens.stashSaveFiles",
  4263. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+(un)?staged\\b.*?/",
  4264. "group": "1_gitlens@2"
  4265. },
  4266. {
  4267. "command": "gitlens.views.openChanges",
  4268. "when": "viewItem =~ /gitlens:file\\b/",
  4269. "group": "2_gitlens@1"
  4270. },
  4271. {
  4272. "command": "gitlens.externalDiff",
  4273. "when": "viewItem =~ /gitlens:file\\b/",
  4274. "group": "2_gitlens@2"
  4275. },
  4276. {
  4277. "command": "gitlens.views.openChangesWithWorking",
  4278. "when": "viewItem =~ /gitlens:file\\b/",
  4279. "group": "2_gitlens@3"
  4280. },
  4281. {
  4282. "command": "gitlens.views.openFile",
  4283. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  4284. "group": "3_gitlens@1"
  4285. },
  4286. {
  4287. "command": "gitlens.views.openFileRevision",
  4288. "when": "viewItem =~ /gitlens:file\\b/",
  4289. "group": "3_gitlens@2"
  4290. },
  4291. {
  4292. "command": "gitlens.openFileInRemote",
  4293. "when": "viewItem =~ /gitlens:(file\\b(?!.*?\\+(un)?staged\\b.*?)|history:(file|line))\\b/ && gitlens:hasRemotes",
  4294. "group": "inline@99",
  4295. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  4296. },
  4297. {
  4298. "command": "gitlens.openFileInRemote",
  4299. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  4300. "group": "4_gitlens@1"
  4301. },
  4302. {
  4303. "command": "gitlens.copyRemoteFileUrlToClipboard",
  4304. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  4305. "group": "5_gitlens@3"
  4306. },
  4307. {
  4308. "command": "gitlens.views.openFileRevisionInRemote",
  4309. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  4310. "group": "4_gitlens@2"
  4311. },
  4312. {
  4313. "command": "gitlens.openFileInRemote",
  4314. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  4315. "group": "3_gitlens@2"
  4316. },
  4317. {
  4318. "command": "gitlens.views.applyChanges",
  4319. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  4320. "group": "5_gitlens_1@1"
  4321. },
  4322. {
  4323. "command": "gitlens.views.applyChanges",
  4324. "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
  4325. "group": "1_gitlens@1"
  4326. },
  4327. {
  4328. "command": "gitlens.showQuickCommitDetails",
  4329. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  4330. "group": "5_gitlens_2@2"
  4331. },
  4332. {
  4333. "command": "gitlens.showCommitInView",
  4334. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  4335. "group": "5_gitlens_2@3"
  4336. },
  4337. {
  4338. "command": "gitlens.showQuickFileHistory",
  4339. "when": "viewItem =~ /gitlens:file\\b/",
  4340. "group": "8_gitlens@1"
  4341. },
  4342. {
  4343. "command": "gitlens.showFileHistoryInView",
  4344. "when": "viewItem =~ /gitlens:file\\b/",
  4345. "group": "8_gitlens@2"
  4346. },
  4347. {
  4348. "command": "gitlens.views.fetch",
  4349. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  4350. "group": "inline@97"
  4351. },
  4352. {
  4353. "command": "gitlens.openRepoInRemote",
  4354. "when": "viewItem =~ /gitlens:remote\\b/",
  4355. "group": "inline@98"
  4356. },
  4357. {
  4358. "command": "gitlens.views.fetch",
  4359. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  4360. "group": "1_gitlens@1"
  4361. },
  4362. {
  4363. "command": "gitlens.openRepoInRemote",
  4364. "when": "viewItem =~ /gitlens:remote\\b/",
  4365. "group": "2_gitlens@1"
  4366. },
  4367. {
  4368. "command": "gitlens.openBranchesInRemote",
  4369. "when": "viewItem =~ /gitlens:remote\\b/",
  4370. "group": "2_gitlens@2"
  4371. },
  4372. {
  4373. "command": "gitlens.views.terminalRemoveRemote",
  4374. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  4375. "group": "8_gitlens@1"
  4376. },
  4377. {
  4378. "command": "gitlens.views.setAsDefault",
  4379. "when": "viewItem =~ /gitlens:remote\\b(?!.*?\\+default\\b.*?)/",
  4380. "group": "8_gitlens_@1"
  4381. },
  4382. {
  4383. "command": "gitlens.views.unsetAsDefault",
  4384. "when": "viewItem =~ /gitlens:remote\\b.*?\\+default\\b.*?/",
  4385. "group": "8_gitlens_@1"
  4386. },
  4387. {
  4388. "command": "gitlens.views.exploreRepoRevision",
  4389. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  4390. "group": "7_gitlens_more@1"
  4391. },
  4392. {
  4393. "command": "gitlens.showCommitSearch",
  4394. "when": "viewItem =~ /gitlens:repository\\b/",
  4395. "group": "inline@10"
  4396. },
  4397. {
  4398. "command": "gitlens.views.star",
  4399. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\+starred\\b.*?)/",
  4400. "group": "inline@1"
  4401. },
  4402. {
  4403. "command": "gitlens.views.unstar",
  4404. "when": "viewItem =~ /gitlens:repository\\b.*?\\+starred\\b.*?/",
  4405. "group": "inline@2"
  4406. },
  4407. {
  4408. "command": "gitlens.views.push",
  4409. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4410. "group": "inline@97",
  4411. "alt": "gitlens.views.pushWithForce"
  4412. },
  4413. {
  4414. "command": "gitlens.views.pull",
  4415. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4416. "group": "inline@98"
  4417. },
  4418. {
  4419. "command": "gitlens.views.fetch",
  4420. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4421. "group": "inline@99"
  4422. },
  4423. {
  4424. "command": "gitlens.views.fetch",
  4425. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4426. "group": "1_gitlens@1"
  4427. },
  4428. {
  4429. "command": "gitlens.views.pull",
  4430. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4431. "group": "1_gitlens@1"
  4432. },
  4433. {
  4434. "command": "gitlens.views.push",
  4435. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4436. "group": "1_gitlens@1"
  4437. },
  4438. {
  4439. "command": "gitlens.views.pushWithForce",
  4440. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4441. "group": "1_gitlens@2"
  4442. },
  4443. {
  4444. "command": "gitlens.views.openInTerminal",
  4445. "when": "viewItem =~ /gitlens:repository\\b/",
  4446. "group": "2_gitlens@1"
  4447. },
  4448. {
  4449. "command": "gitlens.openRepoInRemote",
  4450. "when": "viewItem =~ /gitlens:repository\\b/ && gitlens:hasRemotes",
  4451. "group": "2_gitlens@2"
  4452. },
  4453. {
  4454. "command": "gitlens.showCommitSearch",
  4455. "when": "viewItem =~ /gitlens:repository\\b/",
  4456. "group": "3_gitlens@1"
  4457. },
  4458. {
  4459. "command": "gitlens.stashApply",
  4460. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4461. "group": "4_gitlens@1"
  4462. },
  4463. {
  4464. "command": "gitlens.stashSave",
  4465. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4466. "group": "4_gitlens@2"
  4467. },
  4468. {
  4469. "command": "gitlens.views.star",
  4470. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\+starred\\b.*?)/",
  4471. "group": "8_gitlens@1"
  4472. },
  4473. {
  4474. "command": "gitlens.views.unstar",
  4475. "when": "viewItem =~ /gitlens:repository\\b.*?\\+starred\\b.*?/",
  4476. "group": "8_gitlens@1"
  4477. },
  4478. {
  4479. "command": "gitlens.views.closeRepository",
  4480. "when": "viewItem =~ /gitlens:repository\\b/",
  4481. "group": "8_gitlens@2"
  4482. },
  4483. {
  4484. "command": "gitlens.views.pull",
  4485. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  4486. "group": "inline@1"
  4487. },
  4488. {
  4489. "command": "gitlens.views.pull",
  4490. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  4491. "group": "1_gitlens@1"
  4492. },
  4493. {
  4494. "command": "gitlens.views.push",
  4495. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4496. "group": "inline@1",
  4497. "alt": "gitlens.views.pushWithForce"
  4498. },
  4499. {
  4500. "command": "gitlens.views.push",
  4501. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4502. "group": "1_gitlens@1"
  4503. },
  4504. {
  4505. "command": "gitlens.views.pushWithForce",
  4506. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4507. "group": "1_gitlens@2"
  4508. },
  4509. {
  4510. "command": "gitlens.views.dismissNode",
  4511. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\+pinned\\b.*?)|search)\\b(?!:(commits|files))/",
  4512. "group": "inline@99"
  4513. },
  4514. {
  4515. "command": "gitlens.views.compare.pinComparison",
  4516. "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\+pinned\\b.*?)/",
  4517. "group": "inline@1"
  4518. },
  4519. {
  4520. "command": "gitlens.views.compare.unpinComparison",
  4521. "when": "viewItem =~ /gitlens:compare:results\\b.*?\\+pinned\\b.*?/",
  4522. "group": "inline@1"
  4523. },
  4524. {
  4525. "command": "gitlens.views.compare.swapComparison",
  4526. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4527. "group": "inline@2"
  4528. },
  4529. {
  4530. "command": "gitlens.views.refreshNode",
  4531. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4532. "group": "inline@3"
  4533. },
  4534. {
  4535. "command": "gitlens.views.openDirectoryDiff",
  4536. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4537. "group": "1_gitlens@1"
  4538. },
  4539. {
  4540. "command": "gitlens.views.compare.pinComparison",
  4541. "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\+pinned\\b.*?)/",
  4542. "group": "2_gitlens@1"
  4543. },
  4544. {
  4545. "command": "gitlens.views.compare.unpinComparison",
  4546. "when": "viewItem =~ /gitlens:compare:results\\b.*?\\+pinned\\b.*?/",
  4547. "group": "2_gitlens@1"
  4548. },
  4549. {
  4550. "command": "gitlens.views.compare.swapComparison",
  4551. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4552. "group": "2_gitlens@2"
  4553. },
  4554. {
  4555. "command": "gitlens.views.search.searchCommits",
  4556. "when": "viewItem == gitlens:search:results",
  4557. "group": "inline@1"
  4558. },
  4559. {
  4560. "command": "gitlens.views.search.searchCommits",
  4561. "when": "viewItem == gitlens:search:results",
  4562. "group": "2_gitlens@1"
  4563. },
  4564. {
  4565. "command": "gitlens.stashSave",
  4566. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  4567. "group": "inline@98"
  4568. },
  4569. {
  4570. "command": "gitlens.stashApply",
  4571. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  4572. "group": "inline@99"
  4573. },
  4574. {
  4575. "command": "gitlens.stashSave",
  4576. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  4577. "group": "1_gitlens@1"
  4578. },
  4579. {
  4580. "command": "gitlens.stashApply",
  4581. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  4582. "group": "1_gitlens@2"
  4583. },
  4584. {
  4585. "command": "gitlens.stashApply",
  4586. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4587. "group": "inline@98"
  4588. },
  4589. {
  4590. "command": "gitlens.stashDelete",
  4591. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4592. "group": "inline@99"
  4593. },
  4594. {
  4595. "command": "gitlens.stashApply",
  4596. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4597. "group": "1_gitlens@1"
  4598. },
  4599. {
  4600. "command": "gitlens.stashDelete",
  4601. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4602. "group": "1_gitlens@2"
  4603. },
  4604. {
  4605. "command": "gitlens.views.checkout",
  4606. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  4607. "group": "inline@10"
  4608. },
  4609. {
  4610. "command": "gitlens.views.checkout",
  4611. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  4612. "group": "1_gitlens@1"
  4613. },
  4614. {
  4615. "command": "gitlens.views.terminalDeleteTag",
  4616. "when": "!gitlens:readonly && viewItem == gitlens:tag",
  4617. "group": "8_gitlens"
  4618. },
  4619. {
  4620. "command": "gitlens.views.stageDirectory",
  4621. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4622. "group": "inline@1"
  4623. },
  4624. {
  4625. "command": "gitlens.views.unstageDirectory",
  4626. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4627. "group": "inline@2"
  4628. },
  4629. {
  4630. "command": "gitlens.views.stageDirectory",
  4631. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4632. "group": "1_gitlens@1"
  4633. },
  4634. {
  4635. "command": "gitlens.views.unstageDirectory",
  4636. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4637. "group": "1_gitlens@2"
  4638. },
  4639. {
  4640. "command": "gitlens.views.expandNode",
  4641. "when": "viewItem =~ /gitlens:(compare|folder|results|search|status:files)\\b/",
  4642. "group": "8_gitlens@1"
  4643. },
  4644. {
  4645. "command": "gitlens.views.dismissNode",
  4646. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\+pinned\\b.*?)|search)\\b(?!:(commits|files))/",
  4647. "group": "8_gitlens@2"
  4648. },
  4649. {
  4650. "command": "gitlens.views.refreshNode",
  4651. "when": "viewItem =~ /gitlens:(?!file\\b)/",
  4652. "group": "9_gitlens@1"
  4653. }
  4654. ]
  4655. },
  4656. "keybindings": [
  4657. {
  4658. "command": "gitlens.key.left",
  4659. "key": "alt+left",
  4660. "when": "gitlens:key:left"
  4661. },
  4662. {
  4663. "command": "gitlens.key.right",
  4664. "key": "alt+right",
  4665. "when": "gitlens:key:right"
  4666. },
  4667. {
  4668. "command": "gitlens.key.,",
  4669. "key": "alt+,",
  4670. "when": "gitlens:key:,"
  4671. },
  4672. {
  4673. "command": "gitlens.key..",
  4674. "key": "alt+.",
  4675. "when": "gitlens:key:."
  4676. },
  4677. {
  4678. "command": "gitlens.key.escape",
  4679. "key": "escape",
  4680. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  4681. },
  4682. {
  4683. "command": "gitlens.toggleFileBlame",
  4684. "key": "alt+b",
  4685. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4686. },
  4687. {
  4688. "command": "gitlens.toggleCodeLens",
  4689. "key": "shift+alt+b",
  4690. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4691. },
  4692. {
  4693. "command": "gitlens.showLastQuickPick",
  4694. "key": "alt+-",
  4695. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4696. },
  4697. {
  4698. "command": "gitlens.showCommitSearch",
  4699. "key": "alt+/",
  4700. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4701. },
  4702. {
  4703. "command": "gitlens.showQuickFileHistory",
  4704. "key": "alt+h",
  4705. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4706. },
  4707. {
  4708. "command": "gitlens.showQuickRepoHistory",
  4709. "key": "shift+alt+h",
  4710. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4711. },
  4712. {
  4713. "command": "gitlens.showQuickRepoStatus",
  4714. "key": "alt+s",
  4715. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4716. },
  4717. {
  4718. "command": "gitlens.showQuickCommitFileDetails",
  4719. "key": "alt+c",
  4720. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
  4721. },
  4722. {
  4723. "command": "gitlens.diffWithNext",
  4724. "key": "alt+.",
  4725. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4726. },
  4727. {
  4728. "command": "gitlens.diffWithNextInDiff",
  4729. "key": "alt+.",
  4730. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4731. },
  4732. {
  4733. "command": "gitlens.diffWithPrevious",
  4734. "key": "alt+,",
  4735. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4736. },
  4737. {
  4738. "command": "gitlens.diffWithPreviousInDiff",
  4739. "key": "alt+,",
  4740. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4741. },
  4742. {
  4743. "command": "gitlens.diffLineWithPrevious",
  4744. "key": "shift+alt+,",
  4745. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4746. },
  4747. {
  4748. "command": "gitlens.diffWithWorking",
  4749. "key": "shift+alt+.",
  4750. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4751. },
  4752. {
  4753. "command": "gitlens.diffWithWorkingInDiff",
  4754. "key": "shift+alt+.",
  4755. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4756. },
  4757. {
  4758. "command": "gitlens.diffLineWithWorking",
  4759. "key": "alt+w",
  4760. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4761. },
  4762. {
  4763. "command": "gitlens.toggleFileBlame",
  4764. "key": "ctrl+shift+g b",
  4765. "mac": "cmd+alt+g b",
  4766. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4767. },
  4768. {
  4769. "command": "gitlens.toggleCodeLens",
  4770. "key": "ctrl+shift+g shift+b",
  4771. "mac": "cmd+alt+g shift+b",
  4772. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4773. },
  4774. {
  4775. "command": "gitlens.showLastQuickPick",
  4776. "key": "ctrl+shift+g -",
  4777. "mac": "cmd+alt+g -",
  4778. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4779. },
  4780. {
  4781. "command": "gitlens.showCommitSearch",
  4782. "key": "ctrl+shift+g /",
  4783. "mac": "cmd+alt+g /",
  4784. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4785. },
  4786. {
  4787. "command": "gitlens.showQuickFileHistory",
  4788. "key": "ctrl+shift+g h",
  4789. "mac": "cmd+alt+g h",
  4790. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4791. },
  4792. {
  4793. "command": "gitlens.showQuickRepoHistory",
  4794. "key": "ctrl+shift+g shift+h",
  4795. "mac": "cmd+alt+g shift+h",
  4796. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4797. },
  4798. {
  4799. "command": "gitlens.showQuickRepoStatus",
  4800. "key": "ctrl+shift+g s",
  4801. "mac": "cmd+alt+g s",
  4802. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4803. },
  4804. {
  4805. "command": "gitlens.showQuickCommitFileDetails",
  4806. "key": "ctrl+shift+g c",
  4807. "mac": "cmd+alt+g c",
  4808. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
  4809. },
  4810. {
  4811. "command": "gitlens.diffWithNext",
  4812. "key": "ctrl+shift+g .",
  4813. "mac": "cmd+alt+g .",
  4814. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4815. },
  4816. {
  4817. "command": "gitlens.diffWithNextInDiff",
  4818. "key": "ctrl+shift+g .",
  4819. "mac": "cmd+alt+g .",
  4820. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4821. },
  4822. {
  4823. "command": "gitlens.diffWithPrevious",
  4824. "key": "ctrl+shift+g ,",
  4825. "mac": "cmd+alt+g ,",
  4826. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4827. },
  4828. {
  4829. "command": "gitlens.diffWithPreviousInDiff",
  4830. "key": "ctrl+shift+g ,",
  4831. "mac": "cmd+alt+g ,",
  4832. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4833. },
  4834. {
  4835. "command": "gitlens.diffLineWithPrevious",
  4836. "key": "ctrl+shift+g shift+,",
  4837. "mac": "cmd+alt+g shift+,",
  4838. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4839. },
  4840. {
  4841. "command": "gitlens.diffWithWorking",
  4842. "key": "ctrl+shift+g shift+.",
  4843. "mac": "cmd+alt+g shift+.",
  4844. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4845. },
  4846. {
  4847. "command": "gitlens.diffWithWorkingInDiff",
  4848. "key": "ctrl+shift+g shift+.",
  4849. "mac": "cmd+alt+g shift+.",
  4850. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4851. },
  4852. {
  4853. "command": "gitlens.diffLineWithWorking",
  4854. "key": "ctrl+shift+g w",
  4855. "mac": "cmd+alt+g w",
  4856. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4857. },
  4858. {
  4859. "command": "workbench.view.scm",
  4860. "key": "ctrl+shift+g g",
  4861. "mac": "ctrl+shift+g",
  4862. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4863. }
  4864. ],
  4865. "resourceLabelFormatters": [
  4866. {
  4867. "scheme": "gitlens",
  4868. "authority": "*",
  4869. "formatting": {
  4870. "label": "${path} (${authority})",
  4871. "separator": "/"
  4872. }
  4873. }
  4874. ],
  4875. "viewsContainers": {
  4876. "activitybar": [
  4877. {
  4878. "id": "gitlens",
  4879. "title": "GitLens",
  4880. "icon": "images/gitlens-activitybar.svg"
  4881. }
  4882. ]
  4883. },
  4884. "views": {
  4885. "gitlens": [
  4886. {
  4887. "id": "gitlens.views.repositories:gitlens",
  4888. "name": "Repositories",
  4889. "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
  4890. },
  4891. {
  4892. "id": "gitlens.views.fileHistory:gitlens",
  4893. "name": "File History",
  4894. "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
  4895. },
  4896. {
  4897. "id": "gitlens.views.lineHistory:gitlens",
  4898. "name": "Line History",
  4899. "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
  4900. },
  4901. {
  4902. "id": "gitlens.views.compare:gitlens",
  4903. "name": "Compare",
  4904. "when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
  4905. },
  4906. {
  4907. "id": "gitlens.views.search:gitlens",
  4908. "name": "Search Commits",
  4909. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
  4910. }
  4911. ],
  4912. "explorer": [
  4913. {
  4914. "id": "gitlens.views.repositories:explorer",
  4915. "name": "GitLens: Repositories",
  4916. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
  4917. },
  4918. {
  4919. "id": "gitlens.views.fileHistory:explorer",
  4920. "name": "GitLens: File History",
  4921. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
  4922. },
  4923. {
  4924. "id": "gitlens.views.lineHistory:explorer",
  4925. "name": "GitLens: Line History",
  4926. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
  4927. },
  4928. {
  4929. "id": "gitlens.views.compare:explorer",
  4930. "name": "GitLens: Compare",
  4931. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
  4932. },
  4933. {
  4934. "id": "gitlens.views.search:explorer",
  4935. "name": "GitLens: Search Commits",
  4936. "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
  4937. }
  4938. ],
  4939. "scm": [
  4940. {
  4941. "id": "gitlens.views.repositories:scm",
  4942. "name": "GitLens: Repositories",
  4943. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
  4944. },
  4945. {
  4946. "id": "gitlens.views.fileHistory:scm",
  4947. "name": "GitLens: File History",
  4948. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
  4949. },
  4950. {
  4951. "id": "gitlens.views.lineHistory:scm",
  4952. "name": "GitLens: Line History",
  4953. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
  4954. },
  4955. {
  4956. "id": "gitlens.views.compare:scm",
  4957. "name": "GitLens: Compare",
  4958. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
  4959. },
  4960. {
  4961. "id": "gitlens.views.search:scm",
  4962. "name": "GitLens: Search Commits",
  4963. "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
  4964. }
  4965. ]
  4966. }
  4967. },
  4968. "scripts": {
  4969. "analyze:bundle": "webpack --env.analyzeBundle",
  4970. "analyze:deps": "webpack --env.analyzeDeps",
  4971. "build": "webpack --env.development",
  4972. "bundle": "webpack --env.production",
  4973. "clean": "git clean -Xdf -e !.cache-images -e !node_modules -e !node_modules/**/*",
  4974. "lint": "eslint src/**/*.ts --fix",
  4975. "pack": "vsce package",
  4976. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && npm run lint",
  4977. "pub": "vsce publish",
  4978. "rebuild": "npm run reset && npm run build",
  4979. "reset": "npm run clean && npm install --no-save",
  4980. "watch": "webpack --watch --env.development --info-verbosity verbose",
  4981. "webviews:optimize": "webpack --config-name webviews --env.optimizeImages",
  4982. "webviews:watch": "webpack --watch --config-name webviews --env.development --info-verbosity verbose",
  4983. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  4984. "postinstall": "node ./node_modules/vscode/bin/install",
  4985. "vscode:prepublish": "npm run reset && npm run bundle"
  4986. },
  4987. "dependencies": {
  4988. "dayjs": "1.8.12",
  4989. "iconv-lite": "0.4.24",
  4990. "lodash-es": "4.17.11",
  4991. "vsls": "0.3.1291"
  4992. },
  4993. "devDependencies": {
  4994. "@types/lodash-es": "4.17.3",
  4995. "@types/node": "10.1.4",
  4996. "@typescript-eslint/eslint-plugin": "1.6.0",
  4997. "@typescript-eslint/parser": "1.6.0",
  4998. "clean-webpack-plugin": "2.0.1",
  4999. "circular-dependency-plugin": "5.0.2",
  5000. "css-loader": "2.1.1",
  5001. "eslint": "5.16.0",
  5002. "eslint-cli": "1.1.1",
  5003. "eslint-config-prettier": "4.1.0",
  5004. "eslint-loader": "2.1.2",
  5005. "eslint-plugin-import": "2.17.1",
  5006. "eslint-plugin-prettiest": "0.0.1",
  5007. "html-webpack-exclude-assets-plugin": "0.0.7",
  5008. "html-webpack-inline-source-plugin": "0.0.10",
  5009. "html-webpack-plugin": "3.2.0",
  5010. "imagemin-webpack-plugin": "2.4.2",
  5011. "mini-css-extract-plugin": "0.6.0",
  5012. "node-sass": "4.11.0",
  5013. "prettier": "1.17.0",
  5014. "prettier-eslint": "8.8.2",
  5015. "sass-loader": "7.1.0",
  5016. "terser-webpack-plugin": "1.2.3",
  5017. "ts-loader": "5.3.3",
  5018. "typescript": "3.4.3",
  5019. "vsce": "1.59.0",
  5020. "vscode": "1.1.33",
  5021. "webpack": "4.30.0",
  5022. "webpack-cli": "3.3.0",
  5023. "webpack-bundle-analyzer": "3.3.2"
  5024. }
  5025. }