Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

7665 рядки
236 KiB

4 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
5 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
5 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
5 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
4 роки тому
6 роки тому
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
  5. "version": "11.0.0-alpha.5",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://gitlens.amod.io/",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.49.0"
  22. },
  23. "main": "./dist/gitlens",
  24. "icon": "images/gitlens-icon.png",
  25. "preview": false,
  26. "badges": [
  27. {
  28. "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack&labelColor=555555",
  29. "href": "https://vscode-slack.amod.io",
  30. "description": "Join us in the #gitlens channel"
  31. }
  32. ],
  33. "categories": [
  34. "Other"
  35. ],
  36. "galleryBanner": {
  37. "color": "#8647ae",
  38. "theme": "dark"
  39. },
  40. "keywords": [
  41. "gitlens",
  42. "git",
  43. "blame",
  44. "log",
  45. "annotation",
  46. "multi-root ready"
  47. ],
  48. "activationEvents": [
  49. "onCustomEditor:gitlens.rebase",
  50. "onFileSystem:gitlens",
  51. "*"
  52. ],
  53. "contributes": {
  54. "configuration": {
  55. "type": "object",
  56. "title": "GitLens — Use 'GitLens: Open Settings' for a richer, interactive experience",
  57. "properties": {
  58. "gitlens.autolinks": {
  59. "type": [
  60. "array",
  61. "null"
  62. ],
  63. "default": null,
  64. "items": {
  65. "type": "object",
  66. "required": [
  67. "prefix",
  68. "url"
  69. ],
  70. "properties": {
  71. "prefix": {
  72. "type": "string",
  73. "description": "Specifies the short prefix to use to generate autolinks for the external resource"
  74. },
  75. "title": {
  76. "type": [
  77. "string",
  78. "null"
  79. ],
  80. "default": null,
  81. "description": "Specifies an optional title for the generated autolink. Use `<num>` as the variable for the reference number"
  82. },
  83. "url": {
  84. "type": "string",
  85. "description": "Specifies the url of the external resource you want to link to. Use `<num>` as the variable for the reference number"
  86. },
  87. "alphanumeric": {
  88. "type": "boolean",
  89. "description": "Specifies whether alphanumeric characters should be allowed in `<num>`",
  90. "default": false
  91. },
  92. "ignoreCase": {
  93. "type": "boolean",
  94. "description": "Specifies whether case should be ignored when matching the prefix",
  95. "default": false
  96. }
  97. }
  98. },
  99. "uniqueItems": true,
  100. "markdownDescription": "Specifies autolinks to external resources in commit messages. Use `<num>` as the variable for the reference number",
  101. "scope": "window"
  102. },
  103. "gitlens.blame.avatars": {
  104. "type": "boolean",
  105. "default": true,
  106. "markdownDescription": "Specifies whether to show avatar images in the gutter blame annotations",
  107. "scope": "window"
  108. },
  109. "gitlens.blame.compact": {
  110. "type": "boolean",
  111. "default": true,
  112. "markdownDescription": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  113. "scope": "window"
  114. },
  115. "gitlens.blame.dateFormat": {
  116. "type": [
  117. "string",
  118. "null"
  119. ],
  120. "default": null,
  121. "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in gutter blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  122. "scope": "window"
  123. },
  124. "gitlens.blame.format": {
  125. "type": "string",
  126. "default": "${message|50?} ${agoOrDate|14-}",
  127. "markdownDescription": "Specifies the format of the gutter blame annotations. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.blame.dateFormat#` setting",
  128. "scope": "window"
  129. },
  130. "gitlens.blame.heatmap.enabled": {
  131. "type": "boolean",
  132. "default": true,
  133. "markdownDescription": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  134. "scope": "window"
  135. },
  136. "gitlens.blame.heatmap.location": {
  137. "type": "string",
  138. "default": "right",
  139. "enum": [
  140. "left",
  141. "right"
  142. ],
  143. "enumDescriptions": [
  144. "Adds a heatmap indicator on the left edge of the gutter blame annotations",
  145. "Adds a heatmap indicator on the right edge of the gutter blame annotations"
  146. ],
  147. "markdownDescription": "Specifies where the heatmap indicators will be shown in the gutter blame annotations",
  148. "scope": "window"
  149. },
  150. "gitlens.blame.highlight.enabled": {
  151. "type": "boolean",
  152. "default": true,
  153. "markdownDescription": "Specifies whether to highlight lines associated with the current line",
  154. "scope": "window"
  155. },
  156. "gitlens.blame.highlight.locations": {
  157. "type": "array",
  158. "default": [
  159. "gutter",
  160. "line",
  161. "overview"
  162. ],
  163. "items": {
  164. "type": "string",
  165. "enum": [
  166. "gutter",
  167. "line",
  168. "overview"
  169. ],
  170. "enumDescriptions": [
  171. "Adds a gutter indicator",
  172. "Adds a full-line highlight background color",
  173. "Adds a decoration to the overview ruler (scroll bar)"
  174. ]
  175. },
  176. "minItems": 1,
  177. "maxItems": 3,
  178. "uniqueItems": true,
  179. "markdownDescription": "Specifies where the associated line highlights will be shown",
  180. "scope": "window"
  181. },
  182. "gitlens.blame.ignoreWhitespace": {
  183. "type": "boolean",
  184. "default": false,
  185. "markdownDescription": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  186. "scope": "resource"
  187. },
  188. "gitlens.blame.separateLines": {
  189. "type": "boolean",
  190. "default": true,
  191. "markdownDescription": "Specifies whether gutter blame annotations will be separated by a small gap",
  192. "scope": "window"
  193. },
  194. "gitlens.blame.toggleMode": {
  195. "type": "string",
  196. "default": "file",
  197. "enum": [
  198. "file",
  199. "window"
  200. ],
  201. "enumDescriptions": [
  202. "Toggles each file individually",
  203. "Toggles the window, i.e. all files at once"
  204. ],
  205. "markdownDescription": "Specifies how the gutter blame annotations will be toggled",
  206. "scope": "window"
  207. },
  208. "gitlens.changes.locations": {
  209. "type": "array",
  210. "default": [
  211. "gutter",
  212. "overview"
  213. ],
  214. "items": {
  215. "type": "string",
  216. "enum": [
  217. "gutter",
  218. "overview"
  219. ],
  220. "enumDescriptions": [
  221. "Adds a gutter indicator",
  222. "Adds a decoration to the overview ruler (scroll bar)"
  223. ]
  224. },
  225. "minItems": 1,
  226. "maxItems": 3,
  227. "uniqueItems": true,
  228. "markdownDescription": "Specifies where the indicators of the gutter changes annotations will be shown",
  229. "scope": "window"
  230. },
  231. "gitlens.changes.toggleMode": {
  232. "type": "string",
  233. "default": "file",
  234. "enum": [
  235. "file",
  236. "window"
  237. ],
  238. "enumDescriptions": [
  239. "Toggles each file individually",
  240. "Toggles the window, i.e. all files at once"
  241. ],
  242. "markdownDescription": "Specifies how the gutter changes annotations will be toggled",
  243. "scope": "window"
  244. },
  245. "gitlens.codeLens.authors.command": {
  246. "anyOf": [
  247. {
  248. "enum": [
  249. false
  250. ]
  251. },
  252. {
  253. "type": "string",
  254. "enum": [
  255. "gitlens.toggleFileBlame",
  256. "gitlens.diffWithPrevious",
  257. "gitlens.revealCommitInView",
  258. "gitlens.showCommitsInView",
  259. "gitlens.showQuickCommitDetails",
  260. "gitlens.showQuickCommitFileDetails",
  261. "gitlens.showQuickFileHistory",
  262. "gitlens.showQuickRepoHistory"
  263. ],
  264. "enumDescriptions": [
  265. "Toggles file blame annotations",
  266. "Compares the current committed file with the previous commit",
  267. "Reveals the commit in the Side Bar",
  268. "Searches for commits within the range in the Side Bar",
  269. "Shows a commit details quick pick",
  270. "Shows a commit file details quick pick",
  271. "Shows a file history quick pick",
  272. "Shows a branch history quick pick"
  273. ]
  274. }
  275. ],
  276. "default": "gitlens.toggleFileBlame",
  277. "markdownDescription": "Specifies the command to be executed when an _authors_ code lens is clicked",
  278. "scope": "window"
  279. },
  280. "gitlens.codeLens.authors.enabled": {
  281. "type": "boolean",
  282. "default": true,
  283. "markdownDescription": "Specifies whether to provide an _authors_ code lens, showing number of authors of the file or code block and the most prominent author (if there is more than one)",
  284. "scope": "window"
  285. },
  286. "gitlens.codeLens.enabled": {
  287. "type": "boolean",
  288. "default": true,
  289. "markdownDescription": "Specifies whether to provide any Git code lens, by default. Use the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current window",
  290. "scope": "window"
  291. },
  292. "gitlens.codeLens.includeSingleLineSymbols": {
  293. "type": "boolean",
  294. "default": false,
  295. "markdownDescription": "Specifies whether to provide any Git code lens on symbols that span only a single line",
  296. "scope": "window"
  297. },
  298. "gitlens.codeLens.recentChange.command": {
  299. "anyOf": [
  300. {
  301. "enum": [
  302. false
  303. ]
  304. },
  305. {
  306. "type": "string",
  307. "enum": [
  308. "gitlens.toggleFileBlame",
  309. "gitlens.diffWithPrevious",
  310. "gitlens.revealCommitInView",
  311. "gitlens.showCommitsInView",
  312. "gitlens.showQuickCommitDetails",
  313. "gitlens.showQuickCommitFileDetails",
  314. "gitlens.showQuickFileHistory",
  315. "gitlens.showQuickRepoHistory"
  316. ],
  317. "enumDescriptions": [
  318. "Toggles file blame annotations",
  319. "Compares the current committed file with the previous commit",
  320. "Reveals the commit in the Side Bar",
  321. "Searches for the commit in the Side Bar",
  322. "Shows a commit details quick pick",
  323. "Shows a commit file details quick pick",
  324. "Shows a file history quick pick",
  325. "Shows a branch history quick pick"
  326. ]
  327. }
  328. ],
  329. "default": "gitlens.showQuickCommitFileDetails",
  330. "markdownDescription": "Specifies the command to be executed when a _recent change_ code lens is clicked",
  331. "scope": "window"
  332. },
  333. "gitlens.codeLens.recentChange.enabled": {
  334. "type": "boolean",
  335. "default": true,
  336. "markdownDescription": "Specifies whether to provide a _recent change_ code lens, showing the author and date of the most recent commit for the file or code block",
  337. "scope": "window"
  338. },
  339. "gitlens.codeLens.scopes": {
  340. "type": "array",
  341. "default": [
  342. "document",
  343. "containers"
  344. ],
  345. "items": {
  346. "type": "string",
  347. "enum": [
  348. "document",
  349. "containers",
  350. "blocks"
  351. ],
  352. "enumDescriptions": [
  353. "Adds code lens at the top of the document",
  354. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  355. "Adds code lens at the start of block-like symbols (functions, methods, etc) lines"
  356. ]
  357. },
  358. "minItems": 1,
  359. "maxItems": 4,
  360. "uniqueItems": true,
  361. "markdownDescription": "Specifies where Git code lens will be shown in the document",
  362. "scope": "language-overridable"
  363. },
  364. "gitlens.codeLens.scopesByLanguage": {
  365. "deprecationMessage": "Deprecated. Use per-language `gitlens.codeLens.scopes` and `gitlens.codeLens.symbolScopes` settings instead",
  366. "type": [
  367. "array",
  368. "null"
  369. ],
  370. "default": null,
  371. "items": {
  372. "type": "object",
  373. "required": [
  374. "language"
  375. ],
  376. "properties": {
  377. "language": {
  378. "type": "string",
  379. "description": "Specifies the language to which this code lens override applies"
  380. },
  381. "scopes": {
  382. "type": "array",
  383. "default": [
  384. "document",
  385. "containers"
  386. ],
  387. "items": {
  388. "type": "string",
  389. "enum": [
  390. "document",
  391. "containers",
  392. "blocks",
  393. "custom"
  394. ],
  395. "enumDescriptions": [
  396. "Adds code lens at the top of the document",
  397. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  398. "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
  399. "Adds code lens at the start of symbols contained in `symbolScopes`"
  400. ]
  401. },
  402. "minItems": 1,
  403. "maxItems": 4,
  404. "uniqueItems": true,
  405. "description": "Specifies where Git code lens will be shown in the document for the specified language"
  406. },
  407. "symbolScopes": {
  408. "type": "array",
  409. "items": {
  410. "type": "string"
  411. },
  412. "uniqueItems": true,
  413. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language. Must be a member of `SymbolKind`"
  414. }
  415. }
  416. },
  417. "uniqueItems": true,
  418. "markdownDescription": "Specifies where Git code lens will be shown in the document for the specified languages",
  419. "scope": "resource"
  420. },
  421. "gitlens.codeLens.symbolScopes": {
  422. "type": "array",
  423. "items": {
  424. "type": "string"
  425. },
  426. "uniqueItems": true,
  427. "markdownDescription": "Specifies a set of document symbols where Git code lens will or will not be shown in the document. Prefix with `!` to avoid providing a Git code lens for the symbol. Must be a member of `SymbolKind`",
  428. "scope": "language-overridable"
  429. },
  430. "gitlens.currentLine.dateFormat": {
  431. "type": [
  432. "string",
  433. "null"
  434. ],
  435. "default": null,
  436. "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) for the current line blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  437. "scope": "window"
  438. },
  439. "gitlens.currentLine.enabled": {
  440. "type": "boolean",
  441. "default": true,
  442. "markdownDescription": "Specifies whether to provide a blame annotation for the current line, by default. Use the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
  443. "scope": "window"
  444. },
  445. "gitlens.currentLine.format": {
  446. "type": "string",
  447. "default": "${message|50? • }${author}${\" via \"pullRequest}, ${agoOrDate}",
  448. "markdownDescription": "Specifies the format of the current line blame annotation. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.currentLine.dateFormat#` setting",
  449. "scope": "window"
  450. },
  451. "gitlens.currentLine.pullRequests.enabled": {
  452. "type": "boolean",
  453. "default": true,
  454. "markdownDescription": "Specifies whether to provide information about the Pull Request (if any) that introduced a commit in the current line blame annotation. Requires a connection to a supported remote service (e.g. GitHub)",
  455. "scope": "window"
  456. },
  457. "gitlens.currentLine.scrollable": {
  458. "type": "boolean",
  459. "default": true,
  460. "markdownDescription": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  461. "scope": "window"
  462. },
  463. "gitlens.debug": {
  464. "type": "boolean",
  465. "default": false,
  466. "markdownDescription": "Specifies debug mode",
  467. "scope": "window"
  468. },
  469. "gitlens.defaultDateFormat": {
  470. "type": [
  471. "string",
  472. "null"
  473. ],
  474. "default": null,
  475. "markdownDescription": "Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  476. "scope": "window"
  477. },
  478. "gitlens.defaultDateShortFormat": {
  479. "type": [
  480. "string",
  481. "null"
  482. ],
  483. "default": null,
  484. "markdownDescription": "Specifies how short absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  485. "scope": "window"
  486. },
  487. "gitlens.defaultDateSource": {
  488. "type": "string",
  489. "default": "authored",
  490. "enum": [
  491. "authored",
  492. "committed"
  493. ],
  494. "enumDescriptions": [
  495. "Uses the date when the changes were authored (i.e. originally written)",
  496. "Uses the date when the changes were committed"
  497. ],
  498. "markdownDescription": "Specifies whether commit dates should use the authored or committed date",
  499. "scope": "window"
  500. },
  501. "gitlens.defaultDateStyle": {
  502. "type": "string",
  503. "default": "relative",
  504. "enum": [
  505. "relative",
  506. "absolute"
  507. ],
  508. "enumDescriptions": [
  509. "e.g. 1 day ago",
  510. "e.g. July 25th, 2018 7:18pm"
  511. ],
  512. "markdownDescription": "Specifies how dates will be displayed by default",
  513. "scope": "window"
  514. },
  515. "gitlens.defaultGravatarsStyle": {
  516. "type": "string",
  517. "default": "robohash",
  518. "enum": [
  519. "identicon",
  520. "mp",
  521. "monsterid",
  522. "retro",
  523. "robohash",
  524. "wavatar"
  525. ],
  526. "enumDescriptions": [
  527. "A geometric pattern",
  528. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  529. "A monster with different colors, faces, etc",
  530. "8-bit arcade-style pixelated faces",
  531. "A robot with different colors, faces, etc",
  532. "A face with differing features and backgrounds"
  533. ],
  534. "markdownDescription": "Specifies the style of the gravatar default (fallback) images",
  535. "scope": "window"
  536. },
  537. "gitlens.fileAnnotations.command": {
  538. "type": "string",
  539. "default": "blame+heatmap",
  540. "enum": [
  541. "blame+heatmap",
  542. "blame+changes",
  543. "changes+blame",
  544. "changes+heatmap",
  545. "heatmap+blame",
  546. "heatmap+changes"
  547. ],
  548. "enumDescriptions": [
  549. "Toggles Gutter Blame annotations, and toggles Gutter Heatmap annotations when holding `alt`",
  550. "Toggles Gutter Blame annotations, and toggles Gutter Changes annotations when holding `alt`",
  551. "Toggles Gutter Changes annotations, and toggles Gutter Blame annotations when holding `alt`",
  552. "Toggles Gutter Changes annotations, and toggles Gutter Heatmap annotations when holding `alt`",
  553. "Toggles Gutter Heatmap annotations, and toggles Gutter Blame annotations when holding `alt`",
  554. "Toggles Gutter Heatmap annotations, and toggles Gutter Changes annotations when holding `alt`"
  555. ],
  556. "markdownDescription": "Specifies the file annotation types to be toggled by the editor toolbar command and alternate command",
  557. "scope": "window"
  558. },
  559. "gitlens.fileAnnotations.diffCommand": {
  560. "type": "string",
  561. "default": "blame",
  562. "enum": [
  563. "blame+heatmap",
  564. "heatmap+blame"
  565. ],
  566. "enumDescriptions": [
  567. "Toggles Gutter Blame annotations, and toggles Gutter Heatmap annotations when holding `alt`",
  568. "Toggles Gutter Heatmap annotations, and toggles Gutter Blame annotations when holding `alt`"
  569. ],
  570. "markdownDescription": "Specifies the file annotation types to be toggled by the editor toolbar command and alternate command when in a diff editor",
  571. "scope": "window"
  572. },
  573. "gitlens.gitCommands.closeOnFocusOut": {
  574. "type": "boolean",
  575. "default": true,
  576. "markdownDescription": "Specifies whether to dismiss the Git Commands menu when focus is lost (if not, press `ESC` to dismiss)",
  577. "scope": "window"
  578. },
  579. "gitlens.gitCommands.search.matchAll": {
  580. "type": "boolean",
  581. "default": false,
  582. "markdownDescription": "Specifies whether to match all or any commit message search patterns",
  583. "scope": "window"
  584. },
  585. "gitlens.gitCommands.search.matchCase": {
  586. "type": "boolean",
  587. "default": false,
  588. "markdownDescription": "Specifies whether to match commit search patterns with or without regard to casing",
  589. "scope": "window"
  590. },
  591. "gitlens.gitCommands.search.matchRegex": {
  592. "type": "boolean",
  593. "default": true,
  594. "markdownDescription": "Specifies whether to match commit search patterns using regular expressions",
  595. "scope": "window"
  596. },
  597. "gitlens.gitCommands.search.showResultsInSideBar": {
  598. "type": "boolean",
  599. "default": false,
  600. "markdownDescription": "Specifies whether to show the commit search results in the Side Bar or within the quick pick menu",
  601. "scope": "window"
  602. },
  603. "gitlens.gitCommands.skipConfirmations": {
  604. "type": "array",
  605. "default": [
  606. "fetch:command",
  607. "stash-push:command",
  608. "switch:command"
  609. ],
  610. "items": {
  611. "type": "string",
  612. "enum": [
  613. "branch-create:command",
  614. "branch-create:menu",
  615. "co-authors:command",
  616. "co-authors:menu",
  617. "fetch:command",
  618. "fetch:menu",
  619. "pull:command",
  620. "pull:menu",
  621. "push:command",
  622. "push:menu",
  623. "stash-apply:command",
  624. "stash-apply:menu",
  625. "stash-pop:command",
  626. "stash-pop:menu",
  627. "stash-push:command",
  628. "stash-push:menu",
  629. "switch:command",
  630. "switch:menu",
  631. "tag-create:command",
  632. "tag-create:menu"
  633. ],
  634. "enumDescriptions": [
  635. "Skips branch create confirmations when run from a command, e.g. a view action",
  636. "Skips branch create confirmations when run from the `Git Commands` menu",
  637. "Skips co-author confirmations when run from a command, e.g. a view action",
  638. "Skips co-author confirmations when run from the `Git Commands` menu",
  639. "Skips fetch confirmations when run from a command, e.g. a view action",
  640. "Skips fetch confirmations when run from the `Git Commands` menu",
  641. "Skips pull confirmations when run from a command, e.g. a view action",
  642. "Skips pull confirmations when run from the `Git Commands` menu",
  643. "Skips push confirmations when run from a command, e.g. a view action",
  644. "Skips push confirmations when run from the `Git Commands` menu",
  645. "Skips stash apply confirmations when run from a command, e.g. a view action",
  646. "Skips stash apply confirmations when run from the `Git Commands` menu",
  647. "Skips stash pop confirmations when run from a command, e.g. a view action",
  648. "Skips stash pop confirmations when run from the `Git Commands` menu",
  649. "Skips stash push confirmations when run from a command, e.g. a view action",
  650. "Skips stash push confirmations when run from the `Git Commands` menu",
  651. "Skips switch confirmations when run from a command, e.g. a view action",
  652. "Skips switch confirmations when run from the `Git Commands` menu",
  653. "Skips tag create confirmations when run from a command, e.g. a view action",
  654. "Skips tag create confirmations when run from the `Git Commands` menu"
  655. ]
  656. },
  657. "minItems": 0,
  658. "maxItems": 14,
  659. "uniqueItems": true,
  660. "markdownDescription": "Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu|command)`",
  661. "scope": "window"
  662. },
  663. "gitlens.heatmap.ageThreshold": {
  664. "type": "number",
  665. "default": 90,
  666. "markdownDescription": "Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `#gitlens.heatmap.coldColor#` instead of `#gitlens.heatmap.hotColor#`)",
  667. "scope": "window"
  668. },
  669. "gitlens.heatmap.coldColor": {
  670. "type": "string",
  671. "default": "#0a60f6",
  672. "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  673. "scope": "window"
  674. },
  675. "gitlens.heatmap.hotColor": {
  676. "type": "string",
  677. "default": "#f66a0a",
  678. "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  679. "scope": "window"
  680. },
  681. "gitlens.heatmap.toggleMode": {
  682. "type": "string",
  683. "default": "file",
  684. "enum": [
  685. "file",
  686. "window"
  687. ],
  688. "enumDescriptions": [
  689. "Toggles each file individually",
  690. "Toggles the window, i.e. all files at once"
  691. ],
  692. "markdownDescription": "Specifies how the gutter heatmap annotations will be toggled",
  693. "scope": "window"
  694. },
  695. "gitlens.hovers.annotations.changes": {
  696. "type": "boolean",
  697. "default": true,
  698. "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for all lines when showing blame annotations",
  699. "scope": "window"
  700. },
  701. "gitlens.hovers.annotations.details": {
  702. "type": "boolean",
  703. "default": true,
  704. "markdownDescription": "Specifies whether to provide a _commit details_ hover for all lines when showing blame annotations",
  705. "scope": "window"
  706. },
  707. "gitlens.hovers.annotations.enabled": {
  708. "type": "boolean",
  709. "default": true,
  710. "markdownDescription": "Specifies whether to provide any hovers when showing blame annotations",
  711. "scope": "window"
  712. },
  713. "gitlens.hovers.annotations.over": {
  714. "type": "string",
  715. "default": "line",
  716. "enum": [
  717. "annotation",
  718. "line"
  719. ],
  720. "enumDescriptions": [
  721. "Only shown when hovering over the line annotation",
  722. "Shown when hovering anywhere over the line"
  723. ],
  724. "markdownDescription": "Specifies when to trigger hovers when showing blame annotations",
  725. "scope": "window"
  726. },
  727. "gitlens.hovers.currentLine.changes": {
  728. "type": "boolean",
  729. "default": true,
  730. "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for the current line",
  731. "scope": "window"
  732. },
  733. "gitlens.hovers.currentLine.details": {
  734. "type": "boolean",
  735. "default": true,
  736. "markdownDescription": "Specifies whether to provide a _commit details_ hover for the current line",
  737. "scope": "window"
  738. },
  739. "gitlens.hovers.currentLine.enabled": {
  740. "type": "boolean",
  741. "default": true,
  742. "markdownDescription": "Specifies whether to provide any hovers for the current line",
  743. "scope": "window"
  744. },
  745. "gitlens.hovers.currentLine.over": {
  746. "type": "string",
  747. "default": "annotation",
  748. "enum": [
  749. "annotation",
  750. "line"
  751. ],
  752. "enumDescriptions": [
  753. "Only shown when hovering over the line annotation",
  754. "Shown when hovering anywhere over the line"
  755. ],
  756. "markdownDescription": "Specifies when to trigger hovers for the current line",
  757. "scope": "window"
  758. },
  759. "gitlens.hovers.avatars": {
  760. "type": "boolean",
  761. "default": true,
  762. "markdownDescription": "Specifies whether to show avatar images in hovers",
  763. "scope": "window"
  764. },
  765. "gitlens.hovers.avatarSize": {
  766. "type": "number",
  767. "default": 32,
  768. "markdownDescription": "Specifies the size of the avatar images in hovers",
  769. "scope": "window"
  770. },
  771. "gitlens.hovers.changesDiff": {
  772. "type": "string",
  773. "default": "line",
  774. "enum": [
  775. "line",
  776. "hunk"
  777. ],
  778. "enumDescriptions": [
  779. "Shows only the changes to the line",
  780. "Shows the set of related changes"
  781. ],
  782. "markdownDescription": "Specifies whether to show just the changes to the line or the set of related changes in the _changes (diff)_ hover",
  783. "scope": "window"
  784. },
  785. "gitlens.hovers.detailsMarkdownFormat": {
  786. "type": "string",
  787. "default": "${avatar} &nbsp;__${author}__${\" via \"pullRequest}, ${ago} &nbsp; _(${date})_ \n\n${message}\n\n${commands}",
  788. "markdownDescription": "Specifies the format (in markdown) of the _commit details_ hover. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  789. "scope": "window"
  790. },
  791. "gitlens.hovers.enabled": {
  792. "type": "boolean",
  793. "default": true,
  794. "markdownDescription": "Specifies whether to provide any hovers",
  795. "scope": "window"
  796. },
  797. "gitlens.hovers.autolinks.enabled": {
  798. "type": "boolean",
  799. "default": true,
  800. "markdownDescription": "Specifies whether to automatically link external resources in commit messages",
  801. "scope": "window"
  802. },
  803. "gitlens.hovers.autolinks.enhanced": {
  804. "type": "boolean",
  805. "default": true,
  806. "markdownDescription": "Specifies whether to lookup additional details about automatically link external resources in commit messages. Requires a connection to a supported remote service (e.g. GitHub)",
  807. "scope": "window"
  808. },
  809. "gitlens.hovers.pullRequests.enabled": {
  810. "type": "boolean",
  811. "default": true,
  812. "markdownDescription": "Specifies whether to provide information about the Pull Request (if any) that introduced a commit in the hovers. Requires a connection to a supported remote service (e.g. GitHub)",
  813. "scope": "window"
  814. },
  815. "gitlens.insiders": {
  816. "type": "boolean",
  817. "default": false,
  818. "markdownDescription": "Specifies whether to enable experimental features",
  819. "scope": "window"
  820. },
  821. "gitlens.keymap": {
  822. "type": "string",
  823. "default": "chorded",
  824. "enum": [
  825. "alternate",
  826. "chorded",
  827. "none"
  828. ],
  829. "enumDescriptions": [
  830. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  831. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  832. "No shortcut keys will be added"
  833. ],
  834. "markdownDescription": "Specifies the keymap to use for GitLens shortcut keys",
  835. "scope": "window"
  836. },
  837. "gitlens.liveshare.allowGuestAccess": {
  838. "type": "boolean",
  839. "default": true,
  840. "description": "Specifies whether to allow guest access to GitLens features when using Visual Studio Live Share",
  841. "scope": "window"
  842. },
  843. "gitlens.menus": {
  844. "anyOf": [
  845. {
  846. "enum": [
  847. false
  848. ]
  849. },
  850. {
  851. "type": "object",
  852. "properties": {
  853. "editor": {
  854. "anyOf": [
  855. {
  856. "enum": [
  857. false
  858. ]
  859. },
  860. {
  861. "type": "object",
  862. "properties": {
  863. "blame": {
  864. "type": "boolean"
  865. },
  866. "clipboard": {
  867. "type": "boolean"
  868. },
  869. "compare": {
  870. "type": "boolean"
  871. },
  872. "details": {
  873. "type": "boolean"
  874. },
  875. "history": {
  876. "type": "boolean"
  877. },
  878. "remote": {
  879. "type": "boolean"
  880. }
  881. }
  882. }
  883. ]
  884. },
  885. "editorGroup": {
  886. "anyOf": [
  887. {
  888. "enum": [
  889. false
  890. ]
  891. },
  892. {
  893. "type": "object",
  894. "properties": {
  895. "blame": {
  896. "type": "boolean"
  897. },
  898. "compare": {
  899. "type": "boolean"
  900. }
  901. }
  902. }
  903. ]
  904. },
  905. "editorTab": {
  906. "anyOf": [
  907. {
  908. "enum": [
  909. false
  910. ]
  911. },
  912. {
  913. "type": "object",
  914. "properties": {
  915. "clipboard": {
  916. "type": "boolean"
  917. },
  918. "compare": {
  919. "type": "boolean"
  920. },
  921. "history": {
  922. "type": "boolean"
  923. },
  924. "remote": {
  925. "type": "boolean"
  926. }
  927. }
  928. }
  929. ]
  930. },
  931. "explorer": {
  932. "anyOf": [
  933. {
  934. "enum": [
  935. false
  936. ]
  937. },
  938. {
  939. "type": "object",
  940. "properties": {
  941. "clipboard": {
  942. "type": "boolean"
  943. },
  944. "compare": {
  945. "type": "boolean"
  946. },
  947. "history": {
  948. "type": "boolean"
  949. },
  950. "remote": {
  951. "type": "boolean"
  952. }
  953. }
  954. }
  955. ]
  956. },
  957. "scm": {
  958. "anyOf": [
  959. {
  960. "enum": [
  961. false
  962. ]
  963. },
  964. {
  965. "type": "object",
  966. "properties": {
  967. "authors": {
  968. "type": "boolean"
  969. }
  970. }
  971. }
  972. ]
  973. },
  974. "scmGroupInline": {
  975. "anyOf": [
  976. {
  977. "enum": [
  978. false
  979. ]
  980. },
  981. {
  982. "type": "object",
  983. "properties": {
  984. "stash": {
  985. "type": "boolean"
  986. }
  987. }
  988. }
  989. ]
  990. },
  991. "scmGroup": {
  992. "anyOf": [
  993. {
  994. "enum": [
  995. false
  996. ]
  997. },
  998. {
  999. "type": "object",
  1000. "properties": {
  1001. "compare": {
  1002. "type": "boolean"
  1003. },
  1004. "openClose": {
  1005. "type": "boolean"
  1006. },
  1007. "stash": {
  1008. "type": "boolean"
  1009. }
  1010. }
  1011. }
  1012. ]
  1013. },
  1014. "scmItem": {
  1015. "anyOf": [
  1016. {
  1017. "enum": [
  1018. false
  1019. ]
  1020. },
  1021. {
  1022. "type": "object",
  1023. "properties": {
  1024. "clipboard": {
  1025. "type": "boolean"
  1026. },
  1027. "compare": {
  1028. "type": "boolean"
  1029. },
  1030. "history": {
  1031. "type": "boolean"
  1032. },
  1033. "remote": {
  1034. "type": "boolean"
  1035. },
  1036. "stash": {
  1037. "type": "boolean"
  1038. }
  1039. }
  1040. }
  1041. ]
  1042. }
  1043. }
  1044. }
  1045. ],
  1046. "default": {
  1047. "editor": {
  1048. "blame": false,
  1049. "clipboard": true,
  1050. "compare": true,
  1051. "details": false,
  1052. "history": false,
  1053. "remote": false
  1054. },
  1055. "editorGroup": {
  1056. "blame": true,
  1057. "compare": true
  1058. },
  1059. "editorTab": {
  1060. "clipboard": true,
  1061. "compare": true,
  1062. "history": true,
  1063. "remote": true
  1064. },
  1065. "explorer": {
  1066. "clipboard": true,
  1067. "compare": true,
  1068. "history": true,
  1069. "remote": true
  1070. },
  1071. "scm": {
  1072. "authors": true
  1073. },
  1074. "scmGroupInline": {
  1075. "stash": true
  1076. },
  1077. "scmGroup": {
  1078. "compare": true,
  1079. "openClose": true,
  1080. "stash": true
  1081. },
  1082. "scmItem": {
  1083. "clipboard": true,
  1084. "compare": true,
  1085. "history": true,
  1086. "remote": true,
  1087. "stash": true
  1088. }
  1089. },
  1090. "markdownDescription": "Specifies which commands will be added to which menus",
  1091. "scope": "window"
  1092. },
  1093. "gitlens.mode.active": {
  1094. "type": "string",
  1095. "markdownDescription": "Specifies the active GitLens mode, if any",
  1096. "scope": "window"
  1097. },
  1098. "gitlens.mode.statusBar.enabled": {
  1099. "type": "boolean",
  1100. "default": true,
  1101. "markdownDescription": "Specifies whether to provide the active GitLens mode in the status bar",
  1102. "scope": "window"
  1103. },
  1104. "gitlens.mode.statusBar.alignment": {
  1105. "type": "string",
  1106. "default": "right",
  1107. "enum": [
  1108. "left",
  1109. "right"
  1110. ],
  1111. "enumDescriptions": [
  1112. "Aligns to the left",
  1113. "Aligns to the right"
  1114. ],
  1115. "markdownDescription": "Specifies the active GitLens mode alignment in the status bar",
  1116. "scope": "window"
  1117. },
  1118. "gitlens.modes": {
  1119. "type": "object",
  1120. "properties": {
  1121. "zen": {
  1122. "type": "object",
  1123. "properties": {
  1124. "name": {
  1125. "type": "string",
  1126. "description": "Specifies the friendly name of this user-defined mode"
  1127. },
  1128. "statusBarItemName": {
  1129. "type": "string",
  1130. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  1131. },
  1132. "description": {
  1133. "type": "string",
  1134. "description": "Specifies the description of this user-defined mode"
  1135. },
  1136. "codeLens": {
  1137. "type": "boolean",
  1138. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  1139. },
  1140. "currentLine": {
  1141. "type": "boolean",
  1142. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  1143. },
  1144. "hovers": {
  1145. "type": "boolean",
  1146. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  1147. },
  1148. "statusBar": {
  1149. "type": "boolean",
  1150. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  1151. }
  1152. }
  1153. },
  1154. "review": {
  1155. "type": "object",
  1156. "properties": {
  1157. "name": {
  1158. "type": "string",
  1159. "description": "Specifies the friendly name of this user-defined mode"
  1160. },
  1161. "statusBarItemName": {
  1162. "type": "string",
  1163. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  1164. },
  1165. "description": {
  1166. "type": "string",
  1167. "description": "Specifies the description of this user-defined mode"
  1168. },
  1169. "codeLens": {
  1170. "type": "boolean",
  1171. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  1172. },
  1173. "currentLine": {
  1174. "type": "boolean",
  1175. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  1176. },
  1177. "hovers": {
  1178. "type": "boolean",
  1179. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  1180. },
  1181. "statusBar": {
  1182. "type": "boolean",
  1183. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "additionalProperties": {
  1189. "type": "object",
  1190. "required": [
  1191. "name"
  1192. ],
  1193. "properties": {
  1194. "name": {
  1195. "type": "string",
  1196. "description": "Specifies the friendly name of this user-defined mode"
  1197. },
  1198. "statusBarItemName": {
  1199. "type": "string",
  1200. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  1201. },
  1202. "description": {
  1203. "type": "string",
  1204. "description": "Specifies the description of this user-defined mode"
  1205. },
  1206. "annotations": {
  1207. "type": "string",
  1208. "enum": [
  1209. "blame",
  1210. "changes",
  1211. "heatmap"
  1212. ],
  1213. "enumDescriptions": [
  1214. "Shows the gutter blame annotations",
  1215. "Shows the gutter changes annotations",
  1216. "Shows the gutter heatmap annotations"
  1217. ],
  1218. "description": "Specifies which (if any) file annotations will be shown when this user-defined mode is active"
  1219. },
  1220. "codeLens": {
  1221. "type": "boolean",
  1222. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  1223. },
  1224. "currentLine": {
  1225. "type": "boolean",
  1226. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  1227. },
  1228. "hovers": {
  1229. "type": "boolean",
  1230. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  1231. },
  1232. "statusBar": {
  1233. "type": "boolean",
  1234. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  1235. }
  1236. }
  1237. },
  1238. "default": {
  1239. "zen": {
  1240. "name": "Zen",
  1241. "statusBarItemName": "Zen",
  1242. "description": "for a zen-like experience, disables many visual features",
  1243. "codeLens": false,
  1244. "currentLine": false,
  1245. "hovers": false,
  1246. "statusBar": false
  1247. },
  1248. "review": {
  1249. "name": "Review",
  1250. "statusBarItemName": "Reviewing",
  1251. "description": "for reviewing code, enables many visual features",
  1252. "codeLens": true,
  1253. "currentLine": true,
  1254. "hovers": true
  1255. }
  1256. },
  1257. "markdownDescription": "Specifies the user-defined GitLens modes",
  1258. "scope": "window"
  1259. },
  1260. "gitlens.outputLevel": {
  1261. "type": "string",
  1262. "default": "errors",
  1263. "enum": [
  1264. "silent",
  1265. "errors",
  1266. "verbose",
  1267. "debug"
  1268. ],
  1269. "enumDescriptions": [
  1270. "Logs nothing",
  1271. "Logs only errors",
  1272. "Logs all errors, warnings, and messages",
  1273. "Logs all errors, warnings, and messages with extra context useful for debugging"
  1274. ],
  1275. "markdownDescription": "Specifies how much (if any) output will be sent to the GitLens output channel",
  1276. "scope": "window"
  1277. },
  1278. "gitlens.remotes": {
  1279. "type": [
  1280. "array",
  1281. "null"
  1282. ],
  1283. "default": null,
  1284. "items": {
  1285. "type": "object",
  1286. "required": [
  1287. "type",
  1288. "domain"
  1289. ],
  1290. "properties": {
  1291. "type": {
  1292. "type": "string",
  1293. "enum": [
  1294. "Bitbucket",
  1295. "BitbucketServer",
  1296. "Custom",
  1297. "GitHub",
  1298. "GitLab"
  1299. ],
  1300. "description": "Specifies the type of the custom remote service"
  1301. },
  1302. "domain": {
  1303. "type": "string",
  1304. "description": "Specifies the domain name of the custom remote service"
  1305. },
  1306. "name": {
  1307. "type": "string",
  1308. "description": "Specifies an optional friendly name for the custom remote service"
  1309. },
  1310. "protocol": {
  1311. "type": "string",
  1312. "default": "https",
  1313. "description": "Specifies an optional url protocol for the custom remote service"
  1314. },
  1315. "urls": {
  1316. "type": "object",
  1317. "required": [
  1318. "repository",
  1319. "branches",
  1320. "branch",
  1321. "commit",
  1322. "file",
  1323. "fileInCommit",
  1324. "fileInBranch",
  1325. "fileLine",
  1326. "fileRange"
  1327. ],
  1328. "properties": {
  1329. "repository": {
  1330. "type": "string",
  1331. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path"
  1332. },
  1333. "branches": {
  1334. "type": "string",
  1335. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${branch}` &mdash; branch"
  1336. },
  1337. "branch": {
  1338. "type": "string",
  1339. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${branch}` &mdash; branch"
  1340. },
  1341. "commit": {
  1342. "type": "string",
  1343. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${id}` &mdash; commit id"
  1344. },
  1345. "file": {
  1346. "type": "string",
  1347. "description": "Specifies the format of a file url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${file}` &mdash; file name\n ${line}` &mdash; formatted line information"
  1348. },
  1349. "fileInBranch": {
  1350. "type": "string",
  1351. "description": "Specifies the format of a branch file url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${file}` &mdash; file name\n ${branch}` &mdash; branch\n ${line}` &mdash; formatted line information"
  1352. },
  1353. "fileInCommit": {
  1354. "type": "string",
  1355. "description": "Specifies the format of a commit file url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${file}` &mdash; file name\n ${id}` &mdash; commit id\n ${line}` &mdash; formatted line information"
  1356. },
  1357. "fileLine": {
  1358. "type": "string",
  1359. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line}` &mdash; line"
  1360. },
  1361. "fileRange": {
  1362. "type": "string",
  1363. "description": "Specifies the format of a range in a file url for the custom remote service\nAvailable tokens\n ${start}` &mdash; starting line\n ${end}` &mdash; ending line"
  1364. }
  1365. }
  1366. },
  1367. "description": "Specifies the url formats of the custom remote service"
  1368. }
  1369. },
  1370. "uniqueItems": true,
  1371. "markdownDescription": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1372. "scope": "resource"
  1373. },
  1374. "gitlens.showWhatsNewAfterUpgrades": {
  1375. "type": "boolean",
  1376. "default": true,
  1377. "markdownDescription": "Specifies whether to show What's New after upgrading to new feature releases",
  1378. "scope": "window"
  1379. },
  1380. "gitlens.sortBranchesBy": {
  1381. "type": "string",
  1382. "default": "name:desc",
  1383. "enum": [
  1384. "name:desc",
  1385. "name:asc",
  1386. "date:desc",
  1387. "date:asc"
  1388. ],
  1389. "enumDescriptions": [
  1390. "Sorts branches by name in descending order",
  1391. "Sorts branches by name in ascending order",
  1392. "Sorts branches by the most recent commit date in descending order",
  1393. "Sorts branches by the most recent commit date in ascending order"
  1394. ],
  1395. "markdownDescription": "Specifies how branches are sorted in quick pick menus and views",
  1396. "scope": "window"
  1397. },
  1398. "gitlens.sortTagsBy": {
  1399. "type": "string",
  1400. "default": "name:desc",
  1401. "enum": [
  1402. "name:desc",
  1403. "name:asc",
  1404. "date:desc",
  1405. "date:asc"
  1406. ],
  1407. "enumDescriptions": [
  1408. "Sorts tags by name in descending order",
  1409. "Sorts tags by name in ascending order",
  1410. "Sorts tags by date in descending order",
  1411. "Sorts tags by date in ascending order"
  1412. ],
  1413. "markdownDescription": "Specifies how tags are sorted in quick pick menus and views",
  1414. "scope": "window"
  1415. },
  1416. "gitlens.statusBar.alignment": {
  1417. "type": "string",
  1418. "default": "right",
  1419. "enum": [
  1420. "left",
  1421. "right"
  1422. ],
  1423. "enumDescriptions": [
  1424. "Aligns to the left",
  1425. "Aligns to the right"
  1426. ],
  1427. "markdownDescription": "Specifies the blame alignment in the status bar",
  1428. "scope": "window"
  1429. },
  1430. "gitlens.statusBar.command": {
  1431. "type": "string",
  1432. "default": "gitlens.showQuickCommitDetails",
  1433. "enum": [
  1434. "gitlens.toggleFileBlame",
  1435. "gitlens.diffWithPrevious",
  1436. "gitlens.diffWithWorking",
  1437. "gitlens.toggleCodeLens",
  1438. "gitlens.revealCommitInView",
  1439. "gitlens.showCommitsInView",
  1440. "gitlens.showQuickCommitDetails",
  1441. "gitlens.showQuickCommitFileDetails",
  1442. "gitlens.showQuickFileHistory",
  1443. "gitlens.showQuickRepoHistory"
  1444. ],
  1445. "enumDescriptions": [
  1446. "Toggles file blame annotations",
  1447. "Compares the current line commit with the previous",
  1448. "Compares the current line commit with the working tree",
  1449. "Toggles Git code lens",
  1450. "Reveals the commit in the Side Bar",
  1451. "Searches for the commit in the Side Bar",
  1452. "Shows a commit details quick pick",
  1453. "Shows a commit file details quick pick",
  1454. "Shows a file history quick pick",
  1455. "Shows a branch history quick pick"
  1456. ],
  1457. "markdownDescription": "Specifies the command to be executed when the blame status bar item is clicked",
  1458. "scope": "window"
  1459. },
  1460. "gitlens.statusBar.dateFormat": {
  1461. "type": [
  1462. "string",
  1463. "null"
  1464. ],
  1465. "default": null,
  1466. "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  1467. "scope": "window"
  1468. },
  1469. "gitlens.statusBar.enabled": {
  1470. "type": "boolean",
  1471. "default": true,
  1472. "markdownDescription": "Specifies whether to provide blame information in the status bar",
  1473. "scope": "window"
  1474. },
  1475. "gitlens.statusBar.format": {
  1476. "type": "string",
  1477. "default": "${author}, ${agoOrDate}",
  1478. "markdownDescription": "Specifies the format of the blame information in the status bar. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.statusBar.dateFormat#` setting",
  1479. "scope": "window"
  1480. },
  1481. "gitlens.statusBar.reduceFlicker": {
  1482. "type": "boolean",
  1483. "default": false,
  1484. "markdownDescription": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1485. "scope": "window"
  1486. },
  1487. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1488. "type": "string",
  1489. "default": "Unsaved changes (cannot determine recent change or authors)",
  1490. "markdownDescription": "Specifies the string to be shown in place of both the _recent change_ and _authors_ code lens when there are unsaved changes",
  1491. "scope": "window"
  1492. },
  1493. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1494. "type": "string",
  1495. "default": "Unsaved changes (cannot determine recent change)",
  1496. "markdownDescription": "Specifies the string to be shown in place of the _recent change_ code lens when there are unsaved changes",
  1497. "scope": "window"
  1498. },
  1499. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1500. "type": "string",
  1501. "default": "Unsaved changes (cannot determine authors)",
  1502. "markdownDescription": "Specifies the string to be shown in place of the _authors_ code lens when there are unsaved changes",
  1503. "scope": "window"
  1504. },
  1505. "gitlens.views.commitFileFormat": {
  1506. "type": "string",
  1507. "default": "${file}",
  1508. "markdownDescription": "Specifies the format of a committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1509. "scope": "window"
  1510. },
  1511. "gitlens.views.commitFileDescriptionFormat": {
  1512. "type": "string",
  1513. "default": "${directory}${ ← originalPath}",
  1514. "markdownDescription": "Specifies the description format of a committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1515. "scope": "window"
  1516. },
  1517. "gitlens.views.commitFormat": {
  1518. "type": "string",
  1519. "default": "${❰ tips ❱➤ }${message}",
  1520. "markdownDescription": "Specifies the format of committed changes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1521. "scope": "window"
  1522. },
  1523. "gitlens.views.commitDescriptionFormat": {
  1524. "type": "string",
  1525. "default": "${changes • }${author}, ${agoOrDate}",
  1526. "markdownDescription": "Specifies the description format of committed changes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1527. "scope": "window"
  1528. },
  1529. "gitlens.views.branches.avatars": {
  1530. "type": "boolean",
  1531. "default": true,
  1532. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Branches_ view",
  1533. "scope": "window"
  1534. },
  1535. "gitlens.views.branches.branches.layout": {
  1536. "type": "string",
  1537. "default": "tree",
  1538. "enum": [
  1539. "list",
  1540. "tree"
  1541. ],
  1542. "enumDescriptions": [
  1543. "Displays branches as a list",
  1544. "Displays branches as a tree when branch names contain slashes `/`"
  1545. ],
  1546. "markdownDescription": "Specifies how the _Branches_ view will display branches",
  1547. "scope": "window"
  1548. },
  1549. "gitlens.views.branches.files.compact": {
  1550. "type": "boolean",
  1551. "default": true,
  1552. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Branches_ view. Only applies when `#gitlens.views.branches.files.layout#` is set to `tree` or `auto`",
  1553. "scope": "window"
  1554. },
  1555. "gitlens.views.branches.files.layout": {
  1556. "type": "string",
  1557. "default": "auto",
  1558. "enum": [
  1559. "auto",
  1560. "list",
  1561. "tree"
  1562. ],
  1563. "enumDescriptions": [
  1564. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.branches.files.threshold#` value and the number of files at each nesting level",
  1565. "Displays files as a list",
  1566. "Displays files as a tree"
  1567. ],
  1568. "markdownDescription": "Specifies how the _Branches_ view will display files",
  1569. "scope": "window"
  1570. },
  1571. "gitlens.views.branches.files.threshold": {
  1572. "type": "number",
  1573. "default": 5,
  1574. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Branches_ view. Only applies when `#gitlens.views.branches.files.layout#` is set to `auto`",
  1575. "scope": "window"
  1576. },
  1577. "gitlens.views.commits.avatars": {
  1578. "type": "boolean",
  1579. "default": true,
  1580. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Commits_ view",
  1581. "scope": "window"
  1582. },
  1583. "gitlens.views.commits.files.compact": {
  1584. "type": "boolean",
  1585. "default": true,
  1586. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Commits_ view. Only applies when `#gitlens.views.commits.files.layout#` is set to `tree` or `auto`",
  1587. "scope": "window"
  1588. },
  1589. "gitlens.views.commits.files.layout": {
  1590. "type": "string",
  1591. "default": "auto",
  1592. "enum": [
  1593. "auto",
  1594. "list",
  1595. "tree"
  1596. ],
  1597. "enumDescriptions": [
  1598. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.commits.files.threshold#` value and the number of files at each nesting level",
  1599. "Displays files as a list",
  1600. "Displays files as a tree"
  1601. ],
  1602. "markdownDescription": "Specifies how the _Commits_ view will display files",
  1603. "scope": "window"
  1604. },
  1605. "gitlens.views.commits.files.threshold": {
  1606. "type": "number",
  1607. "default": 5,
  1608. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Commits_ view. Only applies when `#gitlens.views.commits.files.layout#` is set to `auto`",
  1609. "scope": "window"
  1610. },
  1611. "gitlens.views.commits.showBranchComparison": {
  1612. "anyOf": [
  1613. {
  1614. "enum": [
  1615. false
  1616. ]
  1617. },
  1618. {
  1619. "type": "string",
  1620. "enum": [
  1621. "branch",
  1622. "working"
  1623. ],
  1624. "enumDescriptions": [
  1625. "Compares the current branch to the user-selected reference",
  1626. "Compares the working tree to the user-selected reference"
  1627. ]
  1628. }
  1629. ],
  1630. "default": "working",
  1631. "markdownDescription": "Specifies whether to show a comparison of a user-selected reference (branch, tag. etc) to the current branch or the working tree in the _Commits_ view",
  1632. "scope": "window"
  1633. },
  1634. "gitlens.views.compare.avatars": {
  1635. "type": "boolean",
  1636. "default": true,
  1637. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Compare_ view",
  1638. "scope": "window"
  1639. },
  1640. "gitlens.views.compare.files.compact": {
  1641. "type": "boolean",
  1642. "default": true,
  1643. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Compare_ view. Only applies when `#gitlens.views.compare.files.layout#` is set to `tree` or `auto`",
  1644. "scope": "window"
  1645. },
  1646. "gitlens.views.compare.files.layout": {
  1647. "type": "string",
  1648. "default": "auto",
  1649. "enum": [
  1650. "auto",
  1651. "list",
  1652. "tree"
  1653. ],
  1654. "enumDescriptions": [
  1655. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.compare.files.threshold#` value and the number of files at each nesting level",
  1656. "Displays files as a list",
  1657. "Displays files as a tree"
  1658. ],
  1659. "markdownDescription": "Specifies how the _Compare_ view will display files",
  1660. "scope": "window"
  1661. },
  1662. "gitlens.views.compare.files.threshold": {
  1663. "type": "number",
  1664. "default": 5,
  1665. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Compare_ view. Only applies when `#gitlens.views.compare.files.layout#` is set to `auto`",
  1666. "scope": "window"
  1667. },
  1668. "gitlens.views.contributors.avatars": {
  1669. "type": "boolean",
  1670. "default": true,
  1671. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Contributors_ view",
  1672. "scope": "window"
  1673. },
  1674. "gitlens.views.contributors.files.compact": {
  1675. "type": "boolean",
  1676. "default": true,
  1677. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Contributors_ view. Only applies when `#gitlens.views.contributors.files.layout#` is set to `tree` or `auto`",
  1678. "scope": "window"
  1679. },
  1680. "gitlens.views.contributors.files.layout": {
  1681. "type": "string",
  1682. "default": "auto",
  1683. "enum": [
  1684. "auto",
  1685. "list",
  1686. "tree"
  1687. ],
  1688. "enumDescriptions": [
  1689. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.contributors.files.threshold#` value and the number of files at each nesting level",
  1690. "Displays files as a list",
  1691. "Displays files as a tree"
  1692. ],
  1693. "markdownDescription": "Specifies how the _Contributors_ view will display files",
  1694. "scope": "window"
  1695. },
  1696. "gitlens.views.contributors.files.threshold": {
  1697. "type": "number",
  1698. "default": 5,
  1699. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Contributors_ view. Only applies when `#gitlens.views.contributors.files.layout#` is set to `auto`",
  1700. "scope": "window"
  1701. },
  1702. "gitlens.views.defaultItemLimit": {
  1703. "type": "number",
  1704. "default": 10,
  1705. "markdownDescription": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
  1706. "scope": "window"
  1707. },
  1708. "gitlens.views.pageItemLimit": {
  1709. "type": "number",
  1710. "default": 20,
  1711. "markdownDescription": "Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit",
  1712. "scope": "window"
  1713. },
  1714. "gitlens.views.fileHistory.avatars": {
  1715. "type": "boolean",
  1716. "default": true,
  1717. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _File History_ view",
  1718. "scope": "window"
  1719. },
  1720. "gitlens.views.lineHistory.avatars": {
  1721. "type": "boolean",
  1722. "default": true,
  1723. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _Line History_ view",
  1724. "scope": "window"
  1725. },
  1726. "gitlens.views.lineHistory.enabled": {
  1727. "type": "boolean",
  1728. "default": false,
  1729. "markdownDescription": "Specifies whether to show the _Line History_ view",
  1730. "scope": "window"
  1731. },
  1732. "gitlens.views.remotes.avatars": {
  1733. "type": "boolean",
  1734. "default": true,
  1735. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Remotes_ view",
  1736. "scope": "window"
  1737. },
  1738. "gitlens.views.remotes.branches.layout": {
  1739. "type": "string",
  1740. "default": "tree",
  1741. "enum": [
  1742. "list",
  1743. "tree"
  1744. ],
  1745. "enumDescriptions": [
  1746. "Displays branches as a list",
  1747. "Displays branches as a tree when branch names contain slashes `/`"
  1748. ],
  1749. "markdownDescription": "Specifies how the _Remotes_ view will display branches",
  1750. "scope": "window"
  1751. },
  1752. "gitlens.views.remotes.files.compact": {
  1753. "type": "boolean",
  1754. "default": true,
  1755. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Remotes_ view. Only applies when `#gitlens.views.remotes.files.layout#` is set to `tree` or `auto`",
  1756. "scope": "window"
  1757. },
  1758. "gitlens.views.remotes.files.layout": {
  1759. "type": "string",
  1760. "default": "auto",
  1761. "enum": [
  1762. "auto",
  1763. "list",
  1764. "tree"
  1765. ],
  1766. "enumDescriptions": [
  1767. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.remotes.files.threshold#` value and the number of files at each nesting level",
  1768. "Displays files as a list",
  1769. "Displays files as a tree"
  1770. ],
  1771. "markdownDescription": "Specifies how the _Remotes_ view will display files",
  1772. "scope": "window"
  1773. },
  1774. "gitlens.views.remotes.files.threshold": {
  1775. "type": "number",
  1776. "default": 5,
  1777. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Remotes_ view. Only applies when `#gitlens.views.remotes.files.layout#` is set to `auto`",
  1778. "scope": "window"
  1779. },
  1780. "gitlens.views.repositories.autoRefresh": {
  1781. "type": "boolean",
  1782. "default": true,
  1783. "markdownDescription": "Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes",
  1784. "scope": "window"
  1785. },
  1786. "gitlens.views.repositories.autoReveal": {
  1787. "type": "boolean",
  1788. "default": true,
  1789. "markdownDescription": "Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files",
  1790. "scope": "window"
  1791. },
  1792. "gitlens.views.repositories.avatars": {
  1793. "type": "boolean",
  1794. "default": true,
  1795. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view",
  1796. "scope": "window"
  1797. },
  1798. "gitlens.views.repositories.branches.layout": {
  1799. "type": "string",
  1800. "default": "tree",
  1801. "enum": [
  1802. "list",
  1803. "tree"
  1804. ],
  1805. "enumDescriptions": [
  1806. "Displays branches as a list",
  1807. "Displays branches as a tree when branch names contain slashes `/`"
  1808. ],
  1809. "markdownDescription": "Specifies how the _Repositories_ view will display branches",
  1810. "scope": "window"
  1811. },
  1812. "gitlens.views.repositories.compact": {
  1813. "type": "boolean",
  1814. "default": false,
  1815. "markdownDescription": "Specifies whether to show the _Repositories_ view in a compact display density",
  1816. "scope": "window"
  1817. },
  1818. "gitlens.views.repositories.enabled": {
  1819. "type": "boolean",
  1820. "default": false,
  1821. "markdownDescription": "Specifies whether to show the _Repositories_ view",
  1822. "scope": "window"
  1823. },
  1824. "gitlens.views.repositories.files.compact": {
  1825. "type": "boolean",
  1826. "default": true,
  1827. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Repositories_ view. Only applies when `#gitlens.views.repositories.files.layout#` is set to `tree` or `auto`",
  1828. "scope": "window"
  1829. },
  1830. "gitlens.views.repositories.files.layout": {
  1831. "type": "string",
  1832. "default": "auto",
  1833. "enum": [
  1834. "auto",
  1835. "list",
  1836. "tree"
  1837. ],
  1838. "enumDescriptions": [
  1839. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.repositories.files.threshold#` value and the number of files at each nesting level",
  1840. "Displays files as a list",
  1841. "Displays files as a tree"
  1842. ],
  1843. "markdownDescription": "Specifies how the _Repositories_ view will display files",
  1844. "scope": "window"
  1845. },
  1846. "gitlens.views.repositories.files.threshold": {
  1847. "type": "number",
  1848. "default": 5,
  1849. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Repositories_ view. Only applies when `#gitlens.views.repositories.files.layout#` is set to `auto`",
  1850. "scope": "window"
  1851. },
  1852. "gitlens.views.repositories.includeWorkingTree": {
  1853. "type": "boolean",
  1854. "default": true,
  1855. "markdownDescription": "Specifies whether to include working tree file status for each repository in the _Repositories_ view",
  1856. "scope": "window"
  1857. },
  1858. "gitlens.views.repositories.showBranchComparison": {
  1859. "anyOf": [
  1860. {
  1861. "enum": [
  1862. false
  1863. ]
  1864. },
  1865. {
  1866. "type": "string",
  1867. "enum": [
  1868. "branch",
  1869. "working"
  1870. ],
  1871. "enumDescriptions": [
  1872. "Compares the current branch to the user-selected reference",
  1873. "Compares the working tree to the user-selected reference"
  1874. ]
  1875. }
  1876. ],
  1877. "default": "working",
  1878. "markdownDescription": "Specifies whether to show a comparison of a user-selected reference (branch, tag. etc) to the current branch or the working tree in the _Repositories_ view",
  1879. "scope": "window"
  1880. },
  1881. "gitlens.views.search.avatars": {
  1882. "type": "boolean",
  1883. "default": true,
  1884. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Search Commits_ view",
  1885. "scope": "window"
  1886. },
  1887. "gitlens.views.search.files.compact": {
  1888. "type": "boolean",
  1889. "default": true,
  1890. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Search Commits_ view. Only applies when `#gitlens.views.search.files.layout#` is set to `tree` or `auto`",
  1891. "scope": "window"
  1892. },
  1893. "gitlens.views.search.files.layout": {
  1894. "type": "string",
  1895. "default": "auto",
  1896. "enum": [
  1897. "auto",
  1898. "list",
  1899. "tree"
  1900. ],
  1901. "enumDescriptions": [
  1902. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.search.files.threshold#` value and the number of files at each nesting level",
  1903. "Displays files as a list",
  1904. "Displays files as a tree"
  1905. ],
  1906. "markdownDescription": "Specifies how the _Search Commits_ view will display files",
  1907. "scope": "window"
  1908. },
  1909. "gitlens.views.search.files.threshold": {
  1910. "type": "number",
  1911. "default": 5,
  1912. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Search Commits_ view. Only applies when `#gitlens.views.search.files.layout#` is set to `auto`",
  1913. "scope": "window"
  1914. },
  1915. "gitlens.views.showRelativeDateMarkers": {
  1916. "type": "boolean",
  1917. "default": true,
  1918. "markdownDescription": "Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views",
  1919. "scope": "window"
  1920. },
  1921. "gitlens.views.stashFileFormat": {
  1922. "type": "string",
  1923. "default": "${file}",
  1924. "markdownDescription": "Specifies the format of a stashed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1925. "scope": "window"
  1926. },
  1927. "gitlens.views.stashFileDescriptionFormat": {
  1928. "type": "string",
  1929. "default": "${directory}${ ← originalPath}",
  1930. "markdownDescription": "Specifies the description format of a stashed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1931. "scope": "window"
  1932. },
  1933. "gitlens.views.stashFormat": {
  1934. "type": "string",
  1935. "default": "${message}",
  1936. "markdownDescription": "Specifies the format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1937. "scope": "window"
  1938. },
  1939. "gitlens.views.stashDescriptionFormat": {
  1940. "type": "string",
  1941. "default": "${changes • }${agoOrDate}",
  1942. "markdownDescription": "Specifies the description format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1943. "scope": "window"
  1944. },
  1945. "gitlens.views.stashes.files.compact": {
  1946. "type": "boolean",
  1947. "default": true,
  1948. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Stashes_ view. Only applies when `#gitlens.views.stashes.files.layout#` is set to `tree` or `auto`",
  1949. "scope": "window"
  1950. },
  1951. "gitlens.views.stashes.files.layout": {
  1952. "type": "string",
  1953. "default": "auto",
  1954. "enum": [
  1955. "auto",
  1956. "list",
  1957. "tree"
  1958. ],
  1959. "enumDescriptions": [
  1960. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.stashes.files.threshold#` value and the number of files at each nesting level",
  1961. "Displays files as a list",
  1962. "Displays files as a tree"
  1963. ],
  1964. "markdownDescription": "Specifies how the _Stashes_ view will display files",
  1965. "scope": "window"
  1966. },
  1967. "gitlens.views.stashes.files.threshold": {
  1968. "type": "number",
  1969. "default": 5,
  1970. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Stashes_ view. Only applies when `#gitlens.views.stashes.files.layout#` is set to `auto`",
  1971. "scope": "window"
  1972. },
  1973. "gitlens.views.statusFileFormat": {
  1974. "type": "string",
  1975. "default": "${working }${file}",
  1976. "markdownDescription": "Specifies the format of the status of a working or committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1977. "scope": "window"
  1978. },
  1979. "gitlens.views.statusFileDescriptionFormat": {
  1980. "type": "string",
  1981. "default": "${directory}${ ← originalPath}",
  1982. "markdownDescription": "Specifies the description format of the status of a working or committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1983. "scope": "window"
  1984. },
  1985. "gitlens.views.tags.avatars": {
  1986. "type": "boolean",
  1987. "default": true,
  1988. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Tags_ view",
  1989. "scope": "window"
  1990. },
  1991. "gitlens.views.tags.branches.layout": {
  1992. "type": "string",
  1993. "default": "tree",
  1994. "enum": [
  1995. "list",
  1996. "tree"
  1997. ],
  1998. "enumDescriptions": [
  1999. "Displays branches as a list",
  2000. "Displays branches as a tree when branch names contain slashes `/`"
  2001. ],
  2002. "markdownDescription": "Specifies how the _Tags_ view will display branches",
  2003. "scope": "window"
  2004. },
  2005. "gitlens.views.tags.files.compact": {
  2006. "type": "boolean",
  2007. "default": true,
  2008. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Tags_ view. Only applies when `#gitlens.views.tags.files.layout#` is set to `tree` or `auto`",
  2009. "scope": "window"
  2010. },
  2011. "gitlens.views.tags.files.layout": {
  2012. "type": "string",
  2013. "default": "auto",
  2014. "enum": [
  2015. "auto",
  2016. "list",
  2017. "tree"
  2018. ],
  2019. "enumDescriptions": [
  2020. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.tags.files.threshold#` value and the number of files at each nesting level",
  2021. "Displays files as a list",
  2022. "Displays files as a tree"
  2023. ],
  2024. "markdownDescription": "Specifies how the _Tags_ view will display files",
  2025. "scope": "window"
  2026. },
  2027. "gitlens.views.tags.files.threshold": {
  2028. "type": "number",
  2029. "default": 5,
  2030. "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Tags_ view. Only applies when `#gitlens.views.tags.files.layout#` is set to `auto`",
  2031. "scope": "window"
  2032. },
  2033. "gitlens.advanced.abbreviatedShaLength": {
  2034. "type": "number",
  2035. "default": "7",
  2036. "markdownDescription": "Specifies the length of abbreviated commit ids (shas)",
  2037. "scope": "window"
  2038. },
  2039. "gitlens.advanced.blame.customArguments": {
  2040. "type": [
  2041. "array",
  2042. "null"
  2043. ],
  2044. "default": null,
  2045. "items": {
  2046. "type": "string"
  2047. },
  2048. "markdownDescription": "Specifies additional arguments to pass to the `git blame` command",
  2049. "scope": "resource"
  2050. },
  2051. "gitlens.advanced.blame.delayAfterEdit": {
  2052. "type": "number",
  2053. "default": 5000,
  2054. "markdownDescription": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  2055. "scope": "window"
  2056. },
  2057. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  2058. "type": "number",
  2059. "default": 5000,
  2060. "markdownDescription": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  2061. "scope": "window"
  2062. },
  2063. "gitlens.advanced.caching.enabled": {
  2064. "type": "boolean",
  2065. "default": true,
  2066. "markdownDescription": "Specifies whether git output will be cached — changing the default is not recommended",
  2067. "scope": "window"
  2068. },
  2069. "gitlens.advanced.fileHistoryFollowsRenames": {
  2070. "type": "boolean",
  2071. "default": true,
  2072. "markdownDescription": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  2073. "scope": "window"
  2074. },
  2075. "gitlens.advanced.fileHistoryShowAllBranches": {
  2076. "type": "boolean",
  2077. "default": false,
  2078. "markdownDescription": "Specifies whether file histories will show commits from all branches",
  2079. "scope": "window"
  2080. },
  2081. "gitlens.advanced.maxListItems": {
  2082. "type": "number",
  2083. "default": 200,
  2084. "markdownDescription": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  2085. "scope": "window"
  2086. },
  2087. "gitlens.advanced.maxSearchItems": {
  2088. "type": "number",
  2089. "default": 200,
  2090. "markdownDescription": "Specifies the maximum number of items to show in a search. Use 0 to specify no maximum",
  2091. "scope": "window"
  2092. },
  2093. "gitlens.advanced.messages": {
  2094. "type": "object",
  2095. "default": {
  2096. "suppressCommitHasNoPreviousCommitWarning": false,
  2097. "suppressCommitNotFoundWarning": false,
  2098. "suppressFileNotUnderSourceControlWarning": false,
  2099. "suppressGitDisabledWarning": false,
  2100. "suppressGitVersionWarning": false,
  2101. "suppressLineUncommittedWarning": false,
  2102. "suppressNoRepositoryWarning": false
  2103. },
  2104. "properties": {
  2105. "suppressCommitHasNoPreviousCommitWarning": {
  2106. "type": "boolean",
  2107. "default": false
  2108. },
  2109. "suppressCommitNotFoundWarning": {
  2110. "type": "boolean",
  2111. "default": false
  2112. },
  2113. "suppressFileNotUnderSourceControlWarning": {
  2114. "type": "boolean",
  2115. "default": false
  2116. },
  2117. "suppressGitDisabledWarning": {
  2118. "type": "boolean",
  2119. "default": false
  2120. },
  2121. "suppressGitVersionWarning": {
  2122. "type": "boolean",
  2123. "default": false
  2124. },
  2125. "suppressLineUncommittedWarning": {
  2126. "type": "boolean",
  2127. "default": false
  2128. },
  2129. "suppressNoRepositoryWarning": {
  2130. "type": "boolean",
  2131. "default": false
  2132. }
  2133. },
  2134. "markdownDescription": "Specifies which messages should be suppressed",
  2135. "scope": "window"
  2136. },
  2137. "gitlens.advanced.quickPick.closeOnFocusOut": {
  2138. "type": "boolean",
  2139. "default": true,
  2140. "markdownDescription": "Specifies whether to dismiss quick pick menus when focus is lost (if not, press `ESC` to dismiss)",
  2141. "scope": "window"
  2142. },
  2143. "gitlens.advanced.repositorySearchDepth": {
  2144. "type": "number",
  2145. "default": 1,
  2146. "markdownDescription": "Specifies how many folders deep to search for repositories",
  2147. "scope": "resource"
  2148. },
  2149. "gitlens.advanced.similarityThreshold": {
  2150. "type": [
  2151. "number",
  2152. "null"
  2153. ],
  2154. "default": null,
  2155. "markdownDescription": "Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename",
  2156. "scope": "window"
  2157. },
  2158. "gitlens.advanced.useSymmetricDifferenceNotation": {
  2159. "type": "boolean",
  2160. "default": true,
  2161. "markdownDescription": "Specifies whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisons. See the [Git docs](https://git-scm.com/docs/gitrevisions#_dotted_range_notations)",
  2162. "scope": "window"
  2163. }
  2164. }
  2165. },
  2166. "configurationDefaults": {
  2167. "[azure-pipelines]": {
  2168. "gitlens.codeLens.scopes": [
  2169. "document"
  2170. ]
  2171. },
  2172. "[ansible]": {
  2173. "gitlens.codeLens.scopes": [
  2174. "document"
  2175. ]
  2176. },
  2177. "[css]": {
  2178. "gitlens.codeLens.scopes": [
  2179. "document"
  2180. ]
  2181. },
  2182. "[html]": {
  2183. "gitlens.codeLens.scopes": [
  2184. "document"
  2185. ]
  2186. },
  2187. "[json]": {
  2188. "gitlens.codeLens.scopes": [
  2189. "document"
  2190. ]
  2191. },
  2192. "[jsonc]": {
  2193. "gitlens.codeLens.scopes": [
  2194. "document"
  2195. ]
  2196. },
  2197. "[less]": {
  2198. "gitlens.codeLens.scopes": [
  2199. "document"
  2200. ]
  2201. },
  2202. "[postcss]": {
  2203. "gitlens.codeLens.scopes": [
  2204. "document"
  2205. ]
  2206. },
  2207. "[python]": {
  2208. "gitlens.codeLens.symbolScopes": [
  2209. "!Module"
  2210. ]
  2211. },
  2212. "[scss]": {
  2213. "gitlens.codeLens.scopes": [
  2214. "document"
  2215. ]
  2216. },
  2217. "[stylus]": {
  2218. "gitlens.codeLens.scopes": [
  2219. "document"
  2220. ]
  2221. },
  2222. "[vue]": {
  2223. "gitlens.codeLens.scopes": [
  2224. "document"
  2225. ]
  2226. },
  2227. "[yaml]": {
  2228. "gitlens.codeLens.scopes": [
  2229. "document"
  2230. ]
  2231. }
  2232. },
  2233. "colors": [
  2234. {
  2235. "id": "gitlens.gutterBackgroundColor",
  2236. "description": "Specifies the background color of the gutter blame annotations",
  2237. "defaults": {
  2238. "dark": "#FFFFFF13",
  2239. "light": "#0000000C",
  2240. "highContrast": "#FFFFFF13"
  2241. }
  2242. },
  2243. {
  2244. "id": "gitlens.gutterForegroundColor",
  2245. "description": "Specifies the foreground color of the gutter blame annotations",
  2246. "defaults": {
  2247. "dark": "#BEBEBE",
  2248. "light": "#747474",
  2249. "highContrast": "#BEBEBE"
  2250. }
  2251. },
  2252. {
  2253. "id": "gitlens.gutterUncommittedForegroundColor",
  2254. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  2255. "defaults": {
  2256. "dark": "#00BCF299",
  2257. "light": "#00BCF299",
  2258. "highContrast": "#00BCF2FF"
  2259. }
  2260. },
  2261. {
  2262. "id": "gitlens.trailingLineBackgroundColor",
  2263. "description": "Specifies the background color of the blame annotation for the current line",
  2264. "defaults": {
  2265. "dark": "#00000000",
  2266. "light": "#00000000",
  2267. "highContrast": "#00000000"
  2268. }
  2269. },
  2270. {
  2271. "id": "gitlens.trailingLineForegroundColor",
  2272. "description": "Specifies the foreground color of the blame annotation for the current line",
  2273. "defaults": {
  2274. "dark": "#99999959",
  2275. "light": "#99999959",
  2276. "highContrast": "#99999999"
  2277. }
  2278. },
  2279. {
  2280. "id": "gitlens.lineHighlightBackgroundColor",
  2281. "description": "Specifies the background color of the associated line highlights in blame annotations",
  2282. "defaults": {
  2283. "dark": "#00BCF233",
  2284. "light": "#00BCF233",
  2285. "highContrast": "#00BCF233"
  2286. }
  2287. },
  2288. {
  2289. "id": "gitlens.lineHighlightOverviewRulerColor",
  2290. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  2291. "defaults": {
  2292. "dark": "#00BCF299",
  2293. "light": "#00BCF299",
  2294. "highContrast": "#00BCF299"
  2295. }
  2296. }
  2297. ],
  2298. "commands": [
  2299. {
  2300. "command": "gitlens.supportGitLens",
  2301. "title": "Sponsor GitLens",
  2302. "category": "GitLens",
  2303. "icon": "$(heart)"
  2304. },
  2305. {
  2306. "command": "gitlens.showSettingsPage",
  2307. "title": "Open Settings",
  2308. "category": "GitLens",
  2309. "icon": "$(gear)"
  2310. },
  2311. {
  2312. "command": "gitlens.showSettingsPage#branches-view",
  2313. "title": "Open Settings",
  2314. "category": "GitLens",
  2315. "icon": "$(gear)"
  2316. },
  2317. {
  2318. "command": "gitlens.showSettingsPage#commits-view",
  2319. "title": "Open Settings",
  2320. "category": "GitLens",
  2321. "icon": "$(gear)"
  2322. },
  2323. {
  2324. "command": "gitlens.showSettingsPage#compare-view",
  2325. "title": "Open Settings",
  2326. "category": "GitLens",
  2327. "icon": "$(gear)"
  2328. },
  2329. {
  2330. "command": "gitlens.showSettingsPage#contributors-view",
  2331. "title": "Open Settings",
  2332. "category": "GitLens",
  2333. "icon": "$(gear)"
  2334. },
  2335. {
  2336. "command": "gitlens.showSettingsPage#file-history-view",
  2337. "title": "Open Settings",
  2338. "category": "GitLens",
  2339. "icon": "$(gear)"
  2340. },
  2341. {
  2342. "command": "gitlens.showSettingsPage#line-history-view",
  2343. "title": "Open Settings",
  2344. "category": "GitLens",
  2345. "icon": "$(gear)"
  2346. },
  2347. {
  2348. "command": "gitlens.showSettingsPage#remotes-view",
  2349. "title": "Open Settings",
  2350. "category": "GitLens",
  2351. "icon": "$(gear)"
  2352. },
  2353. {
  2354. "command": "gitlens.showSettingsPage#repositories-view",
  2355. "title": "Open Settings",
  2356. "category": "GitLens",
  2357. "icon": "$(gear)"
  2358. },
  2359. {
  2360. "command": "gitlens.showSettingsPage#search-commits-view",
  2361. "title": "Open Settings",
  2362. "category": "GitLens",
  2363. "icon": "$(gear)"
  2364. },
  2365. {
  2366. "command": "gitlens.showSettingsPage#stashes-view",
  2367. "title": "Open Settings",
  2368. "category": "GitLens",
  2369. "icon": "$(gear)"
  2370. },
  2371. {
  2372. "command": "gitlens.showSettingsPage#tags-view",
  2373. "title": "Open Settings",
  2374. "category": "GitLens",
  2375. "icon": "$(gear)"
  2376. },
  2377. {
  2378. "command": "gitlens.showWelcomePage",
  2379. "title": "Welcome",
  2380. "category": "GitLens"
  2381. },
  2382. {
  2383. "command": "gitlens.showCompareView",
  2384. "title": "Show Compare View",
  2385. "category": "GitLens"
  2386. },
  2387. {
  2388. "command": "gitlens.showFileHistoryView",
  2389. "title": "Show File History View",
  2390. "category": "GitLens"
  2391. },
  2392. {
  2393. "command": "gitlens.showLineHistoryView",
  2394. "title": "Show Line History View",
  2395. "category": "GitLens"
  2396. },
  2397. {
  2398. "command": "gitlens.showRepositoriesView",
  2399. "title": "Show Repositories View",
  2400. "category": "GitLens"
  2401. },
  2402. {
  2403. "command": "gitlens.showSearchView",
  2404. "title": "Show Search Commits View",
  2405. "category": "GitLens"
  2406. },
  2407. {
  2408. "command": "gitlens.diffDirectory",
  2409. "title": "Directory Compare Working Tree with...",
  2410. "category": "GitLens"
  2411. },
  2412. {
  2413. "command": "gitlens.diffDirectoryWithHead",
  2414. "title": "Directory Compare All Changes",
  2415. "category": "GitLens"
  2416. },
  2417. {
  2418. "command": "gitlens.diffHeadWith",
  2419. "title": "Compare HEAD with...",
  2420. "category": "GitLens"
  2421. },
  2422. {
  2423. "command": "gitlens.diffWorkingWith",
  2424. "title": "Compare Working Tree with...",
  2425. "category": "GitLens"
  2426. },
  2427. {
  2428. "command": "gitlens.diffWithNext",
  2429. "title": "Open Changes with Next Revision",
  2430. "category": "GitLens",
  2431. "icon": {
  2432. "dark": "images/dark/icon-next-commit.svg",
  2433. "light": "images/light/icon-next-commit.svg"
  2434. },
  2435. "enablement": "gitlens:activeFileStatus =~ /revision/"
  2436. },
  2437. {
  2438. "command": "gitlens.diffWithNextInDiffLeft",
  2439. "title": "Open Changes with Next Revision",
  2440. "category": "GitLens",
  2441. "icon": {
  2442. "dark": "images/dark/icon-next-commit.svg",
  2443. "light": "images/light/icon-next-commit.svg"
  2444. },
  2445. "enablement": "gitlens:activeFileStatus =~ /revision/"
  2446. },
  2447. {
  2448. "command": "gitlens.diffWithNextInDiffRight",
  2449. "title": "Open Changes with Next Revision",
  2450. "category": "GitLens",
  2451. "icon": {
  2452. "dark": "images/dark/icon-next-commit.svg",
  2453. "light": "images/light/icon-next-commit.svg"
  2454. },
  2455. "enablement": "gitlens:activeFileStatus =~ /revision/"
  2456. },
  2457. {
  2458. "command": "gitlens.diffWithPrevious",
  2459. "title": "Open Changes with Previous Revision",
  2460. "category": "GitLens",
  2461. "icon": {
  2462. "dark": "images/dark/icon-prev-commit.svg",
  2463. "light": "images/light/icon-prev-commit.svg"
  2464. }
  2465. },
  2466. {
  2467. "command": "gitlens.diffWithPreviousInDiffLeft",
  2468. "title": "Open Changes with Previous Revision",
  2469. "category": "GitLens",
  2470. "icon": {
  2471. "dark": "images/dark/icon-prev-commit.svg",
  2472. "light": "images/light/icon-prev-commit.svg"
  2473. }
  2474. },
  2475. {
  2476. "command": "gitlens.diffWithPreviousInDiffRight",
  2477. "title": "Open Changes with Previous Revision",
  2478. "category": "GitLens",
  2479. "icon": {
  2480. "dark": "images/dark/icon-prev-commit.svg",
  2481. "light": "images/light/icon-prev-commit.svg"
  2482. }
  2483. },
  2484. {
  2485. "command": "gitlens.diffLineWithPrevious",
  2486. "title": "Open Line Changes with Previous Revision",
  2487. "category": "GitLens"
  2488. },
  2489. {
  2490. "command": "gitlens.diffWithRevision",
  2491. "title": "Open Changes with Revision...",
  2492. "category": "GitLens",
  2493. "icon": {
  2494. "dark": "images/dark/icon-prev-commit-menu.svg",
  2495. "light": "images/light/icon-prev-commit-menu.svg"
  2496. }
  2497. },
  2498. {
  2499. "command": "gitlens.diffWithRevisionFrom",
  2500. "title": "Open Changes with Branch or Tag...",
  2501. "category": "GitLens"
  2502. },
  2503. {
  2504. "command": "gitlens.diffWithWorking",
  2505. "title": "Open Changes with Working File",
  2506. "category": "GitLens",
  2507. "icon": {
  2508. "dark": "images/dark/icon-compare-ref-working.svg",
  2509. "light": "images/light/icon-compare-ref-working.svg"
  2510. }
  2511. },
  2512. {
  2513. "command": "gitlens.diffWithWorkingInDiffLeft",
  2514. "title": "Open Changes with Working File",
  2515. "category": "GitLens",
  2516. "icon": {
  2517. "dark": "images/dark/icon-compare-ref-working.svg",
  2518. "light": "images/light/icon-compare-ref-working.svg"
  2519. }
  2520. },
  2521. {
  2522. "command": "gitlens.diffWithWorkingInDiffRight",
  2523. "title": "Open Changes with Working File",
  2524. "category": "GitLens",
  2525. "icon": {
  2526. "dark": "images/dark/icon-compare-ref-working.svg",
  2527. "light": "images/light/icon-compare-ref-working.svg"
  2528. }
  2529. },
  2530. {
  2531. "command": "gitlens.diffLineWithWorking",
  2532. "title": "Open Line Changes with Working File",
  2533. "category": "GitLens"
  2534. },
  2535. {
  2536. "command": "gitlens.toggleFileBlame",
  2537. "title": "Toggle File Blame Annotations",
  2538. "category": "GitLens",
  2539. "icon": {
  2540. "dark": "images/dark/icon-git.svg",
  2541. "light": "images/light/icon-git.svg"
  2542. }
  2543. },
  2544. {
  2545. "command": "gitlens.toggleFileBlameInDiffLeft",
  2546. "title": "Toggle File Blame Annotations",
  2547. "category": "GitLens",
  2548. "icon": {
  2549. "dark": "images/dark/icon-git.svg",
  2550. "light": "images/light/icon-git.svg"
  2551. }
  2552. },
  2553. {
  2554. "command": "gitlens.toggleFileBlameInDiffRight",
  2555. "title": "Toggle File Blame Annotations",
  2556. "category": "GitLens",
  2557. "icon": {
  2558. "dark": "images/dark/icon-git.svg",
  2559. "light": "images/light/icon-git.svg"
  2560. }
  2561. },
  2562. {
  2563. "command": "gitlens.clearFileAnnotations",
  2564. "title": "Clear File Annotations",
  2565. "category": "GitLens",
  2566. "icon": {
  2567. "dark": "images/dark/icon-git-orange.svg",
  2568. "light": "images/light/icon-git-orange.svg"
  2569. }
  2570. },
  2571. {
  2572. "command": "gitlens.computingFileAnnotations",
  2573. "title": "Computing File Annotations...",
  2574. "category": "GitLens",
  2575. "icon": {
  2576. "dark": "images/dark/icon-git-progress.svg",
  2577. "light": "images/light/icon-git-progress.svg"
  2578. }
  2579. },
  2580. {
  2581. "command": "gitlens.toggleFileHeatmap",
  2582. "title": "Toggle File Heatmap Annotations",
  2583. "category": "GitLens",
  2584. "icon": {
  2585. "dark": "images/dark/icon-git.svg",
  2586. "light": "images/light/icon-git.svg"
  2587. }
  2588. },
  2589. {
  2590. "command": "gitlens.toggleFileHeatmapInDiffLeft",
  2591. "title": "Toggle File Heatmap Annotations",
  2592. "category": "GitLens",
  2593. "icon": {
  2594. "dark": "images/dark/icon-git.svg",
  2595. "light": "images/light/icon-git.svg"
  2596. }
  2597. },
  2598. {
  2599. "command": "gitlens.toggleFileHeatmapInDiffRight",
  2600. "title": "Toggle File Heatmap Annotations",
  2601. "category": "GitLens",
  2602. "icon": {
  2603. "dark": "images/dark/icon-git.svg",
  2604. "light": "images/light/icon-git.svg"
  2605. }
  2606. },
  2607. {
  2608. "command": "gitlens.toggleFileChanges",
  2609. "title": "Toggle File Changes Annotations",
  2610. "category": "GitLens",
  2611. "icon": {
  2612. "dark": "images/dark/icon-git.svg",
  2613. "light": "images/light/icon-git.svg"
  2614. }
  2615. },
  2616. {
  2617. "command": "gitlens.toggleLineBlame",
  2618. "title": "Toggle Line Blame Annotations",
  2619. "category": "GitLens"
  2620. },
  2621. {
  2622. "command": "gitlens.toggleCodeLens",
  2623. "title": "Toggle Git Code Lens",
  2624. "category": "GitLens"
  2625. },
  2626. {
  2627. "command": "gitlens.gitCommands",
  2628. "title": "Git Commands",
  2629. "category": "GitLens"
  2630. },
  2631. {
  2632. "command": "gitlens.switchMode",
  2633. "title": "Switch Mode",
  2634. "category": "GitLens"
  2635. },
  2636. {
  2637. "command": "gitlens.toggleReviewMode",
  2638. "title": "Toggle Review Mode",
  2639. "category": "GitLens"
  2640. },
  2641. {
  2642. "command": "gitlens.toggleZenMode",
  2643. "title": "Toggle Zen Mode",
  2644. "category": "GitLens"
  2645. },
  2646. {
  2647. "command": "gitlens.setViewsLayout",
  2648. "title": "Set Views Layout",
  2649. "category": "GitLens"
  2650. },
  2651. {
  2652. "command": "gitlens.showCommitSearch",
  2653. "title": "Search Commits",
  2654. "category": "GitLens",
  2655. "icon": "$(search)"
  2656. },
  2657. {
  2658. "command": "gitlens.showLastQuickPick",
  2659. "title": "Show Last Opened Quick Pick",
  2660. "category": "GitLens"
  2661. },
  2662. {
  2663. "command": "gitlens.revealCommitInView",
  2664. "title": "Reveal Commit in Side Bar",
  2665. "category": "GitLens"
  2666. },
  2667. {
  2668. "command": "gitlens.showCommitInView",
  2669. "title": "Search for Commit in Side Bar",
  2670. "category": "GitLens"
  2671. },
  2672. {
  2673. "command": "gitlens.showCommitsInView",
  2674. "title": "Search for Commits within Selection",
  2675. "category": "GitLens"
  2676. },
  2677. {
  2678. "command": "gitlens.showFileHistoryInView",
  2679. "title": "Show in File History View",
  2680. "category": "GitLens"
  2681. },
  2682. {
  2683. "command": "gitlens.showQuickCommitDetails",
  2684. "title": "Show Commit",
  2685. "category": "GitLens"
  2686. },
  2687. {
  2688. "command": "gitlens.showQuickCommitFileDetails",
  2689. "title": "Show Commit (file)",
  2690. "category": "GitLens"
  2691. },
  2692. {
  2693. "command": "gitlens.showQuickRevisionDetails",
  2694. "title": "Show Revision Details",
  2695. "category": "GitLens",
  2696. "icon": {
  2697. "dark": "images/dark/icon-commit-horizontal.svg",
  2698. "light": "images/light/icon-commit-horizontal.svg"
  2699. },
  2700. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2701. },
  2702. {
  2703. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  2704. "title": "Show Revision Details",
  2705. "category": "GitLens",
  2706. "icon": {
  2707. "dark": "images/dark/icon-commit-horizontal.svg",
  2708. "light": "images/light/icon-commit-horizontal.svg"
  2709. },
  2710. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2711. },
  2712. {
  2713. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  2714. "title": "Show Revision Details",
  2715. "category": "GitLens",
  2716. "icon": {
  2717. "dark": "images/dark/icon-commit-horizontal.svg",
  2718. "light": "images/light/icon-commit-horizontal.svg"
  2719. },
  2720. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2721. },
  2722. {
  2723. "command": "gitlens.showQuickFileHistory",
  2724. "title": "Show File History",
  2725. "category": "GitLens"
  2726. },
  2727. {
  2728. "command": "gitlens.showQuickBranchHistory",
  2729. "title": "Show Branch History",
  2730. "category": "GitLens"
  2731. },
  2732. {
  2733. "command": "gitlens.showQuickRepoHistory",
  2734. "title": "Show Current Branch History",
  2735. "category": "GitLens"
  2736. },
  2737. {
  2738. "command": "gitlens.showQuickRepoStatus",
  2739. "title": "Show Repository Status",
  2740. "category": "GitLens"
  2741. },
  2742. {
  2743. "command": "gitlens.showQuickStashList",
  2744. "title": "Show Stashes",
  2745. "category": "GitLens"
  2746. },
  2747. {
  2748. "command": "gitlens.addAuthors",
  2749. "title": "Add Co-authors",
  2750. "category": "GitLens",
  2751. "icon": {
  2752. "dark": "images/dark/icon-person-add.svg",
  2753. "light": "images/light/icon-person-add.svg"
  2754. }
  2755. },
  2756. {
  2757. "command": "gitlens.connectRemoteProvider",
  2758. "title": "Connect to Remote",
  2759. "category": "GitLens",
  2760. "icon": "$(plug)"
  2761. },
  2762. {
  2763. "command": "gitlens.disconnectRemoteProvider",
  2764. "title": "Disconnect from Remote",
  2765. "category": "GitLens",
  2766. "icon": {
  2767. "dark": "images/dark/icon-unplug.svg",
  2768. "light": "images/light/icon-unplug.svg"
  2769. }
  2770. },
  2771. {
  2772. "command": "gitlens.copyMessageToClipboard",
  2773. "title": "Copy Commit Message",
  2774. "category": "GitLens",
  2775. "icon": {
  2776. "dark": "images/dark/icon-copy-message.svg",
  2777. "light": "images/light/icon-copy-message.svg"
  2778. }
  2779. },
  2780. {
  2781. "command": "gitlens.copyRemoteCommitUrl",
  2782. "title": "Copy Remote Commit Url",
  2783. "category": "GitLens",
  2784. "icon": {
  2785. "dark": "images/dark/icon-copy-link.svg",
  2786. "light": "images/light/icon-copy-link.svg"
  2787. }
  2788. },
  2789. {
  2790. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2791. "title": "Copy Remote File Url",
  2792. "category": "GitLens",
  2793. "icon": {
  2794. "dark": "images/dark/icon-copy-link.svg",
  2795. "light": "images/light/icon-copy-link.svg"
  2796. }
  2797. },
  2798. {
  2799. "command": "gitlens.copyShaToClipboard",
  2800. "title": "Copy Commit ID",
  2801. "category": "GitLens",
  2802. "icon": {
  2803. "dark": "images/dark/icon-copy.svg",
  2804. "light": "images/light/icon-copy.svg"
  2805. }
  2806. },
  2807. {
  2808. "command": "gitlens.closeUnchangedFiles",
  2809. "title": "Close Unchanged Files",
  2810. "category": "GitLens"
  2811. },
  2812. {
  2813. "command": "gitlens.openChangedFiles",
  2814. "title": "Open Changed Files",
  2815. "category": "GitLens"
  2816. },
  2817. {
  2818. "command": "gitlens.openBranchesInRemote",
  2819. "title": "Open Branches on Remote",
  2820. "category": "GitLens",
  2821. "icon": "$(globe)"
  2822. },
  2823. {
  2824. "command": "gitlens.copyRemoteBranchesUrl",
  2825. "title": "Copy Remote Branches Url",
  2826. "category": "GitLens",
  2827. "icon": {
  2828. "dark": "images/dark/icon-copy-link.svg",
  2829. "light": "images/light/icon-copy-link.svg"
  2830. }
  2831. },
  2832. {
  2833. "command": "gitlens.openBranchInRemote",
  2834. "title": "Open Branch on Remote",
  2835. "category": "GitLens",
  2836. "icon": "$(globe)"
  2837. },
  2838. {
  2839. "command": "gitlens.copyRemoteBranchUrl",
  2840. "title": "Copy Remote Branch Url",
  2841. "category": "GitLens",
  2842. "icon": {
  2843. "dark": "images/dark/icon-copy-link.svg",
  2844. "light": "images/light/icon-copy-link.svg"
  2845. }
  2846. },
  2847. {
  2848. "command": "gitlens.openCommitInRemote",
  2849. "title": "Open Commit on Remote",
  2850. "category": "GitLens",
  2851. "icon": "$(globe)"
  2852. },
  2853. {
  2854. "command": "gitlens.openFileFromRemote",
  2855. "title": "Open File from Remote",
  2856. "category": "GitLens"
  2857. },
  2858. {
  2859. "command": "gitlens.openFileInRemote",
  2860. "title": "Open File on Remote",
  2861. "category": "GitLens",
  2862. "icon": "$(globe)"
  2863. },
  2864. {
  2865. "command": "gitlens.openFileRevision",
  2866. "title": "Open File at Revision...",
  2867. "icon": {
  2868. "dark": "images/dark/icon-open-revision.svg",
  2869. "light": "images/light/icon-open-revision.svg"
  2870. },
  2871. "category": "GitLens"
  2872. },
  2873. {
  2874. "command": "gitlens.openFileRevisionFrom",
  2875. "title": "Open File at Revision from...",
  2876. "icon": {
  2877. "dark": "images/dark/icon-open-revision.svg",
  2878. "light": "images/light/icon-open-revision.svg"
  2879. },
  2880. "category": "GitLens"
  2881. },
  2882. {
  2883. "command": "gitlens.openRepoInRemote",
  2884. "title": "Open Repository on Remote",
  2885. "category": "GitLens",
  2886. "icon": "$(globe)"
  2887. },
  2888. {
  2889. "command": "gitlens.copyRemoteRepositoryUrl",
  2890. "title": "Copy Remote Repository Url",
  2891. "category": "GitLens",
  2892. "icon": {
  2893. "dark": "images/dark/icon-copy-link.svg",
  2894. "light": "images/light/icon-copy-link.svg"
  2895. }
  2896. },
  2897. {
  2898. "command": "gitlens.openRevisionFile",
  2899. "title": "Open File at Revision",
  2900. "category": "GitLens",
  2901. "icon": {
  2902. "dark": "images/dark/icon-open-revision.svg",
  2903. "light": "images/light/icon-open-revision.svg"
  2904. },
  2905. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2906. },
  2907. {
  2908. "command": "gitlens.openRevisionFileInDiffLeft",
  2909. "title": "Open File at Revision",
  2910. "category": "GitLens",
  2911. "icon": {
  2912. "dark": "images/dark/icon-open-revision.svg",
  2913. "light": "images/light/icon-open-revision.svg"
  2914. },
  2915. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2916. },
  2917. {
  2918. "command": "gitlens.openRevisionFileInDiffRight",
  2919. "title": "Open File at Revision",
  2920. "category": "GitLens",
  2921. "icon": {
  2922. "dark": "images/dark/icon-open-revision.svg",
  2923. "light": "images/light/icon-open-revision.svg"
  2924. },
  2925. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2926. },
  2927. {
  2928. "command": "gitlens.openWorkingFile",
  2929. "title": "Open File",
  2930. "category": "GitLens",
  2931. "icon": "$(go-to-file)"
  2932. },
  2933. {
  2934. "command": "gitlens.openWorkingFileInDiffLeft",
  2935. "title": "Open File",
  2936. "category": "GitLens",
  2937. "icon": "$(go-to-file)"
  2938. },
  2939. {
  2940. "command": "gitlens.openWorkingFileInDiffRight",
  2941. "title": "Open File",
  2942. "category": "GitLens",
  2943. "icon": "$(go-to-file)"
  2944. },
  2945. {
  2946. "command": "gitlens.stashApply",
  2947. "title": "Apply Stash",
  2948. "category": "GitLens",
  2949. "icon": {
  2950. "dark": "images/dark/icon-stash-pop.svg",
  2951. "light": "images/light/icon-stash-pop.svg"
  2952. }
  2953. },
  2954. {
  2955. "command": "gitlens.views.deleteStash",
  2956. "title": "Delete Stash...",
  2957. "category": "GitLens",
  2958. "icon": "$(trash)"
  2959. },
  2960. {
  2961. "command": "gitlens.stashSave",
  2962. "title": "Stash All Changes",
  2963. "category": "GitLens",
  2964. "icon": {
  2965. "dark": "images/dark/icon-stash-save.svg",
  2966. "light": "images/light/icon-stash-save.svg"
  2967. }
  2968. },
  2969. {
  2970. "command": "gitlens.stashSaveFiles",
  2971. "title": "Stash Changes",
  2972. "category": "GitLens",
  2973. "icon": {
  2974. "dark": "images/dark/icon-stash-save.svg",
  2975. "light": "images/light/icon-stash-save.svg"
  2976. }
  2977. },
  2978. {
  2979. "command": "gitlens.externalDiff",
  2980. "title": "Open Changes (with difftool)",
  2981. "category": "GitLens"
  2982. },
  2983. {
  2984. "command": "gitlens.externalDiffAll",
  2985. "title": "Open All Changes (with difftool)",
  2986. "category": "GitLens"
  2987. },
  2988. {
  2989. "command": "gitlens.resetSuppressedWarnings",
  2990. "title": "Reset Suppressed Warnings",
  2991. "category": "GitLens"
  2992. },
  2993. {
  2994. "command": "gitlens.inviteToLiveShare",
  2995. "title": "Invite to Live Share",
  2996. "category": "GitLens",
  2997. "icon": "$(live-share)"
  2998. },
  2999. {
  3000. "command": "gitlens.browseRepoAtRevision",
  3001. "title": "Browse Repository at Revision",
  3002. "category": "GitLens",
  3003. "icon": "$(folder-opened)",
  3004. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3005. },
  3006. {
  3007. "command": "gitlens.browseRepoAtRevisionInNewWindow",
  3008. "title": "Browse Repository at Revision in New Window",
  3009. "category": "GitLens",
  3010. "icon": "$(folder-opened)",
  3011. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3012. },
  3013. {
  3014. "command": "gitlens.views.browseRepoAtRevision",
  3015. "title": "Browse Repository from Here",
  3016. "category": "GitLens",
  3017. "icon": "$(folder-opened)"
  3018. },
  3019. {
  3020. "command": "gitlens.views.browseRepoAtRevisionInNewWindow",
  3021. "title": "Browse Repository from Here in New Window",
  3022. "category": "GitLens",
  3023. "icon": "$(folder-opened)"
  3024. },
  3025. {
  3026. "command": "gitlens.fetchRepositories",
  3027. "title": "Fetch Repositories",
  3028. "category": "GitLens",
  3029. "icon": "$(sync)"
  3030. },
  3031. {
  3032. "command": "gitlens.pullRepositories",
  3033. "title": "Pull Repositories",
  3034. "category": "GitLens",
  3035. "icon": "$(arrow-down)"
  3036. },
  3037. {
  3038. "command": "gitlens.pushRepositories",
  3039. "title": "Push Repositories",
  3040. "category": "GitLens",
  3041. "icon": "$(arrow-up)"
  3042. },
  3043. {
  3044. "command": "gitlens.views.addRemote",
  3045. "title": "Add Remote",
  3046. "category": "GitLens",
  3047. "icon": "$(add)"
  3048. },
  3049. {
  3050. "command": "gitlens.views.highlightChanges",
  3051. "title": "Highlight Changes",
  3052. "category": "GitLens"
  3053. },
  3054. {
  3055. "command": "gitlens.views.highlightRevisionChanges",
  3056. "title": "Highlight Revision Changes",
  3057. "category": "GitLens"
  3058. },
  3059. {
  3060. "command": "gitlens.views.restore",
  3061. "title": "Restore",
  3062. "category": "GitLens",
  3063. "icon": {
  3064. "dark": "images/dark/icon-checkout.svg",
  3065. "light": "images/light/icon-checkout.svg"
  3066. }
  3067. },
  3068. {
  3069. "command": "gitlens.views.switchToAnotherBranch",
  3070. "title": "Switch to Another Branch...",
  3071. "category": "GitLens",
  3072. "icon": {
  3073. "dark": "images/dark/icon-checkout.svg",
  3074. "light": "images/light/icon-checkout.svg"
  3075. }
  3076. },
  3077. {
  3078. "command": "gitlens.views.switchToBranch",
  3079. "title": "Switch to Branch...",
  3080. "category": "GitLens",
  3081. "icon": {
  3082. "dark": "images/dark/icon-checkout.svg",
  3083. "light": "images/light/icon-checkout.svg"
  3084. }
  3085. },
  3086. {
  3087. "command": "gitlens.views.switchToCommit",
  3088. "title": "Switch to Commit...",
  3089. "category": "GitLens",
  3090. "icon": {
  3091. "dark": "images/dark/icon-checkout.svg",
  3092. "light": "images/light/icon-checkout.svg"
  3093. }
  3094. },
  3095. {
  3096. "command": "gitlens.views.switchToTag",
  3097. "title": "Switch to Tag...",
  3098. "category": "GitLens",
  3099. "icon": {
  3100. "dark": "images/dark/icon-checkout.svg",
  3101. "light": "images/light/icon-checkout.svg"
  3102. }
  3103. },
  3104. {
  3105. "command": "gitlens.views.copy",
  3106. "title": "Copy",
  3107. "category": "GitLens"
  3108. },
  3109. {
  3110. "command": "gitlens.views.pruneRemote",
  3111. "title": "Prune",
  3112. "category": "GitLens"
  3113. },
  3114. {
  3115. "command": "gitlens.views.fetch",
  3116. "title": "Fetch",
  3117. "category": "GitLens",
  3118. "icon": "$(sync)"
  3119. },
  3120. {
  3121. "command": "gitlens.views.publishBranch",
  3122. "title": "Publish Branch",
  3123. "category": "GitLens",
  3124. "icon": "$(cloud-upload)"
  3125. },
  3126. {
  3127. "command": "gitlens.views.pull",
  3128. "title": "Pull",
  3129. "category": "GitLens",
  3130. "icon": "$(arrow-down)"
  3131. },
  3132. {
  3133. "command": "gitlens.views.push",
  3134. "title": "Push",
  3135. "category": "GitLens",
  3136. "icon": "$(arrow-up)"
  3137. },
  3138. {
  3139. "command": "gitlens.views.pushWithForce",
  3140. "title": "Push (force)",
  3141. "category": "GitLens",
  3142. "icon": {
  3143. "dark": "images/dark/icon-push-force.svg",
  3144. "light": "images/light/icon-push-force.svg"
  3145. }
  3146. },
  3147. {
  3148. "command": "gitlens.views.openInTerminal",
  3149. "title": "Open in Terminal",
  3150. "category": "GitLens"
  3151. },
  3152. {
  3153. "command": "gitlens.views.setAsDefault",
  3154. "title": "Set as Default",
  3155. "category": "GitLens"
  3156. },
  3157. {
  3158. "command": "gitlens.views.unsetAsDefault",
  3159. "title": "Unset as Default",
  3160. "category": "GitLens"
  3161. },
  3162. {
  3163. "command": "gitlens.views.stageDirectory",
  3164. "title": "Stage All Changes",
  3165. "category": "GitLens",
  3166. "icon": "$(add)"
  3167. },
  3168. {
  3169. "command": "gitlens.views.stageFile",
  3170. "title": "Stage Changes",
  3171. "category": "GitLens",
  3172. "icon": "$(add)"
  3173. },
  3174. {
  3175. "command": "gitlens.views.unstageDirectory",
  3176. "title": "Unstage All Changes",
  3177. "category": "GitLens",
  3178. "icon": "$(remove)"
  3179. },
  3180. {
  3181. "command": "gitlens.views.unstageFile",
  3182. "title": "Unstage Changes",
  3183. "category": "GitLens",
  3184. "icon": "$(remove)"
  3185. },
  3186. {
  3187. "command": "gitlens.views.star",
  3188. "title": "Add to Favorites",
  3189. "category": "GitLens",
  3190. "icon": "$(star-empty)"
  3191. },
  3192. {
  3193. "command": "gitlens.views.unstar",
  3194. "title": "Remove from Favorites",
  3195. "category": "GitLens",
  3196. "icon": "$(star-full)"
  3197. },
  3198. {
  3199. "command": "gitlens.views.openDirectoryDiff",
  3200. "title": "Open Directory Compare",
  3201. "category": "GitLens"
  3202. },
  3203. {
  3204. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3205. "title": "Open Directory Compare with Working Tree",
  3206. "category": "GitLens"
  3207. },
  3208. {
  3209. "command": "gitlens.views.openChanges",
  3210. "title": "Open Changes",
  3211. "category": "GitLens"
  3212. },
  3213. {
  3214. "command": "gitlens.views.openChangesWithWorking",
  3215. "title": "Open Changes with Working File",
  3216. "category": "GitLens",
  3217. "icon": {
  3218. "dark": "images/dark/icon-compare-ref-working.svg",
  3219. "light": "images/light/icon-compare-ref-working.svg"
  3220. }
  3221. },
  3222. {
  3223. "command": "gitlens.views.openFile",
  3224. "title": "Open File",
  3225. "category": "GitLens",
  3226. "icon": "$(go-to-file)"
  3227. },
  3228. {
  3229. "command": "gitlens.views.openFileRevision",
  3230. "title": "Open File at Revision",
  3231. "category": "GitLens",
  3232. "icon": {
  3233. "dark": "images/dark/icon-open-revision.svg",
  3234. "light": "images/light/icon-open-revision.svg"
  3235. }
  3236. },
  3237. {
  3238. "command": "gitlens.views.openFileRevisionInRemote",
  3239. "title": "Open File at Revision on Remote",
  3240. "category": "GitLens",
  3241. "icon": "$(globe)"
  3242. },
  3243. {
  3244. "command": "gitlens.views.openChangedFiles",
  3245. "title": "Open Files",
  3246. "category": "GitLens"
  3247. },
  3248. {
  3249. "command": "gitlens.views.openChangedFileDiffs",
  3250. "title": "Open All Changes",
  3251. "category": "GitLens"
  3252. },
  3253. {
  3254. "command": "gitlens.views.openChangedFileDiffsWithWorking",
  3255. "title": "Open All Changes with Working Tree",
  3256. "category": "GitLens"
  3257. },
  3258. {
  3259. "command": "gitlens.views.openChangedFileRevisions",
  3260. "title": "Open Files at Revision",
  3261. "category": "GitLens"
  3262. },
  3263. {
  3264. "command": "gitlens.views.applyChanges",
  3265. "title": "Apply Changes",
  3266. "category": "GitLens"
  3267. },
  3268. {
  3269. "command": "gitlens.views.closeRepository",
  3270. "title": "Close Repository",
  3271. "category": "GitLens"
  3272. },
  3273. {
  3274. "command": "gitlens.views.compareAncestryWithWorking",
  3275. "title": "Compare Ancestry with Working Tree",
  3276. "category": "GitLens"
  3277. },
  3278. {
  3279. "command": "gitlens.views.compareWithHead",
  3280. "title": "Compare with HEAD",
  3281. "category": "GitLens",
  3282. "icon": "$(compare-changes)"
  3283. },
  3284. {
  3285. "command": "gitlens.views.compareWithUpstream",
  3286. "title": "Compare with Upstream",
  3287. "category": "GitLens",
  3288. "icon": {
  3289. "dark": "images/dark/icon-compare-ref-remote.svg",
  3290. "light": "images/light/icon-compare-ref-remote.svg"
  3291. }
  3292. },
  3293. {
  3294. "command": "gitlens.views.compareWithSelected",
  3295. "title": "Compare with Selected",
  3296. "category": "GitLens"
  3297. },
  3298. {
  3299. "command": "gitlens.views.selectForCompare",
  3300. "title": "Select for Compare",
  3301. "category": "GitLens"
  3302. },
  3303. {
  3304. "command": "gitlens.views.compareFileWithSelected",
  3305. "title": "Compare with Selected",
  3306. "category": "GitLens"
  3307. },
  3308. {
  3309. "command": "gitlens.views.selectFileForCompare",
  3310. "title": "Select for Compare",
  3311. "category": "GitLens"
  3312. },
  3313. {
  3314. "command": "gitlens.views.compareWithWorking",
  3315. "title": "Compare with Working Tree",
  3316. "category": "GitLens",
  3317. "icon": {
  3318. "dark": "images/dark/icon-compare-ref-working.svg",
  3319. "light": "images/light/icon-compare-ref-working.svg"
  3320. }
  3321. },
  3322. {
  3323. "command": "gitlens.views.addAuthors",
  3324. "title": "Add Co-authors",
  3325. "category": "GitLens",
  3326. "icon": {
  3327. "dark": "images/dark/icon-person-add.svg",
  3328. "light": "images/light/icon-person-add.svg"
  3329. }
  3330. },
  3331. {
  3332. "command": "gitlens.views.addAuthor",
  3333. "title": "Add as Co-author",
  3334. "category": "GitLens",
  3335. "icon": {
  3336. "dark": "images/dark/icon-person-add.svg",
  3337. "light": "images/light/icon-person-add.svg"
  3338. }
  3339. },
  3340. {
  3341. "command": "gitlens.views.copyContributorToClipboard",
  3342. "title": "Copy",
  3343. "category": "GitLens",
  3344. "icon": {
  3345. "dark": "images/dark/icon-copy.svg",
  3346. "light": "images/light/icon-copy.svg"
  3347. }
  3348. },
  3349. {
  3350. "command": "gitlens.views.setComparisonToTwoDot",
  3351. "title": "Toggle Comparison Type (Two-dot)",
  3352. "category": "GitLens",
  3353. "icon": {
  3354. "dark": "images/dark/icon-compare-twodot.svg",
  3355. "light": "images/light/icon-compare-twodot.svg"
  3356. }
  3357. },
  3358. {
  3359. "command": "gitlens.views.setComparisonToThreeDot",
  3360. "title": "Toggle Comparison Type (Three-dot)",
  3361. "category": "GitLens",
  3362. "icon": {
  3363. "dark": "images/dark/icon-compare-threedot.svg",
  3364. "light": "images/light/icon-compare-threedot.svg"
  3365. }
  3366. },
  3367. {
  3368. "command": "gitlens.views.cherryPick",
  3369. "title": "Cherry Pick Commit...",
  3370. "category": "GitLens"
  3371. },
  3372. {
  3373. "command": "gitlens.views.createBranch",
  3374. "title": "Create Branch...",
  3375. "category": "GitLens",
  3376. "icon": "$(add)"
  3377. },
  3378. {
  3379. "command": "gitlens.views.deleteBranch",
  3380. "title": "Delete Branch...",
  3381. "category": "GitLens"
  3382. },
  3383. {
  3384. "command": "gitlens.views.renameBranch",
  3385. "title": "Rename Branch...",
  3386. "category": "GitLens"
  3387. },
  3388. {
  3389. "command": "gitlens.views.createTag",
  3390. "title": "Create Tag...",
  3391. "category": "GitLens",
  3392. "icon": "$(add)"
  3393. },
  3394. {
  3395. "command": "gitlens.views.deleteTag",
  3396. "title": "Delete Tag...",
  3397. "category": "GitLens"
  3398. },
  3399. {
  3400. "command": "gitlens.views.mergeBranchInto",
  3401. "title": "Merge Branch into Current Branch...",
  3402. "category": "GitLens"
  3403. },
  3404. {
  3405. "command": "gitlens.views.pushToCommit",
  3406. "title": "Push to Commit...",
  3407. "category": "GitLens"
  3408. },
  3409. {
  3410. "command": "gitlens.views.rebaseOntoBranch",
  3411. "title": "Rebase Current Branch onto Branch...",
  3412. "category": "GitLens"
  3413. },
  3414. {
  3415. "command": "gitlens.views.rebaseOntoCommit",
  3416. "title": "Rebase Current Branch onto Commit...",
  3417. "category": "GitLens"
  3418. },
  3419. {
  3420. "command": "gitlens.views.rebaseOntoUpstream",
  3421. "title": "Rebase Current Branch onto Upstream...",
  3422. "category": "GitLens"
  3423. },
  3424. {
  3425. "command": "gitlens.views.resetCommit",
  3426. "title": "Reset Commit...",
  3427. "category": "GitLens"
  3428. },
  3429. {
  3430. "command": "gitlens.views.resetToCommit",
  3431. "title": "Reset Current Branch to Commit...",
  3432. "category": "GitLens"
  3433. },
  3434. {
  3435. "command": "gitlens.views.revert",
  3436. "title": "Revert Commit...",
  3437. "category": "GitLens"
  3438. },
  3439. {
  3440. "command": "gitlens.views.terminalRemoveRemote",
  3441. "title": "Remove Remote (via Terminal)",
  3442. "category": "GitLens"
  3443. },
  3444. {
  3445. "command": "gitlens.views.setBranchComparisonToWorking",
  3446. "title": "Toggle Comparison Source (Working Tree)",
  3447. "category": "GitLens",
  3448. "icon": {
  3449. "dark": "images/dark/icon-compare-ref-working.svg",
  3450. "light": "images/light/icon-compare-ref-working.svg"
  3451. }
  3452. },
  3453. {
  3454. "command": "gitlens.views.setBranchComparisonToBranch",
  3455. "title": "Toggle Comparison Source (Branch)",
  3456. "category": "GitLens",
  3457. "icon": "$(compare-changes)"
  3458. },
  3459. {
  3460. "command": "gitlens.views.clearNode",
  3461. "title": "Clear",
  3462. "category": "GitLens",
  3463. "icon": "$(close)"
  3464. },
  3465. {
  3466. "command": "gitlens.views.dismissNode",
  3467. "title": "Dismiss",
  3468. "category": "GitLens",
  3469. "icon": "$(close)"
  3470. },
  3471. {
  3472. "command": "gitlens.views.expandNode",
  3473. "title": "Expand",
  3474. "category": "GitLens"
  3475. },
  3476. {
  3477. "command": "gitlens.views.refreshNode",
  3478. "title": "Refresh",
  3479. "category": "GitLens",
  3480. "icon": "$(refresh)"
  3481. },
  3482. {
  3483. "command": "gitlens.views.loadMoreChildren",
  3484. "title": "Load More",
  3485. "category": "GitLens"
  3486. },
  3487. {
  3488. "command": "gitlens.views.loadAllChildren",
  3489. "title": "Load All",
  3490. "category": "GitLens",
  3491. "icon": {
  3492. "dark": "images/dark/icon-unfold.svg",
  3493. "light": "images/light/icon-unfold.svg"
  3494. }
  3495. },
  3496. {
  3497. "command": "gitlens.views.branches.copy",
  3498. "title": "Copy",
  3499. "category": "GitLens"
  3500. },
  3501. {
  3502. "command": "gitlens.views.branches.refresh",
  3503. "title": "Refresh",
  3504. "category": "GitLens",
  3505. "icon": "$(refresh)"
  3506. },
  3507. {
  3508. "command": "gitlens.views.branches.setLayoutToList",
  3509. "title": "Toggle Layout (Tree)",
  3510. "category": "GitLens",
  3511. "icon": "$(list-tree)"
  3512. },
  3513. {
  3514. "command": "gitlens.views.branches.setLayoutToTree",
  3515. "title": "Toggle Layout (List)",
  3516. "category": "GitLens",
  3517. "icon": "$(list-flat)"
  3518. },
  3519. {
  3520. "command": "gitlens.views.branches.setFilesLayoutToAuto",
  3521. "title": "Toggle File Layout (Tree)",
  3522. "category": "GitLens",
  3523. "icon": "$(list-tree)"
  3524. },
  3525. {
  3526. "command": "gitlens.views.branches.setFilesLayoutToList",
  3527. "title": "Toggle File Layout (Auto)",
  3528. "category": "GitLens",
  3529. "icon": {
  3530. "dark": "images/dark/icon-view-auto.svg",
  3531. "light": "images/light/icon-view-auto.svg"
  3532. }
  3533. },
  3534. {
  3535. "command": "gitlens.views.branches.setFilesLayoutToTree",
  3536. "title": "Toggle File Layout (List)",
  3537. "category": "GitLens",
  3538. "icon": "$(list-flat)"
  3539. },
  3540. {
  3541. "command": "gitlens.views.branches.setShowAvatarsOn",
  3542. "title": "Show Avatars",
  3543. "category": "GitLens"
  3544. },
  3545. {
  3546. "command": "gitlens.views.branches.setShowAvatarsOff",
  3547. "title": "Hide Avatars",
  3548. "category": "GitLens"
  3549. },
  3550. {
  3551. "command": "gitlens.views.commits.copy",
  3552. "title": "Copy",
  3553. "category": "GitLens"
  3554. },
  3555. {
  3556. "command": "gitlens.views.commits.refresh",
  3557. "title": "Refresh",
  3558. "category": "GitLens",
  3559. "icon": "$(refresh)"
  3560. },
  3561. {
  3562. "command": "gitlens.views.commits.setFilesLayoutToAuto",
  3563. "title": "Toggle File Layout (Tree)",
  3564. "category": "GitLens",
  3565. "icon": "$(list-tree)"
  3566. },
  3567. {
  3568. "command": "gitlens.views.commits.setFilesLayoutToList",
  3569. "title": "Toggle File Layout (Auto)",
  3570. "category": "GitLens",
  3571. "icon": {
  3572. "dark": "images/dark/icon-view-auto.svg",
  3573. "light": "images/light/icon-view-auto.svg"
  3574. }
  3575. },
  3576. {
  3577. "command": "gitlens.views.commits.setFilesLayoutToTree",
  3578. "title": "Toggle File Layout (List)",
  3579. "category": "GitLens",
  3580. "icon": "$(list-flat)"
  3581. },
  3582. {
  3583. "command": "gitlens.views.commits.setMyCommitsOnlyOn",
  3584. "title": "Toggle Authors (Everyone)",
  3585. "category": "GitLens",
  3586. "icon": "$(organization)"
  3587. },
  3588. {
  3589. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  3590. "title": "Toggle Authors (You)",
  3591. "category": "GitLens",
  3592. "icon": "$(person)"
  3593. },
  3594. {
  3595. "command": "gitlens.views.commits.setShowAvatarsOn",
  3596. "title": "Show Avatars",
  3597. "category": "GitLens"
  3598. },
  3599. {
  3600. "command": "gitlens.views.commits.setShowAvatarsOff",
  3601. "title": "Hide Avatars",
  3602. "category": "GitLens"
  3603. },
  3604. {
  3605. "command": "gitlens.views.commits.setShowBranchComparisonOn",
  3606. "title": "Show Branch Comparison",
  3607. "category": "GitLens"
  3608. },
  3609. {
  3610. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  3611. "title": "Hide Branch Comparison",
  3612. "category": "GitLens"
  3613. },
  3614. {
  3615. "command": "gitlens.views.compare.clear",
  3616. "title": "Clear Results",
  3617. "category": "GitLens",
  3618. "icon": "$(clear-all)"
  3619. },
  3620. {
  3621. "command": "gitlens.views.compare.copy",
  3622. "title": "Copy",
  3623. "category": "GitLens"
  3624. },
  3625. {
  3626. "command": "gitlens.views.compare.pinComparison",
  3627. "title": "Pin Comparison",
  3628. "category": "GitLens",
  3629. "icon": {
  3630. "dark": "images/dark/icon-pin.svg",
  3631. "light": "images/light/icon-pin.svg"
  3632. }
  3633. },
  3634. {
  3635. "command": "gitlens.views.compare.unpinComparison",
  3636. "title": "Unpin Comparison",
  3637. "category": "GitLens",
  3638. "icon": "$(pin)"
  3639. },
  3640. {
  3641. "command": "gitlens.views.compare.refresh",
  3642. "title": "Refresh",
  3643. "category": "GitLens",
  3644. "icon": "$(refresh)"
  3645. },
  3646. {
  3647. "command": "gitlens.views.compare.selectForCompare",
  3648. "title": "Compare References...",
  3649. "category": "GitLens",
  3650. "icon": "$(compare-changes)"
  3651. },
  3652. {
  3653. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3654. "title": "Automatic Layout",
  3655. "category": "GitLens",
  3656. "icon": "$(list-tree)"
  3657. },
  3658. {
  3659. "command": "gitlens.views.compare.setFilesLayoutToList",
  3660. "title": "List Layout",
  3661. "category": "GitLens",
  3662. "icon": {
  3663. "dark": "images/dark/icon-view-auto.svg",
  3664. "light": "images/light/icon-view-auto.svg"
  3665. }
  3666. },
  3667. {
  3668. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3669. "title": "Tree Layout",
  3670. "category": "GitLens",
  3671. "icon": "$(list-flat)"
  3672. },
  3673. {
  3674. "command": "gitlens.views.compare.setKeepResultsToOn",
  3675. "title": "Keep Results",
  3676. "category": "GitLens",
  3677. "icon": "$(unlock)"
  3678. },
  3679. {
  3680. "command": "gitlens.views.compare.setKeepResultsToOff",
  3681. "title": "Keep Results",
  3682. "category": "GitLens",
  3683. "icon": "$(lock)"
  3684. },
  3685. {
  3686. "command": "gitlens.views.compare.setShowAvatarsOn",
  3687. "title": "Show Avatars",
  3688. "category": "GitLens"
  3689. },
  3690. {
  3691. "command": "gitlens.views.compare.setShowAvatarsOff",
  3692. "title": "Hide Avatars",
  3693. "category": "GitLens"
  3694. },
  3695. {
  3696. "command": "gitlens.views.compare.swapComparison",
  3697. "title": "Swap Comparison",
  3698. "category": "GitLens",
  3699. "icon": {
  3700. "dark": "images/dark/icon-swap.svg",
  3701. "light": "images/light/icon-swap.svg"
  3702. }
  3703. },
  3704. {
  3705. "command": "gitlens.views.contributors.copy",
  3706. "title": "Copy",
  3707. "category": "GitLens"
  3708. },
  3709. {
  3710. "command": "gitlens.views.contributors.refresh",
  3711. "title": "Refresh",
  3712. "category": "GitLens",
  3713. "icon": "$(refresh)"
  3714. },
  3715. {
  3716. "command": "gitlens.views.contributors.setFilesLayoutToAuto",
  3717. "title": "Toggle File Layout (Tree)",
  3718. "category": "GitLens",
  3719. "icon": "$(list-tree)"
  3720. },
  3721. {
  3722. "command": "gitlens.views.contributors.setFilesLayoutToList",
  3723. "title": "Toggle File Layout (Auto)",
  3724. "category": "GitLens",
  3725. "icon": {
  3726. "dark": "images/dark/icon-view-auto.svg",
  3727. "light": "images/light/icon-view-auto.svg"
  3728. }
  3729. },
  3730. {
  3731. "command": "gitlens.views.contributors.setFilesLayoutToTree",
  3732. "title": "Toggle File Layout (List)",
  3733. "category": "GitLens",
  3734. "icon": "$(list-flat)"
  3735. },
  3736. {
  3737. "command": "gitlens.views.contributors.setShowAvatarsOn",
  3738. "title": "Show Avatars",
  3739. "category": "GitLens"
  3740. },
  3741. {
  3742. "command": "gitlens.views.contributors.setShowAvatarsOff",
  3743. "title": "Hide Avatars",
  3744. "category": "GitLens"
  3745. },
  3746. {
  3747. "command": "gitlens.views.fileHistory.changeBase",
  3748. "title": "Change Base...",
  3749. "category": "GitLens",
  3750. "icon": "$(history)"
  3751. },
  3752. {
  3753. "command": "gitlens.views.fileHistory.copy",
  3754. "title": "Copy",
  3755. "category": "GitLens"
  3756. },
  3757. {
  3758. "command": "gitlens.views.fileHistory.refresh",
  3759. "title": "Refresh",
  3760. "category": "GitLens",
  3761. "icon": "$(refresh)"
  3762. },
  3763. {
  3764. "command": "gitlens.views.fileHistory.setCursorFollowingOn",
  3765. "title": "Toggle File/Line History (File)",
  3766. "category": "GitLens",
  3767. "icon": "$(file)"
  3768. },
  3769. {
  3770. "command": "gitlens.views.fileHistory.setCursorFollowingOff",
  3771. "title": "Toggle File/Line History (Line)",
  3772. "category": "GitLens",
  3773. "icon": "$(list-selection)"
  3774. },
  3775. {
  3776. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3777. "title": "Unpin the Current File History",
  3778. "category": "GitLens",
  3779. "icon": "$(pinned)"
  3780. },
  3781. {
  3782. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3783. "title": "Pin the Current File History",
  3784. "category": "GitLens",
  3785. "icon": "$(pin)"
  3786. },
  3787. {
  3788. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3789. "title": "Follow Renames",
  3790. "category": "GitLens",
  3791. "enablement": "!config.gitlens.advanced.fileHistoryShowAllBranches"
  3792. },
  3793. {
  3794. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3795. "title": "Don't Follow Renames",
  3796. "category": "GitLens",
  3797. "enablement": "!config.gitlens.advanced.fileHistoryShowAllBranches"
  3798. },
  3799. {
  3800. "command": "gitlens.views.fileHistory.setShowAllBranchesOn",
  3801. "title": "Show Commits from All Branches",
  3802. "category": "GitLens"
  3803. },
  3804. {
  3805. "command": "gitlens.views.fileHistory.setShowAllBranchesOff",
  3806. "title": "Show Commits from Current Branch Only",
  3807. "category": "GitLens"
  3808. },
  3809. {
  3810. "command": "gitlens.views.fileHistory.setShowAvatarsOn",
  3811. "title": "Show Avatars",
  3812. "category": "GitLens"
  3813. },
  3814. {
  3815. "command": "gitlens.views.fileHistory.setShowAvatarsOff",
  3816. "title": "Hide Avatars",
  3817. "category": "GitLens"
  3818. },
  3819. {
  3820. "command": "gitlens.views.lineHistory.changeBase",
  3821. "title": "Change Base...",
  3822. "category": "GitLens",
  3823. "icon": "$(history)"
  3824. },
  3825. {
  3826. "command": "gitlens.views.lineHistory.copy",
  3827. "title": "Copy",
  3828. "category": "GitLens"
  3829. },
  3830. {
  3831. "command": "gitlens.views.lineHistory.refresh",
  3832. "title": "Refresh",
  3833. "category": "GitLens",
  3834. "icon": "$(refresh)"
  3835. },
  3836. {
  3837. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3838. "title": "Unpin the Current File History",
  3839. "category": "GitLens",
  3840. "icon": "$(pinned)"
  3841. },
  3842. {
  3843. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3844. "title": "Pin the Current File History",
  3845. "category": "GitLens",
  3846. "icon": "$(pin)"
  3847. },
  3848. {
  3849. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3850. "title": "Follow Renames",
  3851. "category": "GitLens"
  3852. },
  3853. {
  3854. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3855. "title": "Don't Follow Renames",
  3856. "category": "GitLens"
  3857. },
  3858. {
  3859. "command": "gitlens.views.lineHistory.setShowAvatarsOn",
  3860. "title": "Show Avatars",
  3861. "category": "GitLens"
  3862. },
  3863. {
  3864. "command": "gitlens.views.lineHistory.setShowAvatarsOff",
  3865. "title": "Hide Avatars",
  3866. "category": "GitLens"
  3867. },
  3868. {
  3869. "command": "gitlens.views.remotes.copy",
  3870. "title": "Copy",
  3871. "category": "GitLens"
  3872. },
  3873. {
  3874. "command": "gitlens.views.remotes.refresh",
  3875. "title": "Refresh",
  3876. "category": "GitLens",
  3877. "icon": "$(refresh)"
  3878. },
  3879. {
  3880. "command": "gitlens.views.remotes.setLayoutToList",
  3881. "title": "Toggle Layout (Tree)",
  3882. "category": "GitLens",
  3883. "icon": "$(list-tree)"
  3884. },
  3885. {
  3886. "command": "gitlens.views.remotes.setLayoutToTree",
  3887. "title": "Toggle Layout (List)",
  3888. "category": "GitLens",
  3889. "icon": "$(list-flat)"
  3890. },
  3891. {
  3892. "command": "gitlens.views.remotes.setFilesLayoutToAuto",
  3893. "title": "Toggle File Layout (Tree)",
  3894. "category": "GitLens",
  3895. "icon": "$(list-tree)"
  3896. },
  3897. {
  3898. "command": "gitlens.views.remotes.setFilesLayoutToList",
  3899. "title": "Toggle File Layout (Auto)",
  3900. "category": "GitLens",
  3901. "icon": {
  3902. "dark": "images/dark/icon-view-auto.svg",
  3903. "light": "images/light/icon-view-auto.svg"
  3904. }
  3905. },
  3906. {
  3907. "command": "gitlens.views.remotes.setFilesLayoutToTree",
  3908. "title": "Toggle File Layout (List)",
  3909. "category": "GitLens",
  3910. "icon": "$(list-flat)"
  3911. },
  3912. {
  3913. "command": "gitlens.views.remotes.setShowAvatarsOn",
  3914. "title": "Show Avatars",
  3915. "category": "GitLens"
  3916. },
  3917. {
  3918. "command": "gitlens.views.remotes.setShowAvatarsOff",
  3919. "title": "Hide Avatars",
  3920. "category": "GitLens"
  3921. },
  3922. {
  3923. "command": "gitlens.views.repositories.copy",
  3924. "title": "Copy",
  3925. "category": "GitLens"
  3926. },
  3927. {
  3928. "command": "gitlens.views.repositories.refresh",
  3929. "title": "Refresh",
  3930. "category": "GitLens",
  3931. "icon": "$(refresh)"
  3932. },
  3933. {
  3934. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3935. "title": "Enable Automatic Refresh",
  3936. "category": "GitLens"
  3937. },
  3938. {
  3939. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3940. "title": "Disable Automatic Refresh",
  3941. "category": "GitLens"
  3942. },
  3943. {
  3944. "command": "gitlens.views.repositories.setBranchesLayoutToList",
  3945. "title": "Toggle Branch Layout (Tree)",
  3946. "category": "GitLens",
  3947. "icon": "$(list-tree)"
  3948. },
  3949. {
  3950. "command": "gitlens.views.repositories.setBranchesLayoutToTree",
  3951. "title": "Toggle Branch Layout (List)",
  3952. "category": "GitLens",
  3953. "icon": "$(list-flat)"
  3954. },
  3955. {
  3956. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3957. "title": "Toggle File Layout (Tree)",
  3958. "category": "GitLens",
  3959. "icon": "$(list-tree)"
  3960. },
  3961. {
  3962. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3963. "title": "Toggle File Layout (Auto)",
  3964. "category": "GitLens",
  3965. "icon": {
  3966. "dark": "images/dark/icon-view-auto.svg",
  3967. "light": "images/light/icon-view-auto.svg"
  3968. }
  3969. },
  3970. {
  3971. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3972. "title": "Toggle File Layout (List)",
  3973. "category": "GitLens",
  3974. "icon": "$(list-flat)"
  3975. },
  3976. {
  3977. "command": "gitlens.views.repositories.setShowAvatarsOn",
  3978. "title": "Show Avatars",
  3979. "category": "GitLens"
  3980. },
  3981. {
  3982. "command": "gitlens.views.repositories.setShowAvatarsOff",
  3983. "title": "Hide Avatars",
  3984. "category": "GitLens"
  3985. },
  3986. {
  3987. "command": "gitlens.views.search.clear",
  3988. "title": "Clear Results",
  3989. "category": "GitLens",
  3990. "icon": "$(clear-all)"
  3991. },
  3992. {
  3993. "command": "gitlens.views.search.copy",
  3994. "title": "Copy",
  3995. "category": "GitLens"
  3996. },
  3997. {
  3998. "command": "gitlens.views.search.refresh",
  3999. "title": "Refresh",
  4000. "category": "GitLens",
  4001. "icon": "$(refresh)"
  4002. },
  4003. {
  4004. "command": "gitlens.views.search.searchCommits",
  4005. "title": "Search Commits",
  4006. "category": "GitLens",
  4007. "icon": "$(search)"
  4008. },
  4009. {
  4010. "command": "gitlens.views.search.setFilesLayoutToAuto",
  4011. "title": "Automatic Layout",
  4012. "category": "GitLens",
  4013. "icon": "$(list-tree)"
  4014. },
  4015. {
  4016. "command": "gitlens.views.search.setFilesLayoutToList",
  4017. "title": "List Layout",
  4018. "category": "GitLens",
  4019. "icon": {
  4020. "dark": "images/dark/icon-view-auto.svg",
  4021. "light": "images/light/icon-view-auto.svg"
  4022. }
  4023. },
  4024. {
  4025. "command": "gitlens.views.search.setFilesLayoutToTree",
  4026. "title": "Tree Layout",
  4027. "category": "GitLens",
  4028. "icon": "$(list-flat)"
  4029. },
  4030. {
  4031. "command": "gitlens.views.search.setKeepResultsToOn",
  4032. "title": "Keep Results",
  4033. "category": "GitLens",
  4034. "icon": "$(unlock)"
  4035. },
  4036. {
  4037. "command": "gitlens.views.search.setKeepResultsToOff",
  4038. "title": "Keep Results",
  4039. "category": "GitLens",
  4040. "icon": "$(lock)"
  4041. },
  4042. {
  4043. "command": "gitlens.views.search.setShowAvatarsOn",
  4044. "title": "Show Avatars",
  4045. "category": "GitLens"
  4046. },
  4047. {
  4048. "command": "gitlens.views.search.setShowAvatarsOff",
  4049. "title": "Hide Avatars",
  4050. "category": "GitLens"
  4051. },
  4052. {
  4053. "command": "gitlens.views.stashes.copy",
  4054. "title": "Copy",
  4055. "category": "GitLens"
  4056. },
  4057. {
  4058. "command": "gitlens.views.stashes.refresh",
  4059. "title": "Refresh",
  4060. "category": "GitLens",
  4061. "icon": "$(refresh)"
  4062. },
  4063. {
  4064. "command": "gitlens.views.stashes.setFilesLayoutToAuto",
  4065. "title": "Toggle File Layout (Tree)",
  4066. "category": "GitLens",
  4067. "icon": "$(list-tree)"
  4068. },
  4069. {
  4070. "command": "gitlens.views.stashes.setFilesLayoutToList",
  4071. "title": "Toggle File Layout (Auto)",
  4072. "category": "GitLens",
  4073. "icon": {
  4074. "dark": "images/dark/icon-view-auto.svg",
  4075. "light": "images/light/icon-view-auto.svg"
  4076. }
  4077. },
  4078. {
  4079. "command": "gitlens.views.stashes.setFilesLayoutToTree",
  4080. "title": "Toggle File Layout (List)",
  4081. "category": "GitLens",
  4082. "icon": "$(list-flat)"
  4083. },
  4084. {
  4085. "command": "gitlens.views.tags.copy",
  4086. "title": "Copy",
  4087. "category": "GitLens"
  4088. },
  4089. {
  4090. "command": "gitlens.views.tags.refresh",
  4091. "title": "Refresh",
  4092. "category": "GitLens",
  4093. "icon": "$(refresh)"
  4094. },
  4095. {
  4096. "command": "gitlens.views.tags.setLayoutToList",
  4097. "title": "Toggle Layout (Tree)",
  4098. "category": "GitLens",
  4099. "icon": "$(list-tree)"
  4100. },
  4101. {
  4102. "command": "gitlens.views.tags.setLayoutToTree",
  4103. "title": "Toggle Layout (List)",
  4104. "category": "GitLens",
  4105. "icon": "$(list-flat)"
  4106. },
  4107. {
  4108. "command": "gitlens.views.tags.setFilesLayoutToAuto",
  4109. "title": "Toggle File Layout (Tree)",
  4110. "category": "GitLens",
  4111. "icon": "$(list-tree)"
  4112. },
  4113. {
  4114. "command": "gitlens.views.tags.setFilesLayoutToList",
  4115. "title": "Toggle File Layout (Auto)",
  4116. "category": "GitLens",
  4117. "icon": {
  4118. "dark": "images/dark/icon-view-auto.svg",
  4119. "light": "images/light/icon-view-auto.svg"
  4120. }
  4121. },
  4122. {
  4123. "command": "gitlens.views.tags.setFilesLayoutToTree",
  4124. "title": "Toggle File Layout (List)",
  4125. "category": "GitLens",
  4126. "icon": "$(list-flat)"
  4127. },
  4128. {
  4129. "command": "gitlens.views.tags.setShowAvatarsOn",
  4130. "title": "Show Avatars",
  4131. "category": "GitLens"
  4132. },
  4133. {
  4134. "command": "gitlens.views.tags.setShowAvatarsOff",
  4135. "title": "Hide Avatars",
  4136. "category": "GitLens"
  4137. }
  4138. ],
  4139. "menus": {
  4140. "commandPalette": [
  4141. {
  4142. "command": "gitlens.showSettingsPage#branches-view",
  4143. "when": "false"
  4144. },
  4145. {
  4146. "command": "gitlens.showSettingsPage#commits-view",
  4147. "when": "false"
  4148. },
  4149. {
  4150. "command": "gitlens.showSettingsPage#compare-view",
  4151. "when": "false"
  4152. },
  4153. {
  4154. "command": "gitlens.showSettingsPage#contributors-view",
  4155. "when": "false"
  4156. },
  4157. {
  4158. "command": "gitlens.showSettingsPage#file-history-view",
  4159. "when": "false"
  4160. },
  4161. {
  4162. "command": "gitlens.showSettingsPage#line-history-view",
  4163. "when": "false"
  4164. },
  4165. {
  4166. "command": "gitlens.showSettingsPage#remotes-view",
  4167. "when": "false"
  4168. },
  4169. {
  4170. "command": "gitlens.showSettingsPage#repositories-view",
  4171. "when": "false"
  4172. },
  4173. {
  4174. "command": "gitlens.showSettingsPage#search-commits-view",
  4175. "when": "false"
  4176. },
  4177. {
  4178. "command": "gitlens.showSettingsPage#stashes-view",
  4179. "when": "false"
  4180. },
  4181. {
  4182. "command": "gitlens.showSettingsPage#tags-view",
  4183. "when": "false"
  4184. },
  4185. {
  4186. "command": "gitlens.showCompareView",
  4187. "when": "gitlens:enabled"
  4188. },
  4189. {
  4190. "command": "gitlens.showFileHistoryView",
  4191. "when": "gitlens:enabled"
  4192. },
  4193. {
  4194. "command": "gitlens.showLineHistoryView",
  4195. "when": "gitlens:enabled"
  4196. },
  4197. {
  4198. "command": "gitlens.showRepositoriesView",
  4199. "when": "gitlens:enabled"
  4200. },
  4201. {
  4202. "command": "gitlens.showSearchView",
  4203. "when": "gitlens:enabled"
  4204. },
  4205. {
  4206. "command": "gitlens.diffDirectory",
  4207. "when": "gitlens:enabled"
  4208. },
  4209. {
  4210. "command": "gitlens.diffDirectoryWithHead",
  4211. "when": "gitlens:enabled"
  4212. },
  4213. {
  4214. "command": "gitlens.diffHeadWith",
  4215. "when": "gitlens:enabled"
  4216. },
  4217. {
  4218. "command": "gitlens.diffWorkingWith",
  4219. "when": "gitlens:enabled"
  4220. },
  4221. {
  4222. "command": "gitlens.diffWithRevisionFrom",
  4223. "when": "gitlens:activeFileStatus =~ /tracked/"
  4224. },
  4225. {
  4226. "command": "gitlens.diffWithNext",
  4227. "when": "gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor"
  4228. },
  4229. {
  4230. "command": "gitlens.diffWithNextInDiffLeft",
  4231. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor"
  4232. },
  4233. {
  4234. "command": "gitlens.diffWithNextInDiffRight",
  4235. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor"
  4236. },
  4237. {
  4238. "command": "gitlens.diffWithPrevious",
  4239. "when": "gitlens:activeFileStatus =~ /tracked/ && !isInDiffEditor"
  4240. },
  4241. {
  4242. "command": "gitlens.diffWithPreviousInDiffLeft",
  4243. "when": "gitlens:activeFileStatus =~ /tracked/ && isInDiffEditor && !isInDiffRightEditor"
  4244. },
  4245. {
  4246. "command": "gitlens.diffWithPreviousInDiffRight",
  4247. "when": "gitlens:activeFileStatus =~ /tracked/ && isInDiffRightEditor"
  4248. },
  4249. {
  4250. "command": "gitlens.diffLineWithPrevious",
  4251. "when": "gitlens:activeFileStatus =~ /blameable/"
  4252. },
  4253. {
  4254. "command": "gitlens.diffWithRevision",
  4255. "when": "gitlens:activeFileStatus =~ /tracked/"
  4256. },
  4257. {
  4258. "command": "gitlens.diffWithWorking",
  4259. "when": "gitlens:activeFileStatus =~ /revision/"
  4260. },
  4261. {
  4262. "command": "gitlens.diffWithWorkingInDiffLeft",
  4263. "when": "false"
  4264. },
  4265. {
  4266. "command": "gitlens.diffWithWorkingInDiffRight",
  4267. "when": "false"
  4268. },
  4269. {
  4270. "command": "gitlens.diffLineWithWorking",
  4271. "when": "gitlens:activeFileStatus =~ /blameable/"
  4272. },
  4273. {
  4274. "command": "gitlens.externalDiff",
  4275. "when": "gitlens:activeFileStatus =~ /tracked/"
  4276. },
  4277. {
  4278. "command": "gitlens.externalDiffAll",
  4279. "when": "gitlens:enabled"
  4280. },
  4281. {
  4282. "command": "gitlens.toggleFileBlame",
  4283. "when": "gitlens:activeFileStatus =~ /blameable/"
  4284. },
  4285. {
  4286. "command": "gitlens.toggleFileBlameInDiffLeft",
  4287. "when": "false"
  4288. },
  4289. {
  4290. "command": "gitlens.toggleFileBlameInDiffRight",
  4291. "when": "false"
  4292. },
  4293. {
  4294. "command": "gitlens.clearFileAnnotations",
  4295. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  4296. },
  4297. {
  4298. "command": "gitlens.computingFileAnnotations",
  4299. "when": "false"
  4300. },
  4301. {
  4302. "command": "gitlens.toggleFileHeatmap",
  4303. "when": "gitlens:activeFileStatus =~ /blameable/"
  4304. },
  4305. {
  4306. "command": "gitlens.toggleFileHeatmapInDiffLeft",
  4307. "when": "false"
  4308. },
  4309. {
  4310. "command": "gitlens.toggleFileHeatmapInDiffRight",
  4311. "when": "false"
  4312. },
  4313. {
  4314. "command": "gitlens.toggleFileChanges",
  4315. "when": "gitlens:activeFileStatus =~ /blameable/ && !isInDiffEditor"
  4316. },
  4317. {
  4318. "command": "gitlens.toggleLineBlame",
  4319. "when": "gitlens:enabled"
  4320. },
  4321. {
  4322. "command": "gitlens.toggleCodeLens",
  4323. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  4324. },
  4325. {
  4326. "command": "gitlens.gitCommands",
  4327. "when": "gitlens:enabled && !gitlens:readonly"
  4328. },
  4329. {
  4330. "command": "gitlens.switchMode",
  4331. "when": "gitlens:enabled"
  4332. },
  4333. {
  4334. "command": "gitlens.toggleReviewMode",
  4335. "when": "gitlens:enabled"
  4336. },
  4337. {
  4338. "command": "gitlens.toggleZenMode",
  4339. "when": "gitlens:enabled"
  4340. },
  4341. {
  4342. "command": "gitlens.showCommitSearch",
  4343. "when": "gitlens:enabled"
  4344. },
  4345. {
  4346. "command": "gitlens.showLastQuickPick",
  4347. "when": "gitlens:enabled"
  4348. },
  4349. {
  4350. "command": "gitlens.revealCommitInView",
  4351. "when": "gitlens:activeFileStatus =~ /blameable/"
  4352. },
  4353. {
  4354. "command": "gitlens.showCommitInView",
  4355. "when": "gitlens:activeFileStatus =~ /blameable/"
  4356. },
  4357. {
  4358. "command": "gitlens.showCommitsInView",
  4359. "when": "gitlens:activeFileStatus =~ /blameable/"
  4360. },
  4361. {
  4362. "command": "gitlens.showFileHistoryInView",
  4363. "when": "gitlens:activeFileStatus =~ /tracked/"
  4364. },
  4365. {
  4366. "command": "gitlens.showQuickCommitDetails",
  4367. "when": "gitlens:activeFileStatus =~ /blameable/"
  4368. },
  4369. {
  4370. "command": "gitlens.showQuickCommitFileDetails",
  4371. "when": "gitlens:activeFileStatus =~ /blameable/"
  4372. },
  4373. {
  4374. "command": "gitlens.showQuickRevisionDetails",
  4375. "when": "gitlens:activeFileStatus =~ /revision/"
  4376. },
  4377. {
  4378. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  4379. "when": "false"
  4380. },
  4381. {
  4382. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  4383. "when": "false"
  4384. },
  4385. {
  4386. "command": "gitlens.showQuickFileHistory",
  4387. "when": "gitlens:activeFileStatus =~ /tracked/"
  4388. },
  4389. {
  4390. "command": "gitlens.showQuickBranchHistory",
  4391. "when": "gitlens:enabled"
  4392. },
  4393. {
  4394. "command": "gitlens.showQuickRepoHistory",
  4395. "when": "gitlens:enabled"
  4396. },
  4397. {
  4398. "command": "gitlens.showQuickRepoStatus",
  4399. "when": "gitlens:enabled"
  4400. },
  4401. {
  4402. "command": "gitlens.showQuickStashList",
  4403. "when": "gitlens:enabled"
  4404. },
  4405. {
  4406. "command": "gitlens.connectRemoteProvider",
  4407. "when": "false"
  4408. },
  4409. {
  4410. "command": "gitlens.disconnectRemoteProvider",
  4411. "when": "false"
  4412. },
  4413. {
  4414. "command": "gitlens.copyMessageToClipboard",
  4415. "when": "gitlens:activeFileStatus =~ /blameable/"
  4416. },
  4417. {
  4418. "command": "gitlens.copyRemoteCommitUrl",
  4419. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  4420. },
  4421. {
  4422. "command": "gitlens.copyRemoteFileUrlToClipboard",
  4423. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  4424. },
  4425. {
  4426. "command": "gitlens.copyShaToClipboard",
  4427. "when": "gitlens:activeFileStatus =~ /blameable/"
  4428. },
  4429. {
  4430. "command": "gitlens.closeUnchangedFiles",
  4431. "when": "gitlens:enabled"
  4432. },
  4433. {
  4434. "command": "gitlens.openChangedFiles",
  4435. "when": "gitlens:enabled"
  4436. },
  4437. {
  4438. "command": "gitlens.openBranchesInRemote",
  4439. "when": "gitlens:hasRemotes"
  4440. },
  4441. {
  4442. "command": "gitlens.copyRemoteBranchesUrl",
  4443. "when": "false"
  4444. },
  4445. {
  4446. "command": "gitlens.openBranchInRemote",
  4447. "when": "gitlens:hasRemotes"
  4448. },
  4449. {
  4450. "command": "gitlens.copyRemoteBranchUrl",
  4451. "when": "false"
  4452. },
  4453. {
  4454. "command": "gitlens.openCommitInRemote",
  4455. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  4456. },
  4457. {
  4458. "command": "gitlens.openFileInRemote",
  4459. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  4460. },
  4461. {
  4462. "command": "gitlens.openFileRevision",
  4463. "when": "gitlens:activeFileStatus =~ /tracked/"
  4464. },
  4465. {
  4466. "command": "gitlens.openFileRevisionFrom",
  4467. "when": "gitlens:activeFileStatus =~ /tracked/"
  4468. },
  4469. {
  4470. "command": "gitlens.openRepoInRemote",
  4471. "when": "gitlens:hasRemotes"
  4472. },
  4473. {
  4474. "command": "gitlens.copyRemoteRepositoryUrl",
  4475. "when": "false"
  4476. },
  4477. {
  4478. "command": "gitlens.openRevisionFile",
  4479. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffEditor"
  4480. },
  4481. {
  4482. "command": "gitlens.openRevisionFileInDiffLeft",
  4483. "when": "false"
  4484. },
  4485. {
  4486. "command": "gitlens.openRevisionFileInDiffRight",
  4487. "when": "false"
  4488. },
  4489. {
  4490. "command": "gitlens.openWorkingFile",
  4491. "when": "gitlens:activeFileStatus =~ /revision/"
  4492. },
  4493. {
  4494. "command": "gitlens.openWorkingFileInDiffLeft",
  4495. "when": "false"
  4496. },
  4497. {
  4498. "command": "gitlens.openWorkingFileInDiffRight",
  4499. "when": "false"
  4500. },
  4501. {
  4502. "command": "gitlens.stashApply",
  4503. "when": "gitlens:enabled && !gitlens:readonly"
  4504. },
  4505. {
  4506. "command": "gitlens.views.deleteStash",
  4507. "when": "false"
  4508. },
  4509. {
  4510. "command": "gitlens.stashSave",
  4511. "when": "gitlens:enabled && !gitlens:readonly"
  4512. },
  4513. {
  4514. "command": "gitlens.stashSaveFiles",
  4515. "when": "false"
  4516. },
  4517. {
  4518. "command": "gitlens.resetSuppressedWarnings",
  4519. "when": "gitlens:enabled"
  4520. },
  4521. {
  4522. "command": "gitlens.inviteToLiveShare",
  4523. "when": "false"
  4524. },
  4525. {
  4526. "command": "gitlens.browseRepoAtRevision",
  4527. "when": "gitlens:activeFileStatus =~ /revision/"
  4528. },
  4529. {
  4530. "command": "gitlens.browseRepoAtRevisionInNewWindow",
  4531. "when": "gitlens:activeFileStatus =~ /revision/"
  4532. },
  4533. {
  4534. "command": "gitlens.views.browseRepoAtRevision",
  4535. "when": "false"
  4536. },
  4537. {
  4538. "command": "gitlens.views.browseRepoAtRevisionInNewWindow",
  4539. "when": "false"
  4540. },
  4541. {
  4542. "command": "gitlens.fetchRepositories",
  4543. "when": "gitlens:hasRemotes && !gitlens:readonly"
  4544. },
  4545. {
  4546. "command": "gitlens.pullRepositories",
  4547. "when": "gitlens:hasRemotes && !gitlens:readonly"
  4548. },
  4549. {
  4550. "command": "gitlens.pushRepositories",
  4551. "when": "gitlens:hasRemotes && !gitlens:readonly"
  4552. },
  4553. {
  4554. "command": "gitlens.views.addRemote",
  4555. "when": "false"
  4556. },
  4557. {
  4558. "command": "gitlens.views.highlightChanges",
  4559. "when": "false"
  4560. },
  4561. {
  4562. "command": "gitlens.views.highlightRevisionChanges",
  4563. "when": "false"
  4564. },
  4565. {
  4566. "command": "gitlens.views.restore",
  4567. "when": "false"
  4568. },
  4569. {
  4570. "command": "gitlens.views.switchToAnotherBranch",
  4571. "when": "false"
  4572. },
  4573. {
  4574. "command": "gitlens.views.switchToBranch",
  4575. "when": "false"
  4576. },
  4577. {
  4578. "command": "gitlens.views.switchToCommit",
  4579. "when": "false"
  4580. },
  4581. {
  4582. "command": "gitlens.views.switchToTag",
  4583. "when": "false"
  4584. },
  4585. {
  4586. "command": "gitlens.views.copy",
  4587. "when": "false"
  4588. },
  4589. {
  4590. "command": "gitlens.views.pruneRemote",
  4591. "when": "false"
  4592. },
  4593. {
  4594. "command": "gitlens.views.fetch",
  4595. "when": "false"
  4596. },
  4597. {
  4598. "command": "gitlens.views.publishBranch",
  4599. "when": "false"
  4600. },
  4601. {
  4602. "command": "gitlens.views.pull",
  4603. "when": "false"
  4604. },
  4605. {
  4606. "command": "gitlens.views.push",
  4607. "when": "false"
  4608. },
  4609. {
  4610. "command": "gitlens.views.pushWithForce",
  4611. "when": "false"
  4612. },
  4613. {
  4614. "command": "gitlens.views.openInTerminal",
  4615. "when": "false"
  4616. },
  4617. {
  4618. "command": "gitlens.views.setAsDefault",
  4619. "when": "false"
  4620. },
  4621. {
  4622. "command": "gitlens.views.unsetAsDefault",
  4623. "when": "false"
  4624. },
  4625. {
  4626. "command": "gitlens.views.stageDirectory",
  4627. "when": "false"
  4628. },
  4629. {
  4630. "command": "gitlens.views.stageFile",
  4631. "when": "false"
  4632. },
  4633. {
  4634. "command": "gitlens.views.unstageDirectory",
  4635. "when": "false"
  4636. },
  4637. {
  4638. "command": "gitlens.views.unstageFile",
  4639. "when": "false"
  4640. },
  4641. {
  4642. "command": "gitlens.views.star",
  4643. "when": "false"
  4644. },
  4645. {
  4646. "command": "gitlens.views.unstar",
  4647. "when": "false"
  4648. },
  4649. {
  4650. "command": "gitlens.views.openChanges",
  4651. "when": "false"
  4652. },
  4653. {
  4654. "command": "gitlens.views.openDirectoryDiff",
  4655. "when": "false"
  4656. },
  4657. {
  4658. "command": "gitlens.views.openDirectoryDiffWithWorking",
  4659. "when": "false"
  4660. },
  4661. {
  4662. "command": "gitlens.views.openChangesWithWorking",
  4663. "when": "false"
  4664. },
  4665. {
  4666. "command": "gitlens.views.openFile",
  4667. "when": "false"
  4668. },
  4669. {
  4670. "command": "gitlens.views.openFileRevision",
  4671. "when": "false"
  4672. },
  4673. {
  4674. "command": "gitlens.views.openFileRevisionInRemote",
  4675. "when": "false"
  4676. },
  4677. {
  4678. "command": "gitlens.views.openChangedFiles",
  4679. "when": "false"
  4680. },
  4681. {
  4682. "command": "gitlens.views.openChangedFileDiffs",
  4683. "when": "false"
  4684. },
  4685. {
  4686. "command": "gitlens.views.openChangedFileDiffsWithWorking",
  4687. "when": "false"
  4688. },
  4689. {
  4690. "command": "gitlens.views.openChangedFileRevisions",
  4691. "when": "false"
  4692. },
  4693. {
  4694. "command": "gitlens.views.applyChanges",
  4695. "when": "false"
  4696. },
  4697. {
  4698. "command": "gitlens.views.closeRepository",
  4699. "when": "false"
  4700. },
  4701. {
  4702. "command": "gitlens.views.compareAncestryWithWorking",
  4703. "when": "false"
  4704. },
  4705. {
  4706. "command": "gitlens.views.compareWithHead",
  4707. "when": "false"
  4708. },
  4709. {
  4710. "command": "gitlens.views.compareWithUpstream",
  4711. "when": "false"
  4712. },
  4713. {
  4714. "command": "gitlens.views.compareWithSelected",
  4715. "when": "false"
  4716. },
  4717. {
  4718. "command": "gitlens.views.selectForCompare",
  4719. "when": "false"
  4720. },
  4721. {
  4722. "command": "gitlens.views.compareFileWithSelected",
  4723. "when": "false"
  4724. },
  4725. {
  4726. "command": "gitlens.views.selectFileForCompare",
  4727. "when": "false"
  4728. },
  4729. {
  4730. "command": "gitlens.views.compareWithWorking",
  4731. "when": "false"
  4732. },
  4733. {
  4734. "command": "gitlens.views.addAuthors",
  4735. "when": "false"
  4736. },
  4737. {
  4738. "command": "gitlens.views.addAuthor",
  4739. "when": "false"
  4740. },
  4741. {
  4742. "command": "gitlens.views.copyContributorToClipboard",
  4743. "when": "false"
  4744. },
  4745. {
  4746. "command": "gitlens.views.setComparisonToTwoDot",
  4747. "when": "false"
  4748. },
  4749. {
  4750. "command": "gitlens.views.setComparisonToThreeDot",
  4751. "when": "false"
  4752. },
  4753. {
  4754. "command": "gitlens.views.createBranch",
  4755. "when": "false"
  4756. },
  4757. {
  4758. "command": "gitlens.views.deleteBranch",
  4759. "when": "false"
  4760. },
  4761. {
  4762. "command": "gitlens.views.renameBranch",
  4763. "when": "false"
  4764. },
  4765. {
  4766. "command": "gitlens.views.cherryPick",
  4767. "when": "false"
  4768. },
  4769. {
  4770. "command": "gitlens.views.mergeBranchInto",
  4771. "when": "false"
  4772. },
  4773. {
  4774. "command": "gitlens.views.pushToCommit",
  4775. "when": "false"
  4776. },
  4777. {
  4778. "command": "gitlens.views.rebaseOntoBranch",
  4779. "when": "false"
  4780. },
  4781. {
  4782. "command": "gitlens.views.rebaseOntoCommit",
  4783. "when": "false"
  4784. },
  4785. {
  4786. "command": "gitlens.views.rebaseOntoUpstream",
  4787. "when": "false"
  4788. },
  4789. {
  4790. "command": "gitlens.views.resetCommit",
  4791. "when": "false"
  4792. },
  4793. {
  4794. "command": "gitlens.views.resetToCommit",
  4795. "when": "false"
  4796. },
  4797. {
  4798. "command": "gitlens.views.revert",
  4799. "when": "false"
  4800. },
  4801. {
  4802. "command": "gitlens.views.terminalRemoveRemote",
  4803. "when": "false"
  4804. },
  4805. {
  4806. "command": "gitlens.views.createTag",
  4807. "when": "false"
  4808. },
  4809. {
  4810. "command": "gitlens.views.deleteTag",
  4811. "when": "false"
  4812. },
  4813. {
  4814. "command": "gitlens.views.setBranchComparisonToWorking",
  4815. "when": "false"
  4816. },
  4817. {
  4818. "command": "gitlens.views.setBranchComparisonToBranch",
  4819. "when": "false"
  4820. },
  4821. {
  4822. "command": "gitlens.views.clearNode",
  4823. "when": "false"
  4824. },
  4825. {
  4826. "command": "gitlens.views.dismissNode",
  4827. "when": "false"
  4828. },
  4829. {
  4830. "command": "gitlens.views.expandNode",
  4831. "when": "false"
  4832. },
  4833. {
  4834. "command": "gitlens.views.refreshNode",
  4835. "when": "false"
  4836. },
  4837. {
  4838. "command": "gitlens.views.loadMoreChildren",
  4839. "when": "false"
  4840. },
  4841. {
  4842. "command": "gitlens.views.loadAllChildren",
  4843. "when": "false"
  4844. },
  4845. {
  4846. "command": "gitlens.views.branches.copy",
  4847. "when": "false"
  4848. },
  4849. {
  4850. "command": "gitlens.views.branches.refresh",
  4851. "when": "false"
  4852. },
  4853. {
  4854. "command": "gitlens.views.branches.setLayoutToList",
  4855. "when": "false"
  4856. },
  4857. {
  4858. "command": "gitlens.views.branches.setLayoutToTree",
  4859. "when": "false"
  4860. },
  4861. {
  4862. "command": "gitlens.views.branches.setFilesLayoutToAuto",
  4863. "when": "false"
  4864. },
  4865. {
  4866. "command": "gitlens.views.branches.setFilesLayoutToList",
  4867. "when": "false"
  4868. },
  4869. {
  4870. "command": "gitlens.views.branches.setFilesLayoutToTree",
  4871. "when": "false"
  4872. },
  4873. {
  4874. "command": "gitlens.views.branches.setShowAvatarsOn",
  4875. "when": "false"
  4876. },
  4877. {
  4878. "command": "gitlens.views.branches.setShowAvatarsOff",
  4879. "when": "false"
  4880. },
  4881. {
  4882. "command": "gitlens.views.commits.copy",
  4883. "when": "false"
  4884. },
  4885. {
  4886. "command": "gitlens.views.commits.refresh",
  4887. "when": "false"
  4888. },
  4889. {
  4890. "command": "gitlens.views.commits.setFilesLayoutToAuto",
  4891. "when": "false"
  4892. },
  4893. {
  4894. "command": "gitlens.views.commits.setFilesLayoutToList",
  4895. "when": "false"
  4896. },
  4897. {
  4898. "command": "gitlens.views.commits.setFilesLayoutToTree",
  4899. "when": "false"
  4900. },
  4901. {
  4902. "command": "gitlens.views.commits.setMyCommitsOnlyOn",
  4903. "when": "false"
  4904. },
  4905. {
  4906. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  4907. "when": "false"
  4908. },
  4909. {
  4910. "command": "gitlens.views.commits.setShowAvatarsOn",
  4911. "when": "false"
  4912. },
  4913. {
  4914. "command": "gitlens.views.commits.setShowAvatarsOff",
  4915. "when": "false"
  4916. },
  4917. {
  4918. "command": "gitlens.views.commits.setShowBranchComparisonOn",
  4919. "when": "false"
  4920. },
  4921. {
  4922. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  4923. "when": "false"
  4924. },
  4925. {
  4926. "command": "gitlens.views.compare.clear",
  4927. "when": "false"
  4928. },
  4929. {
  4930. "command": "gitlens.views.compare.copy",
  4931. "when": "false"
  4932. },
  4933. {
  4934. "command": "gitlens.views.compare.pinComparison",
  4935. "when": "false"
  4936. },
  4937. {
  4938. "command": "gitlens.views.compare.unpinComparison",
  4939. "when": "false"
  4940. },
  4941. {
  4942. "command": "gitlens.views.compare.refresh",
  4943. "when": "false"
  4944. },
  4945. {
  4946. "command": "gitlens.views.compare.selectForCompare",
  4947. "when": "gitlens:enabled && config.gitlens.views.compare.enabled"
  4948. },
  4949. {
  4950. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  4951. "when": "false"
  4952. },
  4953. {
  4954. "command": "gitlens.views.compare.setFilesLayoutToList",
  4955. "when": "false"
  4956. },
  4957. {
  4958. "command": "gitlens.views.compare.setFilesLayoutToTree",
  4959. "when": "false"
  4960. },
  4961. {
  4962. "command": "gitlens.views.compare.setKeepResultsToOn",
  4963. "when": "false"
  4964. },
  4965. {
  4966. "command": "gitlens.views.compare.setKeepResultsToOff",
  4967. "when": "false"
  4968. },
  4969. {
  4970. "command": "gitlens.views.compare.setShowAvatarsOn",
  4971. "when": "false"
  4972. },
  4973. {
  4974. "command": "gitlens.views.compare.setShowAvatarsOff",
  4975. "when": "false"
  4976. },
  4977. {
  4978. "command": "gitlens.views.compare.swapComparison",
  4979. "when": "false"
  4980. },
  4981. {
  4982. "command": "gitlens.views.contributors.copy",
  4983. "when": "false"
  4984. },
  4985. {
  4986. "command": "gitlens.views.contributors.refresh",
  4987. "when": "false"
  4988. },
  4989. {
  4990. "command": "gitlens.views.contributors.setFilesLayoutToAuto",
  4991. "when": "false"
  4992. },
  4993. {
  4994. "command": "gitlens.views.contributors.setFilesLayoutToList",
  4995. "when": "false"
  4996. },
  4997. {
  4998. "command": "gitlens.views.contributors.setFilesLayoutToTree",
  4999. "when": "false"
  5000. },
  5001. {
  5002. "command": "gitlens.views.contributors.setShowAvatarsOn",
  5003. "when": "false"
  5004. },
  5005. {
  5006. "command": "gitlens.views.contributors.setShowAvatarsOff",
  5007. "when": "false"
  5008. },
  5009. {
  5010. "command": "gitlens.views.fileHistory.changeBase",
  5011. "when": "false"
  5012. },
  5013. {
  5014. "command": "gitlens.views.fileHistory.copy",
  5015. "when": "false"
  5016. },
  5017. {
  5018. "command": "gitlens.views.fileHistory.refresh",
  5019. "when": "false"
  5020. },
  5021. {
  5022. "command": "gitlens.views.fileHistory.setCursorFollowingOn",
  5023. "when": "false"
  5024. },
  5025. {
  5026. "command": "gitlens.views.fileHistory.setCursorFollowingOff",
  5027. "when": "false"
  5028. },
  5029. {
  5030. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  5031. "when": "false"
  5032. },
  5033. {
  5034. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  5035. "when": "false"
  5036. },
  5037. {
  5038. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  5039. "when": "false"
  5040. },
  5041. {
  5042. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  5043. "when": "false"
  5044. },
  5045. {
  5046. "command": "gitlens.views.fileHistory.setShowAllBranchesOn",
  5047. "when": "false"
  5048. },
  5049. {
  5050. "command": "gitlens.views.fileHistory.setShowAllBranchesOff",
  5051. "when": "false"
  5052. },
  5053. {
  5054. "command": "gitlens.views.fileHistory.setShowAvatarsOn",
  5055. "when": "false"
  5056. },
  5057. {
  5058. "command": "gitlens.views.fileHistory.setShowAvatarsOff",
  5059. "when": "false"
  5060. },
  5061. {
  5062. "command": "gitlens.views.lineHistory.changeBase",
  5063. "when": "false"
  5064. },
  5065. {
  5066. "command": "gitlens.views.lineHistory.copy",
  5067. "when": "false"
  5068. },
  5069. {
  5070. "command": "gitlens.views.lineHistory.refresh",
  5071. "when": "false"
  5072. },
  5073. {
  5074. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  5075. "when": "false"
  5076. },
  5077. {
  5078. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  5079. "when": "false"
  5080. },
  5081. {
  5082. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  5083. "when": "false"
  5084. },
  5085. {
  5086. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  5087. "when": "false"
  5088. },
  5089. {
  5090. "command": "gitlens.views.lineHistory.setShowAvatarsOn",
  5091. "when": "false"
  5092. },
  5093. {
  5094. "command": "gitlens.views.lineHistory.setShowAvatarsOff",
  5095. "when": "false"
  5096. },
  5097. {
  5098. "command": "gitlens.views.remotes.copy",
  5099. "when": "false"
  5100. },
  5101. {
  5102. "command": "gitlens.views.remotes.refresh",
  5103. "when": "false"
  5104. },
  5105. {
  5106. "command": "gitlens.views.remotes.setLayoutToList",
  5107. "when": "false"
  5108. },
  5109. {
  5110. "command": "gitlens.views.remotes.setLayoutToTree",
  5111. "when": "false"
  5112. },
  5113. {
  5114. "command": "gitlens.views.remotes.setFilesLayoutToAuto",
  5115. "when": "false"
  5116. },
  5117. {
  5118. "command": "gitlens.views.remotes.setFilesLayoutToList",
  5119. "when": "false"
  5120. },
  5121. {
  5122. "command": "gitlens.views.remotes.setFilesLayoutToTree",
  5123. "when": "false"
  5124. },
  5125. {
  5126. "command": "gitlens.views.remotes.setShowAvatarsOn",
  5127. "when": "false"
  5128. },
  5129. {
  5130. "command": "gitlens.views.remotes.setShowAvatarsOff",
  5131. "when": "false"
  5132. },
  5133. {
  5134. "command": "gitlens.views.repositories.copy",
  5135. "when": "false"
  5136. },
  5137. {
  5138. "command": "gitlens.views.repositories.refresh",
  5139. "when": "false"
  5140. },
  5141. {
  5142. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  5143. "when": "false"
  5144. },
  5145. {
  5146. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  5147. "when": "false"
  5148. },
  5149. {
  5150. "command": "gitlens.views.repositories.setBranchesLayoutToList",
  5151. "when": "false"
  5152. },
  5153. {
  5154. "command": "gitlens.views.repositories.setBranchesLayoutToTree",
  5155. "when": "false"
  5156. },
  5157. {
  5158. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  5159. "when": "false"
  5160. },
  5161. {
  5162. "command": "gitlens.views.repositories.setFilesLayoutToList",
  5163. "when": "false"
  5164. },
  5165. {
  5166. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  5167. "when": "false"
  5168. },
  5169. {
  5170. "command": "gitlens.views.repositories.setShowAvatarsOn",
  5171. "when": "false"
  5172. },
  5173. {
  5174. "command": "gitlens.views.repositories.setShowAvatarsOff",
  5175. "when": "false"
  5176. },
  5177. {
  5178. "command": "gitlens.views.search.clear",
  5179. "when": "false"
  5180. },
  5181. {
  5182. "command": "gitlens.views.search.copy",
  5183. "when": "false"
  5184. },
  5185. {
  5186. "command": "gitlens.views.search.refresh",
  5187. "when": "false"
  5188. },
  5189. {
  5190. "command": "gitlens.views.search.searchCommits",
  5191. "when": "false"
  5192. },
  5193. {
  5194. "command": "gitlens.views.search.setFilesLayoutToAuto",
  5195. "when": "false"
  5196. },
  5197. {
  5198. "command": "gitlens.views.search.setFilesLayoutToList",
  5199. "when": "false"
  5200. },
  5201. {
  5202. "command": "gitlens.views.search.setFilesLayoutToTree",
  5203. "when": "false"
  5204. },
  5205. {
  5206. "command": "gitlens.views.search.setKeepResultsToOn",
  5207. "when": "false"
  5208. },
  5209. {
  5210. "command": "gitlens.views.search.setKeepResultsToOff",
  5211. "when": "false"
  5212. },
  5213. {
  5214. "command": "gitlens.views.search.setShowAvatarsOn",
  5215. "when": "false"
  5216. },
  5217. {
  5218. "command": "gitlens.views.search.setShowAvatarsOff",
  5219. "when": "false"
  5220. },
  5221. {
  5222. "command": "gitlens.views.stashes.copy",
  5223. "when": "false"
  5224. },
  5225. {
  5226. "command": "gitlens.views.stashes.refresh",
  5227. "when": "false"
  5228. },
  5229. {
  5230. "command": "gitlens.views.stashes.setFilesLayoutToAuto",
  5231. "when": "false"
  5232. },
  5233. {
  5234. "command": "gitlens.views.stashes.setFilesLayoutToList",
  5235. "when": "false"
  5236. },
  5237. {
  5238. "command": "gitlens.views.stashes.setFilesLayoutToTree",
  5239. "when": "false"
  5240. },
  5241. {
  5242. "command": "gitlens.views.tags.copy",
  5243. "when": "false"
  5244. },
  5245. {
  5246. "command": "gitlens.views.tags.refresh",
  5247. "when": "false"
  5248. },
  5249. {
  5250. "command": "gitlens.views.tags.setLayoutToList",
  5251. "when": "false"
  5252. },
  5253. {
  5254. "command": "gitlens.views.tags.setLayoutToTree",
  5255. "when": "false"
  5256. },
  5257. {
  5258. "command": "gitlens.views.tags.setFilesLayoutToAuto",
  5259. "when": "false"
  5260. },
  5261. {
  5262. "command": "gitlens.views.tags.setFilesLayoutToList",
  5263. "when": "false"
  5264. },
  5265. {
  5266. "command": "gitlens.views.tags.setFilesLayoutToTree",
  5267. "when": "false"
  5268. },
  5269. {
  5270. "command": "gitlens.views.tags.setShowAvatarsOn",
  5271. "when": "false"
  5272. },
  5273. {
  5274. "command": "gitlens.views.tags.setShowAvatarsOff",
  5275. "when": "false"
  5276. }
  5277. ],
  5278. "editor/context": [
  5279. {
  5280. "command": "gitlens.showQuickCommitFileDetails",
  5281. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  5282. "group": "2_gitlens@1"
  5283. },
  5284. {
  5285. "command": "gitlens.toggleFileBlame",
  5286. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  5287. "group": "2_gitlens@2"
  5288. },
  5289. {
  5290. "command": "gitlens.openFileInRemote",
  5291. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  5292. "group": "2_gitlens_remote@1",
  5293. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5294. },
  5295. {
  5296. "command": "gitlens.openCommitInRemote",
  5297. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  5298. "group": "2_gitlens_remote@2",
  5299. "alt": "gitlens.copyRemoteCommitUrl"
  5300. },
  5301. {
  5302. "command": "gitlens.diffLineWithPrevious",
  5303. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  5304. "group": "3_compare@1"
  5305. },
  5306. {
  5307. "command": "gitlens.diffLineWithWorking",
  5308. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  5309. "group": "3_compare@2"
  5310. },
  5311. {
  5312. "command": "gitlens.showQuickFileHistory",
  5313. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  5314. "group": "4_gitlens@1"
  5315. },
  5316. {
  5317. "command": "gitlens.showFileHistoryInView",
  5318. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  5319. "group": "4_gitlens@2"
  5320. },
  5321. {
  5322. "command": "gitlens.copyShaToClipboard",
  5323. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  5324. "group": "9_cutcopypaste_gitlens@1"
  5325. },
  5326. {
  5327. "command": "gitlens.copyMessageToClipboard",
  5328. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  5329. "group": "9_cutcopypaste_gitlens@2"
  5330. },
  5331. {
  5332. "command": "gitlens.copyRemoteCommitUrl",
  5333. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  5334. "group": "9_cutcopypaste_gitlens@3"
  5335. },
  5336. {
  5337. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5338. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  5339. "group": "9_cutcopypaste_gitlens@4"
  5340. }
  5341. ],
  5342. "editor/title": [
  5343. {
  5344. "command": "gitlens.diffWithWorking",
  5345. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && !isInDiffEditor",
  5346. "group": "navigation@-99"
  5347. },
  5348. {
  5349. "command": "gitlens.diffWithWorkingInDiffLeft",
  5350. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffEditor && !isInDiffRightEditor",
  5351. "group": "navigation@-99"
  5352. },
  5353. {
  5354. "command": "gitlens.diffWithWorkingInDiffRight",
  5355. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor",
  5356. "group": "navigation@-99"
  5357. },
  5358. {
  5359. "command": "gitlens.openWorkingFile",
  5360. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  5361. "group": "navigation@-98"
  5362. },
  5363. {
  5364. "command": "gitlens.openWorkingFile",
  5365. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && !isInDiffEditor",
  5366. "group": "navigation@-98"
  5367. },
  5368. {
  5369. "command": "gitlens.openWorkingFileInDiffLeft",
  5370. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffEditor && !isInDiffRightEditor",
  5371. "group": "navigation@-98"
  5372. },
  5373. {
  5374. "command": "gitlens.openWorkingFileInDiffRight",
  5375. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor",
  5376. "group": "navigation@-98"
  5377. },
  5378. {
  5379. "command": "gitlens.openRevisionFileInDiffLeft",
  5380. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffEditor && !isInDiffRightEditor",
  5381. "group": "navigation@-97"
  5382. },
  5383. {
  5384. "command": "gitlens.openRevisionFileInDiffRight",
  5385. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor",
  5386. "group": "navigation@-97"
  5387. },
  5388. {
  5389. "command": "gitlens.diffWithPrevious",
  5390. "alt": "gitlens.diffWithRevision",
  5391. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && !isInDiffEditor",
  5392. "group": "navigation@97"
  5393. },
  5394. {
  5395. "command": "gitlens.diffWithPreviousInDiffLeft",
  5396. "alt": "gitlens.diffWithRevision",
  5397. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor",
  5398. "group": "navigation@97"
  5399. },
  5400. {
  5401. "command": "gitlens.diffWithPreviousInDiffRight",
  5402. "alt": "gitlens.diffWithRevision",
  5403. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor",
  5404. "group": "navigation@97"
  5405. },
  5406. {
  5407. "command": "gitlens.showQuickRevisionDetails",
  5408. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && !isInDiffEditor",
  5409. "group": "navigation@98"
  5410. },
  5411. {
  5412. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  5413. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor",
  5414. "group": "navigation@98"
  5415. },
  5416. {
  5417. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  5418. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor",
  5419. "group": "navigation@98"
  5420. },
  5421. {
  5422. "command": "gitlens.diffWithNext",
  5423. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && !isInDiffEditor",
  5424. "group": "navigation@99"
  5425. },
  5426. {
  5427. "command": "gitlens.diffWithNextInDiffLeft",
  5428. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor",
  5429. "group": "navigation@99"
  5430. },
  5431. {
  5432. "command": "gitlens.diffWithNextInDiffRight",
  5433. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor",
  5434. "group": "navigation@99"
  5435. },
  5436. {
  5437. "command": "gitlens.toggleFileBlame",
  5438. "alt": "gitlens.toggleFileHeatmap",
  5439. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.command == blame+heatmap && !isInDiffEditor",
  5440. "group": "navigation@100"
  5441. },
  5442. {
  5443. "command": "gitlens.toggleFileBlame",
  5444. "alt": "gitlens.toggleFileChanges",
  5445. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.command == blame+changes && !isInDiffEditor",
  5446. "group": "navigation@100"
  5447. },
  5448. {
  5449. "command": "gitlens.toggleFileBlameInDiffLeft",
  5450. "alt": "gitlens.toggleFileHeatmapInDiffLeft",
  5451. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.diffCommand == blame+heatmap && isInDiffEditor && !isInDiffRightEditor",
  5452. "group": "navigation@100"
  5453. },
  5454. {
  5455. "command": "gitlens.toggleFileBlameInDiffRight",
  5456. "alt": "gitlens.toggleFileHeatmapInDiffRight",
  5457. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.diffCommand == blame+heatmap && isInDiffRightEditor",
  5458. "group": "navigation@100"
  5459. },
  5460. {
  5461. "command": "gitlens.toggleFileChanges",
  5462. "alt": "gitlens.toggleFileBlame",
  5463. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.command == changes+blame && !isInDiffEditor",
  5464. "group": "navigation@100"
  5465. },
  5466. {
  5467. "command": "gitlens.toggleFileChanges",
  5468. "alt": "gitlens.toggleFileHeatmap",
  5469. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.command == changes+heatmap && !isInDiffEditor",
  5470. "group": "navigation@100"
  5471. },
  5472. {
  5473. "command": "gitlens.toggleFileHeatmap",
  5474. "alt": "gitlens.toggleFileBlame",
  5475. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.command == heatmap+blame && !isInDiffEditor",
  5476. "group": "navigation@100"
  5477. },
  5478. {
  5479. "command": "gitlens.toggleFileHeatmap",
  5480. "alt": "gitlens.toggleFileChanges",
  5481. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.command == heatmap+changes && !isInDiffEditor",
  5482. "group": "navigation@100"
  5483. },
  5484. {
  5485. "command": "gitlens.toggleFileHeatmapInDiffLeft",
  5486. "alt": "gitlens.toggleFileBlameInDiffLeft",
  5487. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.diffCommand == heatmap+blame && isInDiffEditor && !isInDiffRightEditor",
  5488. "group": "navigation@100"
  5489. },
  5490. {
  5491. "command": "gitlens.toggleFileHeatmapInDiffRight",
  5492. "alt": "gitlens.toggleFileBlameInDiffRight",
  5493. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame && config.gitlens.fileAnnotations.diffCommand == heatmap+blame && isInDiffRightEditor",
  5494. "group": "navigation@100"
  5495. },
  5496. {
  5497. "command": "gitlens.computingFileAnnotations",
  5498. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  5499. "group": "navigation@100"
  5500. },
  5501. {
  5502. "command": "gitlens.clearFileAnnotations",
  5503. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  5504. "group": "navigation@100"
  5505. }
  5506. ],
  5507. "editor/title/context": [
  5508. {
  5509. "command": "gitlens.openRevisionFile",
  5510. "when": "resourceScheme == gitlens",
  5511. "group": "1_co_gitlens@1"
  5512. },
  5513. {
  5514. "command": "gitlens.openWorkingFile",
  5515. "when": "resourceScheme == gitlens",
  5516. "group": "1_co_gitlens@2"
  5517. },
  5518. {
  5519. "command": "gitlens.openFileInRemote",
  5520. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.remote",
  5521. "group": "1_co_gitlens@3",
  5522. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5523. },
  5524. {
  5525. "command": "gitlens.diffWithPrevious",
  5526. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  5527. "group": "1_co_gitlens_1@1"
  5528. },
  5529. {
  5530. "command": "gitlens.diffWithRevision",
  5531. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  5532. "group": "1_co_gitlens_1@2"
  5533. },
  5534. {
  5535. "command": "gitlens.diffWithWorking",
  5536. "when": "resourceScheme == gitlens && config.gitlens.menus.editorTab.compare",
  5537. "group": "1_co_gitlens_1@3"
  5538. },
  5539. {
  5540. "command": "gitlens.showQuickFileHistory",
  5541. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  5542. "group": "1_co_gitlens_2@1"
  5543. },
  5544. {
  5545. "command": "gitlens.showFileHistoryInView",
  5546. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  5547. "group": "1_co_gitlens_2@2"
  5548. },
  5549. {
  5550. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5551. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.clipboard",
  5552. "group": "1_cutcopypaste@100"
  5553. }
  5554. ],
  5555. "explorer/context": [
  5556. {
  5557. "command": "gitlens.openFileInRemote",
  5558. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  5559. "group": "1_gitlens@100",
  5560. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5561. },
  5562. {
  5563. "command": "gitlens.diffWithPrevious",
  5564. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  5565. "group": "3_compare@-2"
  5566. },
  5567. {
  5568. "command": "gitlens.diffWithRevision",
  5569. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  5570. "group": "3_compare@-1"
  5571. },
  5572. {
  5573. "command": "gitlens.showQuickFileHistory",
  5574. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  5575. "group": "4_gitlens@1"
  5576. },
  5577. {
  5578. "command": "gitlens.showFileHistoryInView",
  5579. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  5580. "group": "4_gitlens@2"
  5581. },
  5582. {
  5583. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5584. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.clipboard",
  5585. "group": "6_copypath@100"
  5586. }
  5587. ],
  5588. "extension/context": [
  5589. {
  5590. "command": "gitlens.showWelcomePage",
  5591. "when": "extension == eamodio.gitlens && extensionStatus == installed",
  5592. "group": "9_gitlens@1"
  5593. },
  5594. {
  5595. "command": "gitlens.showSettingsPage",
  5596. "when": "extension == eamodio.gitlens && extensionStatus == installed",
  5597. "group": "9_gitlens@2"
  5598. }
  5599. ],
  5600. "scm/title": [
  5601. {
  5602. "command": "gitlens.addAuthors",
  5603. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scm.authors",
  5604. "group": "navigation@-99"
  5605. }
  5606. ],
  5607. "scm/resourceGroup/context": [
  5608. {
  5609. "command": "gitlens.stashSave",
  5610. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroupInline.stash",
  5611. "group": "inline@-1"
  5612. },
  5613. {
  5614. "command": "gitlens.stashSave",
  5615. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash",
  5616. "group": "1_modification@100"
  5617. },
  5618. {
  5619. "command": "gitlens.openChangedFiles",
  5620. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  5621. "group": "2_gitlens@1"
  5622. },
  5623. {
  5624. "command": "gitlens.closeUnchangedFiles",
  5625. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  5626. "group": "2_gitlens@2"
  5627. },
  5628. {
  5629. "command": "gitlens.externalDiffAll",
  5630. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  5631. "group": "3_gitlens@3"
  5632. },
  5633. {
  5634. "command": "gitlens.diffDirectoryWithHead",
  5635. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  5636. "group": "3_gitlens@4"
  5637. }
  5638. ],
  5639. "scm/resourceState/context": [
  5640. {
  5641. "command": "gitlens.openFileInRemote",
  5642. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.remote",
  5643. "group": "navigation",
  5644. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5645. },
  5646. {
  5647. "command": "gitlens.externalDiff",
  5648. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  5649. "group": "navigation"
  5650. },
  5651. {
  5652. "command": "gitlens.diffWithRevision",
  5653. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  5654. "group": "1_gitlens@1"
  5655. },
  5656. {
  5657. "command": "gitlens.diffWithRevisionFrom",
  5658. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  5659. "group": "1_gitlens@2"
  5660. },
  5661. {
  5662. "command": "gitlens.showQuickFileHistory",
  5663. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  5664. "group": "1_gitlens_1@1"
  5665. },
  5666. {
  5667. "command": "gitlens.showFileHistoryInView",
  5668. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  5669. "group": "1_gitlens_1@2"
  5670. },
  5671. {
  5672. "command": "gitlens.stashSaveFiles",
  5673. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmItem.stash",
  5674. "group": "1_modification@-1"
  5675. },
  5676. {
  5677. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5678. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.clipboard",
  5679. "group": "9_gitlens@1"
  5680. }
  5681. ],
  5682. "view/title": [
  5683. {
  5684. "command": "gitlens.pushRepositories",
  5685. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.(repositories|commits)/",
  5686. "group": "navigation@1"
  5687. },
  5688. {
  5689. "command": "gitlens.pullRepositories",
  5690. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.(repositories|commits)/",
  5691. "group": "navigation@2"
  5692. },
  5693. {
  5694. "command": "gitlens.fetchRepositories",
  5695. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.(repositories|commits)/",
  5696. "group": "navigation@3"
  5697. },
  5698. {
  5699. "command": "gitlens.views.switchToAnotherBranch",
  5700. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.branches/",
  5701. "group": "navigation@10"
  5702. },
  5703. {
  5704. "command": "gitlens.views.createBranch",
  5705. "when": "!gitlens:readonly && view =~ /gitlens\\.views\\.branches\\b/",
  5706. "group": "navigation@11"
  5707. },
  5708. {
  5709. "command": "gitlens.views.branches.setLayoutToList",
  5710. "when": "view =~ /gitlens\\.views\\.branches/ && config.gitlens.views.branches.branches.layout == tree",
  5711. "group": "navigation@50"
  5712. },
  5713. {
  5714. "command": "gitlens.views.branches.setLayoutToTree",
  5715. "when": "view =~ /gitlens\\.views\\.branches/ && config.gitlens.views.branches.branches.layout == list",
  5716. "group": "navigation@50"
  5717. },
  5718. {
  5719. "command": "gitlens.views.branches.setFilesLayoutToList",
  5720. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.files.layout == auto",
  5721. "group": "navigation@51"
  5722. },
  5723. {
  5724. "command": "gitlens.views.branches.setFilesLayoutToTree",
  5725. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.files.layout == list",
  5726. "group": "navigation@51"
  5727. },
  5728. {
  5729. "command": "gitlens.views.branches.setFilesLayoutToAuto",
  5730. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.files.layout == tree",
  5731. "group": "navigation@51"
  5732. },
  5733. {
  5734. "command": "gitlens.views.branches.refresh",
  5735. "when": "view =~ /^gitlens\\.views\\.branches/",
  5736. "group": "navigation@99"
  5737. },
  5738. {
  5739. "command": "gitlens.views.branches.setShowAvatarsOn",
  5740. "when": "view =~ /^gitlens\\.views\\.branches/ && !config.gitlens.views.branches.avatars",
  5741. "group": "1_gitlens@0"
  5742. },
  5743. {
  5744. "command": "gitlens.views.branches.setShowAvatarsOff",
  5745. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.avatars",
  5746. "group": "1_gitlens@0"
  5747. },
  5748. {
  5749. "command": "gitlens.views.switchToAnotherBranch",
  5750. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.commits/",
  5751. "group": "navigation@10"
  5752. },
  5753. {
  5754. "command": "gitlens.views.commits.setMyCommitsOnlyOn",
  5755. "when": "view =~ /^gitlens\\.views\\.commits/ && !gitlens:views:commits:myCommitsOnly",
  5756. "group": "navigation@50"
  5757. },
  5758. {
  5759. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  5760. "when": "view =~ /^gitlens\\.views\\.commits/ && gitlens:views:commits:myCommitsOnly",
  5761. "group": "navigation@50"
  5762. },
  5763. {
  5764. "command": "gitlens.views.commits.setFilesLayoutToList",
  5765. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.files.layout == auto",
  5766. "group": "navigation@51"
  5767. },
  5768. {
  5769. "command": "gitlens.views.commits.setFilesLayoutToTree",
  5770. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.files.layout == list",
  5771. "group": "navigation@51"
  5772. },
  5773. {
  5774. "command": "gitlens.views.commits.setFilesLayoutToAuto",
  5775. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.files.layout == tree",
  5776. "group": "navigation@51"
  5777. },
  5778. {
  5779. "command": "gitlens.views.commits.refresh",
  5780. "when": "view =~ /^gitlens\\.views\\.commits/",
  5781. "group": "navigation@99"
  5782. },
  5783. {
  5784. "command": "gitlens.views.commits.setShowAvatarsOn",
  5785. "when": "view =~ /^gitlens\\.views\\.commits/ && !config.gitlens.views.commits.avatars",
  5786. "group": "1_gitlens@0"
  5787. },
  5788. {
  5789. "command": "gitlens.views.commits.setShowAvatarsOff",
  5790. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.avatars",
  5791. "group": "1_gitlens@0"
  5792. },
  5793. {
  5794. "command": "gitlens.views.commits.setShowBranchComparisonOn",
  5795. "when": "view =~ /^gitlens\\.views\\.commits/ && !config.gitlens.views.commits.showBranchComparison",
  5796. "group": "1_gitlens@1"
  5797. },
  5798. {
  5799. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  5800. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.showBranchComparison",
  5801. "group": "1_gitlens@1"
  5802. },
  5803. {
  5804. "command": "gitlens.views.compare.selectForCompare",
  5805. "when": "view =~ /^gitlens\\.views\\.compare/",
  5806. "group": "navigation@10"
  5807. },
  5808. {
  5809. "command": "gitlens.views.compare.setKeepResultsToOn",
  5810. "when": "view =~ /^gitlens\\.views\\.compare/ && !gitlens:views:compare:keepResults",
  5811. "group": "navigation@11"
  5812. },
  5813. {
  5814. "command": "gitlens.views.compare.setKeepResultsToOff",
  5815. "when": "view =~ /^gitlens\\.views\\.compare/ && gitlens:views:compare:keepResults",
  5816. "group": "navigation@11"
  5817. },
  5818. {
  5819. "command": "gitlens.views.compare.setFilesLayoutToList",
  5820. "when": "view =~ /^gitlens\\.views\\.compare/ && config.gitlens.views.compare.files.layout == auto",
  5821. "group": "navigation@50"
  5822. },
  5823. {
  5824. "command": "gitlens.views.compare.setFilesLayoutToTree",
  5825. "when": "view =~ /^gitlens\\.views\\.compare/ && config.gitlens.views.compare.files.layout == list",
  5826. "group": "navigation@50"
  5827. },
  5828. {
  5829. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  5830. "when": "view =~ /^gitlens\\.views\\.compare/ && config.gitlens.views.compare.files.layout == tree",
  5831. "group": "navigation@50"
  5832. },
  5833. {
  5834. "command": "gitlens.views.compare.clear",
  5835. "when": "view =~ /^gitlens\\.views\\.compare/",
  5836. "group": "navigation@98"
  5837. },
  5838. {
  5839. "command": "gitlens.views.compare.refresh",
  5840. "when": "view =~ /^gitlens\\.views\\.compare/",
  5841. "group": "navigation@99"
  5842. },
  5843. {
  5844. "command": "gitlens.views.compare.setShowAvatarsOn",
  5845. "when": "view =~ /^gitlens\\.views\\.compare/ && !config.gitlens.views.compare.avatars",
  5846. "group": "1_gitlens@0"
  5847. },
  5848. {
  5849. "command": "gitlens.views.compare.setShowAvatarsOff",
  5850. "when": "view =~ /^gitlens\\.views\\.compare/ && config.gitlens.views.compare.avatars",
  5851. "group": "1_gitlens@0"
  5852. },
  5853. {
  5854. "command": "gitlens.views.addAuthors",
  5855. "when": "view =~ /^gitlens\\.views\\.contributors/",
  5856. "group": "navigation@10"
  5857. },
  5858. {
  5859. "command": "gitlens.views.contributors.setFilesLayoutToList",
  5860. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == auto",
  5861. "group": "navigation@50"
  5862. },
  5863. {
  5864. "command": "gitlens.views.contributors.setFilesLayoutToTree",
  5865. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == list",
  5866. "group": "navigation@50"
  5867. },
  5868. {
  5869. "command": "gitlens.views.contributors.setFilesLayoutToAuto",
  5870. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == tree",
  5871. "group": "navigation@50"
  5872. },
  5873. {
  5874. "command": "gitlens.views.contributors.refresh",
  5875. "when": "view =~ /^gitlens\\.views\\.contributors/",
  5876. "group": "navigation@99"
  5877. },
  5878. {
  5879. "command": "gitlens.views.contributors.setShowAvatarsOn",
  5880. "when": "view =~ /^gitlens\\.views\\.contributors/ && !config.gitlens.views.contributors.avatars",
  5881. "group": "1_gitlens@0"
  5882. },
  5883. {
  5884. "command": "gitlens.views.contributors.setShowAvatarsOff",
  5885. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.avatars",
  5886. "group": "1_gitlens@0"
  5887. },
  5888. {
  5889. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  5890. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !gitlens:views:fileHistory:editorFollowing",
  5891. "group": "navigation@10"
  5892. },
  5893. {
  5894. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  5895. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && gitlens:views:fileHistory:editorFollowing",
  5896. "group": "navigation@10"
  5897. },
  5898. {
  5899. "command": "gitlens.views.fileHistory.setCursorFollowingOn",
  5900. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !gitlens:views:fileHistory:cursorFollowing",
  5901. "group": "navigation@11"
  5902. },
  5903. {
  5904. "command": "gitlens.views.fileHistory.setCursorFollowingOff",
  5905. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && gitlens:views:fileHistory:cursorFollowing",
  5906. "group": "navigation@11"
  5907. },
  5908. {
  5909. "command": "gitlens.views.fileHistory.changeBase",
  5910. "when": "view =~ /^gitlens\\.views\\.fileHistory/",
  5911. "group": "navigation@12"
  5912. },
  5913. {
  5914. "command": "gitlens.views.fileHistory.refresh",
  5915. "when": "view =~ /^gitlens\\.views\\.fileHistory/",
  5916. "group": "navigation@99"
  5917. },
  5918. {
  5919. "command": "gitlens.views.fileHistory.setShowAvatarsOn",
  5920. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !config.gitlens.views.fileHistory.avatars",
  5921. "group": "1_gitlens@0"
  5922. },
  5923. {
  5924. "command": "gitlens.views.fileHistory.setShowAvatarsOff",
  5925. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && config.gitlens.views.fileHistory.avatars",
  5926. "group": "1_gitlens@0"
  5927. },
  5928. {
  5929. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  5930. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !config.gitlens.advanced.fileHistoryFollowsRenames && !config.gitlens.advanced.fileHistoryShowAllBranches",
  5931. "group": "2_gitlens@0"
  5932. },
  5933. {
  5934. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  5935. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && config.gitlens.advanced.fileHistoryShowAllBranches",
  5936. "group": "2_gitlens@0"
  5937. },
  5938. {
  5939. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  5940. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && config.gitlens.advanced.fileHistoryFollowsRenames && !config.gitlens.advanced.fileHistoryShowAllBranches",
  5941. "group": "2_gitlens@0"
  5942. },
  5943. {
  5944. "command": "gitlens.views.fileHistory.setShowAllBranchesOn",
  5945. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !config.gitlens.advanced.fileHistoryShowAllBranches",
  5946. "group": "2_gitlens@1"
  5947. },
  5948. {
  5949. "command": "gitlens.views.fileHistory.setShowAllBranchesOff",
  5950. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && config.gitlens.advanced.fileHistoryShowAllBranches",
  5951. "group": "2_gitlens@1"
  5952. },
  5953. {
  5954. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  5955. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && !gitlens:views:lineHistory:editorFollowing",
  5956. "group": "navigation@10"
  5957. },
  5958. {
  5959. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  5960. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && gitlens:views:lineHistory:editorFollowing",
  5961. "group": "navigation@10"
  5962. },
  5963. {
  5964. "command": "gitlens.views.lineHistory.changeBase",
  5965. "when": "view =~ /^gitlens\\.views\\.lineHistory/",
  5966. "group": "navigation@11"
  5967. },
  5968. {
  5969. "command": "gitlens.views.lineHistory.refresh",
  5970. "when": "view =~ /^gitlens\\.views\\.lineHistory/",
  5971. "group": "navigation@99"
  5972. },
  5973. {
  5974. "command": "gitlens.views.lineHistory.setShowAvatarsOn",
  5975. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && !config.gitlens.views.lineHistory.avatars",
  5976. "group": "1_gitlens@0"
  5977. },
  5978. {
  5979. "command": "gitlens.views.lineHistory.setShowAvatarsOff",
  5980. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && config.gitlens.views.lineHistory.avatars",
  5981. "group": "1_gitlens@0"
  5982. },
  5983. {
  5984. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  5985. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  5986. "group": "2_gitlens@0"
  5987. },
  5988. {
  5989. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  5990. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  5991. "group": "2_gitlens@0"
  5992. },
  5993. {
  5994. "command": "gitlens.views.remotes.setLayoutToList",
  5995. "when": "view =~ /gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.branches.layout == tree",
  5996. "group": "navigation@50"
  5997. },
  5998. {
  5999. "command": "gitlens.views.remotes.setLayoutToTree",
  6000. "when": "view =~ /gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.branches.layout == list",
  6001. "group": "navigation@50"
  6002. },
  6003. {
  6004. "command": "gitlens.views.remotes.setFilesLayoutToList",
  6005. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.files.layout == auto",
  6006. "group": "navigation@51"
  6007. },
  6008. {
  6009. "command": "gitlens.views.remotes.setFilesLayoutToTree",
  6010. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.files.layout == list",
  6011. "group": "navigation@51"
  6012. },
  6013. {
  6014. "command": "gitlens.views.remotes.setFilesLayoutToAuto",
  6015. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.files.layout == tree",
  6016. "group": "navigation@51"
  6017. },
  6018. {
  6019. "command": "gitlens.views.remotes.refresh",
  6020. "when": "view =~ /^gitlens\\.views\\.remotes/",
  6021. "group": "navigation@99"
  6022. },
  6023. {
  6024. "command": "gitlens.views.remotes.setShowAvatarsOn",
  6025. "when": "view =~ /^gitlens\\.views\\.remotes/ && !config.gitlens.views.remotes.avatars",
  6026. "group": "1_gitlens@0"
  6027. },
  6028. {
  6029. "command": "gitlens.views.remotes.setShowAvatarsOff",
  6030. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.avatars",
  6031. "group": "1_gitlens@0"
  6032. },
  6033. {
  6034. "command": "gitlens.views.repositories.setFilesLayoutToList",
  6035. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.files.layout == auto",
  6036. "group": "navigation@50"
  6037. },
  6038. {
  6039. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  6040. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.files.layout == list",
  6041. "group": "navigation@50"
  6042. },
  6043. {
  6044. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  6045. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.files.layout == tree",
  6046. "group": "navigation@50"
  6047. },
  6048. {
  6049. "command": "gitlens.views.repositories.refresh",
  6050. "when": "view =~ /^gitlens\\.views\\.repositories/",
  6051. "group": "navigation@99"
  6052. },
  6053. {
  6054. "command": "gitlens.views.repositories.setShowAvatarsOn",
  6055. "when": "view =~ /^gitlens\\.views\\.repositories/ && !config.gitlens.views.repositories.avatars",
  6056. "group": "1_gitlens@0"
  6057. },
  6058. {
  6059. "command": "gitlens.views.repositories.setShowAvatarsOff",
  6060. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.avatars",
  6061. "group": "1_gitlens@0"
  6062. },
  6063. {
  6064. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  6065. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  6066. "group": "2_gitlens@0"
  6067. },
  6068. {
  6069. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  6070. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  6071. "group": "2_gitlens@0"
  6072. },
  6073. {
  6074. "command": "gitlens.views.search.searchCommits",
  6075. "when": "view =~ /^gitlens\\.views\\.search/",
  6076. "group": "navigation@10"
  6077. },
  6078. {
  6079. "command": "gitlens.views.search.setKeepResultsToOn",
  6080. "when": "view =~ /^gitlens\\.views\\.search/ && !gitlens:views:search:keepResults",
  6081. "group": "navigation@11"
  6082. },
  6083. {
  6084. "command": "gitlens.views.search.setKeepResultsToOff",
  6085. "when": "view =~ /^gitlens\\.views\\.search/ && gitlens:views:search:keepResults",
  6086. "group": "navigation@11"
  6087. },
  6088. {
  6089. "command": "gitlens.views.search.setFilesLayoutToList",
  6090. "when": "view =~ /^gitlens\\.views\\.search/ && config.gitlens.views.search.files.layout == auto",
  6091. "group": "navigation@50"
  6092. },
  6093. {
  6094. "command": "gitlens.views.search.setFilesLayoutToTree",
  6095. "when": "view =~ /^gitlens\\.views\\.search/ && config.gitlens.views.search.files.layout == list",
  6096. "group": "navigation@50"
  6097. },
  6098. {
  6099. "command": "gitlens.views.search.setFilesLayoutToAuto",
  6100. "when": "view =~ /^gitlens\\.views\\.search/ && config.gitlens.views.search.files.layout == tree",
  6101. "group": "navigation@50"
  6102. },
  6103. {
  6104. "command": "gitlens.views.search.clear",
  6105. "when": "view =~ /^gitlens\\.views\\.search/",
  6106. "group": "navigation@98"
  6107. },
  6108. {
  6109. "command": "gitlens.views.search.refresh",
  6110. "when": "view =~ /^gitlens\\.views\\.search/",
  6111. "group": "navigation@99"
  6112. },
  6113. {
  6114. "command": "gitlens.views.search.setShowAvatarsOn",
  6115. "when": "view =~ /^gitlens\\.views\\.search/ && !config.gitlens.views.search.avatars",
  6116. "group": "1_gitlens@0"
  6117. },
  6118. {
  6119. "command": "gitlens.views.search.setShowAvatarsOff",
  6120. "when": "view =~ /^gitlens\\.views\\.search/ && config.gitlens.views.search.avatars",
  6121. "group": "1_gitlens@0"
  6122. },
  6123. {
  6124. "command": "gitlens.stashSave",
  6125. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.stashes/",
  6126. "group": "navigation@10"
  6127. },
  6128. {
  6129. "command": "gitlens.stashApply",
  6130. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.stashes/",
  6131. "group": "navigation@11"
  6132. },
  6133. {
  6134. "command": "gitlens.views.stashes.setFilesLayoutToList",
  6135. "when": "view =~ /^gitlens\\.views\\.stashes/ && config.gitlens.views.stashes.files.layout == auto",
  6136. "group": "navigation@50"
  6137. },
  6138. {
  6139. "command": "gitlens.views.stashes.setFilesLayoutToTree",
  6140. "when": "view =~ /^gitlens\\.views\\.stashes/ && config.gitlens.views.stashes.files.layout == list",
  6141. "group": "navigation@50"
  6142. },
  6143. {
  6144. "command": "gitlens.views.stashes.setFilesLayoutToAuto",
  6145. "when": "view =~ /^gitlens\\.views\\.stashes/ && config.gitlens.views.stashes.files.layout == tree",
  6146. "group": "navigation@50"
  6147. },
  6148. {
  6149. "command": "gitlens.views.stashes.refresh",
  6150. "when": "view =~ /^gitlens\\.views\\.stashes/",
  6151. "group": "navigation@99"
  6152. },
  6153. {
  6154. "command": "gitlens.views.createTag",
  6155. "when": "!gitlens:readonly && view =~ /gitlens\\.views\\.tags\\b/",
  6156. "group": "navigation@10"
  6157. },
  6158. {
  6159. "command": "gitlens.views.tags.setLayoutToList",
  6160. "when": "view =~ /gitlens\\.views\\.tags/ && config.gitlens.views.tags.branches.layout == tree",
  6161. "group": "navigation@50"
  6162. },
  6163. {
  6164. "command": "gitlens.views.tags.setLayoutToTree",
  6165. "when": "view =~ /gitlens\\.views\\.tags/ && config.gitlens.views.tags.branches.layout == list",
  6166. "group": "navigation@50"
  6167. },
  6168. {
  6169. "command": "gitlens.views.tags.setFilesLayoutToList",
  6170. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.files.layout == auto",
  6171. "group": "navigation@51"
  6172. },
  6173. {
  6174. "command": "gitlens.views.tags.setFilesLayoutToTree",
  6175. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.files.layout == list",
  6176. "group": "navigation@51"
  6177. },
  6178. {
  6179. "command": "gitlens.views.tags.setFilesLayoutToAuto",
  6180. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.files.layout == tree",
  6181. "group": "navigation@51"
  6182. },
  6183. {
  6184. "command": "gitlens.views.tags.refresh",
  6185. "when": "view =~ /^gitlens\\.views\\.tags/",
  6186. "group": "navigation@99"
  6187. },
  6188. {
  6189. "command": "gitlens.views.tags.setShowAvatarsOn",
  6190. "when": "view =~ /^gitlens\\.views\\.tags/ && !config.gitlens.views.tags.avatars",
  6191. "group": "1_gitlens@0"
  6192. },
  6193. {
  6194. "command": "gitlens.views.tags.setShowAvatarsOff",
  6195. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.avatars",
  6196. "group": "1_gitlens@0"
  6197. },
  6198. {
  6199. "command": "gitlens.showSettingsPage#branches-view",
  6200. "when": "view =~ /^gitlens\\.views\\.branches/",
  6201. "group": "9_gitlens@1"
  6202. },
  6203. {
  6204. "command": "gitlens.showSettingsPage#commits-view",
  6205. "when": "view =~ /^gitlens\\.views\\.commits/",
  6206. "group": "9_gitlens@1"
  6207. },
  6208. {
  6209. "command": "gitlens.showSettingsPage#compare-view",
  6210. "when": "view =~ /^gitlens\\.views\\.compare/",
  6211. "group": "9_gitlens@1"
  6212. },
  6213. {
  6214. "command": "gitlens.showSettingsPage#contributors-view",
  6215. "when": "view =~ /^gitlens\\.views\\.contributors/",
  6216. "group": "9_gitlens@1"
  6217. },
  6218. {
  6219. "command": "gitlens.showSettingsPage#file-history-view",
  6220. "when": "view =~ /^gitlens\\.views\\.fileHistory/",
  6221. "group": "9_gitlens@1"
  6222. },
  6223. {
  6224. "command": "gitlens.showSettingsPage#line-history-view",
  6225. "when": "view =~ /^gitlens\\.views\\.lineHistory/",
  6226. "group": "9_gitlens@1"
  6227. },
  6228. {
  6229. "command": "gitlens.showSettingsPage#remotes-view",
  6230. "when": "view =~ /^gitlens\\.views\\.remotes/",
  6231. "group": "9_gitlens@1"
  6232. },
  6233. {
  6234. "command": "gitlens.showSettingsPage#repositories-view",
  6235. "when": "view =~ /^gitlens\\.views\\.repositories/",
  6236. "group": "9_gitlens@1"
  6237. },
  6238. {
  6239. "command": "gitlens.showSettingsPage#search-commits-view",
  6240. "when": "view =~ /^gitlens\\.views\\.search/",
  6241. "group": "9_gitlens@1"
  6242. },
  6243. {
  6244. "command": "gitlens.showSettingsPage#stashes-view",
  6245. "when": "view =~ /^gitlens\\.views\\.stashes/",
  6246. "group": "9_gitlens@1"
  6247. },
  6248. {
  6249. "command": "gitlens.showSettingsPage#tags-view",
  6250. "when": "view =~ /^gitlens\\.views\\.tags/",
  6251. "group": "9_gitlens@1"
  6252. },
  6253. {
  6254. "command": "gitlens.supportGitLens",
  6255. "when": "view =~ /^gitlens\\.views\\..*/",
  6256. "group": "9_gitlens@-1"
  6257. }
  6258. ],
  6259. "view/item/context": [
  6260. {
  6261. "command": "gitlens.views.repositories.setBranchesLayoutToList",
  6262. "when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == tree",
  6263. "group": "inline@1"
  6264. },
  6265. {
  6266. "command": "gitlens.views.repositories.setBranchesLayoutToTree",
  6267. "when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == list",
  6268. "group": "inline@1"
  6269. },
  6270. {
  6271. "command": "gitlens.openBranchesInRemote",
  6272. "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/",
  6273. "group": "inline@98",
  6274. "alt": "gitlens.copyRemoteBranchesUrl"
  6275. },
  6276. {
  6277. "command": "gitlens.openBranchesInRemote",
  6278. "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/",
  6279. "group": "1_gitlens@1",
  6280. "alt": "gitlens.copyRemoteBranchesUrl"
  6281. },
  6282. {
  6283. "command": "gitlens.views.switchToBranch",
  6284. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6285. "group": "inline@7"
  6286. },
  6287. {
  6288. "command": "gitlens.views.switchToAnotherBranch",
  6289. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
  6290. "group": "inline@7"
  6291. },
  6292. {
  6293. "command": "gitlens.views.publishBranch",
  6294. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+tracking\\b)/",
  6295. "group": "inline@8"
  6296. },
  6297. {
  6298. "command": "gitlens.views.push",
  6299. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+ahead\\b)(?!.*?\\b\\+behind\\b)/",
  6300. "group": "inline@8"
  6301. },
  6302. {
  6303. "command": "gitlens.views.pull",
  6304. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/",
  6305. "group": "inline@9"
  6306. },
  6307. {
  6308. "command": "gitlens.views.compareWithHead",
  6309. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/",
  6310. "group": "inline@97",
  6311. "alt": "gitlens.views.compareWithWorking"
  6312. },
  6313. {
  6314. "command": "gitlens.views.compareWithWorking",
  6315. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
  6316. "group": "inline@97"
  6317. },
  6318. {
  6319. "command": "gitlens.views.star",
  6320. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
  6321. "group": "inline@98"
  6322. },
  6323. {
  6324. "command": "gitlens.views.unstar",
  6325. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/",
  6326. "group": "inline@98"
  6327. },
  6328. {
  6329. "command": "gitlens.openBranchInRemote",
  6330. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
  6331. "group": "inline@99",
  6332. "alt": "gitlens.copyRemoteBranchUrl"
  6333. },
  6334. {
  6335. "command": "gitlens.views.switchToAnotherBranch",
  6336. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
  6337. "group": "1_gitlens_actions@1"
  6338. },
  6339. {
  6340. "command": "gitlens.views.switchToBranch",
  6341. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6342. "group": "1_gitlens_actions@1"
  6343. },
  6344. {
  6345. "command": "gitlens.views.mergeBranchInto",
  6346. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6347. "group": "1_gitlens_actions@3"
  6348. },
  6349. {
  6350. "command": "gitlens.views.rebaseOntoBranch",
  6351. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6352. "group": "1_gitlens_actions@4"
  6353. },
  6354. {
  6355. "command": "gitlens.views.rebaseOntoUpstream",
  6356. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)/",
  6357. "group": "1_gitlens_actions@4"
  6358. },
  6359. {
  6360. "command": "gitlens.views.deleteBranch",
  6361. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6362. "group": "1_gitlens_actions@5"
  6363. },
  6364. {
  6365. "command": "gitlens.views.renameBranch",
  6366. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
  6367. "group": "1_gitlens_actions@6"
  6368. },
  6369. {
  6370. "command": "gitlens.views.createBranch",
  6371. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
  6372. "group": "1_gitlens_actions@7"
  6373. },
  6374. {
  6375. "command": "gitlens.views.createTag",
  6376. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
  6377. "group": "1_gitlens_actions@8"
  6378. },
  6379. {
  6380. "command": "gitlens.openBranchInRemote",
  6381. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
  6382. "group": "2_gitlens_quickopen@1",
  6383. "alt": "gitlens.copyRemoteBranchUrl"
  6384. },
  6385. {
  6386. "command": "gitlens.views.openDirectoryDiffWithWorking",
  6387. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  6388. "group": "2_gitlens_quickopen@2"
  6389. },
  6390. {
  6391. "command": "gitlens.views.compareWithUpstream",
  6392. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/",
  6393. "group": "4_gitlens_compare@1"
  6394. },
  6395. {
  6396. "command": "gitlens.views.compareWithHead",
  6397. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/",
  6398. "group": "4_gitlens_compare@2"
  6399. },
  6400. {
  6401. "command": "gitlens.views.compareWithWorking",
  6402. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  6403. "group": "4_gitlens_compare@3"
  6404. },
  6405. {
  6406. "command": "gitlens.views.compareAncestryWithWorking",
  6407. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6408. "group": "4_gitlens_compare@4"
  6409. },
  6410. {
  6411. "command": "gitlens.views.compareWithSelected",
  6412. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  6413. "group": "4_gitlens_compare@98"
  6414. },
  6415. {
  6416. "command": "gitlens.views.selectForCompare",
  6417. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  6418. "group": "4_gitlens_compare@99"
  6419. },
  6420. {
  6421. "command": "gitlens.views.compareFileWithSelected",
  6422. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:views:canCompare:file",
  6423. "group": "4_gitlens_compare@98"
  6424. },
  6425. {
  6426. "command": "gitlens.views.selectFileForCompare",
  6427. "when": "viewItem =~ /gitlens:file\\b/",
  6428. "group": "4_gitlens_compare@99"
  6429. },
  6430. {
  6431. "command": "gitlens.views.star",
  6432. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
  6433. "group": "8_gitlens_actions@1"
  6434. },
  6435. {
  6436. "command": "gitlens.views.unstar",
  6437. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/",
  6438. "group": "8_gitlens_actions@1"
  6439. },
  6440. {
  6441. "command": "gitlens.views.addAuthors",
  6442. "when": "viewItem =~ /gitlens:contributors\\b/",
  6443. "group": "inline@1"
  6444. },
  6445. {
  6446. "command": "gitlens.views.addAuthors",
  6447. "when": "viewItem =~ /gitlens:contributors\\b/",
  6448. "group": "1_gitlens_actions@1"
  6449. },
  6450. {
  6451. "command": "gitlens.inviteToLiveShare",
  6452. "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6453. "group": "inline@1"
  6454. },
  6455. {
  6456. "command": "gitlens.views.addAuthor",
  6457. "when": "viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6458. "group": "inline@2"
  6459. },
  6460. {
  6461. "command": "gitlens.views.copyContributorToClipboard",
  6462. "when": "viewItem =~ /gitlens:contributor\\b/",
  6463. "group": "inline@98"
  6464. },
  6465. {
  6466. "command": "gitlens.inviteToLiveShare",
  6467. "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6468. "group": "1_gitlens_actions@1"
  6469. },
  6470. {
  6471. "command": "gitlens.views.addAuthor",
  6472. "when": "viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6473. "group": "1_gitlens_actions@2"
  6474. },
  6475. {
  6476. "command": "gitlens.views.copyContributorToClipboard",
  6477. "when": "viewItem =~ /gitlens:contributor\\b/",
  6478. "group": "7_gitlens_cutcopypaste@1"
  6479. },
  6480. {
  6481. "command": "gitlens.copyShaToClipboard",
  6482. "when": "viewItem =~ /gitlens:commit\\b/",
  6483. "group": "inline@98",
  6484. "alt": "gitlens.copyMessageToClipboard"
  6485. },
  6486. {
  6487. "command": "gitlens.openCommitInRemote",
  6488. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  6489. "group": "inline@99",
  6490. "alt": "gitlens.copyRemoteCommitUrl"
  6491. },
  6492. {
  6493. "command": "gitlens.views.cherryPick",
  6494. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+current\\b)/",
  6495. "group": "1_gitlens_actions@1"
  6496. },
  6497. {
  6498. "command": "gitlens.views.revert",
  6499. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6500. "group": "1_gitlens_actions@2"
  6501. },
  6502. {
  6503. "command": "gitlens.views.resetCommit",
  6504. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6505. "group": "1_gitlens_actions@3"
  6506. },
  6507. {
  6508. "command": "gitlens.views.resetToCommit",
  6509. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6510. "group": "1_gitlens_actions@4"
  6511. },
  6512. {
  6513. "command": "gitlens.views.pushToCommit",
  6514. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6515. "group": "1_gitlens_actions@5"
  6516. },
  6517. {
  6518. "command": "gitlens.views.rebaseOntoCommit",
  6519. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6520. "group": "1_gitlens_actions@6"
  6521. },
  6522. {
  6523. "command": "gitlens.views.switchToCommit",
  6524. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6525. "group": "1_gitlens_actions@7"
  6526. },
  6527. {
  6528. "command": "gitlens.views.createBranch",
  6529. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6530. "group": "1_gitlens_actions_1@1"
  6531. },
  6532. {
  6533. "command": "gitlens.views.createTag",
  6534. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6535. "group": "1_gitlens_actions_1@2"
  6536. },
  6537. {
  6538. "command": "gitlens.views.openChangedFileDiffs",
  6539. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  6540. "group": "2_gitlens_quickopen@1"
  6541. },
  6542. {
  6543. "command": "gitlens.views.openChangedFileDiffsWithWorking",
  6544. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  6545. "group": "2_gitlens_quickopen@2"
  6546. },
  6547. {
  6548. "command": "gitlens.views.openChangedFiles",
  6549. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  6550. "group": "2_gitlens_quickopen_1@1"
  6551. },
  6552. {
  6553. "command": "gitlens.views.openChangedFileRevisions",
  6554. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  6555. "group": "2_gitlens_quickopen_1@2"
  6556. },
  6557. {
  6558. "command": "gitlens.openCommitInRemote",
  6559. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  6560. "group": "2_gitlens_quickopen_2@1",
  6561. "alt": "gitlens.copyRemoteCommitUrl"
  6562. },
  6563. {
  6564. "command": "gitlens.revealCommitInView",
  6565. "when": "viewItem =~ /gitlens:commit\\b/",
  6566. "group": "3_gitlens_explore@1"
  6567. },
  6568. {
  6569. "command": "gitlens.showCommitInView",
  6570. "when": "viewItem =~ /gitlens:commit\\b/",
  6571. "group": "3_gitlens_explore@2"
  6572. },
  6573. {
  6574. "command": "gitlens.copyShaToClipboard",
  6575. "when": "viewItem =~ /gitlens:(commit|file\\b(?=.*?\\b\\+committed\\b))\\b/",
  6576. "group": "7_gitlens_cutcopypaste@1"
  6577. },
  6578. {
  6579. "command": "gitlens.copyMessageToClipboard",
  6580. "when": "viewItem =~ /gitlens:(commit|stash|file\\b(?=.*?\\b\\+committed\\b))\\b/",
  6581. "group": "7_gitlens_cutcopypaste@2"
  6582. },
  6583. {
  6584. "command": "gitlens.views.openFile",
  6585. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/",
  6586. "group": "inline@1"
  6587. },
  6588. {
  6589. "command": "gitlens.views.openFile",
  6590. "when": "viewItem =~ /gitlens:file\\b(?!.*?\\b\\+history\\b)/",
  6591. "group": "inline@1",
  6592. "alt": "gitlens.views.openFileRevision"
  6593. },
  6594. {
  6595. "command": "gitlens.views.openFileRevision",
  6596. "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+history\\b)/",
  6597. "group": "inline@1",
  6598. "alt": "gitlens.views.openFile"
  6599. },
  6600. {
  6601. "command": "gitlens.views.openChangesWithWorking",
  6602. "when": "viewItem =~ /gitlens:file\\b/",
  6603. "group": "inline@96"
  6604. },
  6605. {
  6606. "command": "gitlens.views.stageFile",
  6607. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+unstaged\\b)/",
  6608. "group": "inline@97"
  6609. },
  6610. {
  6611. "command": "gitlens.views.unstageFile",
  6612. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+staged\\b)/",
  6613. "group": "inline@97"
  6614. },
  6615. {
  6616. "command": "gitlens.copyShaToClipboard",
  6617. "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)\\b/",
  6618. "group": "inline@98",
  6619. "alt": "gitlens.copyMessageToClipboard"
  6620. },
  6621. {
  6622. "command": "gitlens.openFileInRemote",
  6623. "when": "viewItem =~ /gitlens:(file\\b(?!.*?\\b\\+(un)?staged\\b)|history:(file|line))\\b/ && gitlens:hasRemotes",
  6624. "group": "inline@99",
  6625. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  6626. },
  6627. {
  6628. "command": "gitlens.views.stageFile",
  6629. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+unstaged\\b)/",
  6630. "group": "1_gitlens_actions@1"
  6631. },
  6632. {
  6633. "command": "gitlens.views.unstageFile",
  6634. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+staged\\b)/",
  6635. "group": "1_gitlens_actions@1"
  6636. },
  6637. {
  6638. "command": "gitlens.stashSaveFiles",
  6639. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+(un)?staged\\b)/",
  6640. "group": "1_gitlens_actions@2"
  6641. },
  6642. {
  6643. "command": "gitlens.views.openChanges",
  6644. "when": "viewItem =~ /gitlens:file\\b/",
  6645. "group": "2_gitlens_quickopen@1"
  6646. },
  6647. {
  6648. "command": "gitlens.externalDiff",
  6649. "when": "viewItem =~ /gitlens:file\\b/",
  6650. "group": "2_gitlens_quickopen@2"
  6651. },
  6652. {
  6653. "command": "gitlens.views.openChangesWithWorking",
  6654. "when": "viewItem =~ /gitlens:file\\b/",
  6655. "group": "2_gitlens_quickopen@3"
  6656. },
  6657. {
  6658. "command": "gitlens.views.openFile",
  6659. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  6660. "group": "2_gitlens_quickopen_1@1"
  6661. },
  6662. {
  6663. "command": "gitlens.views.openFileRevision",
  6664. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
  6665. "group": "2_gitlens_quickopen_1@2"
  6666. },
  6667. {
  6668. "command": "gitlens.openFileInRemote",
  6669. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  6670. "group": "2_gitlens_quickopen_2@1",
  6671. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  6672. },
  6673. {
  6674. "command": "gitlens.views.openFileRevisionInRemote",
  6675. "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
  6676. "group": "2_gitlens_quickopen_2@2"
  6677. },
  6678. {
  6679. "command": "gitlens.openCommitInRemote",
  6680. "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
  6681. "group": "2_gitlens_quickopen_2@3",
  6682. "alt": "gitlens.copyRemoteCommitUrl"
  6683. },
  6684. {
  6685. "command": "gitlens.views.highlightChanges",
  6686. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
  6687. "group": "2_gitlens_quickopen_3@1"
  6688. },
  6689. {
  6690. "command": "gitlens.views.highlightRevisionChanges",
  6691. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
  6692. "group": "2_gitlens_quickopen_3@2"
  6693. },
  6694. {
  6695. "command": "gitlens.showFileHistoryInView",
  6696. "when": "viewItem =~ /gitlens:file\\b/",
  6697. "group": "3_gitlens_explore@4"
  6698. },
  6699. {
  6700. "command": "gitlens.revealCommitInView",
  6701. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  6702. "group": "3_gitlens_explore@3"
  6703. },
  6704. {
  6705. "command": "gitlens.showCommitInView",
  6706. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  6707. "group": "3_gitlens_explore@4"
  6708. },
  6709. {
  6710. "command": "gitlens.copyRemoteCommitUrl",
  6711. "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
  6712. "group": "7_gitlens_cutcopypaste@3"
  6713. },
  6714. {
  6715. "command": "gitlens.copyRemoteFileUrlToClipboard",
  6716. "when": "viewItem =~ /gitlens:(file\\b(?=.*?\\b\\+committed\\b)|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  6717. "group": "7_gitlens_cutcopypaste@4"
  6718. },
  6719. {
  6720. "command": "gitlens.views.applyChanges",
  6721. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results\\b)/",
  6722. "group": "8_gitlens_actions@1"
  6723. },
  6724. {
  6725. "command": "gitlens.views.restore",
  6726. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results\\b)/",
  6727. "group": "8_gitlens_actions@2"
  6728. },
  6729. {
  6730. "command": "gitlens.openFileInRemote",
  6731. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  6732. "group": "5_gitlens_open@2",
  6733. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  6734. },
  6735. {
  6736. "command": "gitlens.views.applyChanges",
  6737. "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
  6738. "group": "1_gitlens_actions@1"
  6739. },
  6740. {
  6741. "command": "gitlens.views.restore",
  6742. "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
  6743. "group": "1_gitlens_actions@2"
  6744. },
  6745. {
  6746. "command": "gitlens.views.addRemote",
  6747. "when": "!gitlens:readonly && viewItem =~ /gitlens:remotes\\b/",
  6748. "group": "inline@1"
  6749. },
  6750. {
  6751. "command": "gitlens.views.addRemote",
  6752. "when": "!gitlens:readonly && viewItem =~ /gitlens:remotes\\b/",
  6753. "group": "1_gitlens_actions@1"
  6754. },
  6755. {
  6756. "command": "gitlens.views.fetch",
  6757. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6758. "group": "inline@97"
  6759. },
  6760. {
  6761. "command": "gitlens.connectRemoteProvider",
  6762. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+disconnected\\b)/",
  6763. "group": "inline@98"
  6764. },
  6765. {
  6766. "command": "gitlens.disconnectRemoteProvider",
  6767. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+connected\\b)/",
  6768. "group": "inline@98"
  6769. },
  6770. {
  6771. "command": "gitlens.openRepoInRemote",
  6772. "when": "viewItem =~ /gitlens:remote\\b/",
  6773. "group": "inline@99",
  6774. "alt": "gitlens.copyRemoteRepositoryUrl"
  6775. },
  6776. {
  6777. "command": "gitlens.views.fetch",
  6778. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6779. "group": "1_gitlens_actions@1"
  6780. },
  6781. {
  6782. "command": "gitlens.views.pruneRemote",
  6783. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6784. "group": "1_gitlens_actions@2"
  6785. },
  6786. {
  6787. "command": "gitlens.openRepoInRemote",
  6788. "when": "viewItem =~ /gitlens:remote\\b/",
  6789. "group": "5_gitlens_open@1",
  6790. "alt": "gitlens.copyRemoteRepositoryUrl"
  6791. },
  6792. {
  6793. "command": "gitlens.openBranchesInRemote",
  6794. "when": "viewItem =~ /gitlens:remote\\b/",
  6795. "group": "5_gitlens_open@2",
  6796. "alt": "gitlens.copyRemoteBranchesUrl"
  6797. },
  6798. {
  6799. "command": "gitlens.views.terminalRemoveRemote",
  6800. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6801. "group": "6_gitlens_terminal@1"
  6802. },
  6803. {
  6804. "command": "gitlens.views.setAsDefault",
  6805. "when": "viewItem =~ /gitlens:remote\\b(?!.*?\\b\\+default\\b)/",
  6806. "group": "8_gitlens_actions@1"
  6807. },
  6808. {
  6809. "command": "gitlens.views.unsetAsDefault",
  6810. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+default\\b)/",
  6811. "group": "8_gitlens_actions@1"
  6812. },
  6813. {
  6814. "command": "gitlens.connectRemoteProvider",
  6815. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+disconnected\\b)/",
  6816. "group": "8_gitlens_actions@2"
  6817. },
  6818. {
  6819. "command": "gitlens.disconnectRemoteProvider",
  6820. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+connected\\b)/",
  6821. "group": "8_gitlens_actions@2"
  6822. },
  6823. {
  6824. "command": "gitlens.views.browseRepoAtRevision",
  6825. "when": "viewItem =~ /gitlens:(branch|commit|file\\b((?=.*?\\b\\+committed\\b)|:results)|stash|tag)\\b/",
  6826. "group": "3_gitlens_explore@10"
  6827. },
  6828. {
  6829. "command": "gitlens.views.browseRepoAtRevisionInNewWindow",
  6830. "when": "viewItem =~ /gitlens:(branch|commit|file\\b((?=.*?\\b\\+committed\\b)|:results)|stash|tag)\\b/",
  6831. "group": "3_gitlens_explore@11"
  6832. },
  6833. {
  6834. "command": "gitlens.views.push",
  6835. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6836. "group": "inline@95",
  6837. "alt": "gitlens.views.pushWithForce"
  6838. },
  6839. {
  6840. "command": "gitlens.views.pull",
  6841. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6842. "group": "inline@96"
  6843. },
  6844. {
  6845. "command": "gitlens.views.fetch",
  6846. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6847. "group": "inline@97"
  6848. },
  6849. {
  6850. "command": "gitlens.showCommitSearch",
  6851. "when": "viewItem =~ /gitlens:repository\\b/",
  6852. "group": "inline@98"
  6853. },
  6854. {
  6855. "command": "gitlens.views.star",
  6856. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/",
  6857. "group": "inline@99"
  6858. },
  6859. {
  6860. "command": "gitlens.views.unstar",
  6861. "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/",
  6862. "group": "inline@99"
  6863. },
  6864. {
  6865. "command": "gitlens.views.fetch",
  6866. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6867. "group": "1_gitlens_actions@1"
  6868. },
  6869. {
  6870. "command": "gitlens.views.pull",
  6871. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6872. "group": "1_gitlens_actions@1"
  6873. },
  6874. {
  6875. "command": "gitlens.views.push",
  6876. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6877. "group": "1_gitlens_actions@1"
  6878. },
  6879. {
  6880. "command": "gitlens.views.pushWithForce",
  6881. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6882. "group": "1_gitlens_actions@2"
  6883. },
  6884. {
  6885. "command": "gitlens.views.openInTerminal",
  6886. "when": "viewItem =~ /gitlens:repository\\b/",
  6887. "group": "2_gitlens_quickopen@1"
  6888. },
  6889. {
  6890. "command": "gitlens.openRepoInRemote",
  6891. "when": "viewItem =~ /gitlens:repository\\b/ && gitlens:hasRemotes",
  6892. "group": "2_gitlens_quickopen@2",
  6893. "alt": "gitlens.copyRemoteRepositoryUrl"
  6894. },
  6895. {
  6896. "command": "gitlens.showCommitSearch",
  6897. "when": "viewItem =~ /gitlens:repository\\b/",
  6898. "group": "3_gitlens_explore@1"
  6899. },
  6900. {
  6901. "command": "gitlens.stashSave",
  6902. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6903. "group": "1_gitlens_actions_1@1"
  6904. },
  6905. {
  6906. "command": "gitlens.stashApply",
  6907. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6908. "group": "1_gitlens_actions_1@2"
  6909. },
  6910. {
  6911. "command": "gitlens.views.star",
  6912. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/",
  6913. "group": "8_gitlens_actions_@1"
  6914. },
  6915. {
  6916. "command": "gitlens.views.unstar",
  6917. "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/",
  6918. "group": "8_gitlens_actions_@1"
  6919. },
  6920. {
  6921. "command": "gitlens.views.closeRepository",
  6922. "when": "viewItem =~ /gitlens:repository\\b/",
  6923. "group": "8_gitlens_actions_@2"
  6924. },
  6925. {
  6926. "command": "gitlens.views.publishBranch",
  6927. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:none",
  6928. "group": "inline@1"
  6929. },
  6930. {
  6931. "command": "gitlens.views.push",
  6932. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  6933. "group": "inline@1",
  6934. "alt": "gitlens.views.pushWithForce"
  6935. },
  6936. {
  6937. "command": "gitlens.views.pull",
  6938. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  6939. "group": "inline@1"
  6940. },
  6941. {
  6942. "command": "gitlens.views.fetch",
  6943. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:status:upstream:(?!none)/",
  6944. "group": "inline@2"
  6945. },
  6946. {
  6947. "command": "gitlens.views.push",
  6948. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  6949. "group": "1_gitlens_actions@1"
  6950. },
  6951. {
  6952. "command": "gitlens.views.pushWithForce",
  6953. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  6954. "group": "1_gitlens_actions@2"
  6955. },
  6956. {
  6957. "command": "gitlens.views.pull",
  6958. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  6959. "group": "1_gitlens_actions@1"
  6960. },
  6961. {
  6962. "command": "gitlens.views.fetch",
  6963. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:status:upstream:(?!none)/",
  6964. "group": "1_gitlens_actions@3"
  6965. },
  6966. {
  6967. "command": "gitlens.views.dismissNode",
  6968. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\b\\+pinned\\b)|search)\\b(?!:(commits|files))/",
  6969. "group": "inline@99"
  6970. },
  6971. {
  6972. "command": "gitlens.views.setComparisonToTwoDot",
  6973. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+threedot\\b)/",
  6974. "group": "inline@1"
  6975. },
  6976. {
  6977. "command": "gitlens.views.setComparisonToThreeDot",
  6978. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+twodot\\b)/",
  6979. "group": "inline@1"
  6980. },
  6981. {
  6982. "command": "gitlens.views.clearNode",
  6983. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)/",
  6984. "group": "inline@99"
  6985. },
  6986. {
  6987. "command": "gitlens.views.setBranchComparisonToWorking",
  6988. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+branch\\b)/",
  6989. "group": "inline@2"
  6990. },
  6991. {
  6992. "command": "gitlens.views.setBranchComparisonToBranch",
  6993. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+working\\b)/",
  6994. "group": "inline@2"
  6995. },
  6996. {
  6997. "command": "gitlens.views.setComparisonToTwoDot",
  6998. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+threedot\\b)/",
  6999. "group": "1_gitlens@1"
  7000. },
  7001. {
  7002. "command": "gitlens.views.setComparisonToThreeDot",
  7003. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+twodot\\b)/",
  7004. "group": "1_gitlens@1"
  7005. },
  7006. {
  7007. "command": "gitlens.views.setBranchComparisonToWorking",
  7008. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+branch\\b)/",
  7009. "group": "1_gitlens@2"
  7010. },
  7011. {
  7012. "command": "gitlens.views.setBranchComparisonToBranch",
  7013. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+working\\b)/",
  7014. "group": "1_gitlens@2"
  7015. },
  7016. {
  7017. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  7018. "when": "viewItem =~ /gitlens:compare:branch\\b/",
  7019. "group": "8_gitlens@1"
  7020. },
  7021. {
  7022. "command": "gitlens.views.clearNode",
  7023. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)/",
  7024. "group": "9_gitlens@1"
  7025. },
  7026. {
  7027. "command": "gitlens.views.setComparisonToTwoDot",
  7028. "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+threedot\\b)/",
  7029. "group": "inline@2"
  7030. },
  7031. {
  7032. "command": "gitlens.views.setComparisonToThreeDot",
  7033. "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+twodot\\b)/",
  7034. "group": "inline@2"
  7035. },
  7036. {
  7037. "command": "gitlens.views.compare.swapComparison",
  7038. "when": "viewItem =~ /gitlens:compare:results\\b/",
  7039. "group": "inline@3"
  7040. },
  7041. {
  7042. "command": "gitlens.views.refreshNode",
  7043. "when": "viewItem =~ /gitlens:compare:(branch(?=.*?\\b\\+comparing\\b)|results)\\b/",
  7044. "group": "inline@4"
  7045. },
  7046. {
  7047. "command": "gitlens.views.compare.pinComparison",
  7048. "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\b\\+pinned\\b)/",
  7049. "group": "inline@98"
  7050. },
  7051. {
  7052. "command": "gitlens.views.compare.unpinComparison",
  7053. "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+pinned\\b)/",
  7054. "group": "inline@98"
  7055. },
  7056. {
  7057. "command": "gitlens.views.openDirectoryDiff",
  7058. "when": "viewItem =~ /gitlens:compare:results\\b/",
  7059. "group": "2_gitlens_quickopen@1"
  7060. },
  7061. {
  7062. "command": "gitlens.views.setComparisonToTwoDot",
  7063. "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+threedot\\b)/",
  7064. "group": "1_gitlens_actions@1"
  7065. },
  7066. {
  7067. "command": "gitlens.views.setComparisonToThreeDot",
  7068. "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+twodot\\b)/",
  7069. "group": "1_gitlens_actions@1"
  7070. },
  7071. {
  7072. "command": "gitlens.views.compare.swapComparison",
  7073. "when": "viewItem =~ /gitlens:compare:results\\b/",
  7074. "group": "1_gitlens_actions@2"
  7075. },
  7076. {
  7077. "command": "gitlens.views.compare.pinComparison",
  7078. "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\b\\+pinned\\b)/",
  7079. "group": "8_gitlens_actions@1"
  7080. },
  7081. {
  7082. "command": "gitlens.views.compare.unpinComparison",
  7083. "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+pinned\\b)/",
  7084. "group": "8_gitlens_actions@1"
  7085. },
  7086. {
  7087. "command": "gitlens.views.search.searchCommits",
  7088. "when": "viewItem == gitlens:search:results",
  7089. "group": "inline@1"
  7090. },
  7091. {
  7092. "command": "gitlens.views.refreshNode",
  7093. "when": "viewItem == gitlens:search:results",
  7094. "group": "inline@2"
  7095. },
  7096. {
  7097. "command": "gitlens.views.search.searchCommits",
  7098. "when": "viewItem == gitlens:search:results",
  7099. "group": "1_gitlens_actions@1"
  7100. },
  7101. {
  7102. "command": "gitlens.stashSave",
  7103. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  7104. "group": "inline@98"
  7105. },
  7106. {
  7107. "command": "gitlens.stashApply",
  7108. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  7109. "group": "inline@99"
  7110. },
  7111. {
  7112. "command": "gitlens.stashSave",
  7113. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  7114. "group": "1_gitlens_actions@1"
  7115. },
  7116. {
  7117. "command": "gitlens.stashApply",
  7118. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  7119. "group": "1_gitlens_actions@2"
  7120. },
  7121. {
  7122. "command": "gitlens.stashApply",
  7123. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7124. "group": "inline@1"
  7125. },
  7126. {
  7127. "command": "gitlens.views.deleteStash",
  7128. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7129. "group": "inline@99"
  7130. },
  7131. {
  7132. "command": "gitlens.stashApply",
  7133. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7134. "group": "1_gitlens_actions@1"
  7135. },
  7136. {
  7137. "command": "gitlens.views.deleteStash",
  7138. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7139. "group": "1_gitlens_actions@2"
  7140. },
  7141. {
  7142. "command": "gitlens.views.switchToTag",
  7143. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  7144. "group": "inline@10"
  7145. },
  7146. {
  7147. "command": "gitlens.views.switchToTag",
  7148. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  7149. "group": "1_gitlens_actions@1"
  7150. },
  7151. {
  7152. "command": "gitlens.views.deleteTag",
  7153. "when": "!gitlens:readonly && viewItem == gitlens:tag",
  7154. "group": "1_gitlens_actions@2"
  7155. },
  7156. {
  7157. "command": "gitlens.views.createBranch",
  7158. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  7159. "group": "1_gitlens_actions@3"
  7160. },
  7161. {
  7162. "command": "gitlens.views.stageDirectory",
  7163. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7164. "group": "inline@1"
  7165. },
  7166. {
  7167. "command": "gitlens.views.unstageDirectory",
  7168. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7169. "group": "inline@2"
  7170. },
  7171. {
  7172. "command": "gitlens.views.stageDirectory",
  7173. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7174. "group": "1_gitlens_actions@1"
  7175. },
  7176. {
  7177. "command": "gitlens.views.unstageDirectory",
  7178. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7179. "group": "1_gitlens_actions@2"
  7180. },
  7181. {
  7182. "command": "gitlens.views.dismissNode",
  7183. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\b\\+pinned\\b)|search)\\b(?!:(commits|files))/",
  7184. "group": "8_gitlens_actions@98"
  7185. },
  7186. {
  7187. "command": "gitlens.views.expandNode",
  7188. "when": "viewItem =~ /gitlens:(branch|compare|folder|results|search|status)\\b/",
  7189. "group": "9_gitlens@1"
  7190. },
  7191. {
  7192. "command": "gitlens.views.refreshNode",
  7193. "when": "viewItem =~ /gitlens:(?!file\\b)/",
  7194. "group": "9_gitlens@99"
  7195. },
  7196. {
  7197. "command": "gitlens.views.loadAllChildren",
  7198. "when": "viewItem =~ /gitlens:pager\\b/",
  7199. "group": "inline@1"
  7200. },
  7201. {
  7202. "command": "gitlens.views.loadAllChildren",
  7203. "when": "viewItem =~ /gitlens:pager\\b/",
  7204. "group": "1_gitlens_actions@1"
  7205. }
  7206. ]
  7207. },
  7208. "keybindings": [
  7209. {
  7210. "command": "gitlens.key.left",
  7211. "key": "left",
  7212. "when": "gitlens:key:left"
  7213. },
  7214. {
  7215. "command": "gitlens.key.alt+left",
  7216. "key": "alt+left",
  7217. "when": "gitlens:key:alt+left"
  7218. },
  7219. {
  7220. "command": "gitlens.key.ctrl+left",
  7221. "key": "ctrl+left",
  7222. "mac": "cmd+left",
  7223. "when": "gitlens:key:ctrl+left"
  7224. },
  7225. {
  7226. "command": "gitlens.key.right",
  7227. "key": "right",
  7228. "when": "gitlens:key:right"
  7229. },
  7230. {
  7231. "command": "gitlens.key.alt+right",
  7232. "key": "alt+right",
  7233. "when": "gitlens:key:alt+right"
  7234. },
  7235. {
  7236. "command": "gitlens.key.ctrl+right",
  7237. "key": "ctrl+right",
  7238. "mac": "cmd+right",
  7239. "when": "gitlens:key:ctrl+right"
  7240. },
  7241. {
  7242. "command": "gitlens.key.alt+,",
  7243. "key": "alt+,",
  7244. "when": "gitlens:key:,"
  7245. },
  7246. {
  7247. "command": "gitlens.key.alt+.",
  7248. "key": "alt+.",
  7249. "when": "gitlens:key:."
  7250. },
  7251. {
  7252. "command": "gitlens.key.escape",
  7253. "key": "escape",
  7254. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  7255. },
  7256. {
  7257. "command": "gitlens.toggleFileBlame",
  7258. "key": "alt+b",
  7259. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  7260. },
  7261. {
  7262. "command": "gitlens.toggleCodeLens",
  7263. "key": "shift+alt+b",
  7264. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  7265. },
  7266. {
  7267. "command": "gitlens.showLastQuickPick",
  7268. "key": "alt+-",
  7269. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  7270. },
  7271. {
  7272. "command": "gitlens.showCommitSearch",
  7273. "key": "alt+/",
  7274. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  7275. },
  7276. {
  7277. "command": "gitlens.showQuickFileHistory",
  7278. "key": "alt+h",
  7279. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  7280. },
  7281. {
  7282. "command": "gitlens.showQuickRepoHistory",
  7283. "key": "shift+alt+h",
  7284. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  7285. },
  7286. {
  7287. "command": "gitlens.showQuickRepoStatus",
  7288. "key": "alt+s",
  7289. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  7290. },
  7291. {
  7292. "command": "gitlens.showQuickCommitFileDetails",
  7293. "key": "alt+c",
  7294. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
  7295. },
  7296. {
  7297. "command": "gitlens.diffWithNext",
  7298. "key": "alt+.",
  7299. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor"
  7300. },
  7301. {
  7302. "command": "gitlens.diffWithNextInDiffLeft",
  7303. "key": "alt+.",
  7304. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor"
  7305. },
  7306. {
  7307. "command": "gitlens.diffWithNextInDiffRight",
  7308. "key": "alt+.",
  7309. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor"
  7310. },
  7311. {
  7312. "command": "gitlens.diffWithPrevious",
  7313. "key": "alt+,",
  7314. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && !isInDiffEditor"
  7315. },
  7316. {
  7317. "command": "gitlens.diffWithPreviousInDiffLeft",
  7318. "key": "alt+,",
  7319. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffEditor && !isInDiffRightEditor"
  7320. },
  7321. {
  7322. "command": "gitlens.diffWithPreviousInDiffRight",
  7323. "key": "alt+,",
  7324. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffRightEditor"
  7325. },
  7326. {
  7327. "command": "gitlens.diffLineWithPrevious",
  7328. "key": "shift+alt+,",
  7329. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  7330. },
  7331. {
  7332. "command": "gitlens.diffWithWorking",
  7333. "key": "shift+alt+.",
  7334. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/"
  7335. },
  7336. {
  7337. "command": "gitlens.diffLineWithWorking",
  7338. "key": "alt+w",
  7339. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  7340. },
  7341. {
  7342. "command": "gitlens.toggleFileBlame",
  7343. "key": "ctrl+shift+g b",
  7344. "mac": "cmd+alt+g b",
  7345. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  7346. },
  7347. {
  7348. "command": "gitlens.toggleCodeLens",
  7349. "key": "ctrl+shift+g shift+b",
  7350. "mac": "cmd+alt+g shift+b",
  7351. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  7352. },
  7353. {
  7354. "command": "gitlens.showLastQuickPick",
  7355. "key": "ctrl+shift+g -",
  7356. "mac": "cmd+alt+g -",
  7357. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  7358. },
  7359. {
  7360. "command": "gitlens.showCommitSearch",
  7361. "key": "ctrl+shift+g /",
  7362. "mac": "cmd+alt+g /",
  7363. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  7364. },
  7365. {
  7366. "command": "gitlens.showQuickFileHistory",
  7367. "key": "ctrl+shift+g h",
  7368. "mac": "cmd+alt+g h",
  7369. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  7370. },
  7371. {
  7372. "command": "gitlens.showQuickRepoHistory",
  7373. "key": "ctrl+shift+g shift+h",
  7374. "mac": "cmd+alt+g shift+h",
  7375. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  7376. },
  7377. {
  7378. "command": "gitlens.showQuickRepoStatus",
  7379. "key": "ctrl+shift+g s",
  7380. "mac": "cmd+alt+g s",
  7381. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  7382. },
  7383. {
  7384. "command": "gitlens.showQuickCommitFileDetails",
  7385. "key": "ctrl+shift+g c",
  7386. "mac": "cmd+alt+g c",
  7387. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
  7388. },
  7389. {
  7390. "command": "gitlens.diffWithNext",
  7391. "key": "ctrl+shift+g .",
  7392. "mac": "cmd+alt+g .",
  7393. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor"
  7394. },
  7395. {
  7396. "command": "gitlens.diffWithNextInDiffLeft",
  7397. "key": "ctrl+shift+g .",
  7398. "mac": "cmd+alt+g .",
  7399. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor"
  7400. },
  7401. {
  7402. "command": "gitlens.diffWithNextInDiffRight",
  7403. "key": "ctrl+shift+g .",
  7404. "mac": "cmd+alt+g .",
  7405. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor"
  7406. },
  7407. {
  7408. "command": "gitlens.diffWithPrevious",
  7409. "key": "ctrl+shift+g ,",
  7410. "mac": "cmd+alt+g ,",
  7411. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && !isInDiffEditor"
  7412. },
  7413. {
  7414. "command": "gitlens.diffWithPreviousInDiffLeft",
  7415. "key": "ctrl+shift+g ,",
  7416. "mac": "cmd+alt+g ,",
  7417. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffEditor && !isInDiffRightEditor"
  7418. },
  7419. {
  7420. "command": "gitlens.diffWithPreviousInDiffRight",
  7421. "key": "ctrl+shift+g ,",
  7422. "mac": "cmd+alt+g ,",
  7423. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffRightEditor"
  7424. },
  7425. {
  7426. "command": "gitlens.diffLineWithPrevious",
  7427. "key": "ctrl+shift+g shift+,",
  7428. "mac": "cmd+alt+g shift+,",
  7429. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  7430. },
  7431. {
  7432. "command": "gitlens.diffWithWorking",
  7433. "key": "ctrl+shift+g shift+.",
  7434. "mac": "cmd+alt+g shift+.",
  7435. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/"
  7436. },
  7437. {
  7438. "command": "gitlens.diffLineWithWorking",
  7439. "key": "ctrl+shift+g w",
  7440. "mac": "cmd+alt+g w",
  7441. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  7442. },
  7443. {
  7444. "command": "workbench.view.scm",
  7445. "key": "ctrl+shift+g g",
  7446. "mac": "ctrl+shift+g",
  7447. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  7448. },
  7449. {
  7450. "command": "gitlens.views.repositories.copy",
  7451. "key": "ctrl+c",
  7452. "mac": "cmd+c",
  7453. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.repositories/"
  7454. },
  7455. {
  7456. "command": "gitlens.views.fileHistory.copy",
  7457. "key": "ctrl+c",
  7458. "mac": "cmd+c",
  7459. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.fileHistory/"
  7460. },
  7461. {
  7462. "command": "gitlens.views.lineHistory.copy",
  7463. "key": "ctrl+c",
  7464. "mac": "cmd+c",
  7465. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.lineHistory/"
  7466. },
  7467. {
  7468. "command": "gitlens.views.compare.copy",
  7469. "key": "ctrl+c",
  7470. "mac": "cmd+c",
  7471. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.compare/"
  7472. },
  7473. {
  7474. "command": "gitlens.views.search.copy",
  7475. "key": "ctrl+c",
  7476. "mac": "cmd+c",
  7477. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.search/"
  7478. }
  7479. ],
  7480. "customEditors": [
  7481. {
  7482. "viewType": "gitlens.rebase",
  7483. "displayName": "Interactive Rebase Editor",
  7484. "selector": [
  7485. {
  7486. "filenamePattern": "git-rebase-todo"
  7487. }
  7488. ]
  7489. }
  7490. ],
  7491. "resourceLabelFormatters": [
  7492. {
  7493. "scheme": "gitlens",
  7494. "authority": "*",
  7495. "formatting": {
  7496. "label": "${path} (${authority})",
  7497. "separator": "/"
  7498. }
  7499. }
  7500. ],
  7501. "viewsContainers": {
  7502. "activitybar": [
  7503. {
  7504. "id": "gitlens",
  7505. "title": "GitLens",
  7506. "icon": "images/gitlens-activitybar.svg"
  7507. }
  7508. ]
  7509. },
  7510. "views": {
  7511. "scm": [
  7512. {
  7513. "id": "gitlens.views.repositories",
  7514. "name": "Repositories",
  7515. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled",
  7516. "contextualTitle": "GitLens",
  7517. "icon": "images/views/repositories.svg"
  7518. },
  7519. {
  7520. "id": "gitlens.views.commits",
  7521. "name": "Commits",
  7522. "when": "gitlens:enabled",
  7523. "contextualTitle": "GitLens",
  7524. "icon": "images/gitlens-activitybar.svg"
  7525. },
  7526. {
  7527. "id": "gitlens.views.fileHistory",
  7528. "name": "File History",
  7529. "when": "gitlens:enabled",
  7530. "contextualTitle": "GitLens",
  7531. "icon": "images/views/history.svg"
  7532. },
  7533. {
  7534. "id": "gitlens.views.lineHistory",
  7535. "name": "Line History",
  7536. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled",
  7537. "contextualTitle": "GitLens",
  7538. "icon": "images/views/history.svg",
  7539. "visibility": "hidden"
  7540. },
  7541. {
  7542. "id": "gitlens.views.branches",
  7543. "name": "Branches",
  7544. "when": "gitlens:enabled",
  7545. "contextualTitle": "GitLens",
  7546. "icon": "images/gitlens-activitybar.svg"
  7547. },
  7548. {
  7549. "id": "gitlens.views.remotes",
  7550. "name": "Remotes",
  7551. "when": "gitlens:enabled",
  7552. "contextualTitle": "GitLens",
  7553. "icon": "images/gitlens-activitybar.svg",
  7554. "visibility": "collapsed"
  7555. },
  7556. {
  7557. "id": "gitlens.views.stashes",
  7558. "name": "Stashes",
  7559. "when": "gitlens:enabled",
  7560. "contextualTitle": "GitLens",
  7561. "icon": "images/gitlens-activitybar.svg",
  7562. "visibility": "collapsed"
  7563. },
  7564. {
  7565. "id": "gitlens.views.tags",
  7566. "name": "Tags",
  7567. "when": "gitlens:enabled",
  7568. "contextualTitle": "GitLens",
  7569. "icon": "images/gitlens-activitybar.svg",
  7570. "visibility": "collapsed"
  7571. },
  7572. {
  7573. "id": "gitlens.views.contributors",
  7574. "name": "Contributors",
  7575. "when": "gitlens:enabled",
  7576. "contextualTitle": "GitLens",
  7577. "icon": "images/gitlens-activitybar.svg",
  7578. "visibility": "collapsed"
  7579. },
  7580. {
  7581. "id": "gitlens.views.search",
  7582. "name": "Search Commits",
  7583. "when": "gitlens:enabled",
  7584. "contextualTitle": "GitLens",
  7585. "icon": "images/views/search.svg",
  7586. "visibility": "collapsed"
  7587. },
  7588. {
  7589. "id": "gitlens.views.compare",
  7590. "name": "Compare Commits",
  7591. "when": "gitlens:enabled",
  7592. "contextualTitle": "GitLens",
  7593. "icon": "images/views/compare.svg",
  7594. "visibility": "collapsed"
  7595. }
  7596. ]
  7597. }
  7598. },
  7599. "scripts": {
  7600. "analyze:bundle": "webpack --env.analyzeBundle",
  7601. "analyze:deps": "webpack --env.analyzeDeps",
  7602. "build": "webpack --mode development",
  7603. "build:extension": "webpack --mode development --config-name extension",
  7604. "build:webviews": "webpack --mode development --config-name webviews",
  7605. "bundle": "webpack --mode production",
  7606. "clean": "git clean -Xdf -e !node_modules -e !node_modules/**/*",
  7607. "lint": "eslint src/**/*.ts --fix --cache",
  7608. "optimize:webviews": "webpack --config-name webviews --env.optimizeImages",
  7609. "pack": "vsce package --yarn",
  7610. "pretty": "prettier --config .prettierrc --loglevel warn --write .",
  7611. "pub": "vsce publish --yarn",
  7612. "rebuild": "yarn run reset && yarn run build",
  7613. "reset": "yarn run clean && yarn --frozen-lockfile",
  7614. "watch": "webpack --watch --mode development --info-verbosity verbose",
  7615. "watch:extension": "webpack --watch --mode development --config-name extension --info-verbosity verbose",
  7616. "watch:webviews": "webpack --watch --mode development --config-name webviews --info-verbosity verbose",
  7617. "update-dts": "pushd \"src/@types\" && npx vscode-dts dev && popd",
  7618. "update-dts:master": "pushd \"src/@types\" && npx vscode-dts master && popd",
  7619. "update-emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  7620. "vscode:prepublish": "yarn run bundle"
  7621. },
  7622. "dependencies": {
  7623. "@octokit/graphql": "4.5.6",
  7624. "chroma-js": "2.1.0",
  7625. "dayjs": "1.8.36",
  7626. "iconv-lite": "0.6.2",
  7627. "lodash-es": "4.17.15",
  7628. "sortablejs": "1.10.2",
  7629. "vsls": "1.0.2594"
  7630. },
  7631. "devDependencies": {
  7632. "@types/chroma-js": "2.1.0",
  7633. "@types/keytar": "4.4.2",
  7634. "@types/lodash-es": "4.17.3",
  7635. "@types/node": "12.12.62",
  7636. "@types/sortablejs": "1.10.6",
  7637. "@types/vscode": "1.49.0",
  7638. "@typescript-eslint/eslint-plugin": "4.1.1",
  7639. "@typescript-eslint/parser": "4.1.1",
  7640. "circular-dependency-plugin": "5.2.0",
  7641. "clean-webpack-plugin": "3.0.0",
  7642. "csp-html-webpack-plugin": "4.0.0",
  7643. "css-loader": "4.3.0",
  7644. "eslint": "7.9.0",
  7645. "eslint-cli": "1.1.1",
  7646. "eslint-config-prettier": "6.11.0",
  7647. "eslint-plugin-import": "2.22.0",
  7648. "fork-ts-checker-webpack-plugin": "5.2.0",
  7649. "html-loader": "1.3.0",
  7650. "html-webpack-plugin": "4.4.1",
  7651. "html-webpack-skip-assets-plugin": "0.0.2",
  7652. "imagemin-webpack-plugin": "2.4.2",
  7653. "mini-css-extract-plugin": "0.11.2",
  7654. "node-sass": "4.14.1",
  7655. "prettier": "2.1.2",
  7656. "sass-loader": "10.0.2",
  7657. "terser-webpack-plugin": "4.2.1",
  7658. "ts-loader": "8.0.3",
  7659. "typescript": "4.0.3",
  7660. "vsce": "1.79.5",
  7661. "webpack": "4.44.2",
  7662. "webpack-bundle-analyzer": "3.9.0",
  7663. "webpack-cli": "3.3.12"
  7664. }
  7665. }