Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

5895 rindas
180 KiB

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