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

5236 lines
232 KiB

5 years ago
6 years ago
6 years ago
7 years ago
6 years ago
5 years ago
5 years ago
7 years ago
  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.2",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.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.settings.mode": {
  1179. "type": "string",
  1180. "default": "simple",
  1181. "enum": [
  1182. "simple",
  1183. "advanced"
  1184. ],
  1185. "enumDescriptions": [
  1186. "Only displays common settings",
  1187. "Displays all settings"
  1188. ],
  1189. "markdownDescription": "Specifies the display mode of the interactive settings editor",
  1190. "scope": "window"
  1191. },
  1192. "gitlens.showWhatsNewAfterUpgrades": {
  1193. "type": "boolean",
  1194. "default": true,
  1195. "markdownDescription": "Specifies whether to show What's New after upgrading to new feature releases",
  1196. "scope": "window"
  1197. },
  1198. "gitlens.statusBar.alignment": {
  1199. "type": "string",
  1200. "default": "right",
  1201. "enum": [
  1202. "left",
  1203. "right"
  1204. ],
  1205. "enumDescriptions": [
  1206. "Aligns to the left",
  1207. "Aligns to the right"
  1208. ],
  1209. "markdownDescription": "Specifies the blame alignment in the status bar",
  1210. "scope": "window"
  1211. },
  1212. "gitlens.statusBar.command": {
  1213. "type": "string",
  1214. "default": "gitlens.showQuickCommitDetails",
  1215. "enum": [
  1216. "gitlens.toggleFileBlame",
  1217. "gitlens.diffWithPrevious",
  1218. "gitlens.diffWithWorking",
  1219. "gitlens.toggleCodeLens",
  1220. "gitlens.showQuickCommitDetails",
  1221. "gitlens.showQuickCommitFileDetails",
  1222. "gitlens.showQuickFileHistory",
  1223. "gitlens.showQuickRepoHistory"
  1224. ],
  1225. "enumDescriptions": [
  1226. "Toggles file blame annotations",
  1227. "Compares the current line commit with the previous",
  1228. "Compares the current line commit with the working tree",
  1229. "Toggles Git code lens",
  1230. "Shows a commit details quick pick",
  1231. "Shows a commit file details quick pick",
  1232. "Shows a file history quick pick",
  1233. "Shows a branch history quick pick"
  1234. ],
  1235. "markdownDescription": "Specifies the command to be executed when the blame status bar item is clicked",
  1236. "scope": "window"
  1237. },
  1238. "gitlens.statusBar.dateFormat": {
  1239. "type": "string",
  1240. "default": null,
  1241. "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",
  1242. "scope": "window"
  1243. },
  1244. "gitlens.statusBar.enabled": {
  1245. "type": "boolean",
  1246. "default": true,
  1247. "markdownDescription": "Specifies whether to provide blame information in the status bar",
  1248. "scope": "window"
  1249. },
  1250. "gitlens.statusBar.format": {
  1251. "type": "string",
  1252. "default": "${author}, ${agoOrDate}",
  1253. "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",
  1254. "scope": "window"
  1255. },
  1256. "gitlens.statusBar.reduceFlicker": {
  1257. "type": "boolean",
  1258. "default": false,
  1259. "markdownDescription": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1260. "scope": "window"
  1261. },
  1262. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1263. "type": "string",
  1264. "default": "Unsaved changes (cannot determine recent change or authors)",
  1265. "markdownDescription": "Specifies the string to be shown in place of both the _recent change_ and _authors_ code lens when there are unsaved changes",
  1266. "scope": "window"
  1267. },
  1268. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1269. "type": "string",
  1270. "default": "Unsaved changes (cannot determine recent change)",
  1271. "markdownDescription": "Specifies the string to be shown in place of the _recent change_ code lens when there are unsaved changes",
  1272. "scope": "window"
  1273. },
  1274. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1275. "type": "string",
  1276. "default": "Unsaved changes (cannot determine authors)",
  1277. "markdownDescription": "Specifies the string to be shown in place of the _authors_ code lens when there are unsaved changes",
  1278. "scope": "window"
  1279. },
  1280. "gitlens.views.commitFileFormat": {
  1281. "type": "string",
  1282. "default": "${file}",
  1283. "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",
  1284. "scope": "window"
  1285. },
  1286. "gitlens.views.commitFileDescriptionFormat": {
  1287. "type": "string",
  1288. "default": "${directory}${ ← originalPath}",
  1289. "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",
  1290. "scope": "window"
  1291. },
  1292. "gitlens.views.commitFormat": {
  1293. "type": "string",
  1294. "default": "${message}",
  1295. "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",
  1296. "scope": "window"
  1297. },
  1298. "gitlens.views.commitDescriptionFormat": {
  1299. "type": "string",
  1300. "default": "${changes • }${author}, ${agoOrDate}",
  1301. "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",
  1302. "scope": "window"
  1303. },
  1304. "gitlens.views.compare.avatars": {
  1305. "type": "boolean",
  1306. "default": true,
  1307. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Compare_ view",
  1308. "scope": "window"
  1309. },
  1310. "gitlens.views.compare.enabled": {
  1311. "type": "boolean",
  1312. "default": true,
  1313. "markdownDescription": "Specifies whether to show the _Compare_ view",
  1314. "scope": "window"
  1315. },
  1316. "gitlens.views.compare.files.compact": {
  1317. "type": "boolean",
  1318. "default": true,
  1319. "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`",
  1320. "scope": "window"
  1321. },
  1322. "gitlens.views.compare.files.layout": {
  1323. "type": "string",
  1324. "default": "auto",
  1325. "enum": [
  1326. "auto",
  1327. "list",
  1328. "tree"
  1329. ],
  1330. "enumDescriptions": [
  1331. "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",
  1332. "Displays files as a list",
  1333. "Displays files as a tree"
  1334. ],
  1335. "markdownDescription": "Specifies how the _Compare_ view will display files",
  1336. "scope": "window"
  1337. },
  1338. "gitlens.views.compare.files.threshold": {
  1339. "type": "number",
  1340. "default": 5,
  1341. "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`",
  1342. "scope": "window"
  1343. },
  1344. "gitlens.views.compare.location": {
  1345. "type": "string",
  1346. "default": "gitlens",
  1347. "enum": [
  1348. "gitlens",
  1349. "explorer",
  1350. "scm"
  1351. ],
  1352. "enumDescriptions": [
  1353. "Adds to the GitLens side bar",
  1354. "Adds to the Explorer side bar",
  1355. "Adds to the Source Control side bar"
  1356. ],
  1357. "markdownDescription": "Specifies where to show the _Compare_ view",
  1358. "scope": "window"
  1359. },
  1360. "gitlens.views.defaultItemLimit": {
  1361. "type": "number",
  1362. "default": 10,
  1363. "markdownDescription": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
  1364. "scope": "window"
  1365. },
  1366. "gitlens.views.pageItemLimit": {
  1367. "type": "number",
  1368. "default": 20,
  1369. "markdownDescription": "Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit",
  1370. "scope": "window"
  1371. },
  1372. "gitlens.views.fileHistory.avatars": {
  1373. "type": "boolean",
  1374. "default": true,
  1375. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _File History_ view",
  1376. "scope": "window"
  1377. },
  1378. "gitlens.views.fileHistory.enabled": {
  1379. "type": "boolean",
  1380. "default": true,
  1381. "markdownDescription": "Specifies whether to show the _File History_ view",
  1382. "scope": "window"
  1383. },
  1384. "gitlens.views.fileHistory.location": {
  1385. "type": "string",
  1386. "default": "gitlens",
  1387. "enum": [
  1388. "gitlens",
  1389. "explorer",
  1390. "scm"
  1391. ],
  1392. "enumDescriptions": [
  1393. "Adds to the GitLens side bar",
  1394. "Adds to the Explorer side bar",
  1395. "Adds to the Source Control side bar"
  1396. ],
  1397. "markdownDescription": "Specifies where to show the _File History_ view",
  1398. "scope": "window"
  1399. },
  1400. "gitlens.views.lineHistory.avatars": {
  1401. "type": "boolean",
  1402. "default": true,
  1403. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _Line History_ view",
  1404. "scope": "window"
  1405. },
  1406. "gitlens.views.lineHistory.enabled": {
  1407. "type": "boolean",
  1408. "default": true,
  1409. "markdownDescription": "Specifies whether to show the _Line History_ view",
  1410. "scope": "window"
  1411. },
  1412. "gitlens.views.lineHistory.location": {
  1413. "type": "string",
  1414. "default": "gitlens",
  1415. "enum": [
  1416. "gitlens",
  1417. "explorer",
  1418. "scm"
  1419. ],
  1420. "enumDescriptions": [
  1421. "Adds to the GitLens side bar",
  1422. "Adds to the Explorer side bar",
  1423. "Adds to the Source Control side bar"
  1424. ],
  1425. "markdownDescription": "Specifies where to show the _Line History_ view",
  1426. "scope": "window"
  1427. },
  1428. "gitlens.views.repositories.autoRefresh": {
  1429. "type": "boolean",
  1430. "default": true,
  1431. "markdownDescription": "Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes",
  1432. "scope": "window"
  1433. },
  1434. "gitlens.views.repositories.autoReveal": {
  1435. "type": "boolean",
  1436. "default": true,
  1437. "markdownDescription": "Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files",
  1438. "scope": "window"
  1439. },
  1440. "gitlens.views.repositories.avatars": {
  1441. "type": "boolean",
  1442. "default": true,
  1443. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view",
  1444. "scope": "window"
  1445. },
  1446. "gitlens.views.repositories.branches.layout": {
  1447. "type": "string",
  1448. "default": "tree",
  1449. "enum": [
  1450. "list",
  1451. "tree"
  1452. ],
  1453. "enumDescriptions": [
  1454. "Displays branches as a list",
  1455. "Displays branches as a tree when branch names contain slashes `/`"
  1456. ],
  1457. "markdownDescription": "Specifies how the _Repositories_ view will display branches",
  1458. "scope": "window"
  1459. },
  1460. "gitlens.views.repositories.compact": {
  1461. "type": "boolean",
  1462. "default": false,
  1463. "markdownDescription": "Specifies whether to show the _Repositories_ view in a compact display density",
  1464. "scope": "window"
  1465. },
  1466. "gitlens.views.repositories.enabled": {
  1467. "type": "boolean",
  1468. "default": true,
  1469. "markdownDescription": "Specifies whether to show the _Repositories_ view",
  1470. "scope": "window"
  1471. },
  1472. "gitlens.views.repositories.files.compact": {
  1473. "type": "boolean",
  1474. "default": true,
  1475. "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`",
  1476. "scope": "window"
  1477. },
  1478. "gitlens.views.repositories.files.layout": {
  1479. "type": "string",
  1480. "default": "auto",
  1481. "enum": [
  1482. "auto",
  1483. "list",
  1484. "tree"
  1485. ],
  1486. "enumDescriptions": [
  1487. "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",
  1488. "Displays files as a list",
  1489. "Displays files as a tree"
  1490. ],
  1491. "markdownDescription": "Specifies how the _Repositories_ view will display files",
  1492. "scope": "window"
  1493. },
  1494. "gitlens.views.repositories.files.threshold": {
  1495. "type": "number",
  1496. "default": 5,
  1497. "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`",
  1498. "scope": "window"
  1499. },
  1500. "gitlens.views.repositories.includeWorkingTree": {
  1501. "type": "boolean",
  1502. "default": true,
  1503. "markdownDescription": "Specifies whether to include working tree file status for each repository in the _Repositories_ view",
  1504. "scope": "window"
  1505. },
  1506. "gitlens.views.repositories.location": {
  1507. "type": "string",
  1508. "default": "gitlens",
  1509. "enum": [
  1510. "gitlens",
  1511. "explorer",
  1512. "scm"
  1513. ],
  1514. "enumDescriptions": [
  1515. "Adds to the GitLens side bar",
  1516. "Adds to the Explorer side bar",
  1517. "Adds to the Source Control side bar"
  1518. ],
  1519. "markdownDescription": "Specifies where to show the _Repositories_ view",
  1520. "scope": "window"
  1521. },
  1522. "gitlens.views.repositories.showBranchComparison": {
  1523. "type": "boolean",
  1524. "default": true,
  1525. "markdownDescription": "Specifies whether to show a comparison of the current branch to a user-selected reference in the _Repositories_ view",
  1526. "scope": "window"
  1527. },
  1528. "gitlens.views.repositories.showTrackingBranch": {
  1529. "type": "boolean",
  1530. "default": true,
  1531. "markdownDescription": "Specifies whether to show the tracking branch when displaying local branches in the _Repositories_ view",
  1532. "scope": "window"
  1533. },
  1534. "gitlens.views.search.avatars": {
  1535. "type": "boolean",
  1536. "default": true,
  1537. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Search Commits_ view",
  1538. "scope": "window"
  1539. },
  1540. "gitlens.views.search.enabled": {
  1541. "type": "boolean",
  1542. "default": true,
  1543. "markdownDescription": "Specifies whether to show the _Search Commits_ view",
  1544. "scope": "window"
  1545. },
  1546. "gitlens.views.search.files.compact": {
  1547. "type": "boolean",
  1548. "default": true,
  1549. "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`",
  1550. "scope": "window"
  1551. },
  1552. "gitlens.views.search.files.layout": {
  1553. "type": "string",
  1554. "default": "auto",
  1555. "enum": [
  1556. "auto",
  1557. "list",
  1558. "tree"
  1559. ],
  1560. "enumDescriptions": [
  1561. "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",
  1562. "Displays files as a list",
  1563. "Displays files as a tree"
  1564. ],
  1565. "markdownDescription": "Specifies how the _Search Commits_ view will display files",
  1566. "scope": "window"
  1567. },
  1568. "gitlens.views.search.files.threshold": {
  1569. "type": "number",
  1570. "default": 5,
  1571. "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`",
  1572. "scope": "window"
  1573. },
  1574. "gitlens.views.search.location": {
  1575. "type": "string",
  1576. "default": "gitlens",
  1577. "enum": [
  1578. "gitlens",
  1579. "explorer",
  1580. "scm"
  1581. ],
  1582. "enumDescriptions": [
  1583. "Adds to the GitLens side bar",
  1584. "Adds to the Explorer side bar",
  1585. "Adds to the Source Control side bar"
  1586. ],
  1587. "markdownDescription": "Specifies where to show the _Search Commits_ view",
  1588. "scope": "window"
  1589. },
  1590. "gitlens.views.showRelativeDateMarkers": {
  1591. "type": "boolean",
  1592. "default": true,
  1593. "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",
  1594. "scope": "window"
  1595. },
  1596. "gitlens.views.stashFileFormat": {
  1597. "type": "string",
  1598. "default": "${file}",
  1599. "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",
  1600. "scope": "window"
  1601. },
  1602. "gitlens.views.stashFileDescriptionFormat": {
  1603. "type": "string",
  1604. "default": "${directory}${ ← originalPath}",
  1605. "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",
  1606. "scope": "window"
  1607. },
  1608. "gitlens.views.stashFormat": {
  1609. "type": "string",
  1610. "default": "${message}",
  1611. "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",
  1612. "scope": "window"
  1613. },
  1614. "gitlens.views.stashDescriptionFormat": {
  1615. "type": "string",
  1616. "default": "${changes • }${agoOrDate}",
  1617. "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",
  1618. "scope": "window"
  1619. },
  1620. "gitlens.views.statusFileFormat": {
  1621. "type": "string",
  1622. "default": "${working }${file}",
  1623. "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",
  1624. "scope": "window"
  1625. },
  1626. "gitlens.views.statusFileDescriptionFormat": {
  1627. "type": "string",
  1628. "default": "${directory}${ ← originalPath}",
  1629. "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",
  1630. "scope": "window"
  1631. },
  1632. "gitlens.advanced.abbreviatedShaLength": {
  1633. "type": "number",
  1634. "default": "7",
  1635. "markdownDescription": "Specifies the length of abbreviated commit ids (shas)",
  1636. "scope": "window"
  1637. },
  1638. "gitlens.advanced.blame.customArguments": {
  1639. "type": "array",
  1640. "default": null,
  1641. "items": {
  1642. "type": "string"
  1643. },
  1644. "markdownDescription": "Specifies additional arguments to pass to the `git blame` command",
  1645. "scope": "resource"
  1646. },
  1647. "gitlens.advanced.blame.delayAfterEdit": {
  1648. "type": "number",
  1649. "default": 5000,
  1650. "markdownDescription": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1651. "scope": "window"
  1652. },
  1653. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1654. "type": "number",
  1655. "default": 5000,
  1656. "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",
  1657. "scope": "window"
  1658. },
  1659. "gitlens.advanced.caching.enabled": {
  1660. "type": "boolean",
  1661. "default": true,
  1662. "markdownDescription": "Specifies whether git output will be cached — changing the default is not recommended",
  1663. "scope": "window"
  1664. },
  1665. "gitlens.advanced.fileHistoryFollowsRenames": {
  1666. "type": "boolean",
  1667. "default": true,
  1668. "markdownDescription": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  1669. "scope": "window"
  1670. },
  1671. "gitlens.advanced.maxListItems": {
  1672. "type": "number",
  1673. "default": 200,
  1674. "markdownDescription": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  1675. "scope": "window"
  1676. },
  1677. "gitlens.advanced.maxSearchItems": {
  1678. "type": "number",
  1679. "default": 200,
  1680. "markdownDescription": "Specifies the maximum number of items to show in a search. Use 0 to specify no maximum",
  1681. "scope": "window"
  1682. },
  1683. "gitlens.advanced.messages": {
  1684. "type": "object",
  1685. "default": {
  1686. "suppressCommitHasNoPreviousCommitWarning": false,
  1687. "suppressCommitNotFoundWarning": false,
  1688. "suppressFileNotUnderSourceControlWarning": false,
  1689. "suppressGitDisabledWarning": false,
  1690. "suppressGitVersionWarning": false,
  1691. "suppressLineUncommittedWarning": false,
  1692. "suppressNoRepositoryWarning": false,
  1693. "suppressSupportGitLensNotification": false
  1694. },
  1695. "properties": {
  1696. "suppressCommitHasNoPreviousCommitWarning": {
  1697. "type": "boolean",
  1698. "default": false
  1699. },
  1700. "suppressCommitNotFoundWarning": {
  1701. "type": "boolean",
  1702. "default": false
  1703. },
  1704. "suppressFileNotUnderSourceControlWarning": {
  1705. "type": "boolean",
  1706. "default": false
  1707. },
  1708. "suppressGitDisabledWarning": {
  1709. "type": "boolean",
  1710. "default": false
  1711. },
  1712. "suppressGitVersionWarning": {
  1713. "type": "boolean",
  1714. "default": false
  1715. },
  1716. "suppressLineUncommittedWarning": {
  1717. "type": "boolean",
  1718. "default": false
  1719. },
  1720. "suppressNoRepositoryWarning": {
  1721. "type": "boolean",
  1722. "default": false
  1723. },
  1724. "suppressSupportGitLensNotification": {
  1725. "type": "boolean",
  1726. "default": false
  1727. }
  1728. },
  1729. "markdownDescription": "Specifies which messages should be suppressed",
  1730. "scope": "window"
  1731. },
  1732. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1733. "type": "boolean",
  1734. "default": true,
  1735. "markdownDescription": "Specifies whether to close QuickPick menus when focus is lost",
  1736. "scope": "window"
  1737. },
  1738. "gitlens.advanced.repositorySearchDepth": {
  1739. "type": "number",
  1740. "default": 1,
  1741. "markdownDescription": "Specifies how many folders deep to search for repositories",
  1742. "scope": "resource"
  1743. },
  1744. "gitlens.advanced.similarityThreshold": {
  1745. "type": "number",
  1746. "default": null,
  1747. "markdownDescription": "Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename",
  1748. "scope": "window"
  1749. },
  1750. "gitlens.advanced.telemetry.enabled": {
  1751. "type": "boolean",
  1752. "default": true,
  1753. "markdownDescription": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `#telemetry.enableTelemetry#` setting",
  1754. "scope": "window"
  1755. },
  1756. "gitlens.advanced.useSymmetricDifferenceNotation": {
  1757. "type": "boolean",
  1758. "default": true,
  1759. "markdownDescription": "Specifies whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisions. See the [Git docs](https://git-scm.com/docs/gitrevisions#_dotted_range_notations)",
  1760. "scope": "window"
  1761. }
  1762. }
  1763. },
  1764. "colors": [
  1765. {
  1766. "id": "gitlens.gutterBackgroundColor",
  1767. "description": "Specifies the background color of the gutter blame annotations",
  1768. "defaults": {
  1769. "dark": "#FFFFFF13",
  1770. "light": "#0000000C",
  1771. "highContrast": "#FFFFFF13"
  1772. }
  1773. },
  1774. {
  1775. "id": "gitlens.gutterForegroundColor",
  1776. "description": "Specifies the foreground color of the gutter blame annotations",
  1777. "defaults": {
  1778. "dark": "#BEBEBE",
  1779. "light": "#747474",
  1780. "highContrast": "#BEBEBE"
  1781. }
  1782. },
  1783. {
  1784. "id": "gitlens.gutterUncommittedForegroundColor",
  1785. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1786. "defaults": {
  1787. "dark": "#00BCF299",
  1788. "light": "#00BCF299",
  1789. "highContrast": "#00BCF2FF"
  1790. }
  1791. },
  1792. {
  1793. "id": "gitlens.trailingLineBackgroundColor",
  1794. "description": "Specifies the background color of the blame annotation for the current line",
  1795. "defaults": {
  1796. "dark": "#00000000",
  1797. "light": "#00000000",
  1798. "highContrast": "#00000000"
  1799. }
  1800. },
  1801. {
  1802. "id": "gitlens.trailingLineForegroundColor",
  1803. "description": "Specifies the foreground color of the blame annotation for the current line",
  1804. "defaults": {
  1805. "dark": "#99999959",
  1806. "light": "#99999959",
  1807. "highContrast": "#99999999"
  1808. }
  1809. },
  1810. {
  1811. "id": "gitlens.lineHighlightBackgroundColor",
  1812. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1813. "defaults": {
  1814. "dark": "#00BCF233",
  1815. "light": "#00BCF233",
  1816. "highContrast": "#00BCF233"
  1817. }
  1818. },
  1819. {
  1820. "id": "gitlens.lineHighlightOverviewRulerColor",
  1821. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1822. "defaults": {
  1823. "dark": "#00BCF299",
  1824. "light": "#00BCF299",
  1825. "highContrast": "#00BCF299"
  1826. }
  1827. }
  1828. ],
  1829. "commands": [
  1830. {
  1831. "command": "gitlens.supportGitLens",
  1832. "title": "Support GitLens ❤",
  1833. "category": "GitLens",
  1834. "icon": {
  1835. "dark": "images/dark/icon-heart.svg",
  1836. "light": "images/light/icon-heart.svg"
  1837. }
  1838. },
  1839. {
  1840. "command": "gitlens.showSettingsPage",
  1841. "title": "Open Settings",
  1842. "category": "GitLens",
  1843. "icon": {
  1844. "dark": "images/dark/icon-gear.svg",
  1845. "light": "images/light/icon-gear.svg"
  1846. }
  1847. },
  1848. {
  1849. "command": "gitlens.showSettingsPage#repositories-view",
  1850. "title": "Open Settings",
  1851. "category": "GitLens",
  1852. "icon": {
  1853. "dark": "images/dark/icon-gear.svg",
  1854. "light": "images/light/icon-gear.svg"
  1855. }
  1856. },
  1857. {
  1858. "command": "gitlens.showSettingsPage#file-history-view",
  1859. "title": "Open Settings",
  1860. "category": "GitLens",
  1861. "icon": {
  1862. "dark": "images/dark/icon-gear.svg",
  1863. "light": "images/light/icon-gear.svg"
  1864. }
  1865. },
  1866. {
  1867. "command": "gitlens.showSettingsPage#line-history-view",
  1868. "title": "Open Settings",
  1869. "category": "GitLens",
  1870. "icon": {
  1871. "dark": "images/dark/icon-gear.svg",
  1872. "light": "images/light/icon-gear.svg"
  1873. }
  1874. },
  1875. {
  1876. "command": "gitlens.showSettingsPage#search-commits-view",
  1877. "title": "Open Settings",
  1878. "category": "GitLens",
  1879. "icon": {
  1880. "dark": "images/dark/icon-gear.svg",
  1881. "light": "images/light/icon-gear.svg"
  1882. }
  1883. },
  1884. {
  1885. "command": "gitlens.showSettingsPage#compare-view",
  1886. "title": "Open Settings",
  1887. "category": "GitLens",
  1888. "icon": {
  1889. "dark": "images/dark/icon-gear.svg",
  1890. "light": "images/light/icon-gear.svg"
  1891. }
  1892. },
  1893. {
  1894. "command": "gitlens.showWelcomePage",
  1895. "title": "Welcome",
  1896. "category": "GitLens"
  1897. },
  1898. {
  1899. "command": "gitlens.showCompareView",
  1900. "title": "Show Compare View",
  1901. "category": "GitLens"
  1902. },
  1903. {
  1904. "command": "gitlens.showFileHistoryView",
  1905. "title": "Show File History View",
  1906. "category": "GitLens"
  1907. },
  1908. {
  1909. "command": "gitlens.showLineHistoryView",
  1910. "title": "Show Line History View",
  1911. "category": "GitLens"
  1912. },
  1913. {
  1914. "command": "gitlens.showRepositoriesView",
  1915. "title": "Show Repositories View",
  1916. "category": "GitLens"
  1917. },
  1918. {
  1919. "command": "gitlens.showSearchView",
  1920. "title": "Show Search Commits View",
  1921. "category": "GitLens"
  1922. },
  1923. {
  1924. "command": "gitlens.diffDirectory",
  1925. "title": "Directory Compare Working Tree with...",
  1926. "category": "GitLens"
  1927. },
  1928. {
  1929. "command": "gitlens.diffDirectoryWithHead",
  1930. "title": "Directory Compare All Changes",
  1931. "category": "GitLens"
  1932. },
  1933. {
  1934. "command": "gitlens.diffHeadWith",
  1935. "title": "Compare HEAD with...",
  1936. "category": "GitLens"
  1937. },
  1938. {
  1939. "command": "gitlens.diffWorkingWith",
  1940. "title": "Compare Working Tree with...",
  1941. "category": "GitLens"
  1942. },
  1943. {
  1944. "command": "gitlens.diffWithRef",
  1945. "title": "Open Changes with...",
  1946. "category": "GitLens"
  1947. },
  1948. {
  1949. "command": "gitlens.diffWithNext",
  1950. "title": "Open Changes with Next Revision",
  1951. "category": "GitLens",
  1952. "icon": {
  1953. "dark": "images/dark/icon-next-commit.svg",
  1954. "light": "images/light/icon-next-commit.svg"
  1955. }
  1956. },
  1957. {
  1958. "command": "gitlens.diffWithNextInDiff",
  1959. "title": "Open Changes with Next Revision",
  1960. "category": "GitLens",
  1961. "icon": {
  1962. "dark": "images/dark/icon-next-commit.svg",
  1963. "light": "images/light/icon-next-commit.svg"
  1964. }
  1965. },
  1966. {
  1967. "command": "gitlens.diffWithPrevious",
  1968. "title": "Open Changes with Previous Revision",
  1969. "category": "GitLens",
  1970. "icon": {
  1971. "dark": "images/dark/icon-prev-commit.svg",
  1972. "light": "images/light/icon-prev-commit.svg"
  1973. }
  1974. },
  1975. {
  1976. "command": "gitlens.diffWithPreviousInDiff",
  1977. "title": "Open Changes with Previous Revision",
  1978. "category": "GitLens",
  1979. "icon": {
  1980. "dark": "images/dark/icon-prev-commit.svg",
  1981. "light": "images/light/icon-prev-commit.svg"
  1982. }
  1983. },
  1984. {
  1985. "command": "gitlens.diffLineWithPrevious",
  1986. "title": "Open Line Changes with Previous Revision",
  1987. "category": "GitLens"
  1988. },
  1989. {
  1990. "command": "gitlens.diffWithRevision",
  1991. "title": "Open Changes with Revision...",
  1992. "category": "GitLens",
  1993. "icon": {
  1994. "dark": "images/dark/icon-prev-commit-menu.svg",
  1995. "light": "images/light/icon-prev-commit-menu.svg"
  1996. }
  1997. },
  1998. {
  1999. "command": "gitlens.diffWithWorking",
  2000. "title": "Open Changes with Working File",
  2001. "category": "GitLens",
  2002. "icon": {
  2003. "dark": "images/dark/icon-compare-ref-working.svg",
  2004. "light": "images/light/icon-compare-ref-working.svg"
  2005. }
  2006. },
  2007. {
  2008. "command": "gitlens.diffWithWorkingInDiff",
  2009. "title": "Open Changes with Working File",
  2010. "category": "GitLens",
  2011. "icon": {
  2012. "dark": "images/dark/icon-compare-ref-working.svg",
  2013. "light": "images/light/icon-compare-ref-working.svg"
  2014. }
  2015. },
  2016. {
  2017. "command": "gitlens.diffLineWithWorking",
  2018. "title": "Open Line Changes with Working File",
  2019. "category": "GitLens"
  2020. },
  2021. {
  2022. "command": "gitlens.toggleFileBlame",
  2023. "title": "Toggle File Blame Annotations",
  2024. "category": "GitLens",
  2025. "icon": {
  2026. "dark": "images/dark/icon-git.svg",
  2027. "light": "images/light/icon-git.svg"
  2028. }
  2029. },
  2030. {
  2031. "command": "gitlens.clearFileAnnotations",
  2032. "title": "Clear File Annotations",
  2033. "category": "GitLens",
  2034. "icon": {
  2035. "dark": "images/dark/icon-git-orange.svg",
  2036. "light": "images/light/icon-git-orange.svg"
  2037. }
  2038. },
  2039. {
  2040. "command": "gitlens.computingFileAnnotations",
  2041. "title": "Computing File Annotations...",
  2042. "category": "GitLens",
  2043. "icon": {
  2044. "dark": "images/dark/icon-git-progress.svg",
  2045. "light": "images/light/icon-git-progress.svg"
  2046. }
  2047. },
  2048. {
  2049. "command": "gitlens.toggleFileHeatmap",
  2050. "title": "Toggle File Heatmap Annotations",
  2051. "category": "GitLens",
  2052. "icon": {
  2053. "dark": "images/dark/icon-git.svg",
  2054. "light": "images/light/icon-git.svg"
  2055. }
  2056. },
  2057. {
  2058. "command": "gitlens.toggleFileRecentChanges",
  2059. "title": "Toggle Recent File Changes Annotations",
  2060. "category": "GitLens",
  2061. "icon": {
  2062. "dark": "images/dark/icon-git.svg",
  2063. "light": "images/light/icon-git.svg"
  2064. }
  2065. },
  2066. {
  2067. "command": "gitlens.toggleLineBlame",
  2068. "title": "Toggle Line Blame Annotations",
  2069. "category": "GitLens"
  2070. },
  2071. {
  2072. "command": "gitlens.toggleCodeLens",
  2073. "title": "Toggle Git Code Lens",
  2074. "category": "GitLens"
  2075. },
  2076. {
  2077. "command": "gitlens.switchMode",
  2078. "title": "Switch Mode",
  2079. "category": "GitLens"
  2080. },
  2081. {
  2082. "command": "gitlens.toggleReviewMode",
  2083. "title": "Toggle Review Mode",
  2084. "category": "GitLens"
  2085. },
  2086. {
  2087. "command": "gitlens.toggleZenMode",
  2088. "title": "Toggle Zen Mode",
  2089. "category": "GitLens"
  2090. },
  2091. {
  2092. "command": "gitlens.showCommitSearch",
  2093. "title": "Search Commits",
  2094. "category": "GitLens",
  2095. "icon": {
  2096. "dark": "images/dark/icon-search.svg",
  2097. "light": "images/light/icon-search.svg"
  2098. }
  2099. },
  2100. {
  2101. "command": "gitlens.showLastQuickPick",
  2102. "title": "Show Last Opened Quick Pick",
  2103. "category": "GitLens"
  2104. },
  2105. {
  2106. "command": "gitlens.showCommitInView",
  2107. "title": "Show Commit in View",
  2108. "category": "GitLens"
  2109. },
  2110. {
  2111. "command": "gitlens.showFileHistoryInView",
  2112. "title": "Show File History in View",
  2113. "category": "GitLens"
  2114. },
  2115. {
  2116. "command": "gitlens.showQuickCommitDetails",
  2117. "title": "Show Commit Details",
  2118. "category": "GitLens"
  2119. },
  2120. {
  2121. "command": "gitlens.showQuickCommitFileDetails",
  2122. "title": "Show Commit Details",
  2123. "category": "GitLens"
  2124. },
  2125. {
  2126. "command": "gitlens.showQuickRevisionDetails",
  2127. "title": "Show Revision Details",
  2128. "category": "GitLens",
  2129. "icon": {
  2130. "dark": "images/dark/icon-commit.svg",
  2131. "light": "images/light/icon-commit.svg"
  2132. }
  2133. },
  2134. {
  2135. "command": "gitlens.showQuickFileHistory",
  2136. "title": "Show File History",
  2137. "category": "GitLens"
  2138. },
  2139. {
  2140. "command": "gitlens.showQuickBranchHistory",
  2141. "title": "Show Branch History",
  2142. "category": "GitLens"
  2143. },
  2144. {
  2145. "command": "gitlens.showQuickRepoHistory",
  2146. "title": "Show Current Branch History",
  2147. "category": "GitLens"
  2148. },
  2149. {
  2150. "command": "gitlens.showQuickRepoStatus",
  2151. "title": "Show Repository Status",
  2152. "category": "GitLens"
  2153. },
  2154. {
  2155. "command": "gitlens.showQuickStashList",
  2156. "title": "Show Stashed Changes",
  2157. "category": "GitLens"
  2158. },
  2159. {
  2160. "command": "gitlens.copyMessageToClipboard",
  2161. "title": "Copy Commit Message to Clipboard",
  2162. "category": "GitLens",
  2163. "icon": {
  2164. "dark": "images/dark/icon-clipboard.svg",
  2165. "light": "images/light/icon-clipboard.svg"
  2166. }
  2167. },
  2168. {
  2169. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2170. "title": "Copy Remote Url to Clipboard",
  2171. "category": "GitLens",
  2172. "icon": {
  2173. "dark": "images/dark/icon-copy-remote.svg",
  2174. "light": "images/light/icon-copy-remote.svg"
  2175. }
  2176. },
  2177. {
  2178. "command": "gitlens.copyShaToClipboard",
  2179. "title": "Copy Commit ID to Clipboard",
  2180. "category": "GitLens",
  2181. "icon": {
  2182. "dark": "images/dark/icon-copy-commit.svg",
  2183. "light": "images/light/icon-copy-commit.svg"
  2184. }
  2185. },
  2186. {
  2187. "command": "gitlens.closeUnchangedFiles",
  2188. "title": "Close Unchanged Files",
  2189. "category": "GitLens"
  2190. },
  2191. {
  2192. "command": "gitlens.openChangedFiles",
  2193. "title": "Open Changed Files",
  2194. "category": "GitLens"
  2195. },
  2196. {
  2197. "command": "gitlens.openBranchesInRemote",
  2198. "title": "Open Branches on Remote",
  2199. "category": "GitLens",
  2200. "icon": {
  2201. "dark": "images/dark/icon-link.svg",
  2202. "light": "images/light/icon-link.svg"
  2203. }
  2204. },
  2205. {
  2206. "command": "gitlens.openBranchInRemote",
  2207. "title": "Open Branch on Remote",
  2208. "category": "GitLens",
  2209. "icon": {
  2210. "dark": "images/dark/icon-link.svg",
  2211. "light": "images/light/icon-link.svg"
  2212. }
  2213. },
  2214. {
  2215. "command": "gitlens.openCommitInRemote",
  2216. "title": "Open Commit on Remote",
  2217. "category": "GitLens",
  2218. "icon": {
  2219. "dark": "images/dark/icon-link.svg",
  2220. "light": "images/light/icon-link.svg"
  2221. }
  2222. },
  2223. {
  2224. "command": "gitlens.openFileInRemote",
  2225. "title": "Open File on Remote",
  2226. "category": "GitLens",
  2227. "icon": {
  2228. "dark": "images/dark/icon-link.svg",
  2229. "light": "images/light/icon-link.svg"
  2230. }
  2231. },
  2232. {
  2233. "command": "gitlens.openFileRevision",
  2234. "title": "Open Revision...",
  2235. "category": "GitLens"
  2236. },
  2237. {
  2238. "command": "gitlens.openFileRevisionFrom",
  2239. "title": "Open Revision from...",
  2240. "category": "GitLens"
  2241. },
  2242. {
  2243. "command": "gitlens.openRepoInRemote",
  2244. "title": "Open Repository on Remote",
  2245. "category": "GitLens",
  2246. "icon": {
  2247. "dark": "images/dark/icon-link.svg",
  2248. "light": "images/light/icon-link.svg"
  2249. }
  2250. },
  2251. {
  2252. "command": "gitlens.openWorkingFile",
  2253. "title": "Open Working File",
  2254. "category": "GitLens",
  2255. "icon": {
  2256. "dark": "images/dark/icon-open-working-file.svg",
  2257. "light": "images/light/icon-open-working-file.svg"
  2258. }
  2259. },
  2260. {
  2261. "command": "gitlens.stashApply",
  2262. "title": "Apply Stashed Changes",
  2263. "category": "GitLens",
  2264. "icon": {
  2265. "dark": "images/dark/icon-stash-pop.svg",
  2266. "light": "images/light/icon-stash-pop.svg"
  2267. }
  2268. },
  2269. {
  2270. "command": "gitlens.stashDelete",
  2271. "title": "Delete Stashed Changes",
  2272. "category": "GitLens",
  2273. "icon": {
  2274. "dark": "images/dark/icon-delete.svg",
  2275. "light": "images/light/icon-delete.svg"
  2276. }
  2277. },
  2278. {
  2279. "command": "gitlens.stashSave",
  2280. "title": "Stash All Changes",
  2281. "category": "GitLens",
  2282. "icon": {
  2283. "dark": "images/dark/icon-stash-save.svg",
  2284. "light": "images/light/icon-stash-save.svg"
  2285. }
  2286. },
  2287. {
  2288. "command": "gitlens.stashSaveFiles",
  2289. "title": "Stash Changes",
  2290. "category": "GitLens",
  2291. "icon": {
  2292. "dark": "images/dark/icon-stash-save.svg",
  2293. "light": "images/light/icon-stash-save.svg"
  2294. }
  2295. },
  2296. {
  2297. "command": "gitlens.externalDiff",
  2298. "title": "Open Changes (with difftool)",
  2299. "category": "GitLens"
  2300. },
  2301. {
  2302. "command": "gitlens.externalDiffAll",
  2303. "title": "Open All Changes (with difftool)",
  2304. "category": "GitLens"
  2305. },
  2306. {
  2307. "command": "gitlens.resetSuppressedWarnings",
  2308. "title": "Reset Suppressed Warnings",
  2309. "category": "GitLens"
  2310. },
  2311. {
  2312. "command": "gitlens.inviteToLiveShare",
  2313. "title": "Invite to Live Share",
  2314. "category": "GitLens",
  2315. "icon": {
  2316. "dark": "images/dark/icon-vsls.svg",
  2317. "light": "images/light/icon-vsls.svg"
  2318. }
  2319. },
  2320. {
  2321. "command": "gitlens.views.exploreRepoRevision",
  2322. "title": "Explore Repository from Here",
  2323. "category": "GitLens"
  2324. },
  2325. {
  2326. "command": "gitlens.fetchRepositories",
  2327. "title": "Fetch Repositories",
  2328. "category": "GitLens",
  2329. "icon": {
  2330. "dark": "images/dark/icon-sync.svg",
  2331. "light": "images/light/icon-sync.svg"
  2332. }
  2333. },
  2334. {
  2335. "command": "gitlens.pullRepositories",
  2336. "title": "Pull Repositories",
  2337. "category": "GitLens",
  2338. "icon": {
  2339. "dark": "images/dark/icon-pull.svg",
  2340. "light": "images/light/icon-pull.svg"
  2341. }
  2342. },
  2343. {
  2344. "command": "gitlens.pushRepositories",
  2345. "title": "Push Repositories",
  2346. "category": "GitLens",
  2347. "icon": {
  2348. "dark": "images/dark/icon-push.svg",
  2349. "light": "images/light/icon-push.svg"
  2350. }
  2351. },
  2352. {
  2353. "command": "gitlens.views.checkout",
  2354. "title": "Checkout",
  2355. "category": "GitLens",
  2356. "icon": {
  2357. "dark": "images/dark/icon-checkout.svg",
  2358. "light": "images/light/icon-checkout.svg"
  2359. }
  2360. },
  2361. {
  2362. "command": "gitlens.views.fetch",
  2363. "title": "Fetch",
  2364. "category": "GitLens",
  2365. "icon": {
  2366. "dark": "images/dark/icon-sync.svg",
  2367. "light": "images/light/icon-sync.svg"
  2368. }
  2369. },
  2370. {
  2371. "command": "gitlens.views.pull",
  2372. "title": "Pull",
  2373. "category": "GitLens",
  2374. "icon": {
  2375. "dark": "images/dark/icon-pull.svg",
  2376. "light": "images/light/icon-pull.svg"
  2377. }
  2378. },
  2379. {
  2380. "command": "gitlens.views.push",
  2381. "title": "Push",
  2382. "category": "GitLens",
  2383. "icon": {
  2384. "dark": "images/dark/icon-push.svg",
  2385. "light": "images/light/icon-push.svg"
  2386. }
  2387. },
  2388. {
  2389. "command": "gitlens.views.pushWithForce",
  2390. "title": "Push (force)",
  2391. "category": "GitLens",
  2392. "icon": {
  2393. "dark": "images/dark/icon-push-force.svg",
  2394. "light": "images/light/icon-push-force.svg"
  2395. }
  2396. },
  2397. {
  2398. "command": "gitlens.views.openInTerminal",
  2399. "title": "Open in Terminal",
  2400. "category": "GitLens"
  2401. },
  2402. {
  2403. "command": "gitlens.views.setAsDefault",
  2404. "title": "Set as Default",
  2405. "category": "GitLens"
  2406. },
  2407. {
  2408. "command": "gitlens.views.unsetAsDefault",
  2409. "title": "Unset as Default",
  2410. "category": "GitLens"
  2411. },
  2412. {
  2413. "command": "gitlens.views.stageDirectory",
  2414. "title": "Stage All Changes",
  2415. "category": "GitLens",
  2416. "icon": {
  2417. "dark": "images/dark/icon-add.svg",
  2418. "light": "images/light/icon-add.svg"
  2419. }
  2420. },
  2421. {
  2422. "command": "gitlens.views.stageFile",
  2423. "title": "Stage Changes",
  2424. "category": "GitLens",
  2425. "icon": {
  2426. "dark": "images/dark/icon-add.svg",
  2427. "light": "images/light/icon-add.svg"
  2428. }
  2429. },
  2430. {
  2431. "command": "gitlens.views.unstageDirectory",
  2432. "title": "Unstage All Changes",
  2433. "category": "GitLens",
  2434. "icon": {
  2435. "dark": "images/dark/icon-minus.svg",
  2436. "light": "images/light/icon-minus.svg"
  2437. }
  2438. },
  2439. {
  2440. "command": "gitlens.views.unstageFile",
  2441. "title": "Unstage Changes",
  2442. "category": "GitLens",
  2443. "icon": {
  2444. "dark": "images/dark/icon-minus.svg",
  2445. "light": "images/light/icon-minus.svg"
  2446. }
  2447. },
  2448. {
  2449. "command": "gitlens.views.star",
  2450. "title": "Add to Favorites",
  2451. "category": "GitLens",
  2452. "icon": {
  2453. "dark": "images/dark/icon-star.svg",
  2454. "light": "images/light/icon-star.svg"
  2455. }
  2456. },
  2457. {
  2458. "command": "gitlens.views.unstar",
  2459. "title": "Remove from Favorites",
  2460. "category": "GitLens",
  2461. "icon": {
  2462. "dark": "images/dark/icon-star-filled.svg",
  2463. "light": "images/light/icon-star-filled.svg"
  2464. }
  2465. },
  2466. {
  2467. "command": "gitlens.views.openDirectoryDiff",
  2468. "title": "Open Directory Compare",
  2469. "category": "GitLens"
  2470. },
  2471. {
  2472. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2473. "title": "Open Directory Compare with Working Tree",
  2474. "category": "GitLens"
  2475. },
  2476. {
  2477. "command": "gitlens.views.openChanges",
  2478. "title": "Open Changes",
  2479. "category": "GitLens"
  2480. },
  2481. {
  2482. "command": "gitlens.views.openChangesWithWorking",
  2483. "title": "Open Changes with Working File",
  2484. "category": "GitLens"
  2485. },
  2486. {
  2487. "command": "gitlens.views.openFile",
  2488. "title": "Open File",
  2489. "category": "GitLens",
  2490. "icon": {
  2491. "dark": "images/dark/icon-open-file.svg",
  2492. "light": "images/light/icon-open-file.svg"
  2493. }
  2494. },
  2495. {
  2496. "command": "gitlens.views.openFileRevision",
  2497. "title": "Open Revision",
  2498. "category": "GitLens"
  2499. },
  2500. {
  2501. "command": "gitlens.views.openFileRevisionInRemote",
  2502. "title": "Open Revision on Remote",
  2503. "category": "GitLens",
  2504. "icon": {
  2505. "dark": "images/dark/icon-link.svg",
  2506. "light": "images/light/icon-link.svg"
  2507. }
  2508. },
  2509. {
  2510. "command": "gitlens.views.openChangedFiles",
  2511. "title": "Open Files",
  2512. "category": "GitLens"
  2513. },
  2514. {
  2515. "command": "gitlens.views.openChangedFileChanges",
  2516. "title": "Open All Changes",
  2517. "category": "GitLens"
  2518. },
  2519. {
  2520. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2521. "title": "Open All Changes with Working Tree",
  2522. "category": "GitLens"
  2523. },
  2524. {
  2525. "command": "gitlens.views.openChangedFileRevisions",
  2526. "title": "Open Revisions",
  2527. "category": "GitLens"
  2528. },
  2529. {
  2530. "command": "gitlens.views.applyChanges",
  2531. "title": "Apply Changes",
  2532. "category": "GitLens"
  2533. },
  2534. {
  2535. "command": "gitlens.views.closeRepository",
  2536. "title": "Close Repository",
  2537. "category": "GitLens"
  2538. },
  2539. {
  2540. "command": "gitlens.views.compareAncestryWithWorking",
  2541. "title": "Compare Ancestry with Working Tree",
  2542. "category": "GitLens"
  2543. },
  2544. {
  2545. "command": "gitlens.views.compareWithHead",
  2546. "title": "Compare with HEAD",
  2547. "category": "GitLens",
  2548. "icon": {
  2549. "dark": "images/dark/icon-compare-refs.svg",
  2550. "light": "images/light/icon-compare-refs.svg"
  2551. }
  2552. },
  2553. {
  2554. "command": "gitlens.views.compareWithRemote",
  2555. "title": "Compare with Remote",
  2556. "category": "GitLens",
  2557. "icon": {
  2558. "dark": "images/dark/icon-compare-ref-remote.svg",
  2559. "light": "images/light/icon-compare-ref-remote.svg"
  2560. }
  2561. },
  2562. {
  2563. "command": "gitlens.views.compareWithSelected",
  2564. "title": "Compare with Selected",
  2565. "category": "GitLens"
  2566. },
  2567. {
  2568. "command": "gitlens.views.selectForCompare",
  2569. "title": "Select for Compare",
  2570. "category": "GitLens"
  2571. },
  2572. {
  2573. "command": "gitlens.views.compareFileWithSelected",
  2574. "title": "Compare with Selected",
  2575. "category": "GitLens"
  2576. },
  2577. {
  2578. "command": "gitlens.views.selectFileForCompare",
  2579. "title": "Select for Compare",
  2580. "category": "GitLens"
  2581. },
  2582. {
  2583. "command": "gitlens.views.compareWithWorking",
  2584. "title": "Compare with Working Tree",
  2585. "category": "GitLens",
  2586. "icon": {
  2587. "dark": "images/dark/icon-compare-ref-working.svg",
  2588. "light": "images/light/icon-compare-ref-working.svg"
  2589. }
  2590. },
  2591. {
  2592. "command": "gitlens.views.contributor.addCoauthoredBy",
  2593. "title": "Add as Co-author",
  2594. "category": "GitLens"
  2595. },
  2596. {
  2597. "command": "gitlens.views.contributor.copyToClipboard",
  2598. "title": "Copy to Clipboard",
  2599. "category": "GitLens",
  2600. "icon": {
  2601. "dark": "images/dark/icon-clipboard.svg",
  2602. "light": "images/light/icon-clipboard.svg"
  2603. }
  2604. },
  2605. {
  2606. "command": "gitlens.views.terminalCheckoutBranch",
  2607. "title": "Checkout Branch (via Terminal)",
  2608. "category": "GitLens"
  2609. },
  2610. {
  2611. "command": "gitlens.views.terminalCreateBranch",
  2612. "title": "Create Branch (via Terminal)...",
  2613. "category": "GitLens"
  2614. },
  2615. {
  2616. "command": "gitlens.views.terminalDeleteBranch",
  2617. "title": "Delete Branch (via Terminal)",
  2618. "category": "GitLens"
  2619. },
  2620. {
  2621. "command": "gitlens.views.terminalMergeBranch",
  2622. "title": "Merge Branch (via Terminal)",
  2623. "category": "GitLens"
  2624. },
  2625. {
  2626. "command": "gitlens.views.terminalRebaseBranch",
  2627. "title": "Rebase (Interactive) Branch (via Terminal)",
  2628. "category": "GitLens"
  2629. },
  2630. {
  2631. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2632. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2633. "category": "GitLens"
  2634. },
  2635. {
  2636. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2637. "title": "Squash Branch into Commit (via Terminal)",
  2638. "category": "GitLens"
  2639. },
  2640. {
  2641. "command": "gitlens.views.terminalCheckoutCommit",
  2642. "title": "Checkout Commit (via Terminal)",
  2643. "category": "GitLens"
  2644. },
  2645. {
  2646. "command": "gitlens.views.terminalCherryPickCommit",
  2647. "title": "Cherry Pick Commit (via Terminal)",
  2648. "category": "GitLens"
  2649. },
  2650. {
  2651. "command": "gitlens.views.terminalPushCommit",
  2652. "title": "Push to Commit (via Terminal)",
  2653. "category": "GitLens"
  2654. },
  2655. {
  2656. "command": "gitlens.views.terminalRebaseCommit",
  2657. "title": "Rebase to Commit (via Terminal)",
  2658. "category": "GitLens"
  2659. },
  2660. {
  2661. "command": "gitlens.views.terminalResetCommit",
  2662. "title": "Reset to Commit (via Terminal)",
  2663. "category": "GitLens"
  2664. },
  2665. {
  2666. "command": "gitlens.views.terminalRevertCommit",
  2667. "title": "Revert Commit (via Terminal)",
  2668. "category": "GitLens"
  2669. },
  2670. {
  2671. "command": "gitlens.views.terminalRemoveRemote",
  2672. "title": "Remove Remote (via Terminal)",
  2673. "category": "GitLens"
  2674. },
  2675. {
  2676. "command": "gitlens.views.terminalCreateTag",
  2677. "title": "Create Tag (via Terminal)...",
  2678. "category": "GitLens"
  2679. },
  2680. {
  2681. "command": "gitlens.views.terminalDeleteTag",
  2682. "title": "Delete Tag (via Terminal)",
  2683. "category": "GitLens"
  2684. },
  2685. {
  2686. "command": "gitlens.views.repositories.refresh",
  2687. "title": "Refresh",
  2688. "category": "GitLens",
  2689. "icon": {
  2690. "dark": "images/dark/icon-refresh.svg",
  2691. "light": "images/light/icon-refresh.svg"
  2692. }
  2693. },
  2694. {
  2695. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2696. "title": "Automatic Layout",
  2697. "category": "GitLens"
  2698. },
  2699. {
  2700. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2701. "title": "List Layout",
  2702. "category": "GitLens"
  2703. },
  2704. {
  2705. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2706. "title": "Tree Layout",
  2707. "category": "GitLens"
  2708. },
  2709. {
  2710. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2711. "title": "Enable Automatic Refresh",
  2712. "category": "GitLens"
  2713. },
  2714. {
  2715. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2716. "title": "Disable Automatic Refresh",
  2717. "category": "GitLens"
  2718. },
  2719. {
  2720. "command": "gitlens.views.fileHistory.refresh",
  2721. "title": "Refresh",
  2722. "category": "GitLens",
  2723. "icon": {
  2724. "dark": "images/dark/icon-refresh.svg",
  2725. "light": "images/light/icon-refresh.svg"
  2726. }
  2727. },
  2728. {
  2729. "command": "gitlens.views.fileHistory.changeBase",
  2730. "title": "Change Base...",
  2731. "category": "GitLens",
  2732. "icon": {
  2733. "dark": "images/dark/icon-history.svg",
  2734. "light": "images/light/icon-history.svg"
  2735. }
  2736. },
  2737. {
  2738. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2739. "title": "Resume File Tracking",
  2740. "category": "GitLens",
  2741. "icon": {
  2742. "dark": "images/dark/icon-location.svg",
  2743. "light": "images/light/icon-location.svg"
  2744. }
  2745. },
  2746. {
  2747. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2748. "title": "Pause File Tracking",
  2749. "category": "GitLens",
  2750. "icon": {
  2751. "dark": "images/dark/icon-location-filled.svg",
  2752. "light": "images/light/icon-location-filled.svg"
  2753. }
  2754. },
  2755. {
  2756. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2757. "title": "Follow Renames",
  2758. "category": "GitLens"
  2759. },
  2760. {
  2761. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2762. "title": "Don't Follow Renames",
  2763. "category": "GitLens"
  2764. },
  2765. {
  2766. "command": "gitlens.views.lineHistory.refresh",
  2767. "title": "Refresh",
  2768. "category": "GitLens",
  2769. "icon": {
  2770. "dark": "images/dark/icon-refresh.svg",
  2771. "light": "images/light/icon-refresh.svg"
  2772. }
  2773. },
  2774. {
  2775. "command": "gitlens.views.lineHistory.changeBase",
  2776. "title": "Change Base...",
  2777. "category": "GitLens",
  2778. "icon": {
  2779. "dark": "images/dark/icon-history.svg",
  2780. "light": "images/light/icon-history.svg"
  2781. }
  2782. },
  2783. {
  2784. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2785. "title": "Resume Line Tracking",
  2786. "category": "GitLens",
  2787. "icon": {
  2788. "dark": "images/dark/icon-location.svg",
  2789. "light": "images/light/icon-location.svg"
  2790. }
  2791. },
  2792. {
  2793. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2794. "title": "Pause Line Tracking",
  2795. "category": "GitLens",
  2796. "icon": {
  2797. "dark": "images/dark/icon-location-filled.svg",
  2798. "light": "images/light/icon-location-filled.svg"
  2799. }
  2800. },
  2801. {
  2802. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2803. "title": "Follow Renames",
  2804. "category": "GitLens"
  2805. },
  2806. {
  2807. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2808. "title": "Don't Follow Renames",
  2809. "category": "GitLens"
  2810. },
  2811. {
  2812. "command": "gitlens.views.compare.selectForCompare",
  2813. "title": "Compare References...",
  2814. "category": "GitLens",
  2815. "icon": {
  2816. "dark": "images/dark/icon-compare-refs.svg",
  2817. "light": "images/light/icon-compare-refs.svg"
  2818. }
  2819. },
  2820. {
  2821. "command": "gitlens.views.compare.clear",
  2822. "title": "Clear Results",
  2823. "category": "GitLens",
  2824. "icon": {
  2825. "dark": "images/dark/icon-clear.svg",
  2826. "light": "images/light/icon-clear.svg"
  2827. }
  2828. },
  2829. {
  2830. "command": "gitlens.views.compare.refresh",
  2831. "title": "Refresh",
  2832. "category": "GitLens",
  2833. "icon": {
  2834. "dark": "images/dark/icon-refresh.svg",
  2835. "light": "images/light/icon-refresh.svg"
  2836. }
  2837. },
  2838. {
  2839. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  2840. "title": "Automatic Layout",
  2841. "category": "GitLens"
  2842. },
  2843. {
  2844. "command": "gitlens.views.compare.setFilesLayoutToList",
  2845. "title": "List Layout",
  2846. "category": "GitLens"
  2847. },
  2848. {
  2849. "command": "gitlens.views.compare.setFilesLayoutToTree",
  2850. "title": "Tree Layout",
  2851. "category": "GitLens"
  2852. },
  2853. {
  2854. "command": "gitlens.views.compare.setKeepResultsToOn",
  2855. "title": "Keep Results",
  2856. "category": "GitLens",
  2857. "icon": {
  2858. "dark": "images/dark/icon-lock.svg",
  2859. "light": "images/light/icon-lock.svg"
  2860. }
  2861. },
  2862. {
  2863. "command": "gitlens.views.compare.setKeepResultsToOff",
  2864. "title": "Keep Results",
  2865. "category": "GitLens",
  2866. "icon": {
  2867. "dark": "images/dark/icon-locked.svg",
  2868. "light": "images/light/icon-locked.svg"
  2869. }
  2870. },
  2871. {
  2872. "command": "gitlens.views.compare.pinComparison",
  2873. "title": "Pin Comparison",
  2874. "category": "GitLens",
  2875. "icon": {
  2876. "dark": "images/dark/icon-pin-tilted.svg",
  2877. "light": "images/light/icon-pin-tilted.svg"
  2878. }
  2879. },
  2880. {
  2881. "command": "gitlens.views.compare.unpinComparison",
  2882. "title": "Unpin Comparison",
  2883. "category": "GitLens",
  2884. "icon": {
  2885. "dark": "images/dark/icon-pin-filled.svg",
  2886. "light": "images/light/icon-pin-filled.svg"
  2887. }
  2888. },
  2889. {
  2890. "command": "gitlens.views.compare.swapComparison",
  2891. "title": "Swap Comparison",
  2892. "category": "GitLens",
  2893. "icon": {
  2894. "dark": "images/dark/icon-swap.svg",
  2895. "light": "images/light/icon-swap.svg"
  2896. }
  2897. },
  2898. {
  2899. "command": "gitlens.views.search.searchCommits",
  2900. "title": "Search Commits",
  2901. "category": "GitLens",
  2902. "icon": {
  2903. "dark": "images/dark/icon-search.svg",
  2904. "light": "images/light/icon-search.svg"
  2905. }
  2906. },
  2907. {
  2908. "command": "gitlens.views.search.clear",
  2909. "title": "Clear Results",
  2910. "category": "GitLens",
  2911. "icon": {
  2912. "dark": "images/dark/icon-clear.svg",
  2913. "light": "images/light/icon-clear.svg"
  2914. }
  2915. },
  2916. {
  2917. "command": "gitlens.views.search.refresh",
  2918. "title": "Refresh",
  2919. "category": "GitLens",
  2920. "icon": {
  2921. "dark": "images/dark/icon-refresh.svg",
  2922. "light": "images/light/icon-refresh.svg"
  2923. }
  2924. },
  2925. {
  2926. "command": "gitlens.views.search.setFilesLayoutToAuto",
  2927. "title": "Automatic Layout",
  2928. "category": "GitLens"
  2929. },
  2930. {
  2931. "command": "gitlens.views.search.setFilesLayoutToList",
  2932. "title": "List Layout",
  2933. "category": "GitLens"
  2934. },
  2935. {
  2936. "command": "gitlens.views.search.setFilesLayoutToTree",
  2937. "title": "Tree Layout",
  2938. "category": "GitLens"
  2939. },
  2940. {
  2941. "command": "gitlens.views.search.setKeepResultsToOn",
  2942. "title": "Keep Results",
  2943. "category": "GitLens",
  2944. "icon": {
  2945. "dark": "images/dark/icon-lock.svg",
  2946. "light": "images/light/icon-lock.svg"
  2947. }
  2948. },
  2949. {
  2950. "command": "gitlens.views.search.setKeepResultsToOff",
  2951. "title": "Keep Results",
  2952. "category": "GitLens",
  2953. "icon": {
  2954. "dark": "images/dark/icon-locked.svg",
  2955. "light": "images/light/icon-locked.svg"
  2956. }
  2957. },
  2958. {
  2959. "command": "gitlens.views.dismissNode",
  2960. "title": "Dismiss",
  2961. "category": "GitLens",
  2962. "icon": {
  2963. "dark": "images/dark/icon-close-small.svg",
  2964. "light": "images/light/icon-close-small.svg"
  2965. }
  2966. },
  2967. {
  2968. "command": "gitlens.views.expandNode",
  2969. "title": "Expand",
  2970. "category": "GitLens"
  2971. },
  2972. {
  2973. "command": "gitlens.views.refreshNode",
  2974. "title": "Refresh",
  2975. "category": "GitLens",
  2976. "icon": {
  2977. "dark": "images/dark/icon-refresh.svg",
  2978. "light": "images/light/icon-refresh.svg"
  2979. }
  2980. },
  2981. {
  2982. "command": "gitlens.views.showMoreChildren",
  2983. "title": "Show More",
  2984. "category": "GitLens",
  2985. "icon": {
  2986. "dark": "images/dark/icon-unfold.svg",
  2987. "light": "images/light/icon-unfold.svg"
  2988. }
  2989. },
  2990. {
  2991. "command": "gitlens.views.showAllChildren",
  2992. "title": "Show All",
  2993. "category": "GitLens",
  2994. "icon": {
  2995. "dark": "images/dark/icon-unfold.svg",
  2996. "light": "images/light/icon-unfold.svg"
  2997. }
  2998. }
  2999. ],
  3000. "menus": {
  3001. "commandPalette": [
  3002. {
  3003. "command": "gitlens.showSettingsPage#repositories-view",
  3004. "when": "false"
  3005. },
  3006. {
  3007. "command": "gitlens.showSettingsPage#file-history-view",
  3008. "when": "false"
  3009. },
  3010. {
  3011. "command": "gitlens.showSettingsPage#line-history-view",
  3012. "when": "false"
  3013. },
  3014. {
  3015. "command": "gitlens.showSettingsPage#search-commits-view",
  3016. "when": "false"
  3017. },
  3018. {
  3019. "command": "gitlens.showSettingsPage#compare-view",
  3020. "when": "false"
  3021. },
  3022. {
  3023. "command": "gitlens.showCompareView",
  3024. "when": "gitlens:enabled"
  3025. },
  3026. {
  3027. "command": "gitlens.showFileHistoryView",
  3028. "when": "gitlens:enabled"
  3029. },
  3030. {
  3031. "command": "gitlens.showLineHistoryView",
  3032. "when": "gitlens:enabled"
  3033. },
  3034. {
  3035. "command": "gitlens.showRepositoriesView",
  3036. "when": "gitlens:enabled"
  3037. },
  3038. {
  3039. "command": "gitlens.showSearchView",
  3040. "when": "gitlens:enabled"
  3041. },
  3042. {
  3043. "command": "gitlens.diffDirectory",
  3044. "when": "gitlens:enabled"
  3045. },
  3046. {
  3047. "command": "gitlens.diffDirectoryWithHead",
  3048. "when": "gitlens:enabled"
  3049. },
  3050. {
  3051. "command": "gitlens.diffHeadWith",
  3052. "when": "gitlens:enabled"
  3053. },
  3054. {
  3055. "command": "gitlens.diffWorkingWith",
  3056. "when": "gitlens:enabled"
  3057. },
  3058. {
  3059. "command": "gitlens.diffWithRef",
  3060. "when": "gitlens:activeFileStatus =~ /tracked/"
  3061. },
  3062. {
  3063. "command": "gitlens.diffWithNext",
  3064. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  3065. },
  3066. {
  3067. "command": "gitlens.diffWithNextInDiff",
  3068. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  3069. },
  3070. {
  3071. "command": "gitlens.diffWithPrevious",
  3072. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3073. },
  3074. {
  3075. "command": "gitlens.diffWithPreviousInDiff",
  3076. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3077. },
  3078. {
  3079. "command": "gitlens.diffLineWithPrevious",
  3080. "when": "gitlens:activeFileStatus =~ /blameable/"
  3081. },
  3082. {
  3083. "command": "gitlens.diffWithRevision",
  3084. "when": "gitlens:activeFileStatus =~ /tracked/"
  3085. },
  3086. {
  3087. "command": "gitlens.diffWithWorking",
  3088. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  3089. },
  3090. {
  3091. "command": "gitlens.diffWithWorkingInDiff",
  3092. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  3093. },
  3094. {
  3095. "command": "gitlens.diffLineWithWorking",
  3096. "when": "gitlens:activeFileStatus =~ /blameable/"
  3097. },
  3098. {
  3099. "command": "gitlens.externalDiff",
  3100. "when": "gitlens:activeFileStatus =~ /tracked/"
  3101. },
  3102. {
  3103. "command": "gitlens.externalDiffAll",
  3104. "when": "gitlens:enabled"
  3105. },
  3106. {
  3107. "command": "gitlens.toggleFileBlame",
  3108. "when": "gitlens:activeFileStatus =~ /blameable/"
  3109. },
  3110. {
  3111. "command": "gitlens.clearFileAnnotations",
  3112. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  3113. },
  3114. {
  3115. "command": "gitlens.computingFileAnnotations",
  3116. "when": "false"
  3117. },
  3118. {
  3119. "command": "gitlens.toggleFileHeatmap",
  3120. "when": "gitlens:activeFileStatus =~ /blameable/"
  3121. },
  3122. {
  3123. "command": "gitlens.toggleFileRecentChanges",
  3124. "when": "gitlens:activeFileStatus =~ /blameable/"
  3125. },
  3126. {
  3127. "command": "gitlens.toggleLineBlame",
  3128. "when": "gitlens:enabled"
  3129. },
  3130. {
  3131. "command": "gitlens.toggleCodeLens",
  3132. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  3133. },
  3134. {
  3135. "command": "gitlens.switchMode",
  3136. "when": "gitlens:enabled"
  3137. },
  3138. {
  3139. "command": "gitlens.toggleReviewMode",
  3140. "when": "gitlens:enabled"
  3141. },
  3142. {
  3143. "command": "gitlens.toggleZenMode",
  3144. "when": "gitlens:enabled"
  3145. },
  3146. {
  3147. "command": "gitlens.showCommitSearch",
  3148. "when": "gitlens:enabled"
  3149. },
  3150. {
  3151. "command": "gitlens.showLastQuickPick",
  3152. "when": "gitlens:enabled"
  3153. },
  3154. {
  3155. "command": "gitlens.showCommitInView",
  3156. "when": "gitlens:activeFileStatus =~ /blameable/"
  3157. },
  3158. {
  3159. "command": "gitlens.showFileHistoryInView",
  3160. "when": "gitlens:activeFileStatus =~ /tracked/"
  3161. },
  3162. {
  3163. "command": "gitlens.showQuickCommitDetails",
  3164. "when": "gitlens:activeFileStatus =~ /blameable/"
  3165. },
  3166. {
  3167. "command": "gitlens.showQuickCommitFileDetails",
  3168. "when": "gitlens:activeFileStatus =~ /blameable/"
  3169. },
  3170. {
  3171. "command": "gitlens.showQuickRevisionDetails",
  3172. "when": "gitlens:activeFileStatus =~ /revision/"
  3173. },
  3174. {
  3175. "command": "gitlens.showQuickFileHistory",
  3176. "when": "gitlens:activeFileStatus =~ /tracked/"
  3177. },
  3178. {
  3179. "command": "gitlens.showQuickBranchHistory",
  3180. "when": "gitlens:enabled"
  3181. },
  3182. {
  3183. "command": "gitlens.showQuickRepoHistory",
  3184. "when": "gitlens:enabled"
  3185. },
  3186. {
  3187. "command": "gitlens.showQuickRepoStatus",
  3188. "when": "gitlens:enabled"
  3189. },
  3190. {
  3191. "command": "gitlens.showQuickStashList",
  3192. "when": "gitlens:enabled"
  3193. },
  3194. {
  3195. "command": "gitlens.copyMessageToClipboard",
  3196. "when": "gitlens:activeFileStatus =~ /blameable/"
  3197. },
  3198. {
  3199. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3200. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  3201. },
  3202. {
  3203. "command": "gitlens.copyShaToClipboard",
  3204. "when": "gitlens:activeFileStatus =~ /blameable/"
  3205. },
  3206. {
  3207. "command": "gitlens.closeUnchangedFiles",
  3208. "when": "gitlens:enabled"
  3209. },
  3210. {
  3211. "command": "gitlens.openChangedFiles",
  3212. "when": "gitlens:enabled"
  3213. },
  3214. {
  3215. "command": "gitlens.openBranchesInRemote",
  3216. "when": "gitlens:hasRemotes"
  3217. },
  3218. {
  3219. "command": "gitlens.openBranchInRemote",
  3220. "when": "gitlens:hasRemotes"
  3221. },
  3222. {
  3223. "command": "gitlens.openCommitInRemote",
  3224. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  3225. },
  3226. {
  3227. "command": "gitlens.openFileInRemote",
  3228. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  3229. },
  3230. {
  3231. "command": "gitlens.openFileRevision",
  3232. "when": "gitlens:activeFileStatus =~ /tracked/"
  3233. },
  3234. {
  3235. "command": "gitlens.openFileRevisionFrom",
  3236. "when": "gitlens:activeFileStatus =~ /tracked/"
  3237. },
  3238. {
  3239. "command": "gitlens.openRepoInRemote",
  3240. "when": "gitlens:hasRemotes"
  3241. },
  3242. {
  3243. "command": "gitlens.openWorkingFile",
  3244. "when": "gitlens:activeFileStatus =~ /revision/"
  3245. },
  3246. {
  3247. "command": "gitlens.stashApply",
  3248. "when": "gitlens:enabled && !gitlens:readonly"
  3249. },
  3250. {
  3251. "command": "gitlens.stashDelete",
  3252. "when": "false"
  3253. },
  3254. {
  3255. "command": "gitlens.stashSave",
  3256. "when": "gitlens:enabled && !gitlens:readonly"
  3257. },
  3258. {
  3259. "command": "gitlens.stashSaveFiles",
  3260. "when": "false"
  3261. },
  3262. {
  3263. "command": "gitlens.resetSuppressedWarnings",
  3264. "when": "gitlens:enabled"
  3265. },
  3266. {
  3267. "command": "gitlens.inviteToLiveShare",
  3268. "when": "false"
  3269. },
  3270. {
  3271. "command": "gitlens.views.exploreRepoRevision",
  3272. "when": "false"
  3273. },
  3274. {
  3275. "command": "gitlens.fetchRepositories",
  3276. "when": "gitlens:hasRemotes && !gitlens:readonly"
  3277. },
  3278. {
  3279. "command": "gitlens.pullRepositories",
  3280. "when": "gitlens:hasRemotes && !gitlens:readonly"
  3281. },
  3282. {
  3283. "command": "gitlens.pushRepositories",
  3284. "when": "gitlens:hasRemotes && !gitlens:readonly"
  3285. },
  3286. {
  3287. "command": "gitlens.views.checkout",
  3288. "when": "false"
  3289. },
  3290. {
  3291. "command": "gitlens.views.fetch",
  3292. "when": "false"
  3293. },
  3294. {
  3295. "command": "gitlens.views.pull",
  3296. "when": "false"
  3297. },
  3298. {
  3299. "command": "gitlens.views.push",
  3300. "when": "false"
  3301. },
  3302. {
  3303. "command": "gitlens.views.pushWithForce",
  3304. "when": "false"
  3305. },
  3306. {
  3307. "command": "gitlens.views.openInTerminal",
  3308. "when": "false"
  3309. },
  3310. {
  3311. "command": "gitlens.views.setAsDefault",
  3312. "when": "false"
  3313. },
  3314. {
  3315. "command": "gitlens.views.unsetAsDefault",
  3316. "when": "false"
  3317. },
  3318. {
  3319. "command": "gitlens.views.stageDirectory",
  3320. "when": "false"
  3321. },
  3322. {
  3323. "command": "gitlens.views.stageFile",
  3324. "when": "false"
  3325. },
  3326. {
  3327. "command": "gitlens.views.unstageDirectory",
  3328. "when": "false"
  3329. },
  3330. {
  3331. "command": "gitlens.views.unstageFile",
  3332. "when": "false"
  3333. },
  3334. {
  3335. "command": "gitlens.views.star",
  3336. "when": "false"
  3337. },
  3338. {
  3339. "command": "gitlens.views.unstar",
  3340. "when": "false"
  3341. },
  3342. {
  3343. "command": "gitlens.views.openChanges",
  3344. "when": "false"
  3345. },
  3346. {
  3347. "command": "gitlens.views.openDirectoryDiff",
  3348. "when": "false"
  3349. },
  3350. {
  3351. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3352. "when": "false"
  3353. },
  3354. {
  3355. "command": "gitlens.views.openChangesWithWorking",
  3356. "when": "false"
  3357. },
  3358. {
  3359. "command": "gitlens.views.openFile",
  3360. "when": "false"
  3361. },
  3362. {
  3363. "command": "gitlens.views.openFileRevision",
  3364. "when": "false"
  3365. },
  3366. {
  3367. "command": "gitlens.views.openFileRevisionInRemote",
  3368. "when": "false"
  3369. },
  3370. {
  3371. "command": "gitlens.views.openChangedFiles",
  3372. "when": "false"
  3373. },
  3374. {
  3375. "command": "gitlens.views.openChangedFileChanges",
  3376. "when": "false"
  3377. },
  3378. {
  3379. "command": "gitlens.views.openChangedFileChangesWithWorking",
  3380. "when": "false"
  3381. },
  3382. {
  3383. "command": "gitlens.views.openChangedFileRevisions",
  3384. "when": "false"
  3385. },
  3386. {
  3387. "command": "gitlens.views.applyChanges",
  3388. "when": "false"
  3389. },
  3390. {
  3391. "command": "gitlens.views.closeRepository",
  3392. "when": "false"
  3393. },
  3394. {
  3395. "command": "gitlens.views.compareAncestryWithWorking",
  3396. "when": "false"
  3397. },
  3398. {
  3399. "command": "gitlens.views.compareWithHead",
  3400. "when": "false"
  3401. },
  3402. {
  3403. "command": "gitlens.views.compareWithRemote",
  3404. "when": "false"
  3405. },
  3406. {
  3407. "command": "gitlens.views.compareWithSelected",
  3408. "when": "false"
  3409. },
  3410. {
  3411. "command": "gitlens.views.selectForCompare",
  3412. "when": "false"
  3413. },
  3414. {
  3415. "command": "gitlens.views.compareFileWithSelected",
  3416. "when": "false"
  3417. },
  3418. {
  3419. "command": "gitlens.views.selectFileForCompare",
  3420. "when": "false"
  3421. },
  3422. {
  3423. "command": "gitlens.views.compareWithWorking",
  3424. "when": "false"
  3425. },
  3426. {
  3427. "command": "gitlens.views.contributor.addCoauthoredBy",
  3428. "when": "false"
  3429. },
  3430. {
  3431. "command": "gitlens.views.contributor.copyToClipboard",
  3432. "when": "false"
  3433. },
  3434. {
  3435. "command": "gitlens.views.terminalCheckoutBranch",
  3436. "when": "false"
  3437. },
  3438. {
  3439. "command": "gitlens.views.terminalCreateBranch",
  3440. "when": "false"
  3441. },
  3442. {
  3443. "command": "gitlens.views.terminalDeleteBranch",
  3444. "when": "false"
  3445. },
  3446. {
  3447. "command": "gitlens.views.terminalMergeBranch",
  3448. "when": "false"
  3449. },
  3450. {
  3451. "command": "gitlens.views.terminalRebaseBranch",
  3452. "when": "false"
  3453. },
  3454. {
  3455. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3456. "when": "false"
  3457. },
  3458. {
  3459. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3460. "when": "false"
  3461. },
  3462. {
  3463. "command": "gitlens.views.terminalCheckoutCommit",
  3464. "when": "false"
  3465. },
  3466. {
  3467. "command": "gitlens.views.terminalCherryPickCommit",
  3468. "when": "false"
  3469. },
  3470. {
  3471. "command": "gitlens.views.terminalPushCommit",
  3472. "when": "false"
  3473. },
  3474. {
  3475. "command": "gitlens.views.terminalRebaseCommit",
  3476. "when": "false"
  3477. },
  3478. {
  3479. "command": "gitlens.views.terminalResetCommit",
  3480. "when": "false"
  3481. },
  3482. {
  3483. "command": "gitlens.views.terminalRevertCommit",
  3484. "when": "false"
  3485. },
  3486. {
  3487. "command": "gitlens.views.terminalRemoveRemote",
  3488. "when": "false"
  3489. },
  3490. {
  3491. "command": "gitlens.views.terminalCreateTag",
  3492. "when": "false"
  3493. },
  3494. {
  3495. "command": "gitlens.views.terminalDeleteTag",
  3496. "when": "false"
  3497. },
  3498. {
  3499. "command": "gitlens.views.repositories.refresh",
  3500. "when": "false"
  3501. },
  3502. {
  3503. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3504. "when": "false"
  3505. },
  3506. {
  3507. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3508. "when": "false"
  3509. },
  3510. {
  3511. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3512. "when": "false"
  3513. },
  3514. {
  3515. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3516. "when": "false"
  3517. },
  3518. {
  3519. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3520. "when": "false"
  3521. },
  3522. {
  3523. "command": "gitlens.views.fileHistory.refresh",
  3524. "when": "false"
  3525. },
  3526. {
  3527. "command": "gitlens.views.fileHistory.changeBase",
  3528. "when": "false"
  3529. },
  3530. {
  3531. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3532. "when": "false"
  3533. },
  3534. {
  3535. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3536. "when": "false"
  3537. },
  3538. {
  3539. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3540. "when": "false"
  3541. },
  3542. {
  3543. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3544. "when": "false"
  3545. },
  3546. {
  3547. "command": "gitlens.views.lineHistory.refresh",
  3548. "when": "false"
  3549. },
  3550. {
  3551. "command": "gitlens.views.lineHistory.changeBase",
  3552. "when": "false"
  3553. },
  3554. {
  3555. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3556. "when": "false"
  3557. },
  3558. {
  3559. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3560. "when": "false"
  3561. },
  3562. {
  3563. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3564. "when": "false"
  3565. },
  3566. {
  3567. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3568. "when": "false"
  3569. },
  3570. {
  3571. "command": "gitlens.views.compare.selectForCompare",
  3572. "when": "gitlens:enabled && config.gitlens.views.compare.enabled"
  3573. },
  3574. {
  3575. "command": "gitlens.views.compare.clear",
  3576. "when": "false"
  3577. },
  3578. {
  3579. "command": "gitlens.views.compare.refresh",
  3580. "when": "false"
  3581. },
  3582. {
  3583. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3584. "when": "false"
  3585. },
  3586. {
  3587. "command": "gitlens.views.compare.setFilesLayoutToList",
  3588. "when": "false"
  3589. },
  3590. {
  3591. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3592. "when": "false"
  3593. },
  3594. {
  3595. "command": "gitlens.views.compare.setKeepResultsToOn",
  3596. "when": "false"
  3597. },
  3598. {
  3599. "command": "gitlens.views.compare.setKeepResultsToOff",
  3600. "when": "false"
  3601. },
  3602. {
  3603. "command": "gitlens.views.compare.pinComparison",
  3604. "when": "false"
  3605. },
  3606. {
  3607. "command": "gitlens.views.compare.unpinComparison",
  3608. "when": "false"
  3609. },
  3610. {
  3611. "command": "gitlens.views.compare.swapComparison",
  3612. "when": "false"
  3613. },
  3614. {
  3615. "command": "gitlens.views.search.searchCommits",
  3616. "when": "false"
  3617. },
  3618. {
  3619. "command": "gitlens.views.search.clear",
  3620. "when": "false"
  3621. },
  3622. {
  3623. "command": "gitlens.views.search.refresh",
  3624. "when": "false"
  3625. },
  3626. {
  3627. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3628. "when": "false"
  3629. },
  3630. {
  3631. "command": "gitlens.views.search.setFilesLayoutToList",
  3632. "when": "false"
  3633. },
  3634. {
  3635. "command": "gitlens.views.search.setFilesLayoutToTree",
  3636. "when": "false"
  3637. },
  3638. {
  3639. "command": "gitlens.views.search.setKeepResultsToOn",
  3640. "when": "false"
  3641. },
  3642. {
  3643. "command": "gitlens.views.search.setKeepResultsToOff",
  3644. "when": "false"
  3645. },
  3646. {
  3647. "command": "gitlens.views.dismissNode",
  3648. "when": "false"
  3649. },
  3650. {
  3651. "command": "gitlens.views.expandNode",
  3652. "when": "false"
  3653. },
  3654. {
  3655. "command": "gitlens.views.refreshNode",
  3656. "when": "false"
  3657. },
  3658. {
  3659. "command": "gitlens.views.showMoreChildren",
  3660. "when": "false"
  3661. },
  3662. {
  3663. "command": "gitlens.views.showAllChildren",
  3664. "when": "false"
  3665. }
  3666. ],
  3667. "editor/context": [
  3668. {
  3669. "command": "gitlens.diffLineWithPrevious",
  3670. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3671. "group": "1_gitlens@1"
  3672. },
  3673. {
  3674. "command": "gitlens.diffLineWithWorking",
  3675. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3676. "group": "1_gitlens@2"
  3677. },
  3678. {
  3679. "command": "gitlens.openFileInRemote",
  3680. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3681. "group": "1_gitlens_1@1"
  3682. },
  3683. {
  3684. "command": "gitlens.openCommitInRemote",
  3685. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3686. "group": "1_gitlens_1@2"
  3687. },
  3688. {
  3689. "command": "gitlens.showQuickCommitFileDetails",
  3690. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  3691. "group": "1_gitlens_1@3"
  3692. },
  3693. {
  3694. "command": "gitlens.showQuickFileHistory",
  3695. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3696. "group": "3_gitlens@1"
  3697. },
  3698. {
  3699. "command": "gitlens.showFileHistoryInView",
  3700. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3701. "group": "3_gitlens@2"
  3702. },
  3703. {
  3704. "command": "gitlens.toggleFileBlame",
  3705. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  3706. "group": "3_gitlens@3"
  3707. },
  3708. {
  3709. "command": "gitlens.copyShaToClipboard",
  3710. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3711. "group": "9_b_gitlens@1"
  3712. },
  3713. {
  3714. "command": "gitlens.copyMessageToClipboard",
  3715. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3716. "group": "9_b_gitlens@2"
  3717. },
  3718. {
  3719. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3720. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  3721. "group": "9_b_gitlens@3"
  3722. }
  3723. ],
  3724. "editor/title": [
  3725. {
  3726. "command": "gitlens.diffWithWorking",
  3727. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3728. "group": "navigation@0"
  3729. },
  3730. {
  3731. "command": "gitlens.diffWithWorkingInDiff",
  3732. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3733. "group": "navigation@0"
  3734. },
  3735. {
  3736. "command": "gitlens.openWorkingFile",
  3737. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3738. "group": "navigation@0"
  3739. },
  3740. {
  3741. "command": "gitlens.openWorkingFile",
  3742. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  3743. "group": "navigation@0"
  3744. },
  3745. {
  3746. "command": "gitlens.openWorkingFile",
  3747. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  3748. "group": "navigation@0"
  3749. },
  3750. {
  3751. "command": "gitlens.diffWithPrevious",
  3752. "alt": "gitlens.diffWithRevision",
  3753. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3754. "group": "navigation@97"
  3755. },
  3756. {
  3757. "command": "gitlens.diffWithPreviousInDiff",
  3758. "alt": "gitlens.diffWithRevision",
  3759. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3760. "group": "navigation@97"
  3761. },
  3762. {
  3763. "command": "gitlens.showQuickRevisionDetails",
  3764. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && config.gitlens.menus.editorGroup.compare",
  3765. "group": "navigation@98"
  3766. },
  3767. {
  3768. "command": "gitlens.diffWithNext",
  3769. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3770. "group": "navigation@99"
  3771. },
  3772. {
  3773. "command": "gitlens.diffWithNextInDiff",
  3774. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3775. "group": "navigation@99"
  3776. },
  3777. {
  3778. "command": "gitlens.toggleFileBlame",
  3779. "alt": "gitlens.toggleFileHeatmap",
  3780. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  3781. "group": "navigation@100"
  3782. },
  3783. {
  3784. "command": "gitlens.computingFileAnnotations",
  3785. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  3786. "group": "navigation@100"
  3787. },
  3788. {
  3789. "command": "gitlens.clearFileAnnotations",
  3790. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  3791. "group": "navigation@100"
  3792. }
  3793. ],
  3794. "editor/title/context": [
  3795. {
  3796. "command": "gitlens.openWorkingFile",
  3797. "when": "resourceScheme == gitlens",
  3798. "group": "1_co_gitlens@1"
  3799. },
  3800. {
  3801. "command": "gitlens.openFileInRemote",
  3802. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.remote",
  3803. "group": "1_co_gitlens@2"
  3804. },
  3805. {
  3806. "command": "gitlens.diffWithPrevious",
  3807. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3808. "group": "1_co_gitlens_1@1"
  3809. },
  3810. {
  3811. "command": "gitlens.diffWithRevision",
  3812. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3813. "group": "1_co_gitlens_1@2"
  3814. },
  3815. {
  3816. "command": "gitlens.diffWithWorking",
  3817. "when": "resourceScheme == gitlens && config.gitlens.menus.editorTab.compare",
  3818. "group": "1_co_gitlens_1@3"
  3819. },
  3820. {
  3821. "command": "gitlens.showQuickFileHistory",
  3822. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3823. "group": "1_co_gitlens_2@1"
  3824. },
  3825. {
  3826. "command": "gitlens.showFileHistoryInView",
  3827. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3828. "group": "1_co_gitlens_2@2"
  3829. },
  3830. {
  3831. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3832. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.clipboard",
  3833. "group": "1_cutcopypaste@100"
  3834. }
  3835. ],
  3836. "explorer/context": [
  3837. {
  3838. "command": "gitlens.openFileInRemote",
  3839. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3840. "group": "navigation@100"
  3841. },
  3842. {
  3843. "command": "gitlens.diffWithPrevious",
  3844. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3845. "group": "3_compare@1"
  3846. },
  3847. {
  3848. "command": "gitlens.diffWithRevision",
  3849. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3850. "group": "3_compare@2"
  3851. },
  3852. {
  3853. "command": "gitlens.showQuickFileHistory",
  3854. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3855. "group": "4_gitlens_1@1"
  3856. },
  3857. {
  3858. "command": "gitlens.showFileHistoryInView",
  3859. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3860. "group": "4_gitlens_1@2"
  3861. },
  3862. {
  3863. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3864. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.clipboard",
  3865. "group": "5_cutcopypaste@100"
  3866. }
  3867. ],
  3868. "scm/resourceGroup/context": [
  3869. {
  3870. "command": "gitlens.stashSave",
  3871. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stashInline",
  3872. "group": "inline@-1"
  3873. },
  3874. {
  3875. "command": "gitlens.stashSave",
  3876. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash",
  3877. "group": "1_modification@100"
  3878. },
  3879. {
  3880. "command": "gitlens.openChangedFiles",
  3881. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  3882. "group": "2_gitlens@1"
  3883. },
  3884. {
  3885. "command": "gitlens.closeUnchangedFiles",
  3886. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  3887. "group": "2_gitlens@2"
  3888. },
  3889. {
  3890. "command": "gitlens.externalDiffAll",
  3891. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  3892. "group": "3_gitlens@3"
  3893. },
  3894. {
  3895. "command": "gitlens.diffDirectoryWithHead",
  3896. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  3897. "group": "3_gitlens@4"
  3898. }
  3899. ],
  3900. "scm/resourceState/context": [
  3901. {
  3902. "command": "gitlens.openFileInRemote",
  3903. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.remote",
  3904. "group": "navigation"
  3905. },
  3906. {
  3907. "command": "gitlens.externalDiff",
  3908. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3909. "group": "navigation"
  3910. },
  3911. {
  3912. "command": "gitlens.diffWithRevision",
  3913. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3914. "group": "1_gitlens@1"
  3915. },
  3916. {
  3917. "command": "gitlens.diffWithRef",
  3918. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3919. "group": "1_gitlens@2"
  3920. },
  3921. {
  3922. "command": "gitlens.showQuickFileHistory",
  3923. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  3924. "group": "1_gitlens_1@1"
  3925. },
  3926. {
  3927. "command": "gitlens.showFileHistoryInView",
  3928. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  3929. "group": "1_gitlens_1@2"
  3930. },
  3931. {
  3932. "command": "gitlens.stashSaveFiles",
  3933. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmItem.stash",
  3934. "group": "1_modification@-1"
  3935. },
  3936. {
  3937. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3938. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.clipboard",
  3939. "group": "9_gitlens@1"
  3940. }
  3941. ],
  3942. "view/title": [
  3943. {
  3944. "command": "gitlens.pushRepositories",
  3945. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3946. "group": "navigation@10"
  3947. },
  3948. {
  3949. "command": "gitlens.pullRepositories",
  3950. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3951. "group": "navigation@11"
  3952. },
  3953. {
  3954. "command": "gitlens.fetchRepositories",
  3955. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3956. "group": "navigation@12"
  3957. },
  3958. {
  3959. "command": "gitlens.views.repositories.refresh",
  3960. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3961. "group": "navigation@99"
  3962. },
  3963. {
  3964. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3965. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3966. "group": "1_gitlens"
  3967. },
  3968. {
  3969. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3970. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3971. "group": "1_gitlens"
  3972. },
  3973. {
  3974. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3975. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3976. "group": "1_gitlens"
  3977. },
  3978. {
  3979. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3980. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  3981. "group": "2_gitlens"
  3982. },
  3983. {
  3984. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3985. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  3986. "group": "2_gitlens"
  3987. },
  3988. {
  3989. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3990. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
  3991. "group": "navigation@10"
  3992. },
  3993. {
  3994. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3995. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
  3996. "group": "navigation@10"
  3997. },
  3998. {
  3999. "command": "gitlens.views.fileHistory.changeBase",
  4000. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  4001. "group": "navigation@11"
  4002. },
  4003. {
  4004. "command": "gitlens.views.fileHistory.refresh",
  4005. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  4006. "group": "navigation@99"
  4007. },
  4008. {
  4009. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  4010. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  4011. "group": "1_gitlens"
  4012. },
  4013. {
  4014. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  4015. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  4016. "group": "1_gitlens"
  4017. },
  4018. {
  4019. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  4020. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
  4021. "group": "navigation@10"
  4022. },
  4023. {
  4024. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  4025. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
  4026. "group": "navigation@10"
  4027. },
  4028. {
  4029. "command": "gitlens.views.lineHistory.changeBase",
  4030. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  4031. "group": "navigation@11"
  4032. },
  4033. {
  4034. "command": "gitlens.views.lineHistory.refresh",
  4035. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  4036. "group": "navigation@99"
  4037. },
  4038. {
  4039. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  4040. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  4041. "group": "1_gitlens"
  4042. },
  4043. {
  4044. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  4045. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  4046. "group": "1_gitlens"
  4047. },
  4048. {
  4049. "command": "gitlens.views.compare.selectForCompare",
  4050. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4051. "group": "navigation@10"
  4052. },
  4053. {
  4054. "command": "gitlens.views.compare.setKeepResultsToOn",
  4055. "when": "view =~ /^gitlens\\.views\\.compare:/ && !gitlens:views:compare:keepResults",
  4056. "group": "navigation@11"
  4057. },
  4058. {
  4059. "command": "gitlens.views.compare.setKeepResultsToOff",
  4060. "when": "view =~ /^gitlens\\.views\\.compare:/ && gitlens:views:compare:keepResults",
  4061. "group": "navigation@11"
  4062. },
  4063. {
  4064. "command": "gitlens.views.compare.clear",
  4065. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4066. "group": "navigation@98"
  4067. },
  4068. {
  4069. "command": "gitlens.views.compare.refresh",
  4070. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4071. "group": "navigation@99"
  4072. },
  4073. {
  4074. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  4075. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4076. "group": "1_gitlens"
  4077. },
  4078. {
  4079. "command": "gitlens.views.compare.setFilesLayoutToList",
  4080. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4081. "group": "1_gitlens"
  4082. },
  4083. {
  4084. "command": "gitlens.views.compare.setFilesLayoutToTree",
  4085. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4086. "group": "1_gitlens"
  4087. },
  4088. {
  4089. "command": "gitlens.views.search.searchCommits",
  4090. "when": "view =~ /^gitlens\\.views\\.search:/",
  4091. "group": "navigation@10"
  4092. },
  4093. {
  4094. "command": "gitlens.views.search.setKeepResultsToOn",
  4095. "when": "view =~ /^gitlens\\.views\\.search:/ && !gitlens:views:search:keepResults",
  4096. "group": "navigation@11"
  4097. },
  4098. {
  4099. "command": "gitlens.views.search.setKeepResultsToOff",
  4100. "when": "view =~ /^gitlens\\.views\\.search:/ && gitlens:views:search:keepResults",
  4101. "group": "navigation@11"
  4102. },
  4103. {
  4104. "command": "gitlens.views.search.clear",
  4105. "when": "view =~ /^gitlens\\.views\\.search:/",
  4106. "group": "navigation@98"
  4107. },
  4108. {
  4109. "command": "gitlens.views.search.refresh",
  4110. "when": "view =~ /^gitlens\\.views\\.search:/",
  4111. "group": "navigation@99"
  4112. },
  4113. {
  4114. "command": "gitlens.views.search.setFilesLayoutToAuto",
  4115. "when": "view =~ /^gitlens\\.views\\.search:/",
  4116. "group": "1_gitlens"
  4117. },
  4118. {
  4119. "command": "gitlens.views.search.setFilesLayoutToList",
  4120. "when": "view =~ /^gitlens\\.views\\.search:/",
  4121. "group": "1_gitlens"
  4122. },
  4123. {
  4124. "command": "gitlens.views.search.setFilesLayoutToTree",
  4125. "when": "view =~ /^gitlens\\.views\\.search:/",
  4126. "group": "1_gitlens"
  4127. },
  4128. {
  4129. "command": "gitlens.supportGitLens",
  4130. "when": "view =~ /^gitlens\\.views\\..*:/ && config.gitlens.advanced.messages.suppressSupportGitLensNotification != true && gitlens:views:supportGitLens:hide != true",
  4131. "group": "navigation@1"
  4132. },
  4133. {
  4134. "command": "gitlens.showSettingsPage#repositories-view",
  4135. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  4136. "group": "9_gitlens"
  4137. },
  4138. {
  4139. "command": "gitlens.showSettingsPage#file-history-view",
  4140. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  4141. "args": "general",
  4142. "group": "9_gitlens"
  4143. },
  4144. {
  4145. "command": "gitlens.showSettingsPage#line-history-view",
  4146. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  4147. "args": "general",
  4148. "group": "9_gitlens"
  4149. },
  4150. {
  4151. "command": "gitlens.showSettingsPage#search-commits-view",
  4152. "when": "view =~ /^gitlens\\.views\\.search:/",
  4153. "args": "general",
  4154. "group": "9_gitlens"
  4155. },
  4156. {
  4157. "command": "gitlens.showSettingsPage#compare-view",
  4158. "when": "view =~ /^gitlens\\.views\\.compare:/",
  4159. "args": "general",
  4160. "group": "9_gitlens"
  4161. }
  4162. ],
  4163. "view/item/context": [
  4164. {
  4165. "command": "gitlens.openBranchesInRemote",
  4166. "when": "viewItem =~ /gitlens:branches\\b.*?\\+remotes\\b.*?/",
  4167. "group": "inline@98"
  4168. },
  4169. {
  4170. "command": "gitlens.openBranchesInRemote",
  4171. "when": "viewItem =~ /gitlens:branches\\b.*?\\+remotes\\b.*?/",
  4172. "group": "1_gitlens@1"
  4173. },
  4174. {
  4175. "command": "gitlens.views.star",
  4176. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\+starred\\b.*?)/",
  4177. "group": "inline@1"
  4178. },
  4179. {
  4180. "command": "gitlens.views.unstar",
  4181. "when": "viewItem =~ /gitlens:branch\\b.*?\\+starred\\b.*?/",
  4182. "group": "inline@2"
  4183. },
  4184. {
  4185. "command": "gitlens.views.checkout",
  4186. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4187. "group": "inline@10"
  4188. },
  4189. {
  4190. "command": "gitlens.views.compareWithRemote",
  4191. "when": "viewItem =~ /gitlens:branch\\b.*?\\+tracking\\b.*?/",
  4192. "group": "inline@96"
  4193. },
  4194. {
  4195. "command": "gitlens.views.compareWithHead",
  4196. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\+current\\b.*?)|commit\\b|stash\\b|tag\\b)/",
  4197. "group": "inline@97",
  4198. "alt": "gitlens.views.compareWithWorking"
  4199. },
  4200. {
  4201. "command": "gitlens.views.compareWithWorking",
  4202. "when": "viewItem =~ /gitlens:branch\\b.*?\\+current\\b.*?/",
  4203. "group": "inline@97"
  4204. },
  4205. {
  4206. "command": "gitlens.openBranchInRemote",
  4207. "when": "viewItem =~ /gitlens:branch\\b.*?\\+(tracking|remote)\\b.*?/",
  4208. "group": "inline@98"
  4209. },
  4210. {
  4211. "command": "gitlens.views.checkout",
  4212. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4213. "group": "1_gitlens@1"
  4214. },
  4215. {
  4216. "command": "gitlens.openBranchInRemote",
  4217. "when": "viewItem =~ /gitlens:branch\\b.*?\\+(tracking|remote)\\b.*?/",
  4218. "group": "2_gitlens@1"
  4219. },
  4220. {
  4221. "command": "gitlens.views.compareWithRemote",
  4222. "when": "viewItem =~ /gitlens:branch\\b.*?\\+tracking\\b.*?/",
  4223. "group": "7_gitlens@1"
  4224. },
  4225. {
  4226. "command": "gitlens.views.compareWithHead",
  4227. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\+current\\b.*?)|commit\\b|stash\\b|tag\\b)/",
  4228. "group": "7_gitlens@2"
  4229. },
  4230. {
  4231. "command": "gitlens.views.compareWithWorking",
  4232. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  4233. "group": "7_gitlens@3"
  4234. },
  4235. {
  4236. "command": "gitlens.views.compareAncestryWithWorking",
  4237. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4238. "group": "7_gitlens@4"
  4239. },
  4240. {
  4241. "command": "gitlens.views.compareWithSelected",
  4242. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  4243. "group": "7_gitlens_@1"
  4244. },
  4245. {
  4246. "command": "gitlens.views.selectForCompare",
  4247. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  4248. "group": "7_gitlens_@2"
  4249. },
  4250. {
  4251. "command": "gitlens.views.compareFileWithSelected",
  4252. "when": "viewItem =~ /gitlens:file:\\b/ && gitlens:views:canCompare:file",
  4253. "group": "7_gitlens_@1"
  4254. },
  4255. {
  4256. "command": "gitlens.views.selectFileForCompare",
  4257. "when": "viewItem =~ /gitlens:file:\\b/",
  4258. "group": "7_gitlens_@2"
  4259. },
  4260. {
  4261. "command": "gitlens.views.openDirectoryDiffWithWorking",
  4262. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  4263. "group": "7_gitlens_more@2"
  4264. },
  4265. {
  4266. "command": "gitlens.views.terminalCheckoutBranch",
  4267. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)//",
  4268. "group": "8_gitlens@1"
  4269. },
  4270. {
  4271. "command": "gitlens.views.terminalRebaseBranchToRemote",
  4272. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b.*?\\+current\\b.*?\\+tracking\\b.*?/",
  4273. "group": "8_gitlens@1"
  4274. },
  4275. {
  4276. "command": "gitlens.views.terminalMergeBranch",
  4277. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4278. "group": "8_gitlens@2"
  4279. },
  4280. {
  4281. "command": "gitlens.views.terminalRebaseBranch",
  4282. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4283. "group": "8_gitlens@3"
  4284. },
  4285. {
  4286. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  4287. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4288. "group": "8_gitlens@4"
  4289. },
  4290. {
  4291. "command": "gitlens.views.terminalCreateBranch",
  4292. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit|tag)\\b/",
  4293. "group": "8_gitlens@5"
  4294. },
  4295. {
  4296. "command": "gitlens.views.terminalDeleteBranch",
  4297. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\+current\\b.*?)/",
  4298. "group": "8_gitlens@6"
  4299. },
  4300. {
  4301. "command": "gitlens.views.terminalCreateTag",
  4302. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit)\\b/",
  4303. "group": "8_gitlens@7"
  4304. },
  4305. {
  4306. "command": "gitlens.views.star",
  4307. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\+starred\\b.*?)/",
  4308. "group": "8_gitlens_@1"
  4309. },
  4310. {
  4311. "command": "gitlens.views.unstar",
  4312. "when": "viewItem =~ /gitlens:branch\\b.*?\\+starred\\b.*?/",
  4313. "group": "8_gitlens_@1"
  4314. },
  4315. {
  4316. "command": "gitlens.inviteToLiveShare",
  4317. "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b/",
  4318. "group": "inline@97"
  4319. },
  4320. {
  4321. "command": "gitlens.views.contributor.copyToClipboard",
  4322. "when": "viewItem =~ /gitlens:contributor\\b/",
  4323. "group": "inline@98"
  4324. },
  4325. {
  4326. "command": "gitlens.inviteToLiveShare",
  4327. "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b/",
  4328. "group": "1_gitlens@1"
  4329. },
  4330. {
  4331. "command": "gitlens.views.contributor.copyToClipboard",
  4332. "when": "viewItem =~ /gitlens:contributor\\b/",
  4333. "group": "1_gitlens_1@1"
  4334. },
  4335. {
  4336. "command": "gitlens.views.contributor.addCoauthoredBy",
  4337. "when": "viewItem =~ /gitlens:contributor\\b/",
  4338. "group": "2_gitlens@1"
  4339. },
  4340. {
  4341. "command": "gitlens.openCommitInRemote",
  4342. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  4343. "group": "inline@98"
  4344. },
  4345. {
  4346. "command": "gitlens.openCommitInRemote",
  4347. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  4348. "group": "1_gitlens@1"
  4349. },
  4350. {
  4351. "command": "gitlens.views.openChangedFileChanges",
  4352. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4353. "group": "2_gitlens@1"
  4354. },
  4355. {
  4356. "command": "gitlens.views.openChangedFileChangesWithWorking",
  4357. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4358. "group": "2_gitlens@2"
  4359. },
  4360. {
  4361. "command": "gitlens.views.openChangedFiles",
  4362. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4363. "group": "3_gitlens@1"
  4364. },
  4365. {
  4366. "command": "gitlens.views.openChangedFileRevisions",
  4367. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  4368. "group": "3_gitlens@2"
  4369. },
  4370. {
  4371. "command": "gitlens.copyShaToClipboard",
  4372. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  4373. "group": "inline@98",
  4374. "alt": "gitlens.copyMessageToClipboard"
  4375. },
  4376. {
  4377. "command": "gitlens.copyShaToClipboard",
  4378. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  4379. "group": "5_gitlens@1"
  4380. },
  4381. {
  4382. "command": "gitlens.copyMessageToClipboard",
  4383. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  4384. "group": "5_gitlens@2"
  4385. },
  4386. {
  4387. "command": "gitlens.showQuickCommitDetails",
  4388. "when": "viewItem =~ /gitlens:commit\\b/",
  4389. "group": "5_gitlens_1@1"
  4390. },
  4391. {
  4392. "command": "gitlens.showCommitInView",
  4393. "when": "viewItem =~ /gitlens:commit\\b/",
  4394. "group": "5_gitlens_1@2"
  4395. },
  4396. {
  4397. "command": "gitlens.views.terminalCherryPickCommit",
  4398. "when": "!gitlens:readonly && viewItem == gitlens:commit",
  4399. "group": "8_gitlens@1"
  4400. },
  4401. {
  4402. "command": "gitlens.views.terminalPushCommit",
  4403. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b.*?\\+current\\b.*?/",
  4404. "group": "8_gitlens@2"
  4405. },
  4406. {
  4407. "command": "gitlens.views.terminalRevertCommit",
  4408. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b.*?\\+current\\b.*?/",
  4409. "group": "8_gitlens@3"
  4410. },
  4411. {
  4412. "command": "gitlens.views.terminalCheckoutCommit",
  4413. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  4414. "group": "8_gitlens@4"
  4415. },
  4416. {
  4417. "command": "gitlens.views.terminalRebaseCommit",
  4418. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  4419. "group": "8_gitlens@5"
  4420. },
  4421. {
  4422. "command": "gitlens.views.terminalResetCommit",
  4423. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  4424. "group": "8_gitlens@6"
  4425. },
  4426. {
  4427. "command": "gitlens.views.openFile",
  4428. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  4429. "group": "inline@1"
  4430. },
  4431. {
  4432. "command": "gitlens.views.stageFile",
  4433. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+unstaged\\b.*?/",
  4434. "group": "inline@1"
  4435. },
  4436. {
  4437. "command": "gitlens.views.unstageFile",
  4438. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+staged\\b.*?/",
  4439. "group": "inline@1"
  4440. },
  4441. {
  4442. "command": "gitlens.views.stageFile",
  4443. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+unstaged\\b.*?/",
  4444. "group": "1_gitlens@1"
  4445. },
  4446. {
  4447. "command": "gitlens.views.unstageFile",
  4448. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+staged\\b.*?/",
  4449. "group": "1_gitlens@1"
  4450. },
  4451. {
  4452. "command": "gitlens.stashSaveFiles",
  4453. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*?\\+(un)?staged\\b.*?/",
  4454. "group": "1_gitlens@2"
  4455. },
  4456. {
  4457. "command": "gitlens.views.openChanges",
  4458. "when": "viewItem =~ /gitlens:file\\b/",
  4459. "group": "2_gitlens@1"
  4460. },
  4461. {
  4462. "command": "gitlens.externalDiff",
  4463. "when": "viewItem =~ /gitlens:file\\b/",
  4464. "group": "2_gitlens@2"
  4465. },
  4466. {
  4467. "command": "gitlens.views.openChangesWithWorking",
  4468. "when": "viewItem =~ /gitlens:file\\b/",
  4469. "group": "2_gitlens@3"
  4470. },
  4471. {
  4472. "command": "gitlens.views.openFile",
  4473. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  4474. "group": "3_gitlens@1"
  4475. },
  4476. {
  4477. "command": "gitlens.views.openFileRevision",
  4478. "when": "viewItem =~ /gitlens:file\\b/",
  4479. "group": "3_gitlens@2"
  4480. },
  4481. {
  4482. "command": "gitlens.openFileInRemote",
  4483. "when": "viewItem =~ /gitlens:(file\\b(?!.*?\\+(un)?staged\\b.*?)|history:(file|line))\\b/ && gitlens:hasRemotes",
  4484. "group": "inline@99",
  4485. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  4486. },
  4487. {
  4488. "command": "gitlens.openFileInRemote",
  4489. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  4490. "group": "4_gitlens@1"
  4491. },
  4492. {
  4493. "command": "gitlens.copyRemoteFileUrlToClipboard",
  4494. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  4495. "group": "5_gitlens@3"
  4496. },
  4497. {
  4498. "command": "gitlens.views.openFileRevisionInRemote",
  4499. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  4500. "group": "4_gitlens@2"
  4501. },
  4502. {
  4503. "command": "gitlens.openFileInRemote",
  4504. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  4505. "group": "3_gitlens@2"
  4506. },
  4507. {
  4508. "command": "gitlens.views.applyChanges",
  4509. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  4510. "group": "5_gitlens_1@1"
  4511. },
  4512. {
  4513. "command": "gitlens.views.checkout",
  4514. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  4515. "group": "5_gitlens_1@2"
  4516. },
  4517. {
  4518. "command": "gitlens.views.applyChanges",
  4519. "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
  4520. "group": "1_gitlens@1"
  4521. },
  4522. {
  4523. "command": "gitlens.views.checkout",
  4524. "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
  4525. "group": "1_gitlens@2"
  4526. },
  4527. {
  4528. "command": "gitlens.showQuickCommitDetails",
  4529. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  4530. "group": "5_gitlens_2@1"
  4531. },
  4532. {
  4533. "command": "gitlens.showCommitInView",
  4534. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  4535. "group": "5_gitlens_2@2"
  4536. },
  4537. {
  4538. "command": "gitlens.showQuickFileHistory",
  4539. "when": "viewItem =~ /gitlens:file\\b/",
  4540. "group": "8_gitlens@1"
  4541. },
  4542. {
  4543. "command": "gitlens.showFileHistoryInView",
  4544. "when": "viewItem =~ /gitlens:file\\b/",
  4545. "group": "8_gitlens@2"
  4546. },
  4547. {
  4548. "command": "gitlens.views.fetch",
  4549. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  4550. "group": "inline@97"
  4551. },
  4552. {
  4553. "command": "gitlens.openRepoInRemote",
  4554. "when": "viewItem =~ /gitlens:remote\\b/",
  4555. "group": "inline@98"
  4556. },
  4557. {
  4558. "command": "gitlens.views.fetch",
  4559. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  4560. "group": "1_gitlens@1"
  4561. },
  4562. {
  4563. "command": "gitlens.openRepoInRemote",
  4564. "when": "viewItem =~ /gitlens:remote\\b/",
  4565. "group": "2_gitlens@1"
  4566. },
  4567. {
  4568. "command": "gitlens.openBranchesInRemote",
  4569. "when": "viewItem =~ /gitlens:remote\\b/",
  4570. "group": "2_gitlens@2"
  4571. },
  4572. {
  4573. "command": "gitlens.views.terminalRemoveRemote",
  4574. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  4575. "group": "8_gitlens@1"
  4576. },
  4577. {
  4578. "command": "gitlens.views.setAsDefault",
  4579. "when": "viewItem =~ /gitlens:remote\\b(?!.*?\\+default\\b.*?)/",
  4580. "group": "8_gitlens_@1"
  4581. },
  4582. {
  4583. "command": "gitlens.views.unsetAsDefault",
  4584. "when": "viewItem =~ /gitlens:remote\\b.*?\\+default\\b.*?/",
  4585. "group": "8_gitlens_@1"
  4586. },
  4587. {
  4588. "command": "gitlens.views.exploreRepoRevision",
  4589. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  4590. "group": "7_gitlens_more@1"
  4591. },
  4592. {
  4593. "command": "gitlens.showCommitSearch",
  4594. "when": "viewItem =~ /gitlens:repository\\b/",
  4595. "group": "inline@10"
  4596. },
  4597. {
  4598. "command": "gitlens.views.star",
  4599. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\+starred\\b.*?)/",
  4600. "group": "inline@1"
  4601. },
  4602. {
  4603. "command": "gitlens.views.unstar",
  4604. "when": "viewItem =~ /gitlens:repository\\b.*?\\+starred\\b.*?/",
  4605. "group": "inline@2"
  4606. },
  4607. {
  4608. "command": "gitlens.views.push",
  4609. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4610. "group": "inline@97",
  4611. "alt": "gitlens.views.pushWithForce"
  4612. },
  4613. {
  4614. "command": "gitlens.views.pull",
  4615. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4616. "group": "inline@98"
  4617. },
  4618. {
  4619. "command": "gitlens.views.fetch",
  4620. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4621. "group": "inline@99"
  4622. },
  4623. {
  4624. "command": "gitlens.views.fetch",
  4625. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4626. "group": "1_gitlens@1"
  4627. },
  4628. {
  4629. "command": "gitlens.views.pull",
  4630. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4631. "group": "1_gitlens@1"
  4632. },
  4633. {
  4634. "command": "gitlens.views.push",
  4635. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4636. "group": "1_gitlens@1"
  4637. },
  4638. {
  4639. "command": "gitlens.views.pushWithForce",
  4640. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4641. "group": "1_gitlens@2"
  4642. },
  4643. {
  4644. "command": "gitlens.views.openInTerminal",
  4645. "when": "viewItem =~ /gitlens:repository\\b/",
  4646. "group": "2_gitlens@1"
  4647. },
  4648. {
  4649. "command": "gitlens.openRepoInRemote",
  4650. "when": "viewItem =~ /gitlens:repository\\b/ && gitlens:hasRemotes",
  4651. "group": "2_gitlens@2"
  4652. },
  4653. {
  4654. "command": "gitlens.showCommitSearch",
  4655. "when": "viewItem =~ /gitlens:repository\\b/",
  4656. "group": "3_gitlens@1"
  4657. },
  4658. {
  4659. "command": "gitlens.stashApply",
  4660. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4661. "group": "4_gitlens@1"
  4662. },
  4663. {
  4664. "command": "gitlens.stashSave",
  4665. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  4666. "group": "4_gitlens@2"
  4667. },
  4668. {
  4669. "command": "gitlens.views.star",
  4670. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\+starred\\b.*?)/",
  4671. "group": "8_gitlens@1"
  4672. },
  4673. {
  4674. "command": "gitlens.views.unstar",
  4675. "when": "viewItem =~ /gitlens:repository\\b.*?\\+starred\\b.*?/",
  4676. "group": "8_gitlens@1"
  4677. },
  4678. {
  4679. "command": "gitlens.views.closeRepository",
  4680. "when": "viewItem =~ /gitlens:repository\\b/",
  4681. "group": "8_gitlens@2"
  4682. },
  4683. {
  4684. "command": "gitlens.views.pull",
  4685. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  4686. "group": "inline@1"
  4687. },
  4688. {
  4689. "command": "gitlens.views.pull",
  4690. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  4691. "group": "1_gitlens@1"
  4692. },
  4693. {
  4694. "command": "gitlens.views.push",
  4695. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4696. "group": "inline@1",
  4697. "alt": "gitlens.views.pushWithForce"
  4698. },
  4699. {
  4700. "command": "gitlens.views.push",
  4701. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4702. "group": "1_gitlens@1"
  4703. },
  4704. {
  4705. "command": "gitlens.views.pushWithForce",
  4706. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4707. "group": "1_gitlens@2"
  4708. },
  4709. {
  4710. "command": "gitlens.views.dismissNode",
  4711. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\+pinned\\b.*?)|search)\\b(?!:(commits|files))/",
  4712. "group": "inline@99"
  4713. },
  4714. {
  4715. "command": "gitlens.views.compare.pinComparison",
  4716. "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\+pinned\\b.*?)/",
  4717. "group": "inline@1"
  4718. },
  4719. {
  4720. "command": "gitlens.views.compare.unpinComparison",
  4721. "when": "viewItem =~ /gitlens:compare:results\\b.*?\\+pinned\\b.*?/",
  4722. "group": "inline@1"
  4723. },
  4724. {
  4725. "command": "gitlens.views.compare.swapComparison",
  4726. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4727. "group": "inline@2"
  4728. },
  4729. {
  4730. "command": "gitlens.views.refreshNode",
  4731. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4732. "group": "inline@3"
  4733. },
  4734. {
  4735. "command": "gitlens.views.openDirectoryDiff",
  4736. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4737. "group": "1_gitlens@1"
  4738. },
  4739. {
  4740. "command": "gitlens.views.compare.pinComparison",
  4741. "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\+pinned\\b.*?)/",
  4742. "group": "2_gitlens@1"
  4743. },
  4744. {
  4745. "command": "gitlens.views.compare.unpinComparison",
  4746. "when": "viewItem =~ /gitlens:compare:results\\b.*?\\+pinned\\b.*?/",
  4747. "group": "2_gitlens@1"
  4748. },
  4749. {
  4750. "command": "gitlens.views.compare.swapComparison",
  4751. "when": "viewItem =~ /gitlens:compare:results\\b/",
  4752. "group": "2_gitlens@2"
  4753. },
  4754. {
  4755. "command": "gitlens.views.search.searchCommits",
  4756. "when": "viewItem == gitlens:search:results",
  4757. "group": "inline@1"
  4758. },
  4759. {
  4760. "command": "gitlens.views.search.searchCommits",
  4761. "when": "viewItem == gitlens:search:results",
  4762. "group": "2_gitlens@1"
  4763. },
  4764. {
  4765. "command": "gitlens.stashSave",
  4766. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  4767. "group": "inline@98"
  4768. },
  4769. {
  4770. "command": "gitlens.stashApply",
  4771. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  4772. "group": "inline@99"
  4773. },
  4774. {
  4775. "command": "gitlens.stashSave",
  4776. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  4777. "group": "1_gitlens@1"
  4778. },
  4779. {
  4780. "command": "gitlens.stashApply",
  4781. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  4782. "group": "1_gitlens@2"
  4783. },
  4784. {
  4785. "command": "gitlens.stashApply",
  4786. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4787. "group": "inline@98"
  4788. },
  4789. {
  4790. "command": "gitlens.stashDelete",
  4791. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4792. "group": "inline@99"
  4793. },
  4794. {
  4795. "command": "gitlens.stashApply",
  4796. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4797. "group": "1_gitlens@1"
  4798. },
  4799. {
  4800. "command": "gitlens.stashDelete",
  4801. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4802. "group": "1_gitlens@2"
  4803. },
  4804. {
  4805. "command": "gitlens.views.checkout",
  4806. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  4807. "group": "inline@10"
  4808. },
  4809. {
  4810. "command": "gitlens.views.checkout",
  4811. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  4812. "group": "1_gitlens@1"
  4813. },
  4814. {
  4815. "command": "gitlens.views.terminalDeleteTag",
  4816. "when": "!gitlens:readonly && viewItem == gitlens:tag",
  4817. "group": "8_gitlens"
  4818. },
  4819. {
  4820. "command": "gitlens.views.stageDirectory",
  4821. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4822. "group": "inline@1"
  4823. },
  4824. {
  4825. "command": "gitlens.views.unstageDirectory",
  4826. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4827. "group": "inline@2"
  4828. },
  4829. {
  4830. "command": "gitlens.views.stageDirectory",
  4831. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4832. "group": "1_gitlens@1"
  4833. },
  4834. {
  4835. "command": "gitlens.views.unstageDirectory",
  4836. "when": "viewItem =~ /gitlens:folder\\b.*?\\+working\\b.*?/",
  4837. "group": "1_gitlens@2"
  4838. },
  4839. {
  4840. "command": "gitlens.views.expandNode",
  4841. "when": "viewItem =~ /gitlens:(compare|folder|results|search|status:files)\\b/",
  4842. "group": "8_gitlens@1"
  4843. },
  4844. {
  4845. "command": "gitlens.views.dismissNode",
  4846. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\+pinned\\b.*?)|search)\\b(?!:(commits|files))/",
  4847. "group": "8_gitlens@2"
  4848. },
  4849. {
  4850. "command": "gitlens.views.refreshNode",
  4851. "when": "viewItem =~ /gitlens:(?!file\\b)/",
  4852. "group": "9_gitlens@1"
  4853. },
  4854. {
  4855. "command": "gitlens.views.showAllChildren",
  4856. "when": "viewItem =~ /gitlens:pager\\b/",
  4857. "group": "inline@1"
  4858. },
  4859. {
  4860. "command": "gitlens.views.showAllChildren",
  4861. "when": "viewItem =~ /gitlens:pager\\b/",
  4862. "group": "1_gitlens@1"
  4863. }
  4864. ]
  4865. },
  4866. "keybindings": [
  4867. {
  4868. "command": "gitlens.key.left",
  4869. "key": "alt+left",
  4870. "when": "gitlens:key:left"
  4871. },
  4872. {
  4873. "command": "gitlens.key.right",
  4874. "key": "alt+right",
  4875. "when": "gitlens:key:right"
  4876. },
  4877. {
  4878. "command": "gitlens.key.,",
  4879. "key": "alt+,",
  4880. "when": "gitlens:key:,"
  4881. },
  4882. {
  4883. "command": "gitlens.key..",
  4884. "key": "alt+.",
  4885. "when": "gitlens:key:."
  4886. },
  4887. {
  4888. "command": "gitlens.key.escape",
  4889. "key": "escape",
  4890. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  4891. },
  4892. {
  4893. "command": "gitlens.toggleFileBlame",
  4894. "key": "alt+b",
  4895. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4896. },
  4897. {
  4898. "command": "gitlens.toggleCodeLens",
  4899. "key": "shift+alt+b",
  4900. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4901. },
  4902. {
  4903. "command": "gitlens.showLastQuickPick",
  4904. "key": "alt+-",
  4905. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4906. },
  4907. {
  4908. "command": "gitlens.showCommitSearch",
  4909. "key": "alt+/",
  4910. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4911. },
  4912. {
  4913. "command": "gitlens.showQuickFileHistory",
  4914. "key": "alt+h",
  4915. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4916. },
  4917. {
  4918. "command": "gitlens.showQuickRepoHistory",
  4919. "key": "shift+alt+h",
  4920. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4921. },
  4922. {
  4923. "command": "gitlens.showQuickRepoStatus",
  4924. "key": "alt+s",
  4925. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4926. },
  4927. {
  4928. "command": "gitlens.showQuickCommitFileDetails",
  4929. "key": "alt+c",
  4930. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
  4931. },
  4932. {
  4933. "command": "gitlens.diffWithNext",
  4934. "key": "alt+.",
  4935. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4936. },
  4937. {
  4938. "command": "gitlens.diffWithNextInDiff",
  4939. "key": "alt+.",
  4940. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4941. },
  4942. {
  4943. "command": "gitlens.diffWithPrevious",
  4944. "key": "alt+,",
  4945. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4946. },
  4947. {
  4948. "command": "gitlens.diffWithPreviousInDiff",
  4949. "key": "alt+,",
  4950. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4951. },
  4952. {
  4953. "command": "gitlens.diffLineWithPrevious",
  4954. "key": "shift+alt+,",
  4955. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4956. },
  4957. {
  4958. "command": "gitlens.diffWithWorking",
  4959. "key": "shift+alt+.",
  4960. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4961. },
  4962. {
  4963. "command": "gitlens.diffWithWorkingInDiff",
  4964. "key": "shift+alt+.",
  4965. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  4966. },
  4967. {
  4968. "command": "gitlens.diffLineWithWorking",
  4969. "key": "alt+w",
  4970. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4971. },
  4972. {
  4973. "command": "gitlens.toggleFileBlame",
  4974. "key": "ctrl+shift+g b",
  4975. "mac": "cmd+alt+g b",
  4976. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4977. },
  4978. {
  4979. "command": "gitlens.toggleCodeLens",
  4980. "key": "ctrl+shift+g shift+b",
  4981. "mac": "cmd+alt+g shift+b",
  4982. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4983. },
  4984. {
  4985. "command": "gitlens.showLastQuickPick",
  4986. "key": "ctrl+shift+g -",
  4987. "mac": "cmd+alt+g -",
  4988. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4989. },
  4990. {
  4991. "command": "gitlens.showCommitSearch",
  4992. "key": "ctrl+shift+g /",
  4993. "mac": "cmd+alt+g /",
  4994. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4995. },
  4996. {
  4997. "command": "gitlens.showQuickFileHistory",
  4998. "key": "ctrl+shift+g h",
  4999. "mac": "cmd+alt+g h",
  5000. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  5001. },
  5002. {
  5003. "command": "gitlens.showQuickRepoHistory",
  5004. "key": "ctrl+shift+g shift+h",
  5005. "mac": "cmd+alt+g shift+h",
  5006. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  5007. },
  5008. {
  5009. "command": "gitlens.showQuickRepoStatus",
  5010. "key": "ctrl+shift+g s",
  5011. "mac": "cmd+alt+g s",
  5012. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  5013. },
  5014. {
  5015. "command": "gitlens.showQuickCommitFileDetails",
  5016. "key": "ctrl+shift+g c",
  5017. "mac": "cmd+alt+g c",
  5018. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
  5019. },
  5020. {
  5021. "command": "gitlens.diffWithNext",
  5022. "key": "ctrl+shift+g .",
  5023. "mac": "cmd+alt+g .",
  5024. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  5025. },
  5026. {
  5027. "command": "gitlens.diffWithNextInDiff",
  5028. "key": "ctrl+shift+g .",
  5029. "mac": "cmd+alt+g .",
  5030. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  5031. },
  5032. {
  5033. "command": "gitlens.diffWithPrevious",
  5034. "key": "ctrl+shift+g ,",
  5035. "mac": "cmd+alt+g ,",
  5036. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  5037. },
  5038. {
  5039. "command": "gitlens.diffWithPreviousInDiff",
  5040. "key": "ctrl+shift+g ,",
  5041. "mac": "cmd+alt+g ,",
  5042. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  5043. },
  5044. {
  5045. "command": "gitlens.diffLineWithPrevious",
  5046. "key": "ctrl+shift+g shift+,",
  5047. "mac": "cmd+alt+g shift+,",
  5048. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  5049. },
  5050. {
  5051. "command": "gitlens.diffWithWorking",
  5052. "key": "ctrl+shift+g shift+.",
  5053. "mac": "cmd+alt+g shift+.",
  5054. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  5055. },
  5056. {
  5057. "command": "gitlens.diffWithWorkingInDiff",
  5058. "key": "ctrl+shift+g shift+.",
  5059. "mac": "cmd+alt+g shift+.",
  5060. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
  5061. },
  5062. {
  5063. "command": "gitlens.diffLineWithWorking",
  5064. "key": "ctrl+shift+g w",
  5065. "mac": "cmd+alt+g w",
  5066. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  5067. },
  5068. {
  5069. "command": "workbench.view.scm",
  5070. "key": "ctrl+shift+g g",
  5071. "mac": "ctrl+shift+g",
  5072. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  5073. }
  5074. ],
  5075. "resourceLabelFormatters": [
  5076. {
  5077. "scheme": "gitlens",
  5078. "authority": "*",
  5079. "formatting": {
  5080. "label": "${path} (${authority})",
  5081. "separator": "/"
  5082. }
  5083. }
  5084. ],
  5085. "viewsContainers": {
  5086. "activitybar": [
  5087. {
  5088. "id": "gitlens",
  5089. "title": "GitLens",
  5090. "icon": "images/gitlens-activitybar.svg"
  5091. }
  5092. ]
  5093. },
  5094. "views": {
  5095. "gitlens": [
  5096. {
  5097. "id": "gitlens.views.repositories:gitlens",
  5098. "name": "Repositories",
  5099. "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
  5100. },
  5101. {
  5102. "id": "gitlens.views.fileHistory:gitlens",
  5103. "name": "File History",
  5104. "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
  5105. },
  5106. {
  5107. "id": "gitlens.views.lineHistory:gitlens",
  5108. "name": "Line History",
  5109. "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
  5110. },
  5111. {
  5112. "id": "gitlens.views.compare:gitlens",
  5113. "name": "Compare",
  5114. "when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
  5115. },
  5116. {
  5117. "id": "gitlens.views.search:gitlens",
  5118. "name": "Search Commits",
  5119. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
  5120. }
  5121. ],
  5122. "explorer": [
  5123. {
  5124. "id": "gitlens.views.repositories:explorer",
  5125. "name": "GitLens: Repositories",
  5126. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
  5127. },
  5128. {
  5129. "id": "gitlens.views.fileHistory:explorer",
  5130. "name": "GitLens: File History",
  5131. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
  5132. },
  5133. {
  5134. "id": "gitlens.views.lineHistory:explorer",
  5135. "name": "GitLens: Line History",
  5136. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
  5137. },
  5138. {
  5139. "id": "gitlens.views.compare:explorer",
  5140. "name": "GitLens: Compare",
  5141. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
  5142. },
  5143. {
  5144. "id": "gitlens.views.search:explorer",
  5145. "name": "GitLens: Search Commits",
  5146. "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
  5147. }
  5148. ],
  5149. "scm": [
  5150. {
  5151. "id": "gitlens.views.repositories:scm",
  5152. "name": "GitLens: Repositories",
  5153. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
  5154. },
  5155. {
  5156. "id": "gitlens.views.fileHistory:scm",
  5157. "name": "GitLens: File History",
  5158. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
  5159. },
  5160. {
  5161. "id": "gitlens.views.lineHistory:scm",
  5162. "name": "GitLens: Line History",
  5163. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
  5164. },
  5165. {
  5166. "id": "gitlens.views.compare:scm",
  5167. "name": "GitLens: Compare",
  5168. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
  5169. },
  5170. {
  5171. "id": "gitlens.views.search:scm",
  5172. "name": "GitLens: Search Commits",
  5173. "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
  5174. }
  5175. ]
  5176. }
  5177. },
  5178. "scripts": {
  5179. "analyze:bundle": "webpack --env.analyzeBundle",
  5180. "analyze:deps": "webpack --env.analyzeDeps",
  5181. "build": "webpack --env.development",
  5182. "bundle": "webpack --env.production",
  5183. "clean": "git clean -Xdf -e !node_modules -e !node_modules/**/*",
  5184. "lint": "eslint src/**/*.ts --fix",
  5185. "pack": "vsce package",
  5186. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && npm run lint",
  5187. "pub": "vsce publish",
  5188. "rebuild": "npm run reset && npm run build",
  5189. "reset": "npm run clean && npm install --no-save",
  5190. "watch": "webpack --watch --env.development --info-verbosity verbose",
  5191. "webviews:optimize": "webpack --config-name webviews --env.optimizeImages",
  5192. "webviews:watch": "webpack --watch --config-name webviews --env.development --info-verbosity verbose",
  5193. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  5194. "postinstall": "node ./node_modules/vscode/bin/install",
  5195. "vscode:prepublish": "npm run reset && npm run bundle"
  5196. },
  5197. "dependencies": {
  5198. "dayjs": "1.8.14",
  5199. "iconv-lite": "0.4.24",
  5200. "lodash-es": "4.17.11",
  5201. "vsls": "0.3.1291"
  5202. },
  5203. "devDependencies": {
  5204. "@types/lodash-es": "4.17.3",
  5205. "@types/node": "10.1.4",
  5206. "@typescript-eslint/eslint-plugin": "1.10.2",
  5207. "@typescript-eslint/parser": "1.10.2",
  5208. "clean-webpack-plugin": "3.0.0",
  5209. "circular-dependency-plugin": "5.0.2",
  5210. "css-loader": "3.0.0",
  5211. "eslint": "5.16.0",
  5212. "eslint-cli": "1.1.1",
  5213. "eslint-config-prettier": "4.3.0",
  5214. "eslint-loader": "2.1.2",
  5215. "eslint-plugin-import": "2.17.3",
  5216. "eslint-plugin-prettiest": "0.0.2",
  5217. "fork-ts-checker-webpack-plugin": "1.3.6",
  5218. "html-webpack-exclude-assets-plugin": "0.0.7",
  5219. "html-webpack-inline-source-plugin": "0.0.10",
  5220. "html-webpack-plugin": "3.2.0",
  5221. "imagemin-webpack-plugin": "2.4.2",
  5222. "mini-css-extract-plugin": "0.7.0",
  5223. "node-sass": "4.12.0",
  5224. "prettier": "1.18.2",
  5225. "prettier-eslint": "8.8.2",
  5226. "sass-loader": "7.1.0",
  5227. "terser-webpack-plugin": "1.3.0",
  5228. "ts-loader": "6.0.2",
  5229. "typescript": "3.5.1",
  5230. "vsce": "1.63.0",
  5231. "vscode": "1.1.34",
  5232. "webpack": "4.34.0",
  5233. "webpack-cli": "3.3.4",
  5234. "webpack-bundle-analyzer": "3.3.2"
  5235. }
  5236. }