You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5580 lines
168 KiB

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