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

5222 linhas
232 KiB

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