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.

5377 lines
239 KiB

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