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.

3325 lines
150 KiB

преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 7 години
преди 6 години
преди 7 години
преди 6 години
преди 6 години
преди 7 години
  1. {
  2. "name": "gitlens",
  3. "version": "7.3.0-beta2",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.19.0"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "Git Lens \u2014 git blame annotations, code lens, and more",
  14. "description": "Supercharge Visual Studio Code's Git capabilities \u2014 Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore the history of a file or branch, gain valuable insights via powerful comparison commands, and so much more",
  15. "badges": [
  16. {
  17. "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack",
  18. "href": "https://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  19. "description": "Join us in the #gitlens channel"
  20. }
  21. ],
  22. "categories": [
  23. "Other"
  24. ],
  25. "keywords": [
  26. "gitlens",
  27. "git",
  28. "blame",
  29. "log",
  30. "annotation",
  31. "multi-root ready"
  32. ],
  33. "galleryBanner": {
  34. "color": "#8647ae",
  35. "theme": "dark"
  36. },
  37. "icon": "images/gitlens-icon.png",
  38. "preview": false,
  39. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  40. "bugs": {
  41. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  42. },
  43. "repository": {
  44. "type": "git",
  45. "url": "https://github.com/eamodio/vscode-gitlens.git"
  46. },
  47. "main": "./out/extension",
  48. "contributes": {
  49. "configuration": {
  50. "type": "object",
  51. "title": "GitLens configuration",
  52. "properties": {
  53. "gitlens.debug": {
  54. "type": "boolean",
  55. "default": false,
  56. "description": "Specifies debug mode",
  57. "scope": "window"
  58. },
  59. "gitlens.insiders": {
  60. "type": "boolean",
  61. "default": false,
  62. "description": "Specifies whether or not to enable new experimental features (expect there to be issues)",
  63. "scope": "window"
  64. },
  65. "gitlens.keymap": {
  66. "type": "string",
  67. "default": "standard",
  68. "enum": [
  69. "standard",
  70. "chorded",
  71. "none"
  72. ],
  73. "description": "Specifies the keymap to use for GitLens shortcut keys\n `standard` - adds a standard set of shortcut keys\n `chorded` - adds a chorded set of shortcut keys that all start with `Ctrl+Alt+G` (`??G` on macOS)\n `none` - no shortcut keys will be added",
  74. "scope": "window"
  75. },
  76. "gitlens.outputLevel": {
  77. "type": "string",
  78. "default": "silent",
  79. "enum": [
  80. "silent",
  81. "errors",
  82. "verbose"
  83. ],
  84. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  85. "scope": "window"
  86. },
  87. "gitlens.annotations.file.gutter.format": {
  88. "type": "string",
  89. "default": "${message|40?} ${ago|14-}",
  90. "description": "Specifies the format of the gutter blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.annotations.file.gutter.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  91. "scope": "window"
  92. },
  93. "gitlens.annotations.file.gutter.dateFormat": {
  94. "type": "string",
  95. "default": null,
  96. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  97. "scope": "window"
  98. },
  99. "gitlens.annotations.file.gutter.compact": {
  100. "type": "boolean",
  101. "default": true,
  102. "description": "Specifies whether or not to compact (deduplicate) matching adjacent gutter blame annotations",
  103. "scope": "window"
  104. },
  105. "gitlens.annotations.file.gutter.heatmap.enabled": {
  106. "type": "boolean",
  107. "default": true,
  108. "description": "Specifies whether or not to provide a heatmap indicator in the gutter blame annotations",
  109. "scope": "window"
  110. },
  111. "gitlens.annotations.file.gutter.heatmap.location": {
  112. "type": "string",
  113. "default": "right",
  114. "enum": [
  115. "left",
  116. "right"
  117. ],
  118. "description": "Specifies where the heatmap indicators will be shown in the gutter blame annotations\n `left` - adds a heatmap indicator on the left edge of the gutter blame annotations\n `right` - adds a heatmap indicator on the right edge of the gutter blame annotations",
  119. "scope": "window"
  120. },
  121. "gitlens.annotations.file.gutter.hover.details": {
  122. "type": "boolean",
  123. "default": true,
  124. "description": "Specifies whether or not to provide a commit details hover annotation over the gutter blame annotations",
  125. "scope": "window"
  126. },
  127. "gitlens.annotations.file.gutter.hover.changes": {
  128. "type": "boolean",
  129. "default": true,
  130. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the gutter blame annotations",
  131. "scope": "window"
  132. },
  133. "gitlens.annotations.file.gutter.hover.wholeLine": {
  134. "type": "boolean",
  135. "default": true,
  136. "description": "Specifies whether or not to trigger hover annotations over the whole line",
  137. "scope": "window"
  138. },
  139. "gitlens.annotations.file.gutter.separateLines": {
  140. "type": "boolean",
  141. "default": true,
  142. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap",
  143. "scope": "window"
  144. },
  145. "gitlens.annotations.file.hover.details": {
  146. "type": "boolean",
  147. "default": true,
  148. "description": "Specifies whether or not to provide a commit details hover annotation over each line",
  149. "scope": "window"
  150. },
  151. "gitlens.annotations.file.hover.changes": {
  152. "type": "boolean",
  153. "default": true,
  154. "description": "Specifies whether or not to provide a changes (diff) hover annotation over each line",
  155. "scope": "window"
  156. },
  157. "gitlens.annotations.file.hover.heatmap.enabled": {
  158. "type": "boolean",
  159. "default": true,
  160. "description": "Specifies whether or not to provide heatmap indicators on the left edge of each line",
  161. "scope": "window"
  162. },
  163. "gitlens.annotations.file.recentChanges.hover.details": {
  164. "type": "boolean",
  165. "default": true,
  166. "description": "Specifies whether or not to provide a commit details hover annotation",
  167. "scope": "window"
  168. },
  169. "gitlens.annotations.file.recentChanges.hover.changes": {
  170. "type": "boolean",
  171. "default": true,
  172. "description": "Specifies whether or not to provide a changes (diff) hover annotation",
  173. "scope": "window"
  174. },
  175. "gitlens.annotations.line.hover.details": {
  176. "type": "boolean",
  177. "default": true,
  178. "description": "Specifies whether or not to provide a commit details hover annotation for the current line",
  179. "scope": "window"
  180. },
  181. "gitlens.annotations.line.hover.changes": {
  182. "type": "boolean",
  183. "default": true,
  184. "description": "Specifies whether or not to provide a changes (diff) hover annotation for the current line",
  185. "scope": "window"
  186. },
  187. "gitlens.annotations.line.trailing.format": {
  188. "type": "string",
  189. "default": "${authorAgo} \u2022 ${message}",
  190. "description": "Specifies the format of the trailing blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.annotations.line.trailing.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  191. "scope": "window"
  192. },
  193. "gitlens.annotations.line.trailing.dateFormat": {
  194. "type": "string",
  195. "default": null,
  196. "description": "Specifies how to format absolute dates (using the `${date}` token) in trailing blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  197. "scope": "window"
  198. },
  199. "gitlens.annotations.line.trailing.hover.details": {
  200. "type": "boolean",
  201. "default": true,
  202. "description": "Specifies whether or not to provide a commit details hover annotation over the trailing blame annotations",
  203. "scope": "window"
  204. },
  205. "gitlens.annotations.line.trailing.hover.changes": {
  206. "type": "boolean",
  207. "default": true,
  208. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the trailing blame annotations",
  209. "scope": "window"
  210. },
  211. "gitlens.annotations.line.trailing.hover.wholeLine": {
  212. "type": "boolean",
  213. "default": false,
  214. "description": "Specifies whether or not to trigger hover annotations over the whole line",
  215. "scope": "window"
  216. },
  217. "gitlens.blame.ignoreWhitespace": {
  218. "type": "boolean",
  219. "default": false,
  220. "description": "Specifies whether or not to ignore whitespace when comparing revisions during blame operations",
  221. "scope": "resource"
  222. },
  223. "gitlens.blame.file.annotationType": {
  224. "type": "string",
  225. "default": "gutter",
  226. "enum": [
  227. "gutter",
  228. "hover"
  229. ],
  230. "description": "Specifies the type of blame annotations that will be shown for the current file\n `gutter` - adds an annotation to the beginning of each line\n `hover` - shows annotations when hovering over each line",
  231. "scope": "window"
  232. },
  233. "gitlens.blame.file.lineHighlight.enabled": {
  234. "type": "boolean",
  235. "default": true,
  236. "description": "Specifies whether or not to highlight lines associated with the current line",
  237. "scope": "window"
  238. },
  239. "gitlens.blame.file.lineHighlight.locations": {
  240. "type": "array",
  241. "default": [
  242. "gutter",
  243. "line",
  244. "overviewRuler"
  245. ],
  246. "items": {
  247. "type": "string",
  248. "enum": [
  249. "gutter",
  250. "line",
  251. "overviewRuler"
  252. ]
  253. },
  254. "minItems": 1,
  255. "maxItems": 3,
  256. "uniqueItems": true,
  257. "description": "Specifies where the associated line highlights will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)",
  258. "scope": "window"
  259. },
  260. "gitlens.blame.line.enabled": {
  261. "type": "boolean",
  262. "default": true,
  263. "description": "Specifies whether or not to provide a blame annotation for the current line, by default\nUse the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current session",
  264. "scope": "window"
  265. },
  266. "gitlens.blame.line.annotationType": {
  267. "type": "string",
  268. "default": "trailing",
  269. "enum": [
  270. "trailing",
  271. "hover"
  272. ],
  273. "description": "Specifies the type of blame annotations that will be shown for the current line\n `trailing` - adds an annotation to the end of the current line\n `hover` - shows annotations when hovering over the current line",
  274. "scope": "window"
  275. },
  276. "gitlens.recentChanges.file.lineHighlight.locations": {
  277. "type": "array",
  278. "default": [
  279. "gutter",
  280. "line",
  281. "overviewRuler"
  282. ],
  283. "items": {
  284. "type": "string",
  285. "enum": [
  286. "gutter",
  287. "line",
  288. "overviewRuler"
  289. ]
  290. },
  291. "minItems": 1,
  292. "maxItems": 3,
  293. "uniqueItems": true,
  294. "description": "Specifies where the highlights of the recently changed lines will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)",
  295. "scope": "window"
  296. },
  297. "gitlens.codeLens.enabled": {
  298. "type": "boolean",
  299. "default": true,
  300. "description": "Specifies whether or not to provide any Git code lens, by default\nUse the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current session",
  301. "scope": "window"
  302. },
  303. "gitlens.codeLens.recentChange.enabled": {
  304. "type": "boolean",
  305. "default": true,
  306. "description": "Specifies whether or not to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block",
  307. "scope": "window"
  308. },
  309. "gitlens.codeLens.recentChange.command": {
  310. "type": "string",
  311. "default": "gitlens.showQuickCommitFileDetails",
  312. "enum": [
  313. "gitlens.toggleFileBlame",
  314. "gitlens.diffWithPrevious",
  315. "gitlens.showQuickCommitDetails",
  316. "gitlens.showQuickCommitFileDetails",
  317. "gitlens.showQuickFileHistory",
  318. "gitlens.showQuickRepoHistory"
  319. ],
  320. "description": "Specifies the command to be executed when the `recent change` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick",
  321. "scope": "window"
  322. },
  323. "gitlens.codeLens.authors.enabled": {
  324. "type": "boolean",
  325. "default": true,
  326. "description": "Specifies whether or not to show 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)",
  327. "scope": "window"
  328. },
  329. "gitlens.codeLens.authors.command": {
  330. "type": "string",
  331. "default": "gitlens.toggleFileBlame",
  332. "enum": [
  333. "gitlens.toggleFileBlame",
  334. "gitlens.diffWithPrevious",
  335. "gitlens.showQuickCommitDetails",
  336. "gitlens.showQuickCommitFileDetails",
  337. "gitlens.showQuickFileHistory",
  338. "gitlens.showQuickRepoHistory"
  339. ],
  340. "description": "Specifies the command to be executed when the `authors` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick",
  341. "scope": "window"
  342. },
  343. "gitlens.codeLens.locations": {
  344. "type": "array",
  345. "default": [
  346. "document",
  347. "containers"
  348. ],
  349. "items": {
  350. "type": "string",
  351. "enum": [
  352. "document",
  353. "containers",
  354. "blocks"
  355. ]
  356. },
  357. "minItems": 1,
  358. "maxItems": 4,
  359. "uniqueItems": true,
  360. "description": "Specifies where Git code lens will be shown in the document\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, etc) lines",
  361. "scope": "resource"
  362. },
  363. "gitlens.codeLens.customLocationSymbols": {
  364. "type": "array",
  365. "items": {
  366. "type": "string"
  367. },
  368. "uniqueItems": true,
  369. "description": "Specifies a set of document symbols where Git code lens will or will not be shown in the document\nPrefix with `!` to not show Git code lens for the symbol\nMust be a member of `SymbolKind`",
  370. "scope": "resource"
  371. },
  372. "gitlens.codeLens.perLanguageLocations": {
  373. "type": "array",
  374. "default": [
  375. {
  376. "language": "css",
  377. "locations": [
  378. "document"
  379. ]
  380. },
  381. {
  382. "language": "html",
  383. "locations": [
  384. "document"
  385. ]
  386. },
  387. {
  388. "language": "json",
  389. "locations": [
  390. "document"
  391. ]
  392. },
  393. {
  394. "language": "less",
  395. "locations": [
  396. "document"
  397. ]
  398. },
  399. {
  400. "language": "scss",
  401. "locations": [
  402. "document"
  403. ]
  404. },
  405. {
  406. "language": "vue",
  407. "locations": [
  408. "document"
  409. ]
  410. },
  411. {
  412. "language": "stylus",
  413. "locations": [
  414. "document"
  415. ]
  416. }
  417. ],
  418. "items": {
  419. "type": "object",
  420. "required": [
  421. "language",
  422. "locations"
  423. ],
  424. "properties": {
  425. "language": {
  426. "type": "string",
  427. "description": "Specifies the language to which this code lens override applies"
  428. },
  429. "locations": {
  430. "type": "array",
  431. "default": [
  432. "document",
  433. "containers"
  434. ],
  435. "items": {
  436. "type": "string",
  437. "enum": [
  438. "document",
  439. "containers",
  440. "blocks",
  441. "custom"
  442. ]
  443. },
  444. "minItems": 1,
  445. "maxItems": 4,
  446. "uniqueItems": true,
  447. "description": "Specifies where Git code lens will be shown in the document for the specified language\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines\n `custom` - adds code lens at the start of symbols contained in `customSymbols`"
  448. },
  449. "customSymbols": {
  450. "type": "array",
  451. "items": {
  452. "type": "string"
  453. },
  454. "uniqueItems": true,
  455. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language\nMust be a member of `SymbolKind`"
  456. }
  457. }
  458. },
  459. "uniqueItems": true,
  460. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  461. "scope": "resource"
  462. },
  463. "gitlens.codeLens.debug": {
  464. "type": "boolean",
  465. "default": false,
  466. "description": "Specifies whether or not to show debug information in code lens",
  467. "scope": "window"
  468. },
  469. "gitlens.defaultDateFormat": {
  470. "type": "string",
  471. "default": null,
  472. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  473. "scope": "window"
  474. },
  475. "gitlens.defaultDateStyle": {
  476. "type": "string",
  477. "default": "relative",
  478. "enum": [
  479. "relative",
  480. "absolute"
  481. ],
  482. "description": "Specifies how dates will be displayed by default",
  483. "scope": "window"
  484. },
  485. "gitlens.gitExplorer.autoRefresh": {
  486. "type": "boolean",
  487. "default": true,
  488. "description": "Specifies whether or not to automatically refresh the `GitLens` view when the repository or the file system changes",
  489. "scope": "window"
  490. },
  491. "gitlens.gitExplorer.commitFormat": {
  492. "type": "string",
  493. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0 (${id})",
  494. "description": "Specifies the format of committed changes in the `GitLens` view\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  495. "scope": "window"
  496. },
  497. "gitlens.gitExplorer.commitFileFormat": {
  498. "type": "string",
  499. "default": "${filePath}",
  500. "description": "Specifies the format of a committed file in the `GitLens` view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  501. "scope": "window"
  502. },
  503. "gitlens.gitExplorer.enabled": {
  504. "type": "boolean",
  505. "default": true,
  506. "description": "Specifies whether or not to show the `GitLens` view",
  507. "scope": "window"
  508. },
  509. "gitlens.gitExplorer.files.layout": {
  510. "type": "string",
  511. "default": "auto",
  512. "enum": [
  513. "auto",
  514. "list",
  515. "tree"
  516. ],
  517. "description": "Specifies how the `GitLens` view will display files\n `auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.gitExplorer.files.threshold` setting and the number of files at each nesting level\n `list` - displays files as a list\n `tree` - displays files as a tree",
  518. "scope": "window"
  519. },
  520. "gitlens.gitExplorer.files.compact": {
  521. "type": "boolean",
  522. "default": true,
  523. "description": "Specifies whether or not to compact (flatten) unnecessary file nesting in the `GitLens` view\nOnly applies when displaying files as a `tree` or `auto`",
  524. "scope": "window"
  525. },
  526. "gitlens.gitExplorer.files.threshold": {
  527. "type": "number",
  528. "default": 5,
  529. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens` view\nOnly applies when displaying files as `auto`",
  530. "scope": "window"
  531. },
  532. "gitlens.gitExplorer.gravatars": {
  533. "type": "boolean",
  534. "default": true,
  535. "description": "Specifies whether or not to show gravatar images instead of commit (or status) icons in the `GitLens` view",
  536. "scope": "window"
  537. },
  538. "gitlens.gitExplorer.gravatarsDefault": {
  539. "type": "string",
  540. "default": "robohash",
  541. "enum": [
  542. "identicon",
  543. "mm",
  544. "monsterid",
  545. "retro",
  546. "robohash",
  547. "wavatar"
  548. ],
  549. "description": "Specifies the style of the gravatar default (fallback) images in the `GitLens` view\n `identicon` - a geometric pattern\n `mm` - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)\n `monsterid` - a monster with different colors, faces, etc\n `retro` - 8-bit arcade-style pixelated faces\n `robohash` - a robot with different colors, faces, etc\n `wavatar` - faces with differing features and backgrounds",
  550. "scope": "window"
  551. },
  552. "gitlens.gitExplorer.includeWorkingTree": {
  553. "type": "boolean",
  554. "default": true,
  555. "description": "Specifies whether or not to include working tree files inside the `Repository Status` node of the `GitLens` view",
  556. "scope": "window"
  557. },
  558. "gitlens.gitExplorer.showTrackingBranch": {
  559. "type": "boolean",
  560. "default": true,
  561. "description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` view",
  562. "scope": "window"
  563. },
  564. "gitlens.gitExplorer.stashFormat": {
  565. "type": "string",
  566. "default": "${message}",
  567. "description": "Specifies the format of stashed changes in the `GitLens` view\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  568. "scope": "window"
  569. },
  570. "gitlens.gitExplorer.stashFileFormat": {
  571. "type": "string",
  572. "default": "${filePath}",
  573. "description": "Specifies the format of a stashed file in the `GitLens` view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  574. "scope": "window"
  575. },
  576. "gitlens.gitExplorer.statusFileFormat": {
  577. "type": "string",
  578. "default": "${working}${filePath}",
  579. "description": "Specifies the format of the status of a working or committed file in the `GitLens` view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path\n ${working} - optional indicator if the file is uncommitted",
  580. "scope": "window"
  581. },
  582. "gitlens.gitExplorer.view": {
  583. "type": "string",
  584. "default": "auto",
  585. "enum": [
  586. "auto",
  587. "history",
  588. "repository"
  589. ],
  590. "description": "Specifies the starting view (mode) of the `GitLens` view\n `auto` - shows the last selected view, defaults to `repository`\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer",
  591. "scope": "window"
  592. },
  593. "gitlens.remotes": {
  594. "type": "array",
  595. "default": null,
  596. "items": {
  597. "type": "object",
  598. "required": [
  599. "type",
  600. "domain"
  601. ],
  602. "properties": {
  603. "type": {
  604. "type": "string",
  605. "enum": [
  606. "Bitbucket",
  607. "BitbucketServer",
  608. "Custom",
  609. "GitHub",
  610. "GitLab"
  611. ],
  612. "description": "Specifies the type of the custom remote service\n `Bitbucket`, `BitbucketServer`, `GitHub`, or `GitLab`"
  613. },
  614. "domain": {
  615. "type": "string",
  616. "description": "Specifies the domain name of the custom remote service"
  617. },
  618. "name": {
  619. "type": "string",
  620. "description": "Specifies an optional friendly name for the custom remote service"
  621. },
  622. "protocol": {
  623. "type": "string",
  624. "default": "https",
  625. "description": "Specifies an optional url protocol for the custom remote service"
  626. },
  627. "urls": {
  628. "type": "object",
  629. "required": [
  630. "repository",
  631. "branches",
  632. "branch",
  633. "commit",
  634. "file",
  635. "fileInCommit",
  636. "fileInBranch",
  637. "fileLine",
  638. "fileRange"
  639. ],
  640. "properties": {
  641. "repository": {
  642. "type": "string",
  643. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  644. },
  645. "branches": {
  646. "type": "string",
  647. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  648. },
  649. "branch": {
  650. "type": "string",
  651. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  652. },
  653. "commit": {
  654. "type": "string",
  655. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  656. },
  657. "file": {
  658. "type": "string",
  659. "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"
  660. },
  661. "fileInBranch": {
  662. "type": "string",
  663. "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"
  664. },
  665. "fileInCommit": {
  666. "type": "string",
  667. "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"
  668. },
  669. "fileLine": {
  670. "type": "string",
  671. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  672. },
  673. "fileRange": {
  674. "type": "string",
  675. "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"
  676. }
  677. }
  678. },
  679. "description": "Specifies the url formats of the custom remote service"
  680. }
  681. },
  682. "uniqueItems": true,
  683. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  684. "scope": "resource"
  685. },
  686. "gitlens.resultsExplorer.commitFormat": {
  687. "type": "string",
  688. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0 (${id})",
  689. "description": "Specifies the format of committed changes in the `GitLens Results` view\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  690. "scope": "window"
  691. },
  692. "gitlens.resultsExplorer.commitFileFormat": {
  693. "type": "string",
  694. "default": "${filePath}",
  695. "description": "Specifies the format of a committed file in the `GitLens Results` view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  696. "scope": "window"
  697. },
  698. "gitlens.resultsExplorer.files.layout": {
  699. "type": "string",
  700. "default": "auto",
  701. "enum": [
  702. "auto",
  703. "list",
  704. "tree"
  705. ],
  706. "description": "Specifies how the `GitLens Results` view will display files\n `auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.gitExplorer.files.threshold` setting and the number of files at each nesting level\n `list` - displays files as a list\n `tree` - displays files as a tree",
  707. "scope": "window"
  708. },
  709. "gitlens.resultsExplorer.files.compact": {
  710. "type": "boolean",
  711. "default": true,
  712. "description": "Specifies whether or not to compact (flatten) unnecessary file nesting in the `GitLens Results` view\nOnly applies when displaying files as a `tree` or `auto`",
  713. "scope": "window"
  714. },
  715. "gitlens.resultsExplorer.files.threshold": {
  716. "type": "number",
  717. "default": 5,
  718. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens Results` view\nOnly applies when displaying files as `auto`",
  719. "scope": "window"
  720. },
  721. "gitlens.resultsExplorer.gravatars": {
  722. "type": "boolean",
  723. "default": true,
  724. "description": "Specifies whether or not to show gravatar images instead of commit (or status) icons in the `GitLens Results` view",
  725. "scope": "window"
  726. },
  727. "gitlens.resultsExplorer.gravatarsDefault": {
  728. "type": "string",
  729. "default": "robohash",
  730. "enum": [
  731. "identicon",
  732. "mm",
  733. "monsterid",
  734. "retro",
  735. "robohash",
  736. "wavatar"
  737. ],
  738. "description": "Specifies the style of the gravatar default (fallback) images in the `GitLens Results` view\n `identicon` - a geometric pattern\n `mm` - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)\n `monsterid` - a monster with different colors, faces, etc\n `retro` - 8-bit arcade-style pixelated faces\n `robohash` - a robot with different colors, faces, etc\n `wavatar` - faces with differing features and backgrounds",
  739. "scope": "window"
  740. },
  741. "gitlens.resultsExplorer.showTrackingBranch": {
  742. "type": "boolean",
  743. "default": true,
  744. "description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens Results` view",
  745. "scope": "window"
  746. },
  747. "gitlens.resultsExplorer.stashFormat": {
  748. "type": "string",
  749. "default": "${message}",
  750. "description": "Specifies the format of stashed changes in the `GitLens Results` view\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  751. "scope": "window"
  752. },
  753. "gitlens.resultsExplorer.stashFileFormat": {
  754. "type": "string",
  755. "default": "${filePath}",
  756. "description": "Specifies the format of a stashed file in the `GitLens Results` view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  757. "scope": "window"
  758. },
  759. "gitlens.resultsExplorer.statusFileFormat": {
  760. "type": "string",
  761. "default": "${working}${filePath}",
  762. "description": "Specifies the format of the status of a working or committed file in the `GitLens Results` view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path\n ${working} - optional indicator if the file is uncommitted",
  763. "scope": "window"
  764. },
  765. "gitlens.statusBar.enabled": {
  766. "type": "boolean",
  767. "default": true,
  768. "description": "Specifies whether or not to provide blame information on the status bar",
  769. "scope": "window"
  770. },
  771. "gitlens.statusBar.alignment": {
  772. "type": "string",
  773. "default": "right",
  774. "enum": [
  775. "left",
  776. "right"
  777. ],
  778. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right",
  779. "scope": "window"
  780. },
  781. "gitlens.statusBar.command": {
  782. "type": "string",
  783. "default": "gitlens.showQuickCommitDetails",
  784. "enum": [
  785. "gitlens.toggleFileBlame",
  786. "gitlens.diffWithPrevious",
  787. "gitlens.diffWithWorking",
  788. "gitlens.toggleCodeLens",
  789. "gitlens.showQuickCommitDetails",
  790. "gitlens.showQuickCommitFileDetails",
  791. "gitlens.showQuickFileHistory",
  792. "gitlens.showQuickRepoHistory"
  793. ],
  794. "description": "Specifies the command to be executed when the blame status bar item is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current line commit with the previous\n `gitlens.diffWithWorking` - compares the current line commit with the working tree\n `gitlens.toggleCodeLens` - toggles Git code lens\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick",
  795. "scope": "window"
  796. },
  797. "gitlens.statusBar.format": {
  798. "type": "string",
  799. "default": "${authorAgo}",
  800. "description": "Specifies the format of the status bar blame information\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  801. "scope": "window"
  802. },
  803. "gitlens.statusBar.dateFormat": {
  804. "type": "string",
  805. "default": null,
  806. "description": "Specifies the date format of absolute dates shown in the blame information on the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats",
  807. "scope": "window"
  808. },
  809. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  810. "type": "string",
  811. "default": "Unsaved changes (cannot determine recent change or authors)",
  812. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  813. "scope": "window"
  814. },
  815. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  816. "type": "string",
  817. "default": "Unsaved changes (cannot determine recent change)",
  818. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  819. "scope": "window"
  820. },
  821. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  822. "type": "string",
  823. "default": "Unsaved changes (cannot determine authors)",
  824. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  825. "scope": "window"
  826. },
  827. "gitlens.advanced.caching.enabled": {
  828. "type": "boolean",
  829. "default": true,
  830. "description": "Specifies whether git output will be cached",
  831. "scope": "window"
  832. },
  833. "gitlens.advanced.caching.maxLines": {
  834. "type": "number",
  835. "default": 0,
  836. "description": "Specifies the threshold for caching larger documents",
  837. "scope": "window"
  838. },
  839. "gitlens.advanced.git": {
  840. "type": "string",
  841. "default": null,
  842. "description": "Specifies the git path to use",
  843. "scope": "window"
  844. },
  845. "gitlens.advanced.maxQuickHistory": {
  846. "type": "number",
  847. "default": 200,
  848. "description": "Specifies the maximum number of QuickPick history entries to show",
  849. "scope": "window"
  850. },
  851. "gitlens.advanced.menus": {
  852. "type": "object",
  853. "default": {
  854. "editorContext": {
  855. "blame": true,
  856. "copy": true,
  857. "details": true,
  858. "fileDiff": true,
  859. "history": true,
  860. "lineDiff": true,
  861. "remote": true
  862. },
  863. "editorTitle": {
  864. "blame": true,
  865. "fileDiff": false,
  866. "history": false,
  867. "remote": false,
  868. "status": false
  869. },
  870. "editorTitleContext": {
  871. "blame": false,
  872. "fileDiff": false,
  873. "history": false,
  874. "remote": false
  875. },
  876. "explorerContext": {
  877. "fileDiff": true,
  878. "history": true,
  879. "remote": true
  880. }
  881. },
  882. "properties": {
  883. "editorContext": {
  884. "type": "object",
  885. "default": {
  886. "blame": true,
  887. "copy": true,
  888. "details": true,
  889. "fileDiff": true,
  890. "history": true,
  891. "lineDiff": true,
  892. "remote": true
  893. },
  894. "properties": {
  895. "blame": {
  896. "type": "boolean",
  897. "default": true
  898. },
  899. "copy": {
  900. "type": "boolean",
  901. "default": true
  902. },
  903. "details": {
  904. "type": "boolean",
  905. "default": true
  906. },
  907. "fileDiff": {
  908. "type": "boolean",
  909. "default": true
  910. },
  911. "history": {
  912. "type": "boolean",
  913. "default": true
  914. },
  915. "lineDiff": {
  916. "type": "boolean",
  917. "default": true
  918. },
  919. "remote": {
  920. "type": "boolean",
  921. "default": true
  922. }
  923. }
  924. },
  925. "editorTitle": {
  926. "type": "object",
  927. "default": {
  928. "blame": true,
  929. "fileDiff": true,
  930. "history": true,
  931. "remote": true,
  932. "status": true
  933. },
  934. "properties": {
  935. "blame": {
  936. "type": "boolean",
  937. "default": true
  938. },
  939. "fileDiff": {
  940. "type": "boolean",
  941. "default": true
  942. },
  943. "history": {
  944. "type": "boolean",
  945. "default": true
  946. },
  947. "remote": {
  948. "type": "boolean",
  949. "default": true
  950. },
  951. "status": {
  952. "type": "boolean",
  953. "default": true
  954. }
  955. }
  956. },
  957. "editorTitleContext": {
  958. "type": "object",
  959. "default": {
  960. "blame": true,
  961. "fileDiff": true,
  962. "history": true,
  963. "remote": true
  964. },
  965. "properties": {
  966. "blame": {
  967. "type": "boolean",
  968. "default": true
  969. },
  970. "fileDiff": {
  971. "type": "boolean",
  972. "default": true
  973. },
  974. "history": {
  975. "type": "boolean",
  976. "default": true
  977. },
  978. "remote": {
  979. "type": "boolean",
  980. "default": true
  981. }
  982. }
  983. },
  984. "explorerContext": {
  985. "type": "object",
  986. "default": {
  987. "fileDiff": true,
  988. "history": true,
  989. "remote": true
  990. },
  991. "properties": {
  992. "fileDiff": {
  993. "type": "boolean",
  994. "default": true
  995. },
  996. "history": {
  997. "type": "boolean",
  998. "default": true
  999. },
  1000. "remote": {
  1001. "type": "boolean",
  1002. "default": true
  1003. }
  1004. }
  1005. }
  1006. },
  1007. "description": "Specifies which commands will be added to which menus",
  1008. "scope": "window"
  1009. },
  1010. "gitlens.advanced.messages": {
  1011. "type": "object",
  1012. "default": {
  1013. "suppressCommitHasNoPreviousCommitWarning": false,
  1014. "suppressCommitNotFoundWarning": false,
  1015. "suppressFileNotUnderSourceControlWarning": false,
  1016. "suppressGitVersionWarning": false,
  1017. "suppressLineUncommittedWarning": false,
  1018. "suppressNoRepositoryWarning": false,
  1019. "suppressUpdateNotice": false,
  1020. "suppressWelcomeNotice": false
  1021. },
  1022. "properties": {
  1023. "suppressCommitHasNoPreviousCommitWarning": {
  1024. "type": "boolean",
  1025. "default": false
  1026. },
  1027. "suppressCommitNotFoundWarning": {
  1028. "type": "boolean",
  1029. "default": false
  1030. },
  1031. "suppressFileNotUnderSourceControlWarning": {
  1032. "type": "boolean",
  1033. "default": false
  1034. },
  1035. "suppressGitVersionWarning": {
  1036. "type": "boolean",
  1037. "default": false
  1038. },
  1039. "suppressLineUncommittedWarning": {
  1040. "type": "boolean",
  1041. "default": false
  1042. },
  1043. "suppressNoRepositoryWarning": {
  1044. "type": "boolean",
  1045. "default": false
  1046. },
  1047. "suppressUpdateNotice": {
  1048. "type": "boolean",
  1049. "default": false
  1050. },
  1051. "suppressWelcomeNotice": {
  1052. "type": "boolean",
  1053. "default": false
  1054. }
  1055. },
  1056. "description": "Specifies which messages should be suppressed",
  1057. "scope": "window"
  1058. },
  1059. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1060. "type": "boolean",
  1061. "default": true,
  1062. "description": "Specifies whether or not to close the QuickPick menu when focus is lost",
  1063. "scope": "window"
  1064. },
  1065. "gitlens.advanced.repositorySearchDepth": {
  1066. "type": "number",
  1067. "default": 1,
  1068. "description": "Specifies how many folders deep to search for repositories",
  1069. "scope": "resource"
  1070. },
  1071. "gitlens.advanced.telemetry.enabled": {
  1072. "type": "boolean",
  1073. "default": true,
  1074. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1075. "scope": "window"
  1076. }
  1077. }
  1078. },
  1079. "colors": [
  1080. {
  1081. "id": "gitlens.gutterBackgroundColor",
  1082. "description": "Specifies the background color of the gutter blame annotations",
  1083. "defaults": {
  1084. "dark": "#FFFFFF13",
  1085. "light": "#0000000C",
  1086. "highContrast": "#FFFFFF13"
  1087. }
  1088. },
  1089. {
  1090. "id": "gitlens.gutterForegroundColor",
  1091. "description": "Specifies the foreground color of the gutter blame annotations",
  1092. "defaults": {
  1093. "dark": "#BEBEBE",
  1094. "light": "#747474",
  1095. "highContrast": "#BEBEBE"
  1096. }
  1097. },
  1098. {
  1099. "id": "gitlens.gutterUncommittedForegroundColor",
  1100. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1101. "defaults": {
  1102. "dark": "#00BCF299",
  1103. "light": "#00BCF299",
  1104. "highContrast": "#00BCF2FF"
  1105. }
  1106. },
  1107. {
  1108. "id": "gitlens.trailingLineBackgroundColor",
  1109. "description": "Specifies the background color of the trailing blame annotation",
  1110. "defaults": {
  1111. "dark": "#00000000",
  1112. "light": "#00000000",
  1113. "highContrast": "#00000000"
  1114. }
  1115. },
  1116. {
  1117. "id": "gitlens.trailingLineForegroundColor",
  1118. "description": "Specifies the foreground color of the trailing blame annotation",
  1119. "defaults": {
  1120. "dark": "#99999959",
  1121. "light": "#99999959",
  1122. "highContrast": "#99999999"
  1123. }
  1124. },
  1125. {
  1126. "id": "gitlens.lineHighlightBackgroundColor",
  1127. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1128. "defaults": {
  1129. "dark": "#00BCF233",
  1130. "light": "#00BCF233",
  1131. "highContrast": "#00BCF233"
  1132. }
  1133. },
  1134. {
  1135. "id": "gitlens.lineHighlightOverviewRulerColor",
  1136. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1137. "defaults": {
  1138. "dark": "#00BCF299",
  1139. "light": "#00BCF299",
  1140. "highContrast": "#00BCF299"
  1141. }
  1142. }
  1143. ],
  1144. "commands": [
  1145. {
  1146. "command": "gitlens.diffDirectory",
  1147. "title": "Directory Compare Working Tree with...",
  1148. "category": "GitLens"
  1149. },
  1150. {
  1151. "command": "gitlens.diffWith",
  1152. "title": "Compare File Revisions",
  1153. "category": "GitLens"
  1154. },
  1155. {
  1156. "command": "gitlens.diffWithBranch",
  1157. "title": "Compare File with Branch or Tag...",
  1158. "category": "GitLens"
  1159. },
  1160. {
  1161. "command": "gitlens.diffWithNext",
  1162. "title": "Compare File with Next Revision",
  1163. "category": "GitLens"
  1164. },
  1165. {
  1166. "command": "gitlens.diffWithPrevious",
  1167. "title": "Compare File with Previous Revision",
  1168. "category": "GitLens"
  1169. },
  1170. {
  1171. "command": "gitlens.diffLineWithPrevious",
  1172. "title": "Compare Line Revision with Previous",
  1173. "category": "GitLens"
  1174. },
  1175. {
  1176. "command": "gitlens.diffWithRevision",
  1177. "title": "Compare File with Revision...",
  1178. "category": "GitLens"
  1179. },
  1180. {
  1181. "command": "gitlens.diffWithWorking",
  1182. "title": "Compare File with Working Revision",
  1183. "category": "GitLens"
  1184. },
  1185. {
  1186. "command": "gitlens.diffLineWithWorking",
  1187. "title": "Compare Line Revision with Working",
  1188. "category": "GitLens"
  1189. },
  1190. {
  1191. "command": "gitlens.showFileBlame",
  1192. "title": "Show File Blame Annotations",
  1193. "category": "GitLens"
  1194. },
  1195. {
  1196. "command": "gitlens.showLineBlame",
  1197. "title": "Show Line Blame Annotations",
  1198. "category": "GitLens"
  1199. },
  1200. {
  1201. "command": "gitlens.toggleFileBlame",
  1202. "title": "Toggle File Blame Annotations",
  1203. "category": "GitLens",
  1204. "icon": {
  1205. "dark": "images/dark/git-icon.svg",
  1206. "light": "images/light/git-icon.svg"
  1207. }
  1208. },
  1209. {
  1210. "command": "gitlens.clearFileAnnotations",
  1211. "title": "Clear File Annotations",
  1212. "category": "GitLens",
  1213. "icon": {
  1214. "dark": "images/dark/git-icon-orange.svg",
  1215. "light": "images/light/git-icon-orange.svg"
  1216. }
  1217. },
  1218. {
  1219. "command": "gitlens.computingFileAnnotations",
  1220. "title": "Computing File Annotations...",
  1221. "category": "GitLens",
  1222. "icon": {
  1223. "dark": "images/dark/git-icon-progress.svg",
  1224. "light": "images/light/git-icon-progress.svg"
  1225. }
  1226. },
  1227. {
  1228. "command": "gitlens.toggleFileHeatmap",
  1229. "title": "Toggle File Heatmap Annotations",
  1230. "category": "GitLens"
  1231. },
  1232. {
  1233. "command": "gitlens.toggleFileRecentChanges",
  1234. "title": "Toggle Recent File Changes Annotations",
  1235. "category": "GitLens",
  1236. "icon": {
  1237. "dark": "images/dark/git-icon.svg",
  1238. "light": "images/light/git-icon.svg"
  1239. }
  1240. },
  1241. {
  1242. "command": "gitlens.toggleLineBlame",
  1243. "title": "Toggle Line Blame Annotations",
  1244. "category": "GitLens"
  1245. },
  1246. {
  1247. "command": "gitlens.toggleCodeLens",
  1248. "title": "Toggle Git Code Lens",
  1249. "category": "GitLens"
  1250. },
  1251. {
  1252. "command": "gitlens.showCommitSearch",
  1253. "title": "Search Commits",
  1254. "category": "GitLens",
  1255. "icon": {
  1256. "dark": "images/dark/icon-search.svg",
  1257. "light": "images/light/icon-search.svg"
  1258. }
  1259. },
  1260. {
  1261. "command": "gitlens.showLastQuickPick",
  1262. "title": "Show Last Opened Quick Pick",
  1263. "category": "GitLens"
  1264. },
  1265. {
  1266. "command": "gitlens.showQuickCommitDetails",
  1267. "title": "Show Commit Details",
  1268. "category": "GitLens"
  1269. },
  1270. {
  1271. "command": "gitlens.showQuickCommitFileDetails",
  1272. "title": "Show Commit File Details",
  1273. "category": "GitLens"
  1274. },
  1275. {
  1276. "command": "gitlens.showQuickFileHistory",
  1277. "title": "Show File History",
  1278. "category": "GitLens"
  1279. },
  1280. {
  1281. "command": "gitlens.showQuickBranchHistory",
  1282. "title": "Show Branch History",
  1283. "category": "GitLens"
  1284. },
  1285. {
  1286. "command": "gitlens.showQuickRepoHistory",
  1287. "title": "Show Current Branch History",
  1288. "category": "GitLens"
  1289. },
  1290. {
  1291. "command": "gitlens.showQuickRepoStatus",
  1292. "title": "Show Repository Status",
  1293. "category": "GitLens"
  1294. },
  1295. {
  1296. "command": "gitlens.showQuickStashList",
  1297. "title": "Show Stashed Changes",
  1298. "category": "GitLens"
  1299. },
  1300. {
  1301. "command": "gitlens.copyShaToClipboard",
  1302. "title": "Copy Commit ID to Clipboard",
  1303. "category": "GitLens"
  1304. },
  1305. {
  1306. "command": "gitlens.copyMessageToClipboard",
  1307. "title": "Copy Commit Message to Clipboard",
  1308. "category": "GitLens"
  1309. },
  1310. {
  1311. "command": "gitlens.closeUnchangedFiles",
  1312. "title": "Close Unchanged Files",
  1313. "category": "GitLens"
  1314. },
  1315. {
  1316. "command": "gitlens.openChangedFiles",
  1317. "title": "Open Changed Files",
  1318. "category": "GitLens"
  1319. },
  1320. {
  1321. "command": "gitlens.openBranchesInRemote",
  1322. "title": "Open Branches in Remote",
  1323. "category": "GitLens"
  1324. },
  1325. {
  1326. "command": "gitlens.openBranchInRemote",
  1327. "title": "Open Branch in Remote",
  1328. "category": "GitLens"
  1329. },
  1330. {
  1331. "command": "gitlens.openCommitInRemote",
  1332. "title": "Open Commit in Remote",
  1333. "category": "GitLens"
  1334. },
  1335. {
  1336. "command": "gitlens.openFileInRemote",
  1337. "title": "Open File in Remote",
  1338. "category": "GitLens"
  1339. },
  1340. {
  1341. "command": "gitlens.openFileRevision",
  1342. "title": "Open Revision...",
  1343. "category": "GitLens"
  1344. },
  1345. {
  1346. "command": "gitlens.openRepoInRemote",
  1347. "title": "Open Repository in Remote",
  1348. "category": "GitLens"
  1349. },
  1350. {
  1351. "command": "gitlens.openWorkingFile",
  1352. "title": "Open Working File",
  1353. "category": "GitLens",
  1354. "icon": {
  1355. "dark": "images/dark/open-file.svg",
  1356. "light": "images/light/open-file.svg"
  1357. }
  1358. },
  1359. {
  1360. "command": "gitlens.stashApply",
  1361. "title": "Apply Stashed Changes",
  1362. "category": "GitLens"
  1363. },
  1364. {
  1365. "command": "gitlens.stashDelete",
  1366. "title": "Delete Stashed Changes",
  1367. "category": "GitLens"
  1368. },
  1369. {
  1370. "command": "gitlens.stashSave",
  1371. "title": "Stash Changes",
  1372. "category": "GitLens",
  1373. "icon": {
  1374. "dark": "images/dark/icon-add.svg",
  1375. "light": "images/light/icon-add.svg"
  1376. }
  1377. },
  1378. {
  1379. "command": "gitlens.externalDiff",
  1380. "title": "Open Changes (with difftool)",
  1381. "category": "GitLens"
  1382. },
  1383. {
  1384. "command": "gitlens.externalDiffAll",
  1385. "title": "Open All Changes (with difftool)",
  1386. "category": "GitLens"
  1387. },
  1388. {
  1389. "command": "gitlens.resetSuppressedWarnings",
  1390. "title": "Reset Suppressed Warnings",
  1391. "category": "GitLens"
  1392. },
  1393. {
  1394. "command": "gitlens.explorers.openDirectoryDiff",
  1395. "title": "Open Directory Compare",
  1396. "category": "GitLens"
  1397. },
  1398. {
  1399. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1400. "title": "Open Directory Compare with Working Tree",
  1401. "category": "GitLens"
  1402. },
  1403. {
  1404. "command": "gitlens.explorers.openChanges",
  1405. "title": "Open Changes",
  1406. "category": "GitLens"
  1407. },
  1408. {
  1409. "command": "gitlens.explorers.openChangesWithWorking",
  1410. "title": "Open Changes with Working Tree",
  1411. "category": "GitLens"
  1412. },
  1413. {
  1414. "command": "gitlens.explorers.openFile",
  1415. "title": "Open File",
  1416. "category": "GitLens"
  1417. },
  1418. {
  1419. "command": "gitlens.explorers.openFileRevision",
  1420. "title": "Open Revision",
  1421. "category": "GitLens"
  1422. },
  1423. {
  1424. "command": "gitlens.explorers.openFileRevisionInRemote",
  1425. "title": "Open Revision in Remote",
  1426. "category": "GitLens"
  1427. },
  1428. {
  1429. "command": "gitlens.explorers.openChangedFiles",
  1430. "title": "Open Files",
  1431. "category": "GitLens"
  1432. },
  1433. {
  1434. "command": "gitlens.explorers.openChangedFileChanges",
  1435. "title": "Open All Changes",
  1436. "category": "GitLens"
  1437. },
  1438. {
  1439. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1440. "title": "Open All Changes with Working Tree",
  1441. "category": "GitLens"
  1442. },
  1443. {
  1444. "command": "gitlens.explorers.openChangedFileRevisions",
  1445. "title": "Open Revisions",
  1446. "category": "GitLens"
  1447. },
  1448. {
  1449. "command": "gitlens.explorers.applyChanges",
  1450. "title": "Apply Changes",
  1451. "category": "GitLens"
  1452. },
  1453. {
  1454. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1455. "title": "Compare Selected Ancestor with Working",
  1456. "category": "GitLens"
  1457. },
  1458. {
  1459. "command": "gitlens.explorers.compareWithHead",
  1460. "title": "Compare with Index (HEAD)",
  1461. "category": "GitLens"
  1462. },
  1463. {
  1464. "command": "gitlens.explorers.compareWithRemote",
  1465. "title": "Compare with Remote",
  1466. "category": "GitLens"
  1467. },
  1468. {
  1469. "command": "gitlens.explorers.compareWithSelected",
  1470. "title": "Compare with Selected",
  1471. "category": "GitLens"
  1472. },
  1473. {
  1474. "command": "gitlens.explorers.compareWithWorking",
  1475. "title": "Compare with Working",
  1476. "category": "GitLens"
  1477. },
  1478. {
  1479. "command": "gitlens.explorers.selectForCompare",
  1480. "title": "Select for Compare",
  1481. "category": "GitLens"
  1482. },
  1483. {
  1484. "command": "gitlens.explorers.terminalCheckoutBranch",
  1485. "title": "Checkout Branch (via Terminal)",
  1486. "category": "GitLens"
  1487. },
  1488. {
  1489. "command": "gitlens.explorers.terminalCreateBranch",
  1490. "title": "Create Branch (via Terminal)...",
  1491. "category": "GitLens"
  1492. },
  1493. {
  1494. "command": "gitlens.explorers.terminalDeleteBranch",
  1495. "title": "Delete Branch (via Terminal)",
  1496. "category": "GitLens"
  1497. },
  1498. {
  1499. "command": "gitlens.explorers.terminalMergeBranch",
  1500. "title": "Merge Branch (via Terminal)",
  1501. "category": "GitLens"
  1502. },
  1503. {
  1504. "command": "gitlens.explorers.terminalRebaseBranch",
  1505. "title": "Rebase (Interactive) Branch (via Terminal)",
  1506. "category": "GitLens"
  1507. },
  1508. {
  1509. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1510. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1511. "category": "GitLens"
  1512. },
  1513. {
  1514. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1515. "title": "Squash Branch into Commit (via Terminal)",
  1516. "category": "GitLens"
  1517. },
  1518. {
  1519. "command": "gitlens.explorers.terminalCherryPickCommit",
  1520. "title": "Cherry Pick Commit (via Terminal)",
  1521. "category": "GitLens"
  1522. },
  1523. {
  1524. "command": "gitlens.explorers.terminalRebaseCommit",
  1525. "title": "Rebase to Commit (via Terminal)",
  1526. "category": "GitLens"
  1527. },
  1528. {
  1529. "command": "gitlens.explorers.terminalResetCommit",
  1530. "title": "Reset to Commit (via Terminal)",
  1531. "category": "GitLens"
  1532. },
  1533. {
  1534. "command": "gitlens.explorers.terminalRevertCommit",
  1535. "title": "Revert Commit (via Terminal)",
  1536. "category": "GitLens"
  1537. },
  1538. {
  1539. "command": "gitlens.explorers.terminalRemoveRemote",
  1540. "title": "Remove Remote (via Terminal)",
  1541. "category": "GitLens"
  1542. },
  1543. {
  1544. "command": "gitlens.explorers.terminalCreateTag",
  1545. "title": "Create Tag (via Terminal)...",
  1546. "category": "GitLens"
  1547. },
  1548. {
  1549. "command": "gitlens.explorers.terminalDeleteTag",
  1550. "title": "Delete Tag (via Terminal)",
  1551. "category": "GitLens"
  1552. },
  1553. {
  1554. "command": "gitlens.gitExplorer.refresh",
  1555. "title": "Refresh",
  1556. "category": "GitLens",
  1557. "icon": {
  1558. "dark": "images/dark/icon-refresh.svg",
  1559. "light": "images/light/icon-refresh.svg"
  1560. }
  1561. },
  1562. {
  1563. "command": "gitlens.gitExplorer.refreshNode",
  1564. "title": "Refresh",
  1565. "category": "GitLens"
  1566. },
  1567. {
  1568. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1569. "title": "Show Files in Automatic View",
  1570. "category": "GitLens"
  1571. },
  1572. {
  1573. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1574. "title": "Show Files in List View",
  1575. "category": "GitLens"
  1576. },
  1577. {
  1578. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1579. "title": "Show Files in Tree View",
  1580. "category": "GitLens"
  1581. },
  1582. {
  1583. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1584. "title": "Enable Automatic Refresh",
  1585. "category": "GitLens"
  1586. },
  1587. {
  1588. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1589. "title": "Disable Automatic Refresh",
  1590. "category": "GitLens"
  1591. },
  1592. {
  1593. "command": "gitlens.gitExplorer.switchToHistoryView",
  1594. "title": "Switch to History View",
  1595. "category": "GitLens",
  1596. "icon": {
  1597. "dark": "images/dark/icon-history.svg",
  1598. "light": "images/light/icon-history.svg"
  1599. }
  1600. },
  1601. {
  1602. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1603. "title": "Switch to Repository View",
  1604. "category": "GitLens",
  1605. "icon": {
  1606. "dark": "images/dark/icon-repo.svg",
  1607. "light": "images/light/icon-repo.svg"
  1608. }
  1609. },
  1610. {
  1611. "command": "gitlens.resultsExplorer.clearResultsNode",
  1612. "title": "Clear Results",
  1613. "category": "GitLens"
  1614. },
  1615. {
  1616. "command": "gitlens.resultsExplorer.close",
  1617. "title": "Close",
  1618. "category": "GitLens",
  1619. "icon": {
  1620. "dark": "images/dark/icon-close.svg",
  1621. "light": "images/light/icon-close.svg"
  1622. }
  1623. },
  1624. {
  1625. "command": "gitlens.resultsExplorer.refresh",
  1626. "title": "Refresh",
  1627. "category": "GitLens",
  1628. "icon": {
  1629. "dark": "images/dark/icon-refresh.svg",
  1630. "light": "images/light/icon-refresh.svg"
  1631. }
  1632. },
  1633. {
  1634. "command": "gitlens.resultsExplorer.refreshNode",
  1635. "title": "Refresh",
  1636. "category": "GitLens"
  1637. },
  1638. {
  1639. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1640. "title": "Show Files in Automatic View",
  1641. "category": "GitLens"
  1642. },
  1643. {
  1644. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1645. "title": "Show Files in List View",
  1646. "category": "GitLens"
  1647. },
  1648. {
  1649. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1650. "title": "Show Files in Tree View",
  1651. "category": "GitLens"
  1652. },
  1653. {
  1654. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1655. "title": "Keep Results",
  1656. "category": "GitLens",
  1657. "icon": {
  1658. "dark": "images/dark/icon-lock.svg",
  1659. "light": "images/light/icon-lock.svg"
  1660. }
  1661. },
  1662. {
  1663. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1664. "title": "Keep Results",
  1665. "category": "GitLens",
  1666. "icon": {
  1667. "dark": "images/dark/icon-locked.svg",
  1668. "light": "images/light/icon-locked.svg"
  1669. }
  1670. }
  1671. ],
  1672. "menus": {
  1673. "commandPalette": [
  1674. {
  1675. "command": "gitlens.diffDirectory",
  1676. "when": "gitlens:enabled"
  1677. },
  1678. {
  1679. "command": "gitlens.diffWith",
  1680. "when": "false"
  1681. },
  1682. {
  1683. "command": "gitlens.diffWithBranch",
  1684. "when": "gitlens:activeIsTracked"
  1685. },
  1686. {
  1687. "command": "gitlens.diffWithNext",
  1688. "when": "gitlens:activeIsTracked"
  1689. },
  1690. {
  1691. "command": "gitlens.diffWithPrevious",
  1692. "when": "gitlens:activeIsTracked"
  1693. },
  1694. {
  1695. "command": "gitlens.diffLineWithPrevious",
  1696. "when": "gitlens:activeIsBlameable"
  1697. },
  1698. {
  1699. "command": "gitlens.diffWithRevision",
  1700. "when": "gitlens:activeIsTracked"
  1701. },
  1702. {
  1703. "command": "gitlens.diffWithWorking",
  1704. "when": "gitlens:activeIsTracked"
  1705. },
  1706. {
  1707. "command": "gitlens.diffLineWithWorking",
  1708. "when": "gitlens:activeIsBlameable"
  1709. },
  1710. {
  1711. "command": "gitlens.externalDiffAll",
  1712. "when": "gitlens:enabled"
  1713. },
  1714. {
  1715. "command": "gitlens.showFileBlame",
  1716. "when": "gitlens:activeIsBlameable"
  1717. },
  1718. {
  1719. "command": "gitlens.showLineBlame",
  1720. "when": "gitlens:activeIsBlameable"
  1721. },
  1722. {
  1723. "command": "gitlens.toggleFileBlame",
  1724. "when": "gitlens:activeIsBlameable"
  1725. },
  1726. {
  1727. "command": "gitlens.clearFileAnnotations",
  1728. "when": "gitlens:annotationStatus == computed"
  1729. },
  1730. {
  1731. "command": "gitlens.computingFileAnnotations",
  1732. "when": "false"
  1733. },
  1734. {
  1735. "command": "gitlens.toggleFileHeatmap",
  1736. "when": "gitlens:activeIsBlameable"
  1737. },
  1738. {
  1739. "command": "gitlens.toggleFileRecentChanges",
  1740. "when": "gitlens:activeIsBlameable"
  1741. },
  1742. {
  1743. "command": "gitlens.toggleLineBlame",
  1744. "when": "gitlens:activeIsBlameable"
  1745. },
  1746. {
  1747. "command": "gitlens.toggleCodeLens",
  1748. "when": "gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  1749. },
  1750. {
  1751. "command": "gitlens.showLastQuickPick",
  1752. "when": "gitlens:enabled"
  1753. },
  1754. {
  1755. "command": "gitlens.showQuickCommitDetails",
  1756. "when": "gitlens:activeIsBlameable"
  1757. },
  1758. {
  1759. "command": "gitlens.showQuickCommitFileDetails",
  1760. "when": "gitlens:activeIsBlameable"
  1761. },
  1762. {
  1763. "command": "gitlens.showQuickFileHistory",
  1764. "when": "gitlens:activeIsTracked"
  1765. },
  1766. {
  1767. "command": "gitlens.showQuickBranchHistory",
  1768. "when": "gitlens:enabled"
  1769. },
  1770. {
  1771. "command": "gitlens.showQuickRepoHistory",
  1772. "when": "gitlens:enabled"
  1773. },
  1774. {
  1775. "command": "gitlens.showQuickRepoStatus",
  1776. "when": "gitlens:enabled"
  1777. },
  1778. {
  1779. "command": "gitlens.showQuickStashList",
  1780. "when": "gitlens:enabled"
  1781. },
  1782. {
  1783. "command": "gitlens.copyShaToClipboard",
  1784. "when": "gitlens:activeIsBlameable"
  1785. },
  1786. {
  1787. "command": "gitlens.copyMessageToClipboard",
  1788. "when": "gitlens:activeIsBlameable"
  1789. },
  1790. {
  1791. "command": "gitlens.closeUnchangedFiles",
  1792. "when": "gitlens:enabled"
  1793. },
  1794. {
  1795. "command": "gitlens.openChangedFiles",
  1796. "when": "gitlens:enabled"
  1797. },
  1798. {
  1799. "command": "gitlens.openBranchesInRemote",
  1800. "when": "gitlens:activeHasRemote"
  1801. },
  1802. {
  1803. "command": "gitlens.openBranchInRemote",
  1804. "when": "gitlens:activeHasRemote"
  1805. },
  1806. {
  1807. "command": "gitlens.openCommitInRemote",
  1808. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1809. },
  1810. {
  1811. "command": "gitlens.openFileInRemote",
  1812. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1813. },
  1814. {
  1815. "command": "gitlens.openFileRevision",
  1816. "when": "gitlens:activeIsTracked"
  1817. },
  1818. {
  1819. "command": "gitlens.openRepoInRemote",
  1820. "when": "gitlens:activeHasRemote"
  1821. },
  1822. {
  1823. "command": "gitlens.openWorkingFile",
  1824. "when": "gitlens:activeIsRevision"
  1825. },
  1826. {
  1827. "command": "gitlens.stashApply",
  1828. "when": "gitlens:enabled"
  1829. },
  1830. {
  1831. "command": "gitlens.stashSave",
  1832. "when": "gitlens:enabled"
  1833. },
  1834. {
  1835. "command": "gitlens.resetSuppressedWarnings",
  1836. "when": "gitlens:enabled"
  1837. },
  1838. {
  1839. "command": "gitlens.explorers.openChanges",
  1840. "when": "false"
  1841. },
  1842. {
  1843. "command": "gitlens.explorers.openDirectoryDiff",
  1844. "when": "false"
  1845. },
  1846. {
  1847. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1848. "when": "false"
  1849. },
  1850. {
  1851. "command": "gitlens.explorers.openChangesWithWorking",
  1852. "when": "false"
  1853. },
  1854. {
  1855. "command": "gitlens.explorers.openFile",
  1856. "when": "false"
  1857. },
  1858. {
  1859. "command": "gitlens.explorers.openFileRevision",
  1860. "when": "false"
  1861. },
  1862. {
  1863. "command": "gitlens.explorers.openFileRevisionInRemote",
  1864. "when": "false"
  1865. },
  1866. {
  1867. "command": "gitlens.explorers.openChangedFiles",
  1868. "when": "false"
  1869. },
  1870. {
  1871. "command": "gitlens.explorers.openChangedFileChanges",
  1872. "when": "false"
  1873. },
  1874. {
  1875. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1876. "when": "false"
  1877. },
  1878. {
  1879. "command": "gitlens.explorers.openChangedFileRevisions",
  1880. "when": "false"
  1881. },
  1882. {
  1883. "command": "gitlens.explorers.applyChanges",
  1884. "when": "false"
  1885. },
  1886. {
  1887. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1888. "when": "false"
  1889. },
  1890. {
  1891. "command": "gitlens.explorers.compareWithHead",
  1892. "when": "false"
  1893. },
  1894. {
  1895. "command": "gitlens.explorers.compareWithRemote",
  1896. "when": "false"
  1897. },
  1898. {
  1899. "command": "gitlens.explorers.compareWithSelected",
  1900. "when": "false"
  1901. },
  1902. {
  1903. "command": "gitlens.explorers.compareWithWorking",
  1904. "when": "false"
  1905. },
  1906. {
  1907. "command": "gitlens.explorers.selectForCompare",
  1908. "when": "false"
  1909. },
  1910. {
  1911. "command": "gitlens.explorers.terminalCheckoutBranch",
  1912. "when": "false"
  1913. },
  1914. {
  1915. "command": "gitlens.explorers.terminalCreateBranch",
  1916. "when": "false"
  1917. },
  1918. {
  1919. "command": "gitlens.explorers.terminalDeleteBranch",
  1920. "when": "false"
  1921. },
  1922. {
  1923. "command": "gitlens.explorers.terminalMergeBranch",
  1924. "when": "false"
  1925. },
  1926. {
  1927. "command": "gitlens.explorers.terminalRebaseBranch",
  1928. "when": "false"
  1929. },
  1930. {
  1931. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1932. "when": "false"
  1933. },
  1934. {
  1935. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1936. "when": "false"
  1937. },
  1938. {
  1939. "command": "gitlens.explorers.terminalCherryPickCommit",
  1940. "when": "false"
  1941. },
  1942. {
  1943. "command": "gitlens.explorers.terminalRebaseCommit",
  1944. "when": "false"
  1945. },
  1946. {
  1947. "command": "gitlens.explorers.terminalResetCommit",
  1948. "when": "false"
  1949. },
  1950. {
  1951. "command": "gitlens.explorers.terminalRevertCommit",
  1952. "when": "false"
  1953. },
  1954. {
  1955. "command": "gitlens.explorers.terminalRemoveRemote",
  1956. "when": "false"
  1957. },
  1958. {
  1959. "command": "gitlens.explorers.terminalCreateTag",
  1960. "when": "false"
  1961. },
  1962. {
  1963. "command": "gitlens.explorers.terminalDeleteTag",
  1964. "when": "false"
  1965. },
  1966. {
  1967. "command": "gitlens.gitExplorer.refresh",
  1968. "when": "false"
  1969. },
  1970. {
  1971. "command": "gitlens.gitExplorer.refreshNode",
  1972. "when": "false"
  1973. },
  1974. {
  1975. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1976. "when": "false"
  1977. },
  1978. {
  1979. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1980. "when": "false"
  1981. },
  1982. {
  1983. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1984. "when": "false"
  1985. },
  1986. {
  1987. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1988. "when": "false"
  1989. },
  1990. {
  1991. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1992. "when": "false"
  1993. },
  1994. {
  1995. "command": "gitlens.gitExplorer.switchToHistoryView",
  1996. "when": "gitlens:gitExplorer:view == repository"
  1997. },
  1998. {
  1999. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2000. "when": "gitlens:gitExplorer:view == history"
  2001. },
  2002. {
  2003. "command": "gitlens.resultsExplorer.clearResultsNode",
  2004. "when": "false"
  2005. },
  2006. {
  2007. "command": "gitlens.resultsExplorer.close",
  2008. "when": "false"
  2009. },
  2010. {
  2011. "command": "gitlens.resultsExplorer.refresh",
  2012. "when": "false"
  2013. },
  2014. {
  2015. "command": "gitlens.resultsExplorer.refreshNode",
  2016. "when": "false"
  2017. },
  2018. {
  2019. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2020. "when": "false"
  2021. },
  2022. {
  2023. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2024. "when": "false"
  2025. },
  2026. {
  2027. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2028. "when": "false"
  2029. },
  2030. {
  2031. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2032. "when": "false"
  2033. },
  2034. {
  2035. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2036. "when": "false"
  2037. }
  2038. ],
  2039. "editor/context": [
  2040. {
  2041. "command": "gitlens.openFileInRemote",
  2042. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  2043. "group": "navigation@100"
  2044. },
  2045. {
  2046. "command": "gitlens.diffLineWithPrevious",
  2047. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2048. "group": "1_gitlens@1"
  2049. },
  2050. {
  2051. "command": "gitlens.diffLineWithWorking",
  2052. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2053. "group": "1_gitlens@2"
  2054. },
  2055. {
  2056. "command": "gitlens.showQuickCommitFileDetails",
  2057. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2058. "group": "1_gitlens@3"
  2059. },
  2060. {
  2061. "command": "gitlens.diffWithPrevious",
  2062. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2063. "group": "1_gitlens_1@1"
  2064. },
  2065. {
  2066. "command": "gitlens.diffWithWorking",
  2067. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2068. "group": "1_gitlens_1@2"
  2069. },
  2070. {
  2071. "command": "gitlens.showQuickFileHistory",
  2072. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2073. "group": "3_gitlens@1"
  2074. },
  2075. {
  2076. "command": "gitlens.toggleFileBlame",
  2077. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2078. "group": "3_gitlens@2"
  2079. },
  2080. {
  2081. "command": "gitlens.copyShaToClipboard",
  2082. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2083. "group": "9_gitlens@1"
  2084. },
  2085. {
  2086. "command": "gitlens.copyMessageToClipboard",
  2087. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2088. "group": "9_gitlens@2"
  2089. }
  2090. ],
  2091. "editor/title": [
  2092. {
  2093. "command": "gitlens.openWorkingFile",
  2094. "when": "gitlens:activeIsRevision",
  2095. "group": "navigation@1"
  2096. },
  2097. {
  2098. "command": "gitlens.toggleFileBlame",
  2099. "alt": "gitlens.toggleFileRecentChanges",
  2100. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2101. "group": "navigation@100"
  2102. },
  2103. {
  2104. "command": "gitlens.computingFileAnnotations",
  2105. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2106. "group": "navigation@100"
  2107. },
  2108. {
  2109. "command": "gitlens.clearFileAnnotations",
  2110. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2111. "group": "navigation@100"
  2112. },
  2113. {
  2114. "command": "gitlens.openFileInRemote",
  2115. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2116. "group": "2_gitlens"
  2117. },
  2118. {
  2119. "command": "gitlens.openRepoInRemote",
  2120. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2121. "group": "2_gitlens"
  2122. },
  2123. {
  2124. "command": "gitlens.diffWithPrevious",
  2125. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2126. "group": "2_gitlens_1"
  2127. },
  2128. {
  2129. "command": "gitlens.diffWithWorking",
  2130. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2131. "group": "2_gitlens_1"
  2132. },
  2133. {
  2134. "command": "gitlens.showQuickFileHistory",
  2135. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2136. "group": "2_gitlens_2"
  2137. },
  2138. {
  2139. "command": "gitlens.showQuickRepoHistory",
  2140. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2141. "group": "2_gitlens_2"
  2142. },
  2143. {
  2144. "command": "gitlens.showQuickRepoStatus",
  2145. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2146. "group": "2_gitlens_2"
  2147. }
  2148. ],
  2149. "editor/title/context": [
  2150. {
  2151. "command": "gitlens.openFileInRemote",
  2152. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2153. "group": "1_gitlens"
  2154. },
  2155. {
  2156. "command": "gitlens.diffWithPrevious",
  2157. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2158. "group": "1_gitlens_1@1"
  2159. },
  2160. {
  2161. "command": "gitlens.diffWithWorking",
  2162. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2163. "group": "1_gitlens_1@2"
  2164. },
  2165. {
  2166. "command": "gitlens.showQuickFileHistory",
  2167. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2168. "group": "1_gitlens_2@1"
  2169. },
  2170. {
  2171. "command": "gitlens.toggleFileBlame",
  2172. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2173. "group": "1_gitlens_2@2"
  2174. }
  2175. ],
  2176. "explorer/context": [
  2177. {
  2178. "command": "gitlens.openFileInRemote",
  2179. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2180. "group": "navigation@100"
  2181. },
  2182. {
  2183. "command": "gitlens.diffWithPrevious",
  2184. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2185. "group": "1_gitlens@1"
  2186. },
  2187. {
  2188. "command": "gitlens.diffWithWorking",
  2189. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2190. "group": "1_gitlens@2"
  2191. },
  2192. {
  2193. "command": "gitlens.showQuickFileHistory",
  2194. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2195. "group": "1_gitlens_1@1"
  2196. }
  2197. ],
  2198. "scm/resourceGroup/context": [
  2199. {
  2200. "command": "gitlens.openChangedFiles",
  2201. "when": "gitlens:enabled",
  2202. "group": "2_gitlens@1"
  2203. },
  2204. {
  2205. "command": "gitlens.closeUnchangedFiles",
  2206. "when": "gitlens:enabled",
  2207. "group": "2_gitlens@2"
  2208. },
  2209. {
  2210. "command": "gitlens.externalDiff",
  2211. "when": "gitlens:enabled",
  2212. "group": "2_gitlens@3"
  2213. },
  2214. {
  2215. "command": "gitlens.externalDiffAll",
  2216. "when": "gitlens:enabled",
  2217. "group": "2_gitlens@4"
  2218. },
  2219. {
  2220. "command": "gitlens.stashSave",
  2221. "when": "gitlens:enabled",
  2222. "group": "3_gitlens@1"
  2223. }
  2224. ],
  2225. "scm/resourceState/context": [
  2226. {
  2227. "command": "gitlens.openFileInRemote",
  2228. "when": "gitlens:enabled && gitlens:hasRemotes",
  2229. "group": "navigation"
  2230. },
  2231. {
  2232. "command": "gitlens.externalDiff",
  2233. "when": "gitlens:enabled",
  2234. "group": "navigation"
  2235. },
  2236. {
  2237. "command": "gitlens.diffWithRevision",
  2238. "when": "gitlens:enabled",
  2239. "group": "1_gitlens@1"
  2240. },
  2241. {
  2242. "command": "gitlens.diffWithBranch",
  2243. "when": "gitlens:enabled",
  2244. "group": "1_gitlens@2"
  2245. },
  2246. {
  2247. "command": "gitlens.showQuickFileHistory",
  2248. "when": "gitlens:enabled",
  2249. "group": "1_gitlens_1@1"
  2250. },
  2251. {
  2252. "command": "gitlens.stashSave",
  2253. "when": "gitlens:enabled",
  2254. "group": "2_gitlens@1"
  2255. }
  2256. ],
  2257. "view/title": [
  2258. {
  2259. "command": "gitlens.showCommitSearch",
  2260. "when": "view == gitlens.gitExplorer",
  2261. "group": "navigation@1"
  2262. },
  2263. {
  2264. "command": "gitlens.gitExplorer.switchToHistoryView",
  2265. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2266. "group": "navigation@2"
  2267. },
  2268. {
  2269. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2270. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2271. "group": "navigation@3"
  2272. },
  2273. {
  2274. "command": "gitlens.gitExplorer.refresh",
  2275. "when": "view == gitlens.gitExplorer",
  2276. "group": "navigation@4"
  2277. },
  2278. {
  2279. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2280. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2281. "group": "1_gitlens"
  2282. },
  2283. {
  2284. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2285. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2286. "group": "1_gitlens"
  2287. },
  2288. {
  2289. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2290. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2291. "group": "1_gitlens"
  2292. },
  2293. {
  2294. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2295. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2296. "group": "2_gitlens"
  2297. },
  2298. {
  2299. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2300. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2301. "group": "2_gitlens"
  2302. },
  2303. {
  2304. "command": "gitlens.showCommitSearch",
  2305. "when": "view == gitlens.resultsExplorer",
  2306. "group": "navigation@1"
  2307. },
  2308. {
  2309. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2310. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2311. "group": "navigation@2"
  2312. },
  2313. {
  2314. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2315. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2316. "group": "navigation@2"
  2317. },
  2318. {
  2319. "command": "gitlens.resultsExplorer.refresh",
  2320. "when": "view == gitlens.resultsExplorer",
  2321. "group": "navigation@3"
  2322. },
  2323. {
  2324. "command": "gitlens.resultsExplorer.close",
  2325. "when": "view == gitlens.resultsExplorer",
  2326. "group": "navigation@9"
  2327. },
  2328. {
  2329. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2330. "when": "view == gitlens.resultsExplorer",
  2331. "group": "1_gitlens"
  2332. },
  2333. {
  2334. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2335. "when": "view == gitlens.resultsExplorer",
  2336. "group": "1_gitlens"
  2337. },
  2338. {
  2339. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2340. "when": "view == gitlens.resultsExplorer",
  2341. "group": "1_gitlens"
  2342. }
  2343. ],
  2344. "view/item/context": [
  2345. {
  2346. "command": "gitlens.openBranchesInRemote",
  2347. "when": "viewItem == gitlens:branches:remotes",
  2348. "group": "1_gitlens@1"
  2349. },
  2350. {
  2351. "command": "gitlens.explorers.compareWithHead",
  2352. "when": "viewItem == gitlens:branch",
  2353. "group": "7_gitlens@1"
  2354. },
  2355. {
  2356. "command": "gitlens.explorers.compareWithWorking",
  2357. "when": "viewItem == gitlens:branch",
  2358. "group": "7_gitlens@2"
  2359. },
  2360. {
  2361. "command": "gitlens.explorers.compareWithSelected",
  2362. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare",
  2363. "group": "7_gitlens_@1"
  2364. },
  2365. {
  2366. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2367. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare == branch",
  2368. "group": "7_gitlens_@2"
  2369. },
  2370. {
  2371. "command": "gitlens.explorers.selectForCompare",
  2372. "when": "viewItem == gitlens:branch",
  2373. "group": "7_gitlens_@3"
  2374. },
  2375. {
  2376. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2377. "when": "viewItem == gitlens:branch",
  2378. "group": "7_gitlens_diff@1"
  2379. },
  2380. {
  2381. "command": "gitlens.explorers.terminalCheckoutBranch",
  2382. "when": "viewItem == gitlens:branch",
  2383. "group": "8_gitlens@1"
  2384. },
  2385. {
  2386. "command": "gitlens.explorers.terminalMergeBranch",
  2387. "when": "viewItem == gitlens:branch",
  2388. "group": "8_gitlens@2"
  2389. },
  2390. {
  2391. "command": "gitlens.explorers.terminalRebaseBranch",
  2392. "when": "viewItem == gitlens:branch",
  2393. "group": "8_gitlens@3"
  2394. },
  2395. {
  2396. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2397. "when": "viewItem == gitlens:branch",
  2398. "group": "8_gitlens@4"
  2399. },
  2400. {
  2401. "command": "gitlens.explorers.terminalCreateBranch",
  2402. "when": "viewItem == gitlens:branch",
  2403. "group": "8_gitlens@5"
  2404. },
  2405. {
  2406. "command": "gitlens.explorers.terminalDeleteBranch",
  2407. "when": "viewItem == gitlens:branch",
  2408. "group": "8_gitlens@6"
  2409. },
  2410. {
  2411. "command": "gitlens.explorers.terminalCreateTag",
  2412. "when": "viewItem == gitlens:branch",
  2413. "group": "8_gitlens@7"
  2414. },
  2415. {
  2416. "command": "gitlens.openBranchInRemote",
  2417. "when": "viewItem == gitlens:branch:tracking",
  2418. "group": "1_gitlens@1"
  2419. },
  2420. {
  2421. "command": "gitlens.explorers.compareWithRemote",
  2422. "when": "viewItem == gitlens:branch:tracking",
  2423. "group": "7_gitlens@1"
  2424. },
  2425. {
  2426. "command": "gitlens.explorers.compareWithHead",
  2427. "when": "viewItem == gitlens:branch:tracking",
  2428. "group": "7_gitlens@2"
  2429. },
  2430. {
  2431. "command": "gitlens.explorers.compareWithWorking",
  2432. "when": "viewItem == gitlens:branch:tracking",
  2433. "group": "7_gitlens@3"
  2434. },
  2435. {
  2436. "command": "gitlens.explorers.compareWithSelected",
  2437. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare",
  2438. "group": "7_gitlens_@1"
  2439. },
  2440. {
  2441. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2442. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare == branch",
  2443. "group": "7_gitlens_@2"
  2444. },
  2445. {
  2446. "command": "gitlens.explorers.selectForCompare",
  2447. "when": "viewItem == gitlens:branch:tracking",
  2448. "group": "7_gitlens_@3"
  2449. },
  2450. {
  2451. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2452. "when": "viewItem == gitlens:branch:tracking",
  2453. "group": "7_gitlens_diff@1"
  2454. },
  2455. {
  2456. "command": "gitlens.explorers.terminalCheckoutBranch",
  2457. "when": "viewItem == gitlens:branch:tracking",
  2458. "group": "8_gitlens@1"
  2459. },
  2460. {
  2461. "command": "gitlens.explorers.terminalMergeBranch",
  2462. "when": "viewItem == gitlens:branch:tracking",
  2463. "group": "8_gitlens@2"
  2464. },
  2465. {
  2466. "command": "gitlens.explorers.terminalRebaseBranch",
  2467. "when": "viewItem == gitlens:branch:tracking",
  2468. "group": "8_gitlens@3"
  2469. },
  2470. {
  2471. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2472. "when": "viewItem == gitlens:branch:tracking",
  2473. "group": "8_gitlens@4"
  2474. },
  2475. {
  2476. "command": "gitlens.explorers.terminalCreateBranch",
  2477. "when": "viewItem == gitlens:branch:tracking",
  2478. "group": "8_gitlens@5"
  2479. },
  2480. {
  2481. "command": "gitlens.explorers.terminalDeleteBranch",
  2482. "when": "viewItem == gitlens:branch:tracking",
  2483. "group": "8_gitlens@6"
  2484. },
  2485. {
  2486. "command": "gitlens.explorers.terminalCreateTag",
  2487. "when": "viewItem == gitlens:branch:tracking",
  2488. "group": "8_gitlens@7"
  2489. },
  2490. {
  2491. "command": "gitlens.explorers.compareWithHead",
  2492. "when": "viewItem == gitlens:current-branch",
  2493. "group": "7_gitlens@1"
  2494. },
  2495. {
  2496. "command": "gitlens.explorers.compareWithWorking",
  2497. "when": "viewItem == gitlens:current-branch",
  2498. "group": "7_gitlens@2"
  2499. },
  2500. {
  2501. "command": "gitlens.explorers.compareWithSelected",
  2502. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare",
  2503. "group": "7_gitlens_@1"
  2504. },
  2505. {
  2506. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2507. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare == branch",
  2508. "group": "7_gitlens_@2"
  2509. },
  2510. {
  2511. "command": "gitlens.explorers.selectForCompare",
  2512. "when": "viewItem == gitlens:current-branch",
  2513. "group": "7_gitlens_@3"
  2514. },
  2515. {
  2516. "command": "gitlens.explorers.terminalCreateBranch",
  2517. "when": "viewItem == gitlens:current-branch",
  2518. "group": "8_gitlens@1"
  2519. },
  2520. {
  2521. "command": "gitlens.explorers.terminalCreateTag",
  2522. "when": "viewItem == gitlens:current-branch",
  2523. "group": "8_gitlens@2"
  2524. },
  2525. {
  2526. "command": "gitlens.openBranchInRemote",
  2527. "when": "viewItem == gitlens:current-branch:tracking",
  2528. "group": "1_gitlens@1"
  2529. },
  2530. {
  2531. "command": "gitlens.explorers.compareWithRemote",
  2532. "when": "viewItem == gitlens:current-branch:tracking",
  2533. "group": "7_gitlens@1"
  2534. },
  2535. {
  2536. "command": "gitlens.explorers.compareWithHead",
  2537. "when": "viewItem == gitlens:current-branch:tracking",
  2538. "group": "7_gitlens@2"
  2539. },
  2540. {
  2541. "command": "gitlens.explorers.compareWithWorking",
  2542. "when": "viewItem == gitlens:current-branch:tracking",
  2543. "group": "7_gitlens@3"
  2544. },
  2545. {
  2546. "command": "gitlens.explorers.compareWithSelected",
  2547. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare",
  2548. "group": "7_gitlens_@1"
  2549. },
  2550. {
  2551. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2552. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare == branch",
  2553. "group": "7_gitlens_@2"
  2554. },
  2555. {
  2556. "command": "gitlens.explorers.selectForCompare",
  2557. "when": "viewItem == gitlens:current-branch:tracking",
  2558. "group": "7_gitlens_@3"
  2559. },
  2560. {
  2561. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2562. "when": "viewItem == gitlens:current-branch:tracking",
  2563. "group": "8_gitlens@1"
  2564. },
  2565. {
  2566. "command": "gitlens.explorers.terminalCreateBranch",
  2567. "when": "viewItem == gitlens:current-branch:tracking",
  2568. "group": "8_gitlens@2"
  2569. },
  2570. {
  2571. "command": "gitlens.explorers.terminalCreateTag",
  2572. "when": "viewItem == gitlens:current-branch:tracking",
  2573. "group": "8_gitlens@3"
  2574. },
  2575. {
  2576. "command": "gitlens.openBranchInRemote",
  2577. "when": "viewItem == gitlens:remote-branch",
  2578. "group": "1_gitlens@1"
  2579. },
  2580. {
  2581. "command": "gitlens.explorers.compareWithHead",
  2582. "when": "viewItem == gitlens:remote-branch",
  2583. "group": "7_gitlens@1"
  2584. },
  2585. {
  2586. "command": "gitlens.explorers.compareWithWorking",
  2587. "when": "viewItem == gitlens:remote-branch",
  2588. "group": "7_gitlens@2"
  2589. },
  2590. {
  2591. "command": "gitlens.explorers.compareWithSelected",
  2592. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare",
  2593. "group": "7_gitlens_@1"
  2594. },
  2595. {
  2596. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2597. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare == branch",
  2598. "group": "7_gitlens_@2"
  2599. },
  2600. {
  2601. "command": "gitlens.explorers.selectForCompare",
  2602. "when": "viewItem == gitlens:remote-branch",
  2603. "group": "7_gitlens_@3"
  2604. },
  2605. {
  2606. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2607. "when": "viewItem == gitlens:remote-branch",
  2608. "group": "7_gitlens_diff@1"
  2609. },
  2610. {
  2611. "command": "gitlens.explorers.terminalCheckoutBranch",
  2612. "when": "viewItem == gitlens:remote-branch",
  2613. "group": "8_gitlens@1"
  2614. },
  2615. {
  2616. "command": "gitlens.explorers.terminalMergeBranch",
  2617. "when": "viewItem == gitlens:remote-branch",
  2618. "group": "8_gitlens@2"
  2619. },
  2620. {
  2621. "command": "gitlens.explorers.terminalRebaseBranch",
  2622. "when": "viewItem == gitlens:remote-branch",
  2623. "group": "8_gitlens@3"
  2624. },
  2625. {
  2626. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2627. "when": "viewItem == gitlens:remote-branch",
  2628. "group": "8_gitlens@4"
  2629. },
  2630. {
  2631. "command": "gitlens.explorers.terminalCreateBranch",
  2632. "when": "viewItem == gitlens:remote-branch",
  2633. "group": "8_gitlens@5"
  2634. },
  2635. {
  2636. "command": "gitlens.explorers.terminalDeleteBranch",
  2637. "when": "viewItem == gitlens:remote-branch",
  2638. "group": "8_gitlens@6"
  2639. },
  2640. {
  2641. "command": "gitlens.explorers.terminalCreateTag",
  2642. "when": "viewItem == gitlens:remote-branch",
  2643. "group": "8_gitlens@7"
  2644. },
  2645. {
  2646. "command": "gitlens.openCommitInRemote",
  2647. "when": "viewItem == gitlens:commit && gitlens:hasRemotes",
  2648. "group": "1_gitlens@1"
  2649. },
  2650. {
  2651. "command": "gitlens.explorers.openChangedFileChanges",
  2652. "when": "viewItem == gitlens:commit",
  2653. "group": "2_gitlens@1"
  2654. },
  2655. {
  2656. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2657. "when": "viewItem == gitlens:commit",
  2658. "group": "2_gitlens@1"
  2659. },
  2660. {
  2661. "command": "gitlens.explorers.openChangedFiles",
  2662. "when": "viewItem == gitlens:commit",
  2663. "group": "3_gitlens@1"
  2664. },
  2665. {
  2666. "command": "gitlens.explorers.openChangedFileRevisions",
  2667. "when": "viewItem == gitlens:commit",
  2668. "group": "3_gitlens@2"
  2669. },
  2670. {
  2671. "command": "gitlens.copyShaToClipboard",
  2672. "when": "viewItem == gitlens:commit",
  2673. "group": "4_gitlens@1"
  2674. },
  2675. {
  2676. "command": "gitlens.copyMessageToClipboard",
  2677. "when": "viewItem == gitlens:commit",
  2678. "group": "4_gitlens@2"
  2679. },
  2680. {
  2681. "command": "gitlens.showQuickCommitDetails",
  2682. "when": "viewItem == gitlens:commit",
  2683. "group": "5_gitlens@1"
  2684. },
  2685. {
  2686. "command": "gitlens.explorers.compareWithHead",
  2687. "when": "viewItem == gitlens:commit",
  2688. "group": "7_gitlens@1"
  2689. },
  2690. {
  2691. "command": "gitlens.explorers.compareWithWorking",
  2692. "when": "viewItem == gitlens:commit",
  2693. "group": "7_gitlens@2"
  2694. },
  2695. {
  2696. "command": "gitlens.explorers.compareWithSelected",
  2697. "when": "viewItem == gitlens:commit && gitlens:explorers:canCompare",
  2698. "group": "7_gitlens_@1"
  2699. },
  2700. {
  2701. "command": "gitlens.explorers.selectForCompare",
  2702. "when": "viewItem == gitlens:commit",
  2703. "group": "7_gitlens_@2"
  2704. },
  2705. {
  2706. "command": "gitlens.explorers.terminalCherryPickCommit",
  2707. "when": "viewItem == gitlens:commit",
  2708. "group": "8_gitlens@1"
  2709. },
  2710. {
  2711. "command": "gitlens.explorers.terminalCreateBranch",
  2712. "when": "viewItem == gitlens:commit",
  2713. "group": "8_gitlens@2"
  2714. },
  2715. {
  2716. "command": "gitlens.explorers.terminalCreateTag",
  2717. "when": "viewItem == gitlens:commit",
  2718. "group": "8_gitlens@3"
  2719. },
  2720. {
  2721. "command": "gitlens.openCommitInRemote",
  2722. "when": "viewItem == gitlens:commit:current && gitlens:hasRemotes",
  2723. "group": "1_gitlens@1"
  2724. },
  2725. {
  2726. "command": "gitlens.explorers.openChangedFileChanges",
  2727. "when": "viewItem == gitlens:commit:current",
  2728. "group": "2_gitlens@1"
  2729. },
  2730. {
  2731. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2732. "when": "viewItem == gitlens:commit:current",
  2733. "group": "2_gitlens@1"
  2734. },
  2735. {
  2736. "command": "gitlens.explorers.openChangedFiles",
  2737. "when": "viewItem == gitlens:commit:current",
  2738. "group": "3_gitlens@1"
  2739. },
  2740. {
  2741. "command": "gitlens.explorers.openChangedFileRevisions",
  2742. "when": "viewItem == gitlens:commit:current",
  2743. "group": "3_gitlens@2"
  2744. },
  2745. {
  2746. "command": "gitlens.copyShaToClipboard",
  2747. "when": "viewItem == gitlens:commit:current",
  2748. "group": "4_gitlens@1"
  2749. },
  2750. {
  2751. "command": "gitlens.copyMessageToClipboard",
  2752. "when": "viewItem == gitlens:commit:current",
  2753. "group": "4_gitlens@2"
  2754. },
  2755. {
  2756. "command": "gitlens.showQuickCommitDetails",
  2757. "when": "viewItem == gitlens:commit:current",
  2758. "group": "5_gitlens@1"
  2759. },
  2760. {
  2761. "command": "gitlens.explorers.compareWithHead",
  2762. "when": "viewItem == gitlens:commit:current",
  2763. "group": "7_gitlens@1"
  2764. },
  2765. {
  2766. "command": "gitlens.explorers.compareWithWorking",
  2767. "when": "viewItem == gitlens:commit:current",
  2768. "group": "7_gitlens@2"
  2769. },
  2770. {
  2771. "command": "gitlens.explorers.compareWithSelected",
  2772. "when": "viewItem == gitlens:commit:current && gitlens:explorers:canCompare",
  2773. "group": "7_gitlens_@1"
  2774. },
  2775. {
  2776. "command": "gitlens.explorers.selectForCompare",
  2777. "when": "viewItem == gitlens:commit:current",
  2778. "group": "7_gitlens_@2"
  2779. },
  2780. {
  2781. "command": "gitlens.explorers.terminalRevertCommit",
  2782. "when": "viewItem == gitlens:commit:current",
  2783. "group": "8_gitlens@1"
  2784. },
  2785. {
  2786. "command": "gitlens.explorers.terminalRebaseCommit",
  2787. "when": "viewItem == gitlens:commit:current",
  2788. "group": "8_gitlens@2"
  2789. },
  2790. {
  2791. "command": "gitlens.explorers.terminalResetCommit",
  2792. "when": "viewItem == gitlens:commit:current",
  2793. "group": "8_gitlens@3"
  2794. },
  2795. {
  2796. "command": "gitlens.explorers.terminalCreateBranch",
  2797. "when": "viewItem == gitlens:commit:current",
  2798. "group": "8_gitlens@4"
  2799. },
  2800. {
  2801. "command": "gitlens.explorers.terminalCreateTag",
  2802. "when": "viewItem == gitlens:commit:current",
  2803. "group": "8_gitlens@5"
  2804. },
  2805. {
  2806. "command": "gitlens.explorers.openChanges",
  2807. "when": "viewItem == gitlens:commit-file",
  2808. "group": "1_gitlens@1"
  2809. },
  2810. {
  2811. "command": "gitlens.explorers.openChangesWithWorking",
  2812. "when": "viewItem == gitlens:commit-file",
  2813. "group": "1_gitlens@2"
  2814. },
  2815. {
  2816. "command": "gitlens.explorers.openFile",
  2817. "when": "viewItem == gitlens:commit-file",
  2818. "group": "2_gitlens@1"
  2819. },
  2820. {
  2821. "command": "gitlens.explorers.openFileRevision",
  2822. "when": "viewItem == gitlens:commit-file",
  2823. "group": "2_gitlens@2"
  2824. },
  2825. {
  2826. "command": "gitlens.openFileInRemote",
  2827. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2828. "group": "3_gitlens@1"
  2829. },
  2830. {
  2831. "command": "gitlens.explorers.openFileRevisionInRemote",
  2832. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2833. "group": "3_gitlens@2"
  2834. },
  2835. {
  2836. "command": "gitlens.explorers.applyChanges",
  2837. "when": "viewItem == gitlens:commit-file",
  2838. "group": "4_gitlens@1"
  2839. },
  2840. {
  2841. "command": "gitlens.showQuickFileHistory",
  2842. "when": "viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  2843. "group": "5_gitlens@1"
  2844. },
  2845. {
  2846. "command": "gitlens.showQuickCommitFileDetails",
  2847. "when": "viewItem == gitlens:commit-file",
  2848. "group": "5_gitlens@2"
  2849. },
  2850. {
  2851. "command": "gitlens.explorers.openFile",
  2852. "when": "viewItem == gitlens:file-history",
  2853. "group": "1_gitlens@1"
  2854. },
  2855. {
  2856. "command": "gitlens.openFileInRemote",
  2857. "when": "viewItem == gitlens:file-history && gitlens:hasRemotes",
  2858. "group": "1_gitlens@2"
  2859. },
  2860. {
  2861. "command": "gitlens.openBranchesInRemote",
  2862. "when": "viewItem == gitlens:remote",
  2863. "group": "1_gitlens@1"
  2864. },
  2865. {
  2866. "command": "gitlens.openRepoInRemote",
  2867. "when": "viewItem == gitlens:remote",
  2868. "group": "1_gitlens@2"
  2869. },
  2870. {
  2871. "command": "gitlens.explorers.terminalRemoveRemote",
  2872. "when": "viewItem == gitlens:remote",
  2873. "group": "8_gitlens@1"
  2874. },
  2875. {
  2876. "command": "gitlens.openRepoInRemote",
  2877. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2878. "group": "1_gitlens@1"
  2879. },
  2880. {
  2881. "command": "gitlens.resultsExplorer.clearResultsNode",
  2882. "when": "viewItem == gitlens:comparison-results",
  2883. "group": "1_gitlens@1"
  2884. },
  2885. {
  2886. "command": "gitlens.explorers.openDirectoryDiff",
  2887. "when": "viewItem == gitlens:comparison-results",
  2888. "group": "7_gitlens@1"
  2889. },
  2890. {
  2891. "command": "gitlens.resultsExplorer.clearResultsNode",
  2892. "when": "viewItem == gitlens:search-results",
  2893. "group": "1_gitlens@1"
  2894. },
  2895. {
  2896. "command": "gitlens.stashSave",
  2897. "when": "viewItem == gitlens:stashes",
  2898. "group": "1_gitlens@1"
  2899. },
  2900. {
  2901. "command": "gitlens.stashApply",
  2902. "when": "viewItem == gitlens:stash",
  2903. "group": "1_gitlens@1"
  2904. },
  2905. {
  2906. "command": "gitlens.stashDelete",
  2907. "when": "viewItem == gitlens:stash",
  2908. "group": "1_gitlens@2"
  2909. },
  2910. {
  2911. "command": "gitlens.explorers.openChangedFileChanges",
  2912. "when": "viewItem == gitlens:stash",
  2913. "group": "2_gitlens@1"
  2914. },
  2915. {
  2916. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2917. "when": "viewItem == gitlens:stash",
  2918. "group": "2_gitlens@1"
  2919. },
  2920. {
  2921. "command": "gitlens.explorers.openChangedFiles",
  2922. "when": "viewItem == gitlens:stash",
  2923. "group": "3_gitlens@1"
  2924. },
  2925. {
  2926. "command": "gitlens.explorers.openChangedFileRevisions",
  2927. "when": "viewItem == gitlens:stash",
  2928. "group": "3_gitlens@2"
  2929. },
  2930. {
  2931. "command": "gitlens.copyMessageToClipboard",
  2932. "when": "viewItem == gitlens:stash",
  2933. "group": "4_gitlens@1"
  2934. },
  2935. {
  2936. "command": "gitlens.explorers.compareWithHead",
  2937. "when": "viewItem == gitlens:stash",
  2938. "group": "7_gitlens@1"
  2939. },
  2940. {
  2941. "command": "gitlens.explorers.compareWithWorking",
  2942. "when": "viewItem == gitlens:stash",
  2943. "group": "7_gitlens@2"
  2944. },
  2945. {
  2946. "command": "gitlens.explorers.compareWithSelected",
  2947. "when": "viewItem == gitlens:stash && gitlens:explorers:canCompare",
  2948. "group": "7_gitlens_@1"
  2949. },
  2950. {
  2951. "command": "gitlens.explorers.selectForCompare",
  2952. "when": "viewItem == gitlens:stash",
  2953. "group": "7_gitlens_@2"
  2954. },
  2955. {
  2956. "command": "gitlens.explorers.applyChanges",
  2957. "when": "viewItem == gitlens:stash-file",
  2958. "group": "1_gitlens@1"
  2959. },
  2960. {
  2961. "command": "gitlens.explorers.openChanges",
  2962. "when": "viewItem == gitlens:stash-file",
  2963. "group": "2_gitlens@1"
  2964. },
  2965. {
  2966. "command": "gitlens.explorers.openChangesWithWorking",
  2967. "when": "viewItem == gitlens:stash-file",
  2968. "group": "2_gitlens@2"
  2969. },
  2970. {
  2971. "command": "gitlens.explorers.openFile",
  2972. "when": "viewItem == gitlens:stash-file",
  2973. "group": "3_gitlens@1"
  2974. },
  2975. {
  2976. "command": "gitlens.explorers.openFileRevision",
  2977. "when": "viewItem == gitlens:stash-file",
  2978. "group": "3_gitlens@2"
  2979. },
  2980. {
  2981. "command": "gitlens.openFileInRemote",
  2982. "when": "viewItem == gitlens:stash-file && gitlens:hasRemotes",
  2983. "group": "4_gitlens@1"
  2984. },
  2985. {
  2986. "command": "gitlens.showQuickFileHistory",
  2987. "when": "viewItem == gitlens:stash-file",
  2988. "group": "5_gitlens@1"
  2989. },
  2990. {
  2991. "command": "gitlens.openRepoInRemote",
  2992. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2993. "group": "1_gitlens@1"
  2994. },
  2995. {
  2996. "command": "gitlens.explorers.openChanges",
  2997. "when": "viewItem == gitlens:status-file",
  2998. "group": "1_gitlens@1"
  2999. },
  3000. {
  3001. "command": "gitlens.explorers.openChangesWithWorking",
  3002. "when": "viewItem == gitlens:status-file",
  3003. "group": "1_gitlens@2"
  3004. },
  3005. {
  3006. "command": "gitlens.explorers.openFile",
  3007. "when": "viewItem == gitlens:status-file",
  3008. "group": "2_gitlens@1"
  3009. },
  3010. {
  3011. "command": "gitlens.explorers.openFileRevision",
  3012. "when": "viewItem == gitlens:status-file",
  3013. "group": "2_gitlens@2"
  3014. },
  3015. {
  3016. "command": "gitlens.openFileInRemote",
  3017. "when": "viewItem == gitlens:status-file && gitlens:hasRemotes",
  3018. "group": "3_gitlens@1"
  3019. },
  3020. {
  3021. "command": "gitlens.showQuickFileHistory",
  3022. "when": "viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  3023. "group": "5_gitlens@1"
  3024. },
  3025. {
  3026. "command": "gitlens.showQuickCommitFileDetails",
  3027. "when": "viewItem == gitlens:status-file",
  3028. "group": "5_gitlens@2"
  3029. },
  3030. {
  3031. "command": "gitlens.explorers.openFile",
  3032. "when": "viewItem == gitlens:status-file-commits",
  3033. "group": "1_gitlens@1"
  3034. },
  3035. {
  3036. "command": "gitlens.openFileInRemote",
  3037. "when": "viewItem == gitlens:status-file-commits && gitlens:hasRemotes",
  3038. "group": "1_gitlens@2"
  3039. },
  3040. {
  3041. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  3042. "when": "viewItem == gitlens:status-upstream",
  3043. "group": "8_gitlens@1"
  3044. },
  3045. {
  3046. "command": "gitlens.explorers.terminalCreateBranch",
  3047. "when": "viewItem == gitlens:status-upstream",
  3048. "group": "8_gitlens@2"
  3049. },
  3050. {
  3051. "command": "gitlens.explorers.terminalCreateTag",
  3052. "when": "viewItem == gitlens:status-upstream",
  3053. "group": "8_gitlens@3"
  3054. },
  3055. {
  3056. "command": "gitlens.explorers.compareWithHead",
  3057. "when": "viewItem == gitlens:tag",
  3058. "group": "7_gitlens@1"
  3059. },
  3060. {
  3061. "command": "gitlens.explorers.compareWithWorking",
  3062. "when": "viewItem == gitlens:tag",
  3063. "group": "7_gitlens@2"
  3064. },
  3065. {
  3066. "command": "gitlens.explorers.compareWithSelected",
  3067. "when": "viewItem == gitlens:tag && gitlens:explorers:canCompare",
  3068. "group": "7_gitlens_@1"
  3069. },
  3070. {
  3071. "command": "gitlens.explorers.selectForCompare",
  3072. "when": "viewItem == gitlens:tag",
  3073. "group": "7_gitlens_@2"
  3074. },
  3075. {
  3076. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3077. "when": "viewItem == gitlens:tag",
  3078. "group": "7_gitlens_diff@1"
  3079. },
  3080. {
  3081. "command": "gitlens.explorers.terminalDeleteTag",
  3082. "when": "viewItem == gitlens:tag",
  3083. "group": "8_gitlens"
  3084. },
  3085. {
  3086. "command": "gitlens.gitExplorer.refreshNode",
  3087. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3088. "group": "9_gitlens@1"
  3089. },
  3090. {
  3091. "command": "gitlens.resultsExplorer.refreshNode",
  3092. "when": "view == gitlens.resultsExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3093. "group": "9_gitlens@1"
  3094. }
  3095. ]
  3096. },
  3097. "keybindings": [
  3098. {
  3099. "command": "gitlens.key.left",
  3100. "key": "alt+left",
  3101. "when": "gitlens:key:left"
  3102. },
  3103. {
  3104. "command": "gitlens.key.right",
  3105. "key": "alt+right",
  3106. "when": "gitlens:key:right"
  3107. },
  3108. {
  3109. "command": "gitlens.key.,",
  3110. "key": "alt+,",
  3111. "when": "gitlens:key:,"
  3112. },
  3113. {
  3114. "command": "gitlens.key..",
  3115. "key": "alt+.",
  3116. "when": "gitlens:key:."
  3117. },
  3118. {
  3119. "command": "gitlens.key.escape",
  3120. "key": "escape",
  3121. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3122. },
  3123. {
  3124. "command": "gitlens.toggleFileBlame",
  3125. "key": "ctrl+alt+g b",
  3126. "mac": "cmd+alt+g b",
  3127. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  3128. },
  3129. {
  3130. "command": "gitlens.toggleCodeLens",
  3131. "key": "ctrl+alt+g shift+b",
  3132. "mac": "cmd+alt+g shift+b",
  3133. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  3134. },
  3135. {
  3136. "command": "gitlens.showLastQuickPick",
  3137. "key": "ctrl+alt+g -",
  3138. "mac": "cmd+alt+g -",
  3139. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3140. },
  3141. {
  3142. "command": "gitlens.showCommitSearch",
  3143. "key": "ctrl+alt+g /",
  3144. "mac": "cmd+alt+g /",
  3145. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3146. },
  3147. {
  3148. "command": "gitlens.showQuickFileHistory",
  3149. "key": "ctrl+alt+g h",
  3150. "mac": "cmd+alt+g h",
  3151. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3152. },
  3153. {
  3154. "command": "gitlens.showQuickRepoHistory",
  3155. "key": "ctrl+alt+g shift+h",
  3156. "mac": "cmd+alt+g shift+h",
  3157. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3158. },
  3159. {
  3160. "command": "gitlens.showQuickRepoStatus",
  3161. "key": "ctrl+alt+g s",
  3162. "mac": "cmd+alt+g s",
  3163. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3164. },
  3165. {
  3166. "command": "gitlens.showQuickCommitFileDetails",
  3167. "key": "ctrl+alt+g c",
  3168. "mac": "cmd+alt+g c",
  3169. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3170. },
  3171. {
  3172. "command": "gitlens.diffWithNext",
  3173. "key": "ctrl+alt+g .",
  3174. "mac": "cmd+alt+g .",
  3175. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3176. },
  3177. {
  3178. "command": "gitlens.diffLineWithPrevious",
  3179. "key": "ctrl+alt+g shift+,",
  3180. "mac": "cmd+alt+g shift+,",
  3181. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3182. },
  3183. {
  3184. "command": "gitlens.diffWithPrevious",
  3185. "key": "ctrl+alt+g ,",
  3186. "mac": "cmd+alt+g ,",
  3187. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3188. },
  3189. {
  3190. "command": "gitlens.diffLineWithWorking",
  3191. "key": "ctrl+alt+g w",
  3192. "mac": "cmd+alt+g w",
  3193. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3194. },
  3195. {
  3196. "command": "gitlens.diffWithWorking",
  3197. "key": "ctrl+alt+g shift+w",
  3198. "mac": "cmd+alt+g shift+w",
  3199. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3200. },
  3201. {
  3202. "command": "gitlens.toggleFileBlame",
  3203. "key": "alt+b",
  3204. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  3205. },
  3206. {
  3207. "command": "gitlens.toggleCodeLens",
  3208. "key": "shift+alt+b",
  3209. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  3210. },
  3211. {
  3212. "command": "gitlens.showLastQuickPick",
  3213. "key": "alt+-",
  3214. "when": "gitlens:keymap == standard && gitlens:enabled"
  3215. },
  3216. {
  3217. "command": "gitlens.showCommitSearch",
  3218. "key": "alt+/",
  3219. "when": "gitlens:keymap == standard && gitlens:enabled"
  3220. },
  3221. {
  3222. "command": "gitlens.showQuickFileHistory",
  3223. "key": "alt+h",
  3224. "when": "gitlens:keymap == standard && gitlens:enabled"
  3225. },
  3226. {
  3227. "command": "gitlens.showQuickRepoHistory",
  3228. "key": "shift+alt+h",
  3229. "when": "gitlens:keymap == standard && gitlens:enabled"
  3230. },
  3231. {
  3232. "command": "gitlens.showQuickRepoStatus",
  3233. "key": "alt+s",
  3234. "when": "gitlens:keymap == standard && gitlens:enabled"
  3235. },
  3236. {
  3237. "command": "gitlens.showQuickCommitFileDetails",
  3238. "key": "alt+c",
  3239. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  3240. },
  3241. {
  3242. "command": "gitlens.diffWithNext",
  3243. "key": "alt+.",
  3244. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3245. },
  3246. {
  3247. "command": "gitlens.diffLineWithPrevious",
  3248. "key": "shift+alt+,",
  3249. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3250. },
  3251. {
  3252. "command": "gitlens.diffWithPrevious",
  3253. "key": "alt+,",
  3254. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3255. },
  3256. {
  3257. "command": "gitlens.diffLineWithWorking",
  3258. "key": "alt+w",
  3259. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3260. },
  3261. {
  3262. "command": "gitlens.diffWithWorking",
  3263. "key": "shift+alt+w",
  3264. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3265. }
  3266. ],
  3267. "views": {
  3268. "explorer": [
  3269. {
  3270. "id": "gitlens.gitExplorer",
  3271. "name": "GitLens",
  3272. "when": "gitlens:enabled && gitlens:gitExplorer && gitlens:hasRepository && config.gitlens.gitExplorer.enabled"
  3273. },
  3274. {
  3275. "id": "gitlens.resultsExplorer",
  3276. "name": "GitLens Results",
  3277. "when": "gitlens:enabled && gitlens:resultsExplorer"
  3278. }
  3279. ]
  3280. }
  3281. },
  3282. "activationEvents": [
  3283. "*"
  3284. ],
  3285. "scripts": {
  3286. "bundle": "npm run lint && webpack --env.production",
  3287. "bundle-rollup": "npm run lint && rollup -c",
  3288. "clean": "git clean -xdf",
  3289. "compile": "npm run lint && tsc -m commonjs -p ./",
  3290. "watch": "tsc -watch -p ./",
  3291. "lint": "tslint --project tslint.json",
  3292. "pack": "npm run clean && vsce package",
  3293. "postinstall": "node ./node_modules/vscode/bin/install",
  3294. "pub": "npm run clean && vsce publish",
  3295. "reset": "npm run clean && npm install",
  3296. "vscode:prepublish": "npm install --no-save && npm run bundle",
  3297. "prepush": "npm run compile"
  3298. },
  3299. "dependencies": {
  3300. "copy-paste": "1.3.0",
  3301. "date-fns": "1.29.0",
  3302. "iconv-lite": "0.4.19",
  3303. "lodash.debounce": "4.0.8",
  3304. "lodash.once": "4.1.1",
  3305. "tmp": "0.0.33",
  3306. "tslib": "1.8.1"
  3307. },
  3308. "devDependencies": {
  3309. "@types/copy-paste": "1.1.30",
  3310. "@types/node": "8.5.2",
  3311. "@types/tmp": "0.0.33",
  3312. "husky": "0.14.3",
  3313. "rollup": "0.53.2",
  3314. "rollup-plugin-typescript2": "0.9.0",
  3315. "rollup-plugin-uglify": "2.0.1",
  3316. "ts-loader": "3.2.0",
  3317. "tslint": "5.8.0",
  3318. "typescript": "2.6.2",
  3319. "uglify-es": "3.3.4",
  3320. "uglifyjs-webpack-plugin": "1.1.5",
  3321. "vscode": "1.1.10",
  3322. "webpack": "3.10.0",
  3323. "webpack-node-externals": "1.6.0"
  3324. }
  3325. }