Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

5210 řádky
231 KiB

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