Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

7924 řádky
247 KiB

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