Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

6005 linhas
183 KiB

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