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

5368 linhas
238 KiB

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