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

4350 linhas
190 KiB

há 6 anos
há 6 anos
há 7 anos
há 7 anos
há 6 anos
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
  5. "version": "9.0.0-alpha",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.29.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://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  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. "description": "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. "description": "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. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee 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. "description": "Specifies the format of the gutter blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.blame.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  78. "scope": "window"
  79. },
  80. "gitlens.blame.heatmap.enabled": {
  81. "type": "boolean",
  82. "default": true,
  83. "description": "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. "description": "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. "description": "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. "description": "Specifies where the associated line highlights will be shown",
  130. "scope": "window"
  131. },
  132. "gitlens.blame.ignoreWhitespace": {
  133. "type": "boolean",
  134. "default": false,
  135. "description": "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. "description": "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. "description": "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. "description": "Specifies the command to be executed when the `authors` code lens is clicked",
  178. "scope": "window"
  179. },
  180. "gitlens.codeLens.authors.enabled": {
  181. "type": "boolean",
  182. "default": true,
  183. "description": "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. "description": "Specifies whether to provide any Git code lens, by default\nUse 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. "description": "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. "description": "Specifies the command to be executed when the `recent change` code lens is clicked",
  218. "scope": "window"
  219. },
  220. "gitlens.codeLens.recentChange.enabled": {
  221. "type": "boolean",
  222. "default": true,
  223. "description": "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. "description": "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": "css",
  256. "scopes": [
  257. "document"
  258. ]
  259. },
  260. {
  261. "language": "html",
  262. "scopes": [
  263. "document"
  264. ]
  265. },
  266. {
  267. "language": "json",
  268. "scopes": [
  269. "document"
  270. ]
  271. },
  272. {
  273. "language": "jsonc",
  274. "scopes": [
  275. "document"
  276. ]
  277. },
  278. {
  279. "language": "less",
  280. "scopes": [
  281. "document"
  282. ]
  283. },
  284. {
  285. "language": "postcss",
  286. "scopes": [
  287. "document"
  288. ]
  289. },
  290. {
  291. "language": "python",
  292. "symbolScopes": [
  293. "!Module"
  294. ]
  295. },
  296. {
  297. "language": "scss",
  298. "scopes": [
  299. "document"
  300. ]
  301. },
  302. {
  303. "language": "stylus",
  304. "scopes": [
  305. "document"
  306. ]
  307. },
  308. {
  309. "language": "vue",
  310. "scopes": [
  311. "document"
  312. ]
  313. }
  314. ],
  315. "items": {
  316. "type": "object",
  317. "required": [
  318. "language"
  319. ],
  320. "properties": {
  321. "language": {
  322. "type": "string",
  323. "description": "Specifies the language to which this code lens override applies"
  324. },
  325. "scopes": {
  326. "type": "array",
  327. "default": [
  328. "document",
  329. "containers"
  330. ],
  331. "items": {
  332. "type": "string",
  333. "enum": [
  334. "document",
  335. "containers",
  336. "blocks",
  337. "custom"
  338. ],
  339. "enumDescriptions": [
  340. "Adds code lens at the top of the document",
  341. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  342. "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
  343. "Adds code lens at the start of symbols contained in `symbolScopes`"
  344. ]
  345. },
  346. "minItems": 1,
  347. "maxItems": 4,
  348. "uniqueItems": true,
  349. "description": "Specifies where Git code lens will be shown in the document for the specified language"
  350. },
  351. "symbolScopes": {
  352. "type": "array",
  353. "items": {
  354. "type": "string"
  355. },
  356. "uniqueItems": true,
  357. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language\nMust be a member of `SymbolKind`"
  358. }
  359. }
  360. },
  361. "uniqueItems": true,
  362. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  363. "scope": "resource"
  364. },
  365. "gitlens.codeLens.symbolScopes": {
  366. "type": "array",
  367. "items": {
  368. "type": "string"
  369. },
  370. "uniqueItems": true,
  371. "description": "Specifies a set of document symbols where Git code lens will or will not be shown in the document\nPrefix with `!` to avoid providing a Git code lens for the symbol\nMust be a member of `SymbolKind`",
  372. "scope": "resource"
  373. },
  374. "gitlens.currentLine.dateFormat": {
  375. "type": "string",
  376. "default": null,
  377. "description": "Specifies how to format absolute dates (using the `${date}` token) for the current line blame annotation\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  378. "scope": "window"
  379. },
  380. "gitlens.currentLine.enabled": {
  381. "type": "boolean",
  382. "default": true,
  383. "description": "Specifies whether to provide a blame annotation for the current line, by default\nUse the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
  384. "scope": "window"
  385. },
  386. "gitlens.currentLine.format": {
  387. "type": "string",
  388. "default": "${authorAgoOrDate} • ${message}",
  389. "description": "Specifies the format of the current line blame annotation\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.currentLine.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  390. "scope": "window"
  391. },
  392. "gitlens.currentLine.scrollable": {
  393. "type": "boolean",
  394. "default": true,
  395. "description": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  396. "scope": "window"
  397. },
  398. "gitlens.debug": {
  399. "type": "boolean",
  400. "default": false,
  401. "description": "Specifies debug mode",
  402. "scope": "window"
  403. },
  404. "gitlens.defaultDateFormat": {
  405. "type": "string",
  406. "default": null,
  407. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  408. "scope": "window"
  409. },
  410. "gitlens.defaultDateStyle": {
  411. "type": "string",
  412. "default": "relative",
  413. "enum": [
  414. "relative",
  415. "absolute"
  416. ],
  417. "enumDescriptions": [
  418. "e.g. 1 day ago",
  419. "e.g. July 25th, 2018 7:18pm"
  420. ],
  421. "description": "Specifies how dates will be displayed by default",
  422. "scope": "window"
  423. },
  424. "gitlens.defaultGravatarsStyle": {
  425. "type": "string",
  426. "default": "robohash",
  427. "enum": [
  428. "identicon",
  429. "mp",
  430. "monsterid",
  431. "retro",
  432. "robohash",
  433. "wavatar"
  434. ],
  435. "enumDescriptions": [
  436. "A geometric pattern",
  437. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  438. "A monster with different colors, faces, etc",
  439. "8-bit arcade-style pixelated faces",
  440. "A robot with different colors, faces, etc",
  441. "A face with differing features and backgrounds"
  442. ],
  443. "description": "Specifies the style of the gravatar default (fallback) images",
  444. "scope": "window"
  445. },
  446. "gitlens.heatmap.ageThreshold": {
  447. "type": "string",
  448. "default": "90",
  449. "description": "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#`)",
  450. "scope": "window"
  451. },
  452. "gitlens.heatmap.coldColor": {
  453. "type": "string",
  454. "default": "#0a60f6",
  455. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  456. "scope": "window"
  457. },
  458. "gitlens.heatmap.hotColor": {
  459. "type": "string",
  460. "default": "#f66a0a",
  461. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  462. "scope": "window"
  463. },
  464. "gitlens.heatmap.toggleMode": {
  465. "type": "string",
  466. "default": "file",
  467. "enum": [
  468. "file",
  469. "window"
  470. ],
  471. "enumDescriptions": [
  472. "Toggles each file individually",
  473. "Toggles the window, i.e. all files at once"
  474. ],
  475. "description": "Specifies how the gutter heatmap annotations will be toggled",
  476. "scope": "window"
  477. },
  478. "gitlens.hovers.annotations.changes": {
  479. "type": "boolean",
  480. "default": true,
  481. "description": "Specifies whether to provide a changes (diff) hover for all lines when showing blame annotations",
  482. "scope": "window"
  483. },
  484. "gitlens.hovers.annotations.details": {
  485. "type": "boolean",
  486. "default": true,
  487. "description": "Specifies whether to provide a commit details hover for all lines when showing blame annotations",
  488. "scope": "window"
  489. },
  490. "gitlens.hovers.annotations.enabled": {
  491. "type": "boolean",
  492. "default": true,
  493. "description": "Specifies whether to provide any hovers when showing blame annotations",
  494. "scope": "window"
  495. },
  496. "gitlens.hovers.annotations.over": {
  497. "type": "string",
  498. "default": "line",
  499. "enum": [
  500. "annotation",
  501. "line"
  502. ],
  503. "enumDescriptions": [
  504. "Only shown when hovering over the line annotation",
  505. "Shown when hovering anywhere over the line"
  506. ],
  507. "description": "Specifies when to trigger hovers when showing blame annotations",
  508. "scope": "window"
  509. },
  510. "gitlens.hovers.currentLine.changes": {
  511. "type": "boolean",
  512. "default": true,
  513. "description": "Specifies whether to provide a changes (diff) hover for the current line",
  514. "scope": "window"
  515. },
  516. "gitlens.hovers.currentLine.details": {
  517. "type": "boolean",
  518. "default": true,
  519. "description": "Specifies whether to provide a commit details hover for the current line",
  520. "scope": "window"
  521. },
  522. "gitlens.hovers.currentLine.enabled": {
  523. "type": "boolean",
  524. "default": true,
  525. "description": "Specifies whether to provide any hovers for the current line",
  526. "scope": "window"
  527. },
  528. "gitlens.hovers.currentLine.over": {
  529. "type": "string",
  530. "default": "annotation",
  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. "description": "Specifies when to trigger hovers for the current line",
  540. "scope": "window"
  541. },
  542. "gitlens.hovers.avatars": {
  543. "type": "boolean",
  544. "default": true,
  545. "description": "Specifies whether to show avatar images in hovers",
  546. "scope": "window"
  547. },
  548. "gitlens.hovers.enabled": {
  549. "type": "boolean",
  550. "default": true,
  551. "description": "Specifies whether to provide any hovers",
  552. "scope": "window"
  553. },
  554. "gitlens.insiders": {
  555. "type": "boolean",
  556. "default": false,
  557. "description": "Specifies whether to enable experimental features",
  558. "scope": "window"
  559. },
  560. "gitlens.keymap": {
  561. "type": "string",
  562. "default": "chorded",
  563. "enum": [
  564. "alternate",
  565. "chorded",
  566. "none"
  567. ],
  568. "enumDescriptions": [
  569. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  570. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  571. "No shortcut keys will be added"
  572. ],
  573. "description": "Specifies the keymap to use for GitLens shortcut keys",
  574. "scope": "window"
  575. },
  576. "gitlens.menus": {
  577. "anyOf": [
  578. {
  579. "enum": [
  580. false
  581. ]
  582. },
  583. {
  584. "type": "object",
  585. "properties": {
  586. "editor": {
  587. "anyOf": [
  588. {
  589. "enum": [
  590. false
  591. ]
  592. },
  593. {
  594. "type": "object",
  595. "properties": {
  596. "blame": {
  597. "type": "boolean"
  598. },
  599. "clipboard": {
  600. "type": "boolean"
  601. },
  602. "compare": {
  603. "type": "boolean"
  604. },
  605. "details": {
  606. "type": "boolean"
  607. },
  608. "history": {
  609. "type": "boolean"
  610. },
  611. "remote": {
  612. "type": "boolean"
  613. }
  614. }
  615. }
  616. ]
  617. },
  618. "editorGroup": {
  619. "anyOf": [
  620. {
  621. "enum": [
  622. false
  623. ]
  624. },
  625. {
  626. "type": "object",
  627. "properties": {
  628. "blame": {
  629. "type": "boolean"
  630. },
  631. "compare": {
  632. "type": "boolean"
  633. },
  634. "history": {
  635. "type": "boolean"
  636. },
  637. "remote": {
  638. "type": "boolean"
  639. }
  640. }
  641. }
  642. ]
  643. },
  644. "editorTab": {
  645. "anyOf": [
  646. {
  647. "enum": [
  648. false
  649. ]
  650. },
  651. {
  652. "type": "object",
  653. "properties": {
  654. "compare": {
  655. "type": "boolean"
  656. },
  657. "history": {
  658. "type": "boolean"
  659. },
  660. "remote": {
  661. "type": "boolean"
  662. }
  663. }
  664. }
  665. ]
  666. },
  667. "explorer": {
  668. "anyOf": [
  669. {
  670. "enum": [
  671. false
  672. ]
  673. },
  674. {
  675. "type": "object",
  676. "properties": {
  677. "compare": {
  678. "type": "boolean"
  679. },
  680. "history": {
  681. "type": "boolean"
  682. },
  683. "remote": {
  684. "type": "boolean"
  685. }
  686. }
  687. }
  688. ]
  689. }
  690. }
  691. }
  692. ],
  693. "default": {
  694. "editor": {
  695. "blame": false,
  696. "clipboard": true,
  697. "compare": true,
  698. "details": true,
  699. "history": false,
  700. "remote": true
  701. },
  702. "editorGroup": {
  703. "blame": true,
  704. "compare": true,
  705. "history": false,
  706. "remote": false
  707. },
  708. "editorTab": {
  709. "compare": false,
  710. "history": false,
  711. "remote": true
  712. },
  713. "explorer": {
  714. "compare": true,
  715. "history": true,
  716. "remote": true
  717. }
  718. },
  719. "description": "Specifies which commands will be added to which menus",
  720. "scope": "window"
  721. },
  722. "gitlens.mode.active": {
  723. "type": "string",
  724. "description": "Specifies the active GitLens mode, if any",
  725. "scope": "window"
  726. },
  727. "gitlens.mode.statusBar.enabled": {
  728. "type": "boolean",
  729. "default": true,
  730. "description": "Specifies whether to provide the active GitLens mode in the status bar",
  731. "scope": "window"
  732. },
  733. "gitlens.mode.statusBar.alignment": {
  734. "type": "string",
  735. "default": "right",
  736. "enum": [
  737. "left",
  738. "right"
  739. ],
  740. "enumDescriptions": [
  741. "Aligns to the left",
  742. "Aligns to the right"
  743. ],
  744. "description": "Specifies the active GitLens mode alignment in the status bar",
  745. "scope": "window"
  746. },
  747. "gitlens.modes": {
  748. "type": "object",
  749. "properties": {
  750. "zen": {
  751. "type": "object",
  752. "required": [
  753. "name"
  754. ],
  755. "properties": {
  756. "name": {
  757. "type": "string"
  758. },
  759. "statusBarItemName": {
  760. "type": "string"
  761. },
  762. "description": {
  763. "type": "string"
  764. },
  765. "codeLens": {
  766. "type": "boolean"
  767. },
  768. "currentLine": {
  769. "type": "boolean"
  770. },
  771. "hovers": {
  772. "type": "boolean"
  773. },
  774. "statusBar": {
  775. "type": "boolean"
  776. },
  777. "views": {
  778. "type": "boolean"
  779. }
  780. }
  781. },
  782. "review": {
  783. "type": "object",
  784. "required": [
  785. "name"
  786. ],
  787. "properties": {
  788. "name": {
  789. "type": "string"
  790. },
  791. "statusBarItemName": {
  792. "type": "string"
  793. },
  794. "description": {
  795. "type": "string"
  796. },
  797. "codeLens": {
  798. "type": "boolean"
  799. },
  800. "currentLine": {
  801. "type": "boolean"
  802. },
  803. "hovers": {
  804. "type": "boolean"
  805. },
  806. "statusBar": {
  807. "type": "boolean"
  808. },
  809. "views": {
  810. "type": "boolean"
  811. }
  812. }
  813. }
  814. },
  815. "additionalProperties": {
  816. "type": "object",
  817. "required": [
  818. "name"
  819. ],
  820. "properties": {
  821. "name": {
  822. "type": "string"
  823. },
  824. "statusBarItemName": {
  825. "type": "string"
  826. },
  827. "description": {
  828. "type": "string"
  829. },
  830. "codeLens": {
  831. "type": "boolean"
  832. },
  833. "currentLine": {
  834. "type": "boolean"
  835. },
  836. "hovers": {
  837. "type": "boolean"
  838. },
  839. "statusBar": {
  840. "type": "boolean"
  841. },
  842. "views": {
  843. "type": "boolean"
  844. }
  845. }
  846. },
  847. "default": {
  848. "zen": {
  849. "name": "Zen",
  850. "statusBarItemName": "Zen",
  851. "description": "for a zen-like experience, disables many visual features",
  852. "codeLens": false,
  853. "currentLine": false,
  854. "hovers": false,
  855. "statusBar": false
  856. },
  857. "review": {
  858. "name": "Review",
  859. "statusBarItemName": "Reviewing",
  860. "description": "for reviewing code, enables many visual features",
  861. "codeLens": true,
  862. "currentLine": true,
  863. "hovers": true
  864. }
  865. },
  866. "description": "Specifies the user-defined GitLens modes",
  867. "scope": "window"
  868. },
  869. "gitlens.outputLevel": {
  870. "type": "string",
  871. "default": "silent",
  872. "enum": [
  873. "silent",
  874. "errors",
  875. "verbose",
  876. "debug"
  877. ],
  878. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  879. "scope": "window"
  880. },
  881. "gitlens.recentChanges.highlight.locations": {
  882. "type": "array",
  883. "default": [
  884. "gutter",
  885. "line",
  886. "overview"
  887. ],
  888. "items": {
  889. "type": "string",
  890. "enum": [
  891. "gutter",
  892. "line",
  893. "overview"
  894. ],
  895. "enumDescriptions": [
  896. "Adds a gutter glyph",
  897. "Adds a full-line highlight background color",
  898. "Adds a decoration to the overview ruler (scroll bar)"
  899. ]
  900. },
  901. "minItems": 1,
  902. "maxItems": 3,
  903. "uniqueItems": true,
  904. "description": "Specifies where the highlights of the recently changed lines will be shown",
  905. "scope": "window"
  906. },
  907. "gitlens.recentChanges.toggleMode": {
  908. "type": "string",
  909. "default": "file",
  910. "enum": [
  911. "file",
  912. "window"
  913. ],
  914. "enumDescriptions": [
  915. "Toggles each file individually",
  916. "Toggles the window, i.e. all files at once"
  917. ],
  918. "description": "Specifies how the recently changed lines annotations will be toggled",
  919. "scope": "window"
  920. },
  921. "gitlens.remotes": {
  922. "type": "array",
  923. "default": null,
  924. "items": {
  925. "type": "object",
  926. "required": [
  927. "type",
  928. "domain"
  929. ],
  930. "properties": {
  931. "type": {
  932. "type": "string",
  933. "enum": [
  934. "Bitbucket",
  935. "BitbucketServer",
  936. "Custom",
  937. "GitHub",
  938. "GitLab"
  939. ],
  940. "description": "Specifies the type of the custom remote service"
  941. },
  942. "domain": {
  943. "type": "string",
  944. "description": "Specifies the domain name of the custom remote service"
  945. },
  946. "name": {
  947. "type": "string",
  948. "description": "Specifies an optional friendly name for the custom remote service"
  949. },
  950. "protocol": {
  951. "type": "string",
  952. "default": "https",
  953. "description": "Specifies an optional url protocol for the custom remote service"
  954. },
  955. "urls": {
  956. "type": "object",
  957. "required": [
  958. "repository",
  959. "branches",
  960. "branch",
  961. "commit",
  962. "file",
  963. "fileInCommit",
  964. "fileInBranch",
  965. "fileLine",
  966. "fileRange"
  967. ],
  968. "properties": {
  969. "repository": {
  970. "type": "string",
  971. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  972. },
  973. "branches": {
  974. "type": "string",
  975. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  976. },
  977. "branch": {
  978. "type": "string",
  979. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  980. },
  981. "commit": {
  982. "type": "string",
  983. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  984. },
  985. "file": {
  986. "type": "string",
  987. "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"
  988. },
  989. "fileInBranch": {
  990. "type": "string",
  991. "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"
  992. },
  993. "fileInCommit": {
  994. "type": "string",
  995. "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"
  996. },
  997. "fileLine": {
  998. "type": "string",
  999. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  1000. },
  1001. "fileRange": {
  1002. "type": "string",
  1003. "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"
  1004. }
  1005. }
  1006. },
  1007. "description": "Specifies the url formats of the custom remote service"
  1008. }
  1009. },
  1010. "uniqueItems": true,
  1011. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1012. "scope": "resource"
  1013. },
  1014. "gitlens.settings.mode": {
  1015. "type": "string",
  1016. "default": "simple",
  1017. "enum": [
  1018. "simple",
  1019. "advanced"
  1020. ],
  1021. "enumDescriptions": [
  1022. "Only displays common settings",
  1023. "Displays all settings"
  1024. ],
  1025. "description": "Specifies the display mode of the interactive settings editor",
  1026. "scope": "window"
  1027. },
  1028. "gitlens.showWhatsNewAfterUpgrades": {
  1029. "type": "boolean",
  1030. "default": true,
  1031. "description": "Specifies whether to show What's New after upgrading to new feature releases",
  1032. "scope": "window"
  1033. },
  1034. "gitlens.statusBar.alignment": {
  1035. "type": "string",
  1036. "default": "right",
  1037. "enum": [
  1038. "left",
  1039. "right"
  1040. ],
  1041. "enumDescriptions": [
  1042. "Aligns to the left",
  1043. "Aligns to the right"
  1044. ],
  1045. "description": "Specifies the blame alignment in the status bar",
  1046. "scope": "window"
  1047. },
  1048. "gitlens.statusBar.command": {
  1049. "type": "string",
  1050. "default": "gitlens.showQuickCommitDetails",
  1051. "enum": [
  1052. "gitlens.toggleFileBlame",
  1053. "gitlens.diffWithPrevious",
  1054. "gitlens.diffWithWorking",
  1055. "gitlens.toggleCodeLens",
  1056. "gitlens.showQuickCommitDetails",
  1057. "gitlens.showQuickCommitFileDetails",
  1058. "gitlens.showQuickFileHistory",
  1059. "gitlens.showQuickRepoHistory"
  1060. ],
  1061. "enumDescriptions": [
  1062. "Toggles file blame annotations",
  1063. "Compares the current line commit with the previous",
  1064. "Compares the current line commit with the working tree",
  1065. "Toggles Git code lens",
  1066. "Shows a commit details quick pick",
  1067. "Shows a commit file details quick pick",
  1068. "Shows a file history quick pick",
  1069. "Shows a branch history quick pick"
  1070. ],
  1071. "description": "Specifies the command to be executed when the blame status bar item is clicked",
  1072. "scope": "window"
  1073. },
  1074. "gitlens.statusBar.dateFormat": {
  1075. "type": "string",
  1076. "default": null,
  1077. "description": "Specifies the date format of absolute dates shown in the blame information in the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats",
  1078. "scope": "window"
  1079. },
  1080. "gitlens.statusBar.enabled": {
  1081. "type": "boolean",
  1082. "default": true,
  1083. "description": "Specifies whether to provide blame information in the status bar",
  1084. "scope": "window"
  1085. },
  1086. "gitlens.statusBar.format": {
  1087. "type": "string",
  1088. "default": "${authorAgoOrDate}",
  1089. "description": "Specifies the format of the status bar blame information\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1090. "scope": "window"
  1091. },
  1092. "gitlens.statusBar.reduceFlicker": {
  1093. "type": "boolean",
  1094. "default": false,
  1095. "description": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1096. "scope": "window"
  1097. },
  1098. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1099. "type": "string",
  1100. "default": "Unsaved changes (cannot determine recent change or authors)",
  1101. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  1102. "scope": "window"
  1103. },
  1104. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1105. "type": "string",
  1106. "default": "Unsaved changes (cannot determine recent change)",
  1107. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  1108. "scope": "window"
  1109. },
  1110. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1111. "type": "string",
  1112. "default": "Unsaved changes (cannot determine authors)",
  1113. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  1114. "scope": "window"
  1115. },
  1116. "gitlens.views.avatars": {
  1117. "type": "boolean",
  1118. "default": true,
  1119. "description": "Specifies whether to show avatar images instead of commit (or status) icons in the views",
  1120. "scope": "window"
  1121. },
  1122. "gitlens.views.commitFileFormat": {
  1123. "type": "string",
  1124. "default": "${filePath}",
  1125. "description": "Specifies the format of a committed file in the views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  1126. "scope": "window"
  1127. },
  1128. "gitlens.views.commitFormat": {
  1129. "type": "string",
  1130. "default": "${message} • ${authorAgoOrDate}${ • changes}${ (id)}",
  1131. "description": "Specifies the format of committed changes in the views\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.defaultDateFormat`)\\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1132. "scope": "window"
  1133. },
  1134. "gitlens.views.compare.enabled": {
  1135. "type": "boolean",
  1136. "default": true,
  1137. "description": "Specifies whether to show the `Compare` view",
  1138. "scope": "window"
  1139. },
  1140. "gitlens.views.compare.files.compact": {
  1141. "type": "boolean",
  1142. "default": true,
  1143. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `Compare` view\nOnly applies when `#gitlens.views.compare.files.layout#` is set to `tree` or `auto`",
  1144. "scope": "window"
  1145. },
  1146. "gitlens.views.compare.files.layout": {
  1147. "type": "string",
  1148. "default": "auto",
  1149. "enum": [
  1150. "auto",
  1151. "list",
  1152. "tree"
  1153. ],
  1154. "enumDescriptions": [
  1155. "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",
  1156. "Displays files as a list",
  1157. "Displays files as a tree"
  1158. ],
  1159. "description": "Specifies how the `Compare` view will display files",
  1160. "scope": "window"
  1161. },
  1162. "gitlens.views.compare.files.threshold": {
  1163. "type": "number",
  1164. "default": 5,
  1165. "description": "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\nOnly applies when `#gitlens.views.compare.files.layout#` is set to `auto`",
  1166. "scope": "window"
  1167. },
  1168. "gitlens.views.compare.location": {
  1169. "type": "string",
  1170. "default": "gitlens",
  1171. "enum": [
  1172. "gitlens",
  1173. "explorer",
  1174. "scm"
  1175. ],
  1176. "enumDescriptions": [
  1177. "Adds to the GitLens side bar",
  1178. "Adds to the Explorer side bar",
  1179. "Adds to the Source Control side bar"
  1180. ],
  1181. "description": "Specifies where to show the `Compare` view",
  1182. "scope": "window"
  1183. },
  1184. "gitlens.views.defaultItemLimit": {
  1185. "type": "number",
  1186. "default": 10,
  1187. "description": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
  1188. "scope": "window"
  1189. },
  1190. "gitlens.views.fileHistory.avatars": {
  1191. "type": "boolean",
  1192. "default": true,
  1193. "description": "Specifies whether to show avatar images instead of status icons in the `File History` view",
  1194. "scope": "window"
  1195. },
  1196. "gitlens.views.fileHistory.enabled": {
  1197. "type": "boolean",
  1198. "default": true,
  1199. "description": "Specifies whether to show the `File History` view",
  1200. "scope": "window"
  1201. },
  1202. "gitlens.views.fileHistory.location": {
  1203. "type": "string",
  1204. "default": "gitlens",
  1205. "enum": [
  1206. "gitlens",
  1207. "explorer",
  1208. "scm"
  1209. ],
  1210. "enumDescriptions": [
  1211. "Adds to the GitLens side bar",
  1212. "Adds to the Explorer side bar",
  1213. "Adds to the Source Control side bar"
  1214. ],
  1215. "description": "Specifies where to show the `File History` view",
  1216. "scope": "window"
  1217. },
  1218. "gitlens.views.lineHistory.avatars": {
  1219. "type": "boolean",
  1220. "default": true,
  1221. "description": "Specifies whether to show avatar images instead of status icons in the `Line History` view",
  1222. "scope": "window"
  1223. },
  1224. "gitlens.views.lineHistory.enabled": {
  1225. "type": "boolean",
  1226. "default": true,
  1227. "description": "Specifies whether to show the `Line History` view",
  1228. "scope": "window"
  1229. },
  1230. "gitlens.views.lineHistory.location": {
  1231. "type": "string",
  1232. "default": "gitlens",
  1233. "enum": [
  1234. "gitlens",
  1235. "explorer",
  1236. "scm"
  1237. ],
  1238. "enumDescriptions": [
  1239. "Adds to the GitLens side bar",
  1240. "Adds to the Explorer side bar",
  1241. "Adds to the Source Control side bar"
  1242. ],
  1243. "description": "Specifies where to show the `Line History` view",
  1244. "scope": "window"
  1245. },
  1246. "gitlens.views.repositories.autoRefresh": {
  1247. "type": "boolean",
  1248. "default": true,
  1249. "description": "Specifies whether to automatically refresh the `Repositories` view when the repository or the file system changes",
  1250. "scope": "window"
  1251. },
  1252. "gitlens.views.repositories.autoReveal": {
  1253. "type": "boolean",
  1254. "default": true,
  1255. "description": "Specifies whether to automatically reveal repositories in the `Repositories` view when opening files",
  1256. "scope": "window"
  1257. },
  1258. "gitlens.views.repositories.branches.layout": {
  1259. "type": "string",
  1260. "default": "tree",
  1261. "enum": [
  1262. "list",
  1263. "tree"
  1264. ],
  1265. "enumDescriptions": [
  1266. "Displays branches as a list",
  1267. "Displays branches as a tree when branch names contain slashes `/`"
  1268. ],
  1269. "description": "Specifies how the `Repositories` view will display branches",
  1270. "scope": "window"
  1271. },
  1272. "gitlens.views.repositories.enabled": {
  1273. "type": "boolean",
  1274. "default": true,
  1275. "description": "Specifies whether to show the `Repositories` view",
  1276. "scope": "window"
  1277. },
  1278. "gitlens.views.repositories.files.compact": {
  1279. "type": "boolean",
  1280. "default": true,
  1281. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `Repositories` view\nOnly applies when `#gitlens.views.repositories.files.layout#` is set to `tree` or `auto`",
  1282. "scope": "window"
  1283. },
  1284. "gitlens.views.repositories.files.layout": {
  1285. "type": "string",
  1286. "default": "auto",
  1287. "enum": [
  1288. "auto",
  1289. "list",
  1290. "tree"
  1291. ],
  1292. "enumDescriptions": [
  1293. "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",
  1294. "Displays files as a list",
  1295. "Displays files as a tree"
  1296. ],
  1297. "description": "Specifies how the `Repositories` view will display files",
  1298. "scope": "window"
  1299. },
  1300. "gitlens.views.repositories.files.threshold": {
  1301. "type": "number",
  1302. "default": 5,
  1303. "description": "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\nOnly applies when `#gitlens.views.repositories.files.layout#` is set to `auto`",
  1304. "scope": "window"
  1305. },
  1306. "gitlens.views.repositories.includeWorkingTree": {
  1307. "type": "boolean",
  1308. "default": true,
  1309. "description": "Specifies whether to include working tree files inside the `Repository` node of the `Repositories` view",
  1310. "scope": "window"
  1311. },
  1312. "gitlens.views.repositories.location": {
  1313. "type": "string",
  1314. "default": "gitlens",
  1315. "enum": [
  1316. "gitlens",
  1317. "explorer",
  1318. "scm"
  1319. ],
  1320. "enumDescriptions": [
  1321. "Adds to the GitLens side bar",
  1322. "Adds to the Explorer side bar",
  1323. "Adds to the Source Control side bar"
  1324. ],
  1325. "description": "Specifies where to show the `Repositories` view",
  1326. "scope": "window"
  1327. },
  1328. "gitlens.views.repositories.showTrackingBranch": {
  1329. "type": "boolean",
  1330. "default": true,
  1331. "description": "Specifies whether to show the tracking branch when displaying local branches in the `Repositories` view",
  1332. "scope": "window"
  1333. },
  1334. "gitlens.views.search.enabled": {
  1335. "type": "boolean",
  1336. "default": true,
  1337. "description": "Specifies whether to show the `Search Commits` view",
  1338. "scope": "window"
  1339. },
  1340. "gitlens.views.search.files.compact": {
  1341. "type": "boolean",
  1342. "default": true,
  1343. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `Search Commits` view\nOnly applies when `#gitlens.views.search.files.layout#` is set to `tree` or `auto`",
  1344. "scope": "window"
  1345. },
  1346. "gitlens.views.search.files.layout": {
  1347. "type": "string",
  1348. "default": "auto",
  1349. "enum": [
  1350. "auto",
  1351. "list",
  1352. "tree"
  1353. ],
  1354. "enumDescriptions": [
  1355. "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",
  1356. "Displays files as a list",
  1357. "Displays files as a tree"
  1358. ],
  1359. "description": "Specifies how the `Search Commits` view will display files",
  1360. "scope": "window"
  1361. },
  1362. "gitlens.views.search.files.threshold": {
  1363. "type": "number",
  1364. "default": 5,
  1365. "description": "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\nOnly applies when `#gitlens.views.search.files.layout#` is set to `auto`",
  1366. "scope": "window"
  1367. },
  1368. "gitlens.views.search.location": {
  1369. "type": "string",
  1370. "default": "gitlens",
  1371. "enum": [
  1372. "gitlens",
  1373. "explorer",
  1374. "scm"
  1375. ],
  1376. "enumDescriptions": [
  1377. "Adds to the GitLens side bar",
  1378. "Adds to the Explorer side bar",
  1379. "Adds to the Source Control side bar"
  1380. ],
  1381. "description": "Specifies where to show the `Search Commits` view",
  1382. "scope": "window"
  1383. },
  1384. "gitlens.views.stashFileFormat": {
  1385. "type": "string",
  1386. "default": "${filePath}",
  1387. "description": "Specifies the format of a stashed file in the views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  1388. "scope": "window"
  1389. },
  1390. "gitlens.views.stashFormat": {
  1391. "type": "string",
  1392. "default": "${message}",
  1393. "description": "Specifies the format of stashed changes in the views\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1394. "scope": "window"
  1395. },
  1396. "gitlens.views.statusFileFormat": {
  1397. "type": "string",
  1398. "default": "${working }${filePath}",
  1399. "description": "Specifies the format of the status of a working or committed file in the views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path\n ${working} - optional indicator if the file is uncommitted",
  1400. "scope": "window"
  1401. },
  1402. "gitlens.advanced.blame.customArguments": {
  1403. "type": "array",
  1404. "default": null,
  1405. "items": {
  1406. "type": "string"
  1407. },
  1408. "description": "Specifies additional arguments to pass to the `git blame` command",
  1409. "scope": "resource"
  1410. },
  1411. "gitlens.advanced.blame.delayAfterEdit": {
  1412. "type": "number",
  1413. "default": 5000,
  1414. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1415. "scope": "window"
  1416. },
  1417. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1418. "type": "number",
  1419. "default": 5000,
  1420. "description": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  1421. "scope": "window"
  1422. },
  1423. "gitlens.advanced.caching.enabled": {
  1424. "type": "boolean",
  1425. "default": true,
  1426. "description": "Specifies whether git output will be cached — changing the default is not recommended",
  1427. "scope": "window"
  1428. },
  1429. "gitlens.advanced.fileHistoryFollowsRenames": {
  1430. "type": "boolean",
  1431. "default": true,
  1432. "description": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  1433. "scope": "window"
  1434. },
  1435. "gitlens.advanced.maxListItems": {
  1436. "type": "number",
  1437. "default": 200,
  1438. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  1439. "scope": "window"
  1440. },
  1441. "gitlens.advanced.messages": {
  1442. "type": "object",
  1443. "default": {
  1444. "suppressCommitHasNoPreviousCommitWarning": false,
  1445. "suppressCommitNotFoundWarning": false,
  1446. "suppressFileNotUnderSourceControlWarning": false,
  1447. "suppressGitDisabledWarning": false,
  1448. "suppressGitVersionWarning": false,
  1449. "suppressLineUncommittedWarning": false,
  1450. "suppressNoRepositoryWarning": false,
  1451. "suppressShowKeyBindingsNotice": false
  1452. },
  1453. "properties": {
  1454. "suppressCommitHasNoPreviousCommitWarning": {
  1455. "type": "boolean",
  1456. "default": false
  1457. },
  1458. "suppressCommitNotFoundWarning": {
  1459. "type": "boolean",
  1460. "default": false
  1461. },
  1462. "suppressFileNotUnderSourceControlWarning": {
  1463. "type": "boolean",
  1464. "default": false
  1465. },
  1466. "suppressGitDisabledWarning": {
  1467. "type": "boolean",
  1468. "default": false
  1469. },
  1470. "suppressGitVersionWarning": {
  1471. "type": "boolean",
  1472. "default": false
  1473. },
  1474. "suppressLineUncommittedWarning": {
  1475. "type": "boolean",
  1476. "default": false
  1477. },
  1478. "suppressNoRepositoryWarning": {
  1479. "type": "boolean",
  1480. "default": false
  1481. },
  1482. "suppressShowKeyBindingsNotice": {
  1483. "type": "boolean",
  1484. "default": false
  1485. }
  1486. },
  1487. "description": "Specifies which messages should be suppressed",
  1488. "scope": "window"
  1489. },
  1490. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1491. "type": "boolean",
  1492. "default": true,
  1493. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1494. "scope": "window"
  1495. },
  1496. "gitlens.advanced.repositorySearchDepth": {
  1497. "type": "number",
  1498. "default": 1,
  1499. "description": "Specifies how many folders deep to search for repositories",
  1500. "scope": "resource"
  1501. },
  1502. "gitlens.advanced.telemetry.enabled": {
  1503. "type": "boolean",
  1504. "default": true,
  1505. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1506. "scope": "window"
  1507. }
  1508. }
  1509. },
  1510. "colors": [
  1511. {
  1512. "id": "gitlens.gutterBackgroundColor",
  1513. "description": "Specifies the background color of the gutter blame annotations",
  1514. "defaults": {
  1515. "dark": "#FFFFFF13",
  1516. "light": "#0000000C",
  1517. "highContrast": "#FFFFFF13"
  1518. }
  1519. },
  1520. {
  1521. "id": "gitlens.gutterForegroundColor",
  1522. "description": "Specifies the foreground color of the gutter blame annotations",
  1523. "defaults": {
  1524. "dark": "#BEBEBE",
  1525. "light": "#747474",
  1526. "highContrast": "#BEBEBE"
  1527. }
  1528. },
  1529. {
  1530. "id": "gitlens.gutterUncommittedForegroundColor",
  1531. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1532. "defaults": {
  1533. "dark": "#00BCF299",
  1534. "light": "#00BCF299",
  1535. "highContrast": "#00BCF2FF"
  1536. }
  1537. },
  1538. {
  1539. "id": "gitlens.trailingLineBackgroundColor",
  1540. "description": "Specifies the background color of the blame annotation for the current line",
  1541. "defaults": {
  1542. "dark": "#00000000",
  1543. "light": "#00000000",
  1544. "highContrast": "#00000000"
  1545. }
  1546. },
  1547. {
  1548. "id": "gitlens.trailingLineForegroundColor",
  1549. "description": "Specifies the foreground color of the blame annotation for the current line",
  1550. "defaults": {
  1551. "dark": "#99999959",
  1552. "light": "#99999959",
  1553. "highContrast": "#99999999"
  1554. }
  1555. },
  1556. {
  1557. "id": "gitlens.lineHighlightBackgroundColor",
  1558. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1559. "defaults": {
  1560. "dark": "#00BCF233",
  1561. "light": "#00BCF233",
  1562. "highContrast": "#00BCF233"
  1563. }
  1564. },
  1565. {
  1566. "id": "gitlens.lineHighlightOverviewRulerColor",
  1567. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1568. "defaults": {
  1569. "dark": "#00BCF299",
  1570. "light": "#00BCF299",
  1571. "highContrast": "#00BCF299"
  1572. }
  1573. }
  1574. ],
  1575. "commands": [
  1576. {
  1577. "command": "gitlens.showSettingsPage",
  1578. "title": "Open Settings",
  1579. "category": "GitLens"
  1580. },
  1581. {
  1582. "command": "gitlens.showWelcomePage",
  1583. "title": "Welcome",
  1584. "category": "GitLens"
  1585. },
  1586. {
  1587. "command": "gitlens.showCompareView",
  1588. "title": "Show Compare View",
  1589. "category": "GitLens"
  1590. },
  1591. {
  1592. "command": "gitlens.showFileHistoryView",
  1593. "title": "Show File History View",
  1594. "category": "GitLens"
  1595. },
  1596. {
  1597. "command": "gitlens.showLineHistoryView",
  1598. "title": "Show Line History View",
  1599. "category": "GitLens"
  1600. },
  1601. {
  1602. "command": "gitlens.showRepositoriesView",
  1603. "title": "Show Repositories View",
  1604. "category": "GitLens"
  1605. },
  1606. {
  1607. "command": "gitlens.showSearchView",
  1608. "title": "Show Search Commits View",
  1609. "category": "GitLens"
  1610. },
  1611. {
  1612. "command": "gitlens.diffDirectory",
  1613. "title": "Directory Compare Working Tree with...",
  1614. "category": "GitLens"
  1615. },
  1616. {
  1617. "command": "gitlens.diffHeadWithBranch",
  1618. "title": "Compare HEAD with Branch or Tag...",
  1619. "category": "GitLens"
  1620. },
  1621. {
  1622. "command": "gitlens.diffWorkingWithBranch",
  1623. "title": "Compare Working Tree with Branch or Tag...",
  1624. "category": "GitLens"
  1625. },
  1626. {
  1627. "command": "gitlens.diffWithBranch",
  1628. "title": "Open Changes with Branch or Tag...",
  1629. "category": "GitLens"
  1630. },
  1631. {
  1632. "command": "gitlens.diffWithNext",
  1633. "title": "Open Changes with Next Revision",
  1634. "category": "GitLens",
  1635. "icon": {
  1636. "dark": "images/dark/icon-next-commit.svg",
  1637. "light": "images/light/icon-next-commit.svg"
  1638. }
  1639. },
  1640. {
  1641. "command": "gitlens.diffWithPrevious",
  1642. "title": "Open Changes with Previous Revision",
  1643. "category": "GitLens",
  1644. "icon": {
  1645. "dark": "images/dark/icon-prev-commit.svg",
  1646. "light": "images/light/icon-prev-commit.svg"
  1647. }
  1648. },
  1649. {
  1650. "command": "gitlens.diffWithPreviousInDiff",
  1651. "title": "Open Changes with Previous Revision",
  1652. "category": "GitLens",
  1653. "icon": {
  1654. "dark": "images/dark/icon-prev-commit.svg",
  1655. "light": "images/light/icon-prev-commit.svg"
  1656. }
  1657. },
  1658. {
  1659. "command": "gitlens.diffLineWithPrevious",
  1660. "title": "Open Line Changes with Previous Revision",
  1661. "category": "GitLens"
  1662. },
  1663. {
  1664. "command": "gitlens.diffWithRevision",
  1665. "title": "Open Changes with Revision...",
  1666. "category": "GitLens",
  1667. "icon": {
  1668. "dark": "images/dark/icon-prev-commit-menu.svg",
  1669. "light": "images/light/icon-prev-commit-menu.svg"
  1670. }
  1671. },
  1672. {
  1673. "command": "gitlens.diffWithWorking",
  1674. "title": "Open Changes with Working File",
  1675. "category": "GitLens",
  1676. "icon": {
  1677. "dark": "images/dark/icon-compare.svg",
  1678. "light": "images/light/icon-compare.svg"
  1679. }
  1680. },
  1681. {
  1682. "command": "gitlens.diffLineWithWorking",
  1683. "title": "Open Line Changes with Working File",
  1684. "category": "GitLens"
  1685. },
  1686. {
  1687. "command": "gitlens.toggleFileBlame",
  1688. "title": "Toggle File Blame Annotations",
  1689. "category": "GitLens",
  1690. "icon": {
  1691. "dark": "images/dark/icon-git.svg",
  1692. "light": "images/light/icon-git.svg"
  1693. }
  1694. },
  1695. {
  1696. "command": "gitlens.clearFileAnnotations",
  1697. "title": "Clear File Annotations",
  1698. "category": "GitLens",
  1699. "icon": {
  1700. "dark": "images/dark/icon-git-orange.svg",
  1701. "light": "images/light/icon-git-orange.svg"
  1702. }
  1703. },
  1704. {
  1705. "command": "gitlens.computingFileAnnotations",
  1706. "title": "Computing File Annotations...",
  1707. "category": "GitLens",
  1708. "icon": {
  1709. "dark": "images/dark/icon-git-progress.svg",
  1710. "light": "images/light/icon-git-progress.svg"
  1711. }
  1712. },
  1713. {
  1714. "command": "gitlens.toggleFileHeatmap",
  1715. "title": "Toggle File Heatmap Annotations",
  1716. "category": "GitLens"
  1717. },
  1718. {
  1719. "command": "gitlens.toggleFileRecentChanges",
  1720. "title": "Toggle Recent File Changes Annotations",
  1721. "category": "GitLens",
  1722. "icon": {
  1723. "dark": "images/dark/icon-git.svg",
  1724. "light": "images/light/icon-git.svg"
  1725. }
  1726. },
  1727. {
  1728. "command": "gitlens.toggleLineBlame",
  1729. "title": "Toggle Line Blame Annotations",
  1730. "category": "GitLens"
  1731. },
  1732. {
  1733. "command": "gitlens.toggleCodeLens",
  1734. "title": "Toggle Git Code Lens",
  1735. "category": "GitLens"
  1736. },
  1737. {
  1738. "command": "gitlens.switchMode",
  1739. "title": "Switch Mode",
  1740. "category": "GitLens"
  1741. },
  1742. {
  1743. "command": "gitlens.toggleReviewMode",
  1744. "title": "Toggle Review Mode",
  1745. "category": "GitLens"
  1746. },
  1747. {
  1748. "command": "gitlens.toggleZenMode",
  1749. "title": "Toggle Zen Mode",
  1750. "category": "GitLens"
  1751. },
  1752. {
  1753. "command": "gitlens.showCommitSearch",
  1754. "title": "Search Commits",
  1755. "category": "GitLens",
  1756. "icon": {
  1757. "dark": "images/dark/icon-search.svg",
  1758. "light": "images/light/icon-search.svg"
  1759. }
  1760. },
  1761. {
  1762. "command": "gitlens.showLastQuickPick",
  1763. "title": "Show Last Opened Quick Pick",
  1764. "category": "GitLens"
  1765. },
  1766. {
  1767. "command": "gitlens.showCommitInView",
  1768. "title": "Show Commit in View",
  1769. "category": "GitLens"
  1770. },
  1771. {
  1772. "command": "gitlens.showFileHistoryInView",
  1773. "title": "Show File History in View",
  1774. "category": "GitLens"
  1775. },
  1776. {
  1777. "command": "gitlens.showQuickCommitDetails",
  1778. "title": "Show Commit Details",
  1779. "category": "GitLens"
  1780. },
  1781. {
  1782. "command": "gitlens.showQuickCommitFileDetails",
  1783. "title": "Show Commit Details",
  1784. "category": "GitLens"
  1785. },
  1786. {
  1787. "command": "gitlens.showQuickRevisionDetails",
  1788. "title": "Show Revision Details",
  1789. "category": "GitLens",
  1790. "icon": {
  1791. "dark": "images/dark/icon-commit.svg",
  1792. "light": "images/light/icon-commit.svg"
  1793. }
  1794. },
  1795. {
  1796. "command": "gitlens.showQuickFileHistory",
  1797. "title": "Show File History",
  1798. "category": "GitLens"
  1799. },
  1800. {
  1801. "command": "gitlens.showQuickBranchHistory",
  1802. "title": "Show Branch History",
  1803. "category": "GitLens"
  1804. },
  1805. {
  1806. "command": "gitlens.showQuickRepoHistory",
  1807. "title": "Show Current Branch History",
  1808. "category": "GitLens"
  1809. },
  1810. {
  1811. "command": "gitlens.showQuickRepoStatus",
  1812. "title": "Show Repository Status",
  1813. "category": "GitLens"
  1814. },
  1815. {
  1816. "command": "gitlens.showQuickStashList",
  1817. "title": "Show Stashed Changes",
  1818. "category": "GitLens"
  1819. },
  1820. {
  1821. "command": "gitlens.copyMessageToClipboard",
  1822. "title": "Copy Commit Message to Clipboard",
  1823. "category": "GitLens",
  1824. "icon": {
  1825. "dark": "images/dark/icon-clipboard.svg",
  1826. "light": "images/light/icon-clipboard.svg"
  1827. }
  1828. },
  1829. {
  1830. "command": "gitlens.copyRemoteFileUrlToClipboard",
  1831. "title": "Copy Remote File Url to Clipboard",
  1832. "category": "GitLens",
  1833. "icon": {
  1834. "dark": "images/dark/icon-copy-remote.svg",
  1835. "light": "images/light/icon-copy-remote.svg"
  1836. }
  1837. },
  1838. {
  1839. "command": "gitlens.copyShaToClipboard",
  1840. "title": "Copy Commit ID to Clipboard",
  1841. "category": "GitLens",
  1842. "icon": {
  1843. "dark": "images/dark/icon-copy-commit.svg",
  1844. "light": "images/light/icon-copy-commit.svg"
  1845. }
  1846. },
  1847. {
  1848. "command": "gitlens.closeUnchangedFiles",
  1849. "title": "Close Unchanged Files",
  1850. "category": "GitLens"
  1851. },
  1852. {
  1853. "command": "gitlens.openChangedFiles",
  1854. "title": "Open Changed Files",
  1855. "category": "GitLens"
  1856. },
  1857. {
  1858. "command": "gitlens.openBranchesInRemote",
  1859. "title": "Open Branches on Remote",
  1860. "category": "GitLens",
  1861. "icon": {
  1862. "dark": "images/dark/icon-link.svg",
  1863. "light": "images/light/icon-link.svg"
  1864. }
  1865. },
  1866. {
  1867. "command": "gitlens.openBranchInRemote",
  1868. "title": "Open Branch on Remote",
  1869. "category": "GitLens",
  1870. "icon": {
  1871. "dark": "images/dark/icon-link.svg",
  1872. "light": "images/light/icon-link.svg"
  1873. }
  1874. },
  1875. {
  1876. "command": "gitlens.openCommitInRemote",
  1877. "title": "Open Commit on Remote",
  1878. "category": "GitLens",
  1879. "icon": {
  1880. "dark": "images/dark/icon-link.svg",
  1881. "light": "images/light/icon-link.svg"
  1882. }
  1883. },
  1884. {
  1885. "command": "gitlens.openFileInRemote",
  1886. "title": "Open File on Remote",
  1887. "category": "GitLens",
  1888. "icon": {
  1889. "dark": "images/dark/icon-link.svg",
  1890. "light": "images/light/icon-link.svg"
  1891. }
  1892. },
  1893. {
  1894. "command": "gitlens.openFileRevision",
  1895. "title": "Open Revision...",
  1896. "category": "GitLens"
  1897. },
  1898. {
  1899. "command": "gitlens.openRepoInRemote",
  1900. "title": "Open Repository on Remote",
  1901. "category": "GitLens",
  1902. "icon": {
  1903. "dark": "images/dark/icon-link.svg",
  1904. "light": "images/light/icon-link.svg"
  1905. }
  1906. },
  1907. {
  1908. "command": "gitlens.openWorkingFile",
  1909. "title": "Open Working File",
  1910. "category": "GitLens",
  1911. "icon": {
  1912. "dark": "images/dark/icon-open-working-file.svg",
  1913. "light": "images/light/icon-open-working-file.svg"
  1914. }
  1915. },
  1916. {
  1917. "command": "gitlens.stashApply",
  1918. "title": "Apply Stashed Changes",
  1919. "category": "GitLens",
  1920. "icon": {
  1921. "dark": "images/dark/icon-stash-pop.svg",
  1922. "light": "images/light/icon-stash-pop.svg"
  1923. }
  1924. },
  1925. {
  1926. "command": "gitlens.stashDelete",
  1927. "title": "Delete Stashed Changes",
  1928. "category": "GitLens"
  1929. },
  1930. {
  1931. "command": "gitlens.stashSave",
  1932. "title": "Stash Changes",
  1933. "category": "GitLens",
  1934. "icon": {
  1935. "dark": "images/dark/icon-stash-save.svg",
  1936. "light": "images/light/icon-stash-save.svg"
  1937. }
  1938. },
  1939. {
  1940. "command": "gitlens.externalDiff",
  1941. "title": "Open Changes (with difftool)",
  1942. "category": "GitLens"
  1943. },
  1944. {
  1945. "command": "gitlens.externalDiffAll",
  1946. "title": "Open All Changes (with difftool)",
  1947. "category": "GitLens"
  1948. },
  1949. {
  1950. "command": "gitlens.resetSuppressedWarnings",
  1951. "title": "Reset Suppressed Warnings",
  1952. "category": "GitLens"
  1953. },
  1954. {
  1955. "command": "gitlens.views.exploreRepoRevision",
  1956. "title": "Explore the Repository from Here",
  1957. "category": "GitLens"
  1958. },
  1959. {
  1960. "command": "gitlens.fetchRepositories",
  1961. "title": "Fetch Repositories",
  1962. "category": "GitLens",
  1963. "icon": {
  1964. "dark": "images/dark/icon-sync.svg",
  1965. "light": "images/light/icon-sync.svg"
  1966. }
  1967. },
  1968. {
  1969. "command": "gitlens.pullRepositories",
  1970. "title": "Pull Repositories",
  1971. "category": "GitLens",
  1972. "icon": {
  1973. "dark": "images/dark/icon-pull.svg",
  1974. "light": "images/light/icon-pull.svg"
  1975. }
  1976. },
  1977. {
  1978. "command": "gitlens.pushRepositories",
  1979. "title": "Push Repositories",
  1980. "category": "GitLens",
  1981. "icon": {
  1982. "dark": "images/dark/icon-push.svg",
  1983. "light": "images/light/icon-push.svg"
  1984. }
  1985. },
  1986. {
  1987. "command": "gitlens.views.fetch",
  1988. "title": "Fetch Repository",
  1989. "category": "GitLens",
  1990. "icon": {
  1991. "dark": "images/dark/icon-sync.svg",
  1992. "light": "images/light/icon-sync.svg"
  1993. }
  1994. },
  1995. {
  1996. "command": "gitlens.views.pull",
  1997. "title": "Pull Repository",
  1998. "category": "GitLens",
  1999. "icon": {
  2000. "dark": "images/dark/icon-pull.svg",
  2001. "light": "images/light/icon-pull.svg"
  2002. }
  2003. },
  2004. {
  2005. "command": "gitlens.views.push",
  2006. "title": "Push Repository",
  2007. "category": "GitLens",
  2008. "icon": {
  2009. "dark": "images/dark/icon-push.svg",
  2010. "light": "images/light/icon-push.svg"
  2011. }
  2012. },
  2013. {
  2014. "command": "gitlens.views.pushWithForce",
  2015. "title": "Push (force) Repository",
  2016. "category": "GitLens",
  2017. "icon": {
  2018. "dark": "images/dark/icon-push-force.svg",
  2019. "light": "images/light/icon-push-force.svg"
  2020. }
  2021. },
  2022. {
  2023. "command": "gitlens.views.stageFile",
  2024. "title": "Stage Changes",
  2025. "category": "GitLens",
  2026. "icon": {
  2027. "dark": "images/dark/icon-add.svg",
  2028. "light": "images/light/icon-add.svg"
  2029. }
  2030. },
  2031. {
  2032. "command": "gitlens.views.unstageFile",
  2033. "title": "Unstage Changes",
  2034. "category": "GitLens",
  2035. "icon": {
  2036. "dark": "images/dark/icon-minus.svg",
  2037. "light": "images/light/icon-minus.svg"
  2038. }
  2039. },
  2040. {
  2041. "command": "gitlens.views.openDirectoryDiff",
  2042. "title": "Open Directory Compare",
  2043. "category": "GitLens"
  2044. },
  2045. {
  2046. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2047. "title": "Open Directory Compare with Working Tree",
  2048. "category": "GitLens"
  2049. },
  2050. {
  2051. "command": "gitlens.views.openChanges",
  2052. "title": "Open Changes",
  2053. "category": "GitLens"
  2054. },
  2055. {
  2056. "command": "gitlens.views.openChangesWithWorking",
  2057. "title": "Open Changes with Working File",
  2058. "category": "GitLens"
  2059. },
  2060. {
  2061. "command": "gitlens.views.openFile",
  2062. "title": "Open File",
  2063. "category": "GitLens",
  2064. "icon": {
  2065. "dark": "images/dark/icon-open-file.svg",
  2066. "light": "images/light/icon-open-file.svg"
  2067. }
  2068. },
  2069. {
  2070. "command": "gitlens.views.openFileRevision",
  2071. "title": "Open Revision",
  2072. "category": "GitLens"
  2073. },
  2074. {
  2075. "command": "gitlens.views.openFileRevisionInRemote",
  2076. "title": "Open Revision on Remote",
  2077. "category": "GitLens",
  2078. "icon": {
  2079. "dark": "images/dark/icon-link.svg",
  2080. "light": "images/light/icon-link.svg"
  2081. }
  2082. },
  2083. {
  2084. "command": "gitlens.views.openChangedFiles",
  2085. "title": "Open Files",
  2086. "category": "GitLens"
  2087. },
  2088. {
  2089. "command": "gitlens.views.openChangedFileChanges",
  2090. "title": "Open All Changes",
  2091. "category": "GitLens"
  2092. },
  2093. {
  2094. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2095. "title": "Open All Changes with Working Tree",
  2096. "category": "GitLens"
  2097. },
  2098. {
  2099. "command": "gitlens.views.openChangedFileRevisions",
  2100. "title": "Open Revisions",
  2101. "category": "GitLens"
  2102. },
  2103. {
  2104. "command": "gitlens.views.applyChanges",
  2105. "title": "Apply Changes",
  2106. "category": "GitLens"
  2107. },
  2108. {
  2109. "command": "gitlens.views.closeRepository",
  2110. "title": "Close Repository",
  2111. "category": "GitLens"
  2112. },
  2113. {
  2114. "command": "gitlens.views.compareAncestryWithWorking",
  2115. "title": "Compare Ancestry with Working Tree",
  2116. "category": "GitLens"
  2117. },
  2118. {
  2119. "command": "gitlens.views.compareWithHead",
  2120. "title": "Compare with HEAD",
  2121. "category": "GitLens",
  2122. "icon": {
  2123. "dark": "images/dark/icon-compare-refs.svg",
  2124. "light": "images/light/icon-compare-refs.svg"
  2125. }
  2126. },
  2127. {
  2128. "command": "gitlens.views.compareWithRemote",
  2129. "title": "Compare with Remote",
  2130. "category": "GitLens",
  2131. "icon": {
  2132. "dark": "images/dark/icon-compare-ref-remote.svg",
  2133. "light": "images/light/icon-compare-ref-remote.svg"
  2134. }
  2135. },
  2136. {
  2137. "command": "gitlens.views.compareWithSelected",
  2138. "title": "Compare with Selected",
  2139. "category": "GitLens"
  2140. },
  2141. {
  2142. "command": "gitlens.views.selectForCompare",
  2143. "title": "Select for Compare",
  2144. "category": "GitLens"
  2145. },
  2146. {
  2147. "command": "gitlens.views.compareFileWithSelected",
  2148. "title": "Compare with Selected",
  2149. "category": "GitLens"
  2150. },
  2151. {
  2152. "command": "gitlens.views.selectFileForCompare",
  2153. "title": "Select for Compare",
  2154. "category": "GitLens"
  2155. },
  2156. {
  2157. "command": "gitlens.views.compareWithWorking",
  2158. "title": "Compare with Working Tree",
  2159. "category": "GitLens",
  2160. "icon": {
  2161. "dark": "images/dark/icon-compare-ref-working.svg",
  2162. "light": "images/light/icon-compare-ref-working.svg"
  2163. }
  2164. },
  2165. {
  2166. "command": "gitlens.views.terminalCheckoutBranch",
  2167. "title": "Checkout Branch (via Terminal)",
  2168. "category": "GitLens"
  2169. },
  2170. {
  2171. "command": "gitlens.views.terminalCreateBranch",
  2172. "title": "Create Branch (via Terminal)...",
  2173. "category": "GitLens"
  2174. },
  2175. {
  2176. "command": "gitlens.views.terminalDeleteBranch",
  2177. "title": "Delete Branch (via Terminal)",
  2178. "category": "GitLens"
  2179. },
  2180. {
  2181. "command": "gitlens.views.terminalMergeBranch",
  2182. "title": "Merge Branch (via Terminal)",
  2183. "category": "GitLens"
  2184. },
  2185. {
  2186. "command": "gitlens.views.terminalRebaseBranch",
  2187. "title": "Rebase (Interactive) Branch (via Terminal)",
  2188. "category": "GitLens"
  2189. },
  2190. {
  2191. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2192. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2193. "category": "GitLens"
  2194. },
  2195. {
  2196. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2197. "title": "Squash Branch into Commit (via Terminal)",
  2198. "category": "GitLens"
  2199. },
  2200. {
  2201. "command": "gitlens.views.terminalCheckoutCommit",
  2202. "title": "Checkout Commit (via Terminal)",
  2203. "category": "GitLens"
  2204. },
  2205. {
  2206. "command": "gitlens.views.terminalCherryPickCommit",
  2207. "title": "Cherry Pick Commit (via Terminal)",
  2208. "category": "GitLens"
  2209. },
  2210. {
  2211. "command": "gitlens.views.terminalPushCommit",
  2212. "title": "Push to Commit (via Terminal)",
  2213. "category": "GitLens"
  2214. },
  2215. {
  2216. "command": "gitlens.views.terminalRebaseCommit",
  2217. "title": "Rebase to Commit (via Terminal)",
  2218. "category": "GitLens"
  2219. },
  2220. {
  2221. "command": "gitlens.views.terminalResetCommit",
  2222. "title": "Reset to Commit (via Terminal)",
  2223. "category": "GitLens"
  2224. },
  2225. {
  2226. "command": "gitlens.views.terminalRevertCommit",
  2227. "title": "Revert Commit (via Terminal)",
  2228. "category": "GitLens"
  2229. },
  2230. {
  2231. "command": "gitlens.views.terminalRemoveRemote",
  2232. "title": "Remove Remote (via Terminal)",
  2233. "category": "GitLens"
  2234. },
  2235. {
  2236. "command": "gitlens.views.terminalCreateTag",
  2237. "title": "Create Tag (via Terminal)...",
  2238. "category": "GitLens"
  2239. },
  2240. {
  2241. "command": "gitlens.views.terminalDeleteTag",
  2242. "title": "Delete Tag (via Terminal)",
  2243. "category": "GitLens"
  2244. },
  2245. {
  2246. "command": "gitlens.views.repositories.refresh",
  2247. "title": "Refresh",
  2248. "category": "GitLens",
  2249. "icon": {
  2250. "dark": "images/dark/icon-refresh.svg",
  2251. "light": "images/light/icon-refresh.svg"
  2252. }
  2253. },
  2254. {
  2255. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2256. "title": "Automatic Layout",
  2257. "category": "GitLens"
  2258. },
  2259. {
  2260. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2261. "title": "List Layout",
  2262. "category": "GitLens"
  2263. },
  2264. {
  2265. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2266. "title": "Tree Layout",
  2267. "category": "GitLens"
  2268. },
  2269. {
  2270. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2271. "title": "Enable Automatic Refresh",
  2272. "category": "GitLens"
  2273. },
  2274. {
  2275. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2276. "title": "Disable Automatic Refresh",
  2277. "category": "GitLens"
  2278. },
  2279. {
  2280. "command": "gitlens.views.fileHistory.refresh",
  2281. "title": "Refresh",
  2282. "category": "GitLens",
  2283. "icon": {
  2284. "dark": "images/dark/icon-refresh.svg",
  2285. "light": "images/light/icon-refresh.svg"
  2286. }
  2287. },
  2288. {
  2289. "command": "gitlens.views.fileHistory.changeBase",
  2290. "title": "Change Base...",
  2291. "category": "GitLens",
  2292. "icon": {
  2293. "dark": "images/dark/icon-history.svg",
  2294. "light": "images/light/icon-history.svg"
  2295. }
  2296. },
  2297. {
  2298. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2299. "title": "Resume File Tracking",
  2300. "category": "GitLens",
  2301. "icon": {
  2302. "dark": "images/dark/icon-location.svg",
  2303. "light": "images/light/icon-location.svg"
  2304. }
  2305. },
  2306. {
  2307. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2308. "title": "Pause File Tracking",
  2309. "category": "GitLens",
  2310. "icon": {
  2311. "dark": "images/dark/icon-location-filled.svg",
  2312. "light": "images/light/icon-location-filled.svg"
  2313. }
  2314. },
  2315. {
  2316. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2317. "title": "Follow Renames",
  2318. "category": "GitLens"
  2319. },
  2320. {
  2321. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2322. "title": "Don't Follow Renames",
  2323. "category": "GitLens"
  2324. },
  2325. {
  2326. "command": "gitlens.views.lineHistory.refresh",
  2327. "title": "Refresh",
  2328. "category": "GitLens",
  2329. "icon": {
  2330. "dark": "images/dark/icon-refresh.svg",
  2331. "light": "images/light/icon-refresh.svg"
  2332. }
  2333. },
  2334. {
  2335. "command": "gitlens.views.lineHistory.changeBase",
  2336. "title": "Change Base...",
  2337. "category": "GitLens",
  2338. "icon": {
  2339. "dark": "images/dark/icon-history.svg",
  2340. "light": "images/light/icon-history.svg"
  2341. }
  2342. },
  2343. {
  2344. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2345. "title": "Resume Line Tracking",
  2346. "category": "GitLens",
  2347. "icon": {
  2348. "dark": "images/dark/icon-location.svg",
  2349. "light": "images/light/icon-location.svg"
  2350. }
  2351. },
  2352. {
  2353. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2354. "title": "Pause Line Tracking",
  2355. "category": "GitLens",
  2356. "icon": {
  2357. "dark": "images/dark/icon-location-filled.svg",
  2358. "light": "images/light/icon-location-filled.svg"
  2359. }
  2360. },
  2361. {
  2362. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2363. "title": "Follow Renames",
  2364. "category": "GitLens"
  2365. },
  2366. {
  2367. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2368. "title": "Don't Follow Renames",
  2369. "category": "GitLens"
  2370. },
  2371. {
  2372. "command": "gitlens.views.compare.selectForCompare",
  2373. "title": "Compare Branch or Tag with...",
  2374. "category": "GitLens",
  2375. "icon": {
  2376. "dark": "images/dark/icon-compare-refs.svg",
  2377. "light": "images/light/icon-compare-refs.svg"
  2378. }
  2379. },
  2380. {
  2381. "command": "gitlens.views.compare.clear",
  2382. "title": "Clear Results",
  2383. "category": "GitLens",
  2384. "icon": {
  2385. "dark": "images/dark/icon-clear.svg",
  2386. "light": "images/light/icon-clear.svg"
  2387. }
  2388. },
  2389. {
  2390. "command": "gitlens.views.compare.refresh",
  2391. "title": "Refresh",
  2392. "category": "GitLens",
  2393. "icon": {
  2394. "dark": "images/dark/icon-refresh.svg",
  2395. "light": "images/light/icon-refresh.svg"
  2396. }
  2397. },
  2398. {
  2399. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  2400. "title": "Automatic Layout",
  2401. "category": "GitLens"
  2402. },
  2403. {
  2404. "command": "gitlens.views.compare.setFilesLayoutToList",
  2405. "title": "List Layout",
  2406. "category": "GitLens"
  2407. },
  2408. {
  2409. "command": "gitlens.views.compare.setFilesLayoutToTree",
  2410. "title": "Tree Layout",
  2411. "category": "GitLens"
  2412. },
  2413. {
  2414. "command": "gitlens.views.compare.setKeepResultsToOn",
  2415. "title": "Keep Results",
  2416. "category": "GitLens",
  2417. "icon": {
  2418. "dark": "images/dark/icon-lock.svg",
  2419. "light": "images/light/icon-lock.svg"
  2420. }
  2421. },
  2422. {
  2423. "command": "gitlens.views.compare.setKeepResultsToOff",
  2424. "title": "Keep Results",
  2425. "category": "GitLens",
  2426. "icon": {
  2427. "dark": "images/dark/icon-locked.svg",
  2428. "light": "images/light/icon-locked.svg"
  2429. }
  2430. },
  2431. {
  2432. "command": "gitlens.views.compare.swapComparision",
  2433. "title": "Swap Comparision",
  2434. "category": "GitLens",
  2435. "icon": {
  2436. "dark": "images/dark/icon-swap.svg",
  2437. "light": "images/light/icon-swap.svg"
  2438. }
  2439. },
  2440. {
  2441. "command": "gitlens.views.search.searchCommits",
  2442. "title": "Search Commits",
  2443. "category": "GitLens",
  2444. "icon": {
  2445. "dark": "images/dark/icon-search.svg",
  2446. "light": "images/light/icon-search.svg"
  2447. }
  2448. },
  2449. {
  2450. "command": "gitlens.views.search.clear",
  2451. "title": "Clear Results",
  2452. "category": "GitLens",
  2453. "icon": {
  2454. "dark": "images/dark/icon-clear.svg",
  2455. "light": "images/light/icon-clear.svg"
  2456. }
  2457. },
  2458. {
  2459. "command": "gitlens.views.search.refresh",
  2460. "title": "Refresh",
  2461. "category": "GitLens",
  2462. "icon": {
  2463. "dark": "images/dark/icon-refresh.svg",
  2464. "light": "images/light/icon-refresh.svg"
  2465. }
  2466. },
  2467. {
  2468. "command": "gitlens.views.search.setFilesLayoutToAuto",
  2469. "title": "Automatic Layout",
  2470. "category": "GitLens"
  2471. },
  2472. {
  2473. "command": "gitlens.views.search.setFilesLayoutToList",
  2474. "title": "List Layout",
  2475. "category": "GitLens"
  2476. },
  2477. {
  2478. "command": "gitlens.views.search.setFilesLayoutToTree",
  2479. "title": "Tree Layout",
  2480. "category": "GitLens"
  2481. },
  2482. {
  2483. "command": "gitlens.views.search.setKeepResultsToOn",
  2484. "title": "Keep Results",
  2485. "category": "GitLens",
  2486. "icon": {
  2487. "dark": "images/dark/icon-lock.svg",
  2488. "light": "images/light/icon-lock.svg"
  2489. }
  2490. },
  2491. {
  2492. "command": "gitlens.views.search.setKeepResultsToOff",
  2493. "title": "Keep Results",
  2494. "category": "GitLens",
  2495. "icon": {
  2496. "dark": "images/dark/icon-locked.svg",
  2497. "light": "images/light/icon-locked.svg"
  2498. }
  2499. },
  2500. {
  2501. "command": "gitlens.views.dismissNode",
  2502. "title": "Dismiss",
  2503. "category": "GitLens",
  2504. "icon": {
  2505. "dark": "images/dark/icon-close-small.svg",
  2506. "light": "images/light/icon-close-small.svg"
  2507. }
  2508. },
  2509. {
  2510. "command": "gitlens.views.refreshNode",
  2511. "title": "Refresh",
  2512. "category": "GitLens"
  2513. }
  2514. ],
  2515. "menus": {
  2516. "commandPalette": [
  2517. {
  2518. "command": "gitlens.showCompareView",
  2519. "when": "gitlens:enabled"
  2520. },
  2521. {
  2522. "command": "gitlens.showFileHistoryView",
  2523. "when": "gitlens:enabled"
  2524. },
  2525. {
  2526. "command": "gitlens.showLineHistoryView",
  2527. "when": "gitlens:enabled"
  2528. },
  2529. {
  2530. "command": "gitlens.showRepositoriesView",
  2531. "when": "gitlens:enabled"
  2532. },
  2533. {
  2534. "command": "gitlens.showSearchView",
  2535. "when": "gitlens:enabled"
  2536. },
  2537. {
  2538. "command": "gitlens.diffDirectory",
  2539. "when": "gitlens:enabled"
  2540. },
  2541. {
  2542. "command": "gitlens.diffHeadWithBranch",
  2543. "when": "gitlens:enabled"
  2544. },
  2545. {
  2546. "command": "gitlens.diffWorkingWithBranch",
  2547. "when": "gitlens:enabled"
  2548. },
  2549. {
  2550. "command": "gitlens.diffWithBranch",
  2551. "when": "gitlens:activeFileStatus =~ /tracked/"
  2552. },
  2553. {
  2554. "command": "gitlens.diffWithNext",
  2555. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2556. },
  2557. {
  2558. "command": "gitlens.diffWithPrevious",
  2559. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2560. },
  2561. {
  2562. "command": "gitlens.diffWithPreviousInDiff",
  2563. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2564. },
  2565. {
  2566. "command": "gitlens.diffLineWithPrevious",
  2567. "when": "gitlens:activeFileStatus =~ /blameable/"
  2568. },
  2569. {
  2570. "command": "gitlens.diffWithRevision",
  2571. "when": "gitlens:activeFileStatus =~ /tracked/"
  2572. },
  2573. {
  2574. "command": "gitlens.diffWithWorking",
  2575. "when": "gitlens:activeFileStatus =~ /tracked/"
  2576. },
  2577. {
  2578. "command": "gitlens.diffLineWithWorking",
  2579. "when": "gitlens:activeFileStatus =~ /blameable/"
  2580. },
  2581. {
  2582. "command": "gitlens.externalDiff",
  2583. "when": "gitlens:activeFileStatus =~ /tracked/"
  2584. },
  2585. {
  2586. "command": "gitlens.externalDiffAll",
  2587. "when": "gitlens:enabled"
  2588. },
  2589. {
  2590. "command": "gitlens.toggleFileBlame",
  2591. "when": "gitlens:activeFileStatus =~ /blameable/"
  2592. },
  2593. {
  2594. "command": "gitlens.clearFileAnnotations",
  2595. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2596. },
  2597. {
  2598. "command": "gitlens.computingFileAnnotations",
  2599. "when": "false"
  2600. },
  2601. {
  2602. "command": "gitlens.toggleFileHeatmap",
  2603. "when": "gitlens:activeFileStatus =~ /blameable/"
  2604. },
  2605. {
  2606. "command": "gitlens.toggleFileRecentChanges",
  2607. "when": "gitlens:activeFileStatus =~ /blameable/"
  2608. },
  2609. {
  2610. "command": "gitlens.toggleLineBlame",
  2611. "when": "gitlens:enabled"
  2612. },
  2613. {
  2614. "command": "gitlens.toggleCodeLens",
  2615. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2616. },
  2617. {
  2618. "command": "gitlens.switchMode",
  2619. "when": "gitlens:enabled"
  2620. },
  2621. {
  2622. "command": "gitlens.toggleReviewMode",
  2623. "when": "gitlens:enabled"
  2624. },
  2625. {
  2626. "command": "gitlens.toggleZenMode",
  2627. "when": "gitlens:enabled"
  2628. },
  2629. {
  2630. "command": "gitlens.showCommitSearch",
  2631. "when": "gitlens:enabled"
  2632. },
  2633. {
  2634. "command": "gitlens.showLastQuickPick",
  2635. "when": "gitlens:enabled"
  2636. },
  2637. {
  2638. "command": "gitlens.showCommitInView",
  2639. "when": "gitlens:activeFileStatus =~ /blameable/"
  2640. },
  2641. {
  2642. "command": "gitlens.showFileHistoryInView",
  2643. "when": "gitlens:activeFileStatus =~ /tracked/"
  2644. },
  2645. {
  2646. "command": "gitlens.showQuickCommitDetails",
  2647. "when": "gitlens:activeFileStatus =~ /blameable/"
  2648. },
  2649. {
  2650. "command": "gitlens.showQuickCommitFileDetails",
  2651. "when": "gitlens:activeFileStatus =~ /blameable/"
  2652. },
  2653. {
  2654. "command": "gitlens.showQuickRevisionDetails",
  2655. "when": "gitlens:activeFileStatus =~ /revision/"
  2656. },
  2657. {
  2658. "command": "gitlens.showQuickFileHistory",
  2659. "when": "gitlens:activeFileStatus =~ /tracked/"
  2660. },
  2661. {
  2662. "command": "gitlens.showQuickBranchHistory",
  2663. "when": "gitlens:enabled"
  2664. },
  2665. {
  2666. "command": "gitlens.showQuickRepoHistory",
  2667. "when": "gitlens:enabled"
  2668. },
  2669. {
  2670. "command": "gitlens.showQuickRepoStatus",
  2671. "when": "gitlens:enabled"
  2672. },
  2673. {
  2674. "command": "gitlens.showQuickStashList",
  2675. "when": "gitlens:enabled"
  2676. },
  2677. {
  2678. "command": "gitlens.copyMessageToClipboard",
  2679. "when": "gitlens:activeFileStatus =~ /blameable/"
  2680. },
  2681. {
  2682. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2683. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2684. },
  2685. {
  2686. "command": "gitlens.copyShaToClipboard",
  2687. "when": "gitlens:activeFileStatus =~ /blameable/"
  2688. },
  2689. {
  2690. "command": "gitlens.closeUnchangedFiles",
  2691. "when": "gitlens:enabled"
  2692. },
  2693. {
  2694. "command": "gitlens.openChangedFiles",
  2695. "when": "gitlens:enabled"
  2696. },
  2697. {
  2698. "command": "gitlens.openBranchesInRemote",
  2699. "when": "gitlens:hasRemotes"
  2700. },
  2701. {
  2702. "command": "gitlens.openBranchInRemote",
  2703. "when": "gitlens:hasRemotes"
  2704. },
  2705. {
  2706. "command": "gitlens.openCommitInRemote",
  2707. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2708. },
  2709. {
  2710. "command": "gitlens.openFileInRemote",
  2711. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2712. },
  2713. {
  2714. "command": "gitlens.openFileRevision",
  2715. "when": "gitlens:activeFileStatus =~ /tracked/"
  2716. },
  2717. {
  2718. "command": "gitlens.openRepoInRemote",
  2719. "when": "gitlens:hasRemotes"
  2720. },
  2721. {
  2722. "command": "gitlens.openWorkingFile",
  2723. "when": "gitlens:activeFileStatus =~ /revision/"
  2724. },
  2725. {
  2726. "command": "gitlens.stashApply",
  2727. "when": "gitlens:enabled"
  2728. },
  2729. {
  2730. "command": "gitlens.stashDelete",
  2731. "when": "false"
  2732. },
  2733. {
  2734. "command": "gitlens.stashSave",
  2735. "when": "gitlens:enabled"
  2736. },
  2737. {
  2738. "command": "gitlens.resetSuppressedWarnings",
  2739. "when": "gitlens:enabled"
  2740. },
  2741. {
  2742. "command": "gitlens.views.exploreRepoRevision",
  2743. "when": "false"
  2744. },
  2745. {
  2746. "command": "gitlens.fetchRepositories",
  2747. "when": "gitlens:hasRemotes"
  2748. },
  2749. {
  2750. "command": "gitlens.pullRepositories",
  2751. "when": "gitlens:hasRemotes"
  2752. },
  2753. {
  2754. "command": "gitlens.pushRepositories",
  2755. "when": "gitlens:hasRemotes"
  2756. },
  2757. {
  2758. "command": "gitlens.views.fetch",
  2759. "when": "false"
  2760. },
  2761. {
  2762. "command": "gitlens.views.pull",
  2763. "when": "false"
  2764. },
  2765. {
  2766. "command": "gitlens.views.push",
  2767. "when": "false"
  2768. },
  2769. {
  2770. "command": "gitlens.views.pushWithForce",
  2771. "when": "false"
  2772. },
  2773. {
  2774. "command": "gitlens.views.stageFile",
  2775. "when": "false"
  2776. },
  2777. {
  2778. "command": "gitlens.views.unstageFile",
  2779. "when": "false"
  2780. },
  2781. {
  2782. "command": "gitlens.views.openChanges",
  2783. "when": "false"
  2784. },
  2785. {
  2786. "command": "gitlens.views.openDirectoryDiff",
  2787. "when": "false"
  2788. },
  2789. {
  2790. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2791. "when": "false"
  2792. },
  2793. {
  2794. "command": "gitlens.views.openChangesWithWorking",
  2795. "when": "false"
  2796. },
  2797. {
  2798. "command": "gitlens.views.openFile",
  2799. "when": "false"
  2800. },
  2801. {
  2802. "command": "gitlens.views.openFileRevision",
  2803. "when": "false"
  2804. },
  2805. {
  2806. "command": "gitlens.views.openFileRevisionInRemote",
  2807. "when": "false"
  2808. },
  2809. {
  2810. "command": "gitlens.views.openChangedFiles",
  2811. "when": "false"
  2812. },
  2813. {
  2814. "command": "gitlens.views.openChangedFileChanges",
  2815. "when": "false"
  2816. },
  2817. {
  2818. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2819. "when": "false"
  2820. },
  2821. {
  2822. "command": "gitlens.views.openChangedFileRevisions",
  2823. "when": "false"
  2824. },
  2825. {
  2826. "command": "gitlens.views.applyChanges",
  2827. "when": "false"
  2828. },
  2829. {
  2830. "command": "gitlens.views.closeRepository",
  2831. "when": "false"
  2832. },
  2833. {
  2834. "command": "gitlens.views.compareAncestryWithWorking",
  2835. "when": "false"
  2836. },
  2837. {
  2838. "command": "gitlens.views.compareWithHead",
  2839. "when": "false"
  2840. },
  2841. {
  2842. "command": "gitlens.views.compareWithRemote",
  2843. "when": "false"
  2844. },
  2845. {
  2846. "command": "gitlens.views.compareWithSelected",
  2847. "when": "false"
  2848. },
  2849. {
  2850. "command": "gitlens.views.selectForCompare",
  2851. "when": "false"
  2852. },
  2853. {
  2854. "command": "gitlens.views.compareFileWithSelected",
  2855. "when": "false"
  2856. },
  2857. {
  2858. "command": "gitlens.views.selectFileForCompare",
  2859. "when": "false"
  2860. },
  2861. {
  2862. "command": "gitlens.views.compareWithWorking",
  2863. "when": "false"
  2864. },
  2865. {
  2866. "command": "gitlens.views.terminalCheckoutBranch",
  2867. "when": "false"
  2868. },
  2869. {
  2870. "command": "gitlens.views.terminalCreateBranch",
  2871. "when": "false"
  2872. },
  2873. {
  2874. "command": "gitlens.views.terminalDeleteBranch",
  2875. "when": "false"
  2876. },
  2877. {
  2878. "command": "gitlens.views.terminalMergeBranch",
  2879. "when": "false"
  2880. },
  2881. {
  2882. "command": "gitlens.views.terminalRebaseBranch",
  2883. "when": "false"
  2884. },
  2885. {
  2886. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2887. "when": "false"
  2888. },
  2889. {
  2890. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2891. "when": "false"
  2892. },
  2893. {
  2894. "command": "gitlens.views.terminalCheckoutCommit",
  2895. "when": "false"
  2896. },
  2897. {
  2898. "command": "gitlens.views.terminalCherryPickCommit",
  2899. "when": "false"
  2900. },
  2901. {
  2902. "command": "gitlens.views.terminalPushCommit",
  2903. "when": "false"
  2904. },
  2905. {
  2906. "command": "gitlens.views.terminalRebaseCommit",
  2907. "when": "false"
  2908. },
  2909. {
  2910. "command": "gitlens.views.terminalResetCommit",
  2911. "when": "false"
  2912. },
  2913. {
  2914. "command": "gitlens.views.terminalRevertCommit",
  2915. "when": "false"
  2916. },
  2917. {
  2918. "command": "gitlens.views.terminalRemoveRemote",
  2919. "when": "false"
  2920. },
  2921. {
  2922. "command": "gitlens.views.terminalCreateTag",
  2923. "when": "false"
  2924. },
  2925. {
  2926. "command": "gitlens.views.terminalDeleteTag",
  2927. "when": "false"
  2928. },
  2929. {
  2930. "command": "gitlens.views.repositories.refresh",
  2931. "when": "false"
  2932. },
  2933. {
  2934. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2935. "when": "false"
  2936. },
  2937. {
  2938. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2939. "when": "false"
  2940. },
  2941. {
  2942. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2943. "when": "false"
  2944. },
  2945. {
  2946. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2947. "when": "false"
  2948. },
  2949. {
  2950. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2951. "when": "false"
  2952. },
  2953. {
  2954. "command": "gitlens.views.fileHistory.refresh",
  2955. "when": "false"
  2956. },
  2957. {
  2958. "command": "gitlens.views.fileHistory.changeBase",
  2959. "when": "false"
  2960. },
  2961. {
  2962. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2963. "when": "false"
  2964. },
  2965. {
  2966. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2967. "when": "false"
  2968. },
  2969. {
  2970. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2971. "when": "false"
  2972. },
  2973. {
  2974. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2975. "when": "false"
  2976. },
  2977. {
  2978. "command": "gitlens.views.lineHistory.refresh",
  2979. "when": "false"
  2980. },
  2981. {
  2982. "command": "gitlens.views.lineHistory.changeBase",
  2983. "when": "false"
  2984. },
  2985. {
  2986. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2987. "when": "false"
  2988. },
  2989. {
  2990. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2991. "when": "false"
  2992. },
  2993. {
  2994. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2995. "when": "false"
  2996. },
  2997. {
  2998. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2999. "when": "false"
  3000. },
  3001. {
  3002. "command": "gitlens.views.compare.selectForCompare",
  3003. "when": "gitlens:enabled && gitlens.views.compare.enabled"
  3004. },
  3005. {
  3006. "command": "gitlens.views.compare.clear",
  3007. "when": "false"
  3008. },
  3009. {
  3010. "command": "gitlens.views.compare.refresh",
  3011. "when": "false"
  3012. },
  3013. {
  3014. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3015. "when": "false"
  3016. },
  3017. {
  3018. "command": "gitlens.views.compare.setFilesLayoutToList",
  3019. "when": "false"
  3020. },
  3021. {
  3022. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3023. "when": "false"
  3024. },
  3025. {
  3026. "command": "gitlens.views.compare.setKeepResultsToOn",
  3027. "when": "false"
  3028. },
  3029. {
  3030. "command": "gitlens.views.compare.setKeepResultsToOff",
  3031. "when": "false"
  3032. },
  3033. {
  3034. "command": "gitlens.views.compare.swapComparision",
  3035. "when": "false"
  3036. },
  3037. {
  3038. "command": "gitlens.views.search.searchCommits",
  3039. "when": "false"
  3040. },
  3041. {
  3042. "command": "gitlens.views.search.clear",
  3043. "when": "false"
  3044. },
  3045. {
  3046. "command": "gitlens.views.search.refresh",
  3047. "when": "false"
  3048. },
  3049. {
  3050. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3051. "when": "false"
  3052. },
  3053. {
  3054. "command": "gitlens.views.search.setFilesLayoutToList",
  3055. "when": "false"
  3056. },
  3057. {
  3058. "command": "gitlens.views.search.setFilesLayoutToTree",
  3059. "when": "false"
  3060. },
  3061. {
  3062. "command": "gitlens.views.search.setKeepResultsToOn",
  3063. "when": "false"
  3064. },
  3065. {
  3066. "command": "gitlens.views.search.setKeepResultsToOff",
  3067. "when": "false"
  3068. },
  3069. {
  3070. "command": "gitlens.views.dismissNode",
  3071. "when": "false"
  3072. },
  3073. {
  3074. "command": "gitlens.views.refreshNode",
  3075. "when": "false"
  3076. }
  3077. ],
  3078. "editor/context": [
  3079. {
  3080. "command": "gitlens.diffLineWithPrevious",
  3081. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3082. "group": "1_gitlens@1"
  3083. },
  3084. {
  3085. "command": "gitlens.diffLineWithWorking",
  3086. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3087. "group": "1_gitlens@2"
  3088. },
  3089. {
  3090. "command": "gitlens.openFileInRemote",
  3091. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3092. "group": "1_gitlens_1@1"
  3093. },
  3094. {
  3095. "command": "gitlens.openCommitInRemote",
  3096. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3097. "group": "1_gitlens_1@2"
  3098. },
  3099. {
  3100. "command": "gitlens.showQuickCommitFileDetails",
  3101. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  3102. "group": "1_gitlens_1@3"
  3103. },
  3104. {
  3105. "command": "gitlens.showQuickFileHistory",
  3106. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3107. "group": "3_gitlens@1"
  3108. },
  3109. {
  3110. "command": "gitlens.toggleFileBlame",
  3111. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  3112. "group": "3_gitlens@2"
  3113. },
  3114. {
  3115. "command": "gitlens.copyShaToClipboard",
  3116. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3117. "group": "9_gitlens@1"
  3118. },
  3119. {
  3120. "command": "gitlens.copyMessageToClipboard",
  3121. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3122. "group": "9_gitlens@2"
  3123. },
  3124. {
  3125. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3126. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  3127. "group": "9_gitlens@3"
  3128. }
  3129. ],
  3130. "editor/title": [
  3131. {
  3132. "command": "gitlens.diffWithWorking",
  3133. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3134. "group": "navigation@0"
  3135. },
  3136. {
  3137. "command": "gitlens.openWorkingFile",
  3138. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3139. "group": "navigation@0"
  3140. },
  3141. {
  3142. "command": "gitlens.openWorkingFile",
  3143. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  3144. "group": "navigation@0"
  3145. },
  3146. {
  3147. "command": "gitlens.openWorkingFile",
  3148. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  3149. "group": "navigation@0"
  3150. },
  3151. {
  3152. "command": "gitlens.diffWithPrevious",
  3153. "alt": "gitlens.diffWithRevision",
  3154. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3155. "group": "navigation@97"
  3156. },
  3157. {
  3158. "command": "gitlens.diffWithPreviousInDiff",
  3159. "alt": "gitlens.diffWithRevision",
  3160. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3161. "group": "navigation@97"
  3162. },
  3163. {
  3164. "command": "gitlens.showQuickRevisionDetails",
  3165. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  3166. "group": "navigation@98"
  3167. },
  3168. {
  3169. "command": "gitlens.diffWithNext",
  3170. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3171. "group": "navigation@99"
  3172. },
  3173. {
  3174. "command": "gitlens.toggleFileBlame",
  3175. "alt": "gitlens.toggleFileRecentChanges",
  3176. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  3177. "group": "navigation@100"
  3178. },
  3179. {
  3180. "command": "gitlens.computingFileAnnotations",
  3181. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  3182. "group": "navigation@100"
  3183. },
  3184. {
  3185. "command": "gitlens.clearFileAnnotations",
  3186. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  3187. "group": "navigation@100"
  3188. },
  3189. {
  3190. "command": "gitlens.openFileInRemote",
  3191. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  3192. "group": "4_gitlens"
  3193. },
  3194. {
  3195. "command": "gitlens.showQuickFileHistory",
  3196. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  3197. "group": "4_gitlens"
  3198. }
  3199. ],
  3200. "editor/title/context": [
  3201. {
  3202. "command": "gitlens.openFileInRemote",
  3203. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  3204. "group": "2_files@100"
  3205. },
  3206. {
  3207. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3208. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  3209. "group": "2_files@101"
  3210. },
  3211. {
  3212. "command": "gitlens.diffWithPrevious",
  3213. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3214. "group": "1_gitlens_1@1"
  3215. },
  3216. {
  3217. "command": "gitlens.diffWithWorking",
  3218. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3219. "group": "1_gitlens_1@2"
  3220. },
  3221. {
  3222. "command": "gitlens.showQuickFileHistory",
  3223. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3224. "group": "1_gitlens_2@1"
  3225. }
  3226. ],
  3227. "explorer/context": [
  3228. {
  3229. "command": "gitlens.openFileInRemote",
  3230. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3231. "group": "navigation@100"
  3232. },
  3233. {
  3234. "command": "gitlens.showQuickFileHistory",
  3235. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3236. "group": "1_gitlens_1@1"
  3237. },
  3238. {
  3239. "command": "gitlens.diffWithPrevious",
  3240. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3241. "group": "3_compare@1"
  3242. },
  3243. {
  3244. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3245. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3246. "group": "9_gitlens@1"
  3247. }
  3248. ],
  3249. "scm/resourceGroup/context": [
  3250. {
  3251. "command": "gitlens.openChangedFiles",
  3252. "when": "gitlens:enabled",
  3253. "group": "2_gitlens@1"
  3254. },
  3255. {
  3256. "command": "gitlens.closeUnchangedFiles",
  3257. "when": "gitlens:enabled",
  3258. "group": "2_gitlens@2"
  3259. },
  3260. {
  3261. "command": "gitlens.externalDiff",
  3262. "when": "gitlens:enabled",
  3263. "group": "2_gitlens@3"
  3264. },
  3265. {
  3266. "command": "gitlens.stashSave",
  3267. "when": "gitlens:enabled",
  3268. "group": "3_gitlens@1"
  3269. }
  3270. ],
  3271. "scm/resourceState/context": [
  3272. {
  3273. "command": "gitlens.openFileInRemote",
  3274. "when": "gitlens:enabled && gitlens:hasRemotes",
  3275. "group": "navigation"
  3276. },
  3277. {
  3278. "command": "gitlens.externalDiff",
  3279. "when": "gitlens:enabled",
  3280. "group": "navigation"
  3281. },
  3282. {
  3283. "command": "gitlens.diffWithRevision",
  3284. "when": "gitlens:enabled",
  3285. "group": "1_gitlens@1"
  3286. },
  3287. {
  3288. "command": "gitlens.diffWithBranch",
  3289. "when": "gitlens:enabled",
  3290. "group": "1_gitlens@2"
  3291. },
  3292. {
  3293. "command": "gitlens.showQuickFileHistory",
  3294. "when": "gitlens:enabled",
  3295. "group": "1_gitlens_1@1"
  3296. },
  3297. {
  3298. "command": "gitlens.stashSave",
  3299. "when": "gitlens:enabled",
  3300. "group": "2_gitlens@1"
  3301. },
  3302. {
  3303. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3304. "when": "gitlens:enabled && gitlens:hasRemotes",
  3305. "group": "9_gitlens@1"
  3306. }
  3307. ],
  3308. "view/title": [
  3309. {
  3310. "command": "gitlens.pushRepositories",
  3311. "when": "gitlens:enabled && view =~ /^gitlens\\.views\\.repositories:/",
  3312. "group": "navigation@6"
  3313. },
  3314. {
  3315. "command": "gitlens.pullRepositories",
  3316. "when": "gitlens:enabled && view =~ /^gitlens\\.views\\.repositories:/",
  3317. "group": "navigation@7"
  3318. },
  3319. {
  3320. "command": "gitlens.fetchRepositories",
  3321. "when": "gitlens:enabled && view =~ /^gitlens\\.views\\.repositories:/",
  3322. "group": "navigation@8"
  3323. },
  3324. {
  3325. "command": "gitlens.views.repositories.refresh",
  3326. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3327. "group": "navigation@98"
  3328. },
  3329. {
  3330. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3331. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3332. "group": "1_gitlens"
  3333. },
  3334. {
  3335. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3336. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3337. "group": "1_gitlens"
  3338. },
  3339. {
  3340. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3341. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3342. "group": "1_gitlens"
  3343. },
  3344. {
  3345. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3346. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  3347. "group": "2_gitlens"
  3348. },
  3349. {
  3350. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3351. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  3352. "group": "2_gitlens"
  3353. },
  3354. {
  3355. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3356. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
  3357. "group": "navigation@1"
  3358. },
  3359. {
  3360. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3361. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
  3362. "group": "navigation@1"
  3363. },
  3364. {
  3365. "command": "gitlens.views.fileHistory.changeBase",
  3366. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3367. "group": "navigation@2"
  3368. },
  3369. {
  3370. "command": "gitlens.views.fileHistory.refresh",
  3371. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3372. "group": "navigation@99"
  3373. },
  3374. {
  3375. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3376. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3377. "group": "1_gitlens"
  3378. },
  3379. {
  3380. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3381. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3382. "group": "1_gitlens"
  3383. },
  3384. {
  3385. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3386. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
  3387. "group": "navigation@1"
  3388. },
  3389. {
  3390. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3391. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
  3392. "group": "navigation@1"
  3393. },
  3394. {
  3395. "command": "gitlens.views.lineHistory.changeBase",
  3396. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3397. "group": "navigation@2"
  3398. },
  3399. {
  3400. "command": "gitlens.views.lineHistory.refresh",
  3401. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3402. "group": "navigation@99"
  3403. },
  3404. {
  3405. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3406. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3407. "group": "1_gitlens"
  3408. },
  3409. {
  3410. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3411. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3412. "group": "1_gitlens"
  3413. },
  3414. {
  3415. "command": "gitlens.views.compare.selectForCompare",
  3416. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3417. "group": "navigation@1"
  3418. },
  3419. {
  3420. "command": "gitlens.views.compare.clear",
  3421. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3422. "group": "navigation@2"
  3423. },
  3424. {
  3425. "command": "gitlens.views.compare.setKeepResultsToOn",
  3426. "when": "view =~ /^gitlens\\.views\\.compare:/ && !gitlens:views:compare:keepResults",
  3427. "group": "navigation@3"
  3428. },
  3429. {
  3430. "command": "gitlens.views.compare.setKeepResultsToOff",
  3431. "when": "view =~ /^gitlens\\.views\\.compare:/ && gitlens:views:compare:keepResults",
  3432. "group": "navigation@3"
  3433. },
  3434. {
  3435. "command": "gitlens.views.compare.refresh",
  3436. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3437. "group": "navigation@99"
  3438. },
  3439. {
  3440. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3441. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3442. "group": "1_gitlens"
  3443. },
  3444. {
  3445. "command": "gitlens.views.compare.setFilesLayoutToList",
  3446. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3447. "group": "1_gitlens"
  3448. },
  3449. {
  3450. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3451. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3452. "group": "1_gitlens"
  3453. },
  3454. {
  3455. "command": "gitlens.views.search.searchCommits",
  3456. "when": "view =~ /^gitlens\\.views\\.search:/",
  3457. "group": "navigation@1"
  3458. },
  3459. {
  3460. "command": "gitlens.views.search.clear",
  3461. "when": "view =~ /^gitlens\\.views\\.search:/",
  3462. "group": "navigation@2"
  3463. },
  3464. {
  3465. "command": "gitlens.views.search.setKeepResultsToOn",
  3466. "when": "view =~ /^gitlens\\.views\\.search:/ && !gitlens:views:search:keepResults",
  3467. "group": "navigation@3"
  3468. },
  3469. {
  3470. "command": "gitlens.views.search.setKeepResultsToOff",
  3471. "when": "view =~ /^gitlens\\.views\\.search:/ && gitlens:views:search:keepResults",
  3472. "group": "navigation@3"
  3473. },
  3474. {
  3475. "command": "gitlens.views.search.refresh",
  3476. "when": "view =~ /^gitlens\\.views\\.search:/",
  3477. "group": "navigation@99"
  3478. },
  3479. {
  3480. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3481. "when": "view =~ /^gitlens\\.views\\.search:/",
  3482. "group": "1_gitlens"
  3483. },
  3484. {
  3485. "command": "gitlens.views.search.setFilesLayoutToList",
  3486. "when": "view =~ /^gitlens\\.views\\.search:/",
  3487. "group": "1_gitlens"
  3488. },
  3489. {
  3490. "command": "gitlens.views.search.setFilesLayoutToTree",
  3491. "when": "view =~ /^gitlens\\.views\\.search:/",
  3492. "group": "1_gitlens"
  3493. },
  3494. {
  3495. "command": "gitlens.showSettingsPage",
  3496. "when": "view =~ /^gitlens\\.views\\..*:/",
  3497. "group": "9_gitlens"
  3498. }
  3499. ],
  3500. "view/item/context": [
  3501. {
  3502. "command": "gitlens.openBranchesInRemote",
  3503. "when": "viewItem == gitlens:branches:remotes",
  3504. "group": "inline@98"
  3505. },
  3506. {
  3507. "command": "gitlens.openBranchesInRemote",
  3508. "when": "viewItem == gitlens:branches:remotes",
  3509. "group": "1_gitlens@1"
  3510. },
  3511. {
  3512. "command": "gitlens.openBranchInRemote",
  3513. "when": "viewItem =~ /gitlens:branch\\b(.*?:tracking|:remote)/",
  3514. "group": "inline@98"
  3515. },
  3516. {
  3517. "command": "gitlens.openBranchInRemote",
  3518. "when": "viewItem =~ /gitlens:branch\\b(.*?:tracking|:remote)/",
  3519. "group": "1_gitlens@1"
  3520. },
  3521. {
  3522. "command": "gitlens.views.compareWithRemote",
  3523. "when": "viewItem =~ /gitlens:branch\\b.*?:tracking/",
  3524. "group": "inline@96"
  3525. },
  3526. {
  3527. "command": "gitlens.views.compareWithHead",
  3528. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3529. "group": "inline@97",
  3530. "alt": "gitlens.views.compareWithWorking"
  3531. },
  3532. {
  3533. "command": "gitlens.views.compareWithWorking",
  3534. "when": "viewItem =~ /gitlens:branch:current\\b/",
  3535. "group": "inline@97"
  3536. },
  3537. {
  3538. "command": "gitlens.views.compareWithRemote",
  3539. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3540. "group": "7_gitlens@1"
  3541. },
  3542. {
  3543. "command": "gitlens.views.compareWithHead",
  3544. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3545. "group": "7_gitlens@2"
  3546. },
  3547. {
  3548. "command": "gitlens.views.compareWithWorking",
  3549. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  3550. "group": "7_gitlens@3"
  3551. },
  3552. {
  3553. "command": "gitlens.views.compareAncestryWithWorking",
  3554. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3555. "group": "7_gitlens@4"
  3556. },
  3557. {
  3558. "command": "gitlens.views.compareWithSelected",
  3559. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  3560. "group": "7_gitlens_@1"
  3561. },
  3562. {
  3563. "command": "gitlens.views.selectForCompare",
  3564. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  3565. "group": "7_gitlens_@2"
  3566. },
  3567. {
  3568. "command": "gitlens.views.compareFileWithSelected",
  3569. "when": "viewItem =~ /gitlens:file:\\b/ && gitlens:views:canCompare:file",
  3570. "group": "7_gitlens_@1"
  3571. },
  3572. {
  3573. "command": "gitlens.views.selectFileForCompare",
  3574. "when": "viewItem =~ /gitlens:file:\\b/",
  3575. "group": "7_gitlens_@2"
  3576. },
  3577. {
  3578. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3579. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3580. "group": "7_gitlens_more@2"
  3581. },
  3582. {
  3583. "command": "gitlens.views.terminalCheckoutBranch",
  3584. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3585. "group": "8_gitlens@1"
  3586. },
  3587. {
  3588. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3589. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  3590. "group": "8_gitlens@1"
  3591. },
  3592. {
  3593. "command": "gitlens.views.terminalMergeBranch",
  3594. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3595. "group": "8_gitlens@2"
  3596. },
  3597. {
  3598. "command": "gitlens.views.terminalRebaseBranch",
  3599. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3600. "group": "8_gitlens@3"
  3601. },
  3602. {
  3603. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3604. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3605. "group": "8_gitlens@4"
  3606. },
  3607. {
  3608. "command": "gitlens.views.terminalCreateBranch",
  3609. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  3610. "group": "8_gitlens@5"
  3611. },
  3612. {
  3613. "command": "gitlens.views.terminalDeleteBranch",
  3614. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3615. "group": "8_gitlens@6"
  3616. },
  3617. {
  3618. "command": "gitlens.views.terminalCreateTag",
  3619. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  3620. "group": "8_gitlens@7"
  3621. },
  3622. {
  3623. "command": "gitlens.openCommitInRemote",
  3624. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3625. "group": "inline@98"
  3626. },
  3627. {
  3628. "command": "gitlens.openCommitInRemote",
  3629. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3630. "group": "1_gitlens@1"
  3631. },
  3632. {
  3633. "command": "gitlens.views.openChangedFileChanges",
  3634. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3635. "group": "2_gitlens@1"
  3636. },
  3637. {
  3638. "command": "gitlens.views.openChangedFileChangesWithWorking",
  3639. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3640. "group": "2_gitlens@2"
  3641. },
  3642. {
  3643. "command": "gitlens.views.openChangedFiles",
  3644. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3645. "group": "3_gitlens@1"
  3646. },
  3647. {
  3648. "command": "gitlens.views.openChangedFileRevisions",
  3649. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3650. "group": "3_gitlens@2"
  3651. },
  3652. {
  3653. "command": "gitlens.copyShaToClipboard",
  3654. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3655. "group": "inline@98",
  3656. "alt": "gitlens.copyMessageToClipboard"
  3657. },
  3658. {
  3659. "command": "gitlens.copyShaToClipboard",
  3660. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3661. "group": "5_gitlens@1"
  3662. },
  3663. {
  3664. "command": "gitlens.copyMessageToClipboard",
  3665. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3666. "group": "5_gitlens@2"
  3667. },
  3668. {
  3669. "command": "gitlens.showQuickCommitDetails",
  3670. "when": "viewItem =~ /gitlens:commit\\b/",
  3671. "group": "5_gitlens_1@1"
  3672. },
  3673. {
  3674. "command": "gitlens.showCommitInView",
  3675. "when": "viewItem =~ /gitlens:commit\\b/",
  3676. "group": "5_gitlens_1@2"
  3677. },
  3678. {
  3679. "command": "gitlens.views.terminalCherryPickCommit",
  3680. "when": "viewItem == gitlens:commit",
  3681. "group": "8_gitlens@1"
  3682. },
  3683. {
  3684. "command": "gitlens.views.terminalPushCommit",
  3685. "when": "viewItem == gitlens:commit:current",
  3686. "group": "8_gitlens@2"
  3687. },
  3688. {
  3689. "command": "gitlens.views.terminalRevertCommit",
  3690. "when": "viewItem == gitlens:commit:current",
  3691. "group": "8_gitlens@3"
  3692. },
  3693. {
  3694. "command": "gitlens.views.terminalCheckoutCommit",
  3695. "when": "viewItem =~ /gitlens:commit\\b/",
  3696. "group": "8_gitlens@4"
  3697. },
  3698. {
  3699. "command": "gitlens.views.terminalRebaseCommit",
  3700. "when": "viewItem =~ /gitlens:commit\\b/",
  3701. "group": "8_gitlens@5"
  3702. },
  3703. {
  3704. "command": "gitlens.views.terminalResetCommit",
  3705. "when": "viewItem =~ /gitlens:commit\\b/",
  3706. "group": "8_gitlens@6"
  3707. },
  3708. {
  3709. "command": "gitlens.views.openFile",
  3710. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  3711. "group": "inline@1"
  3712. },
  3713. {
  3714. "command": "gitlens.views.stageFile",
  3715. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3716. "group": "inline@1"
  3717. },
  3718. {
  3719. "command": "gitlens.views.unstageFile",
  3720. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3721. "group": "inline@1"
  3722. },
  3723. {
  3724. "command": "gitlens.views.stageFile",
  3725. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3726. "group": "1_gitlens@1"
  3727. },
  3728. {
  3729. "command": "gitlens.views.unstageFile",
  3730. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3731. "group": "1_gitlens@1"
  3732. },
  3733. {
  3734. "command": "gitlens.stashSave",
  3735. "when": "viewItem =~ /gitlens:file\\b.*:(un)?staged\\b/",
  3736. "group": "1_gitlens@2"
  3737. },
  3738. {
  3739. "command": "gitlens.views.openChanges",
  3740. "when": "viewItem =~ /gitlens:file\\b/",
  3741. "group": "2_gitlens@1"
  3742. },
  3743. {
  3744. "command": "gitlens.externalDiff",
  3745. "when": "viewItem =~ /gitlens:file\\b/",
  3746. "group": "2_gitlens@2"
  3747. },
  3748. {
  3749. "command": "gitlens.views.openChangesWithWorking",
  3750. "when": "viewItem =~ /gitlens:file\\b/",
  3751. "group": "2_gitlens@3"
  3752. },
  3753. {
  3754. "command": "gitlens.views.openFile",
  3755. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  3756. "group": "3_gitlens@1"
  3757. },
  3758. {
  3759. "command": "gitlens.views.openFileRevision",
  3760. "when": "viewItem =~ /gitlens:file\\b/",
  3761. "group": "3_gitlens@2"
  3762. },
  3763. {
  3764. "command": "gitlens.openFileInRemote",
  3765. "when": "viewItem =~ /gitlens:(file(?!:(un)?staged)|history:(file|line))\\b/ && gitlens:hasRemotes",
  3766. "group": "inline@99",
  3767. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  3768. },
  3769. {
  3770. "command": "gitlens.openFileInRemote",
  3771. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3772. "group": "4_gitlens@1"
  3773. },
  3774. {
  3775. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3776. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  3777. "group": "5_gitlens@3"
  3778. },
  3779. {
  3780. "command": "gitlens.views.openFileRevisionInRemote",
  3781. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3782. "group": "4_gitlens@2"
  3783. },
  3784. {
  3785. "command": "gitlens.openFileInRemote",
  3786. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  3787. "group": "3_gitlens@2"
  3788. },
  3789. {
  3790. "command": "gitlens.views.applyChanges",
  3791. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  3792. "group": "5_gitlens_1@1"
  3793. },
  3794. {
  3795. "command": "gitlens.views.applyChanges",
  3796. "when": "viewItem == gitlens:file:stash",
  3797. "group": "1_gitlens@1"
  3798. },
  3799. {
  3800. "command": "gitlens.showQuickCommitDetails",
  3801. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3802. "group": "5_gitlens_2@2"
  3803. },
  3804. {
  3805. "command": "gitlens.showCommitInView",
  3806. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3807. "group": "5_gitlens_2@3"
  3808. },
  3809. {
  3810. "command": "gitlens.showQuickFileHistory",
  3811. "when": "viewItem =~ /gitlens:file\\b/",
  3812. "group": "8_gitlens@1"
  3813. },
  3814. {
  3815. "command": "gitlens.showFileHistoryInView",
  3816. "when": "viewItem =~ /gitlens:file\\b/",
  3817. "group": "8_gitlens@2"
  3818. },
  3819. {
  3820. "command": "gitlens.views.fetch",
  3821. "when": "viewItem == gitlens:remote",
  3822. "group": "inline@97"
  3823. },
  3824. {
  3825. "command": "gitlens.openRepoInRemote",
  3826. "when": "viewItem == gitlens:remote",
  3827. "group": "inline@98"
  3828. },
  3829. {
  3830. "command": "gitlens.openRepoInRemote",
  3831. "when": "viewItem == gitlens:remote",
  3832. "group": "1_gitlens@1"
  3833. },
  3834. {
  3835. "command": "gitlens.openBranchesInRemote",
  3836. "when": "viewItem == gitlens:remote",
  3837. "group": "1_gitlens@2"
  3838. },
  3839. {
  3840. "command": "gitlens.views.fetch",
  3841. "when": "viewItem == gitlens:remote",
  3842. "group": "2_gitlens@1"
  3843. },
  3844. {
  3845. "command": "gitlens.views.terminalRemoveRemote",
  3846. "when": "viewItem == gitlens:remote",
  3847. "group": "8_gitlens@1"
  3848. },
  3849. {
  3850. "command": "gitlens.views.exploreRepoRevision",
  3851. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  3852. "group": "7_gitlens_more@1"
  3853. },
  3854. {
  3855. "command": "gitlens.showCommitSearch",
  3856. "when": "viewItem == gitlens:repository",
  3857. "group": "inline@1"
  3858. },
  3859. {
  3860. "command": "gitlens.views.push",
  3861. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3862. "group": "inline@97",
  3863. "alt": "gitlens.views.pushWithForce"
  3864. },
  3865. {
  3866. "command": "gitlens.views.pull",
  3867. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3868. "group": "inline@98"
  3869. },
  3870. {
  3871. "command": "gitlens.views.fetch",
  3872. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3873. "group": "inline@99"
  3874. },
  3875. {
  3876. "command": "gitlens.views.fetch",
  3877. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3878. "group": "1_gitlens@1"
  3879. },
  3880. {
  3881. "command": "gitlens.views.pull",
  3882. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3883. "group": "1_gitlens@1"
  3884. },
  3885. {
  3886. "command": "gitlens.views.push",
  3887. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3888. "group": "1_gitlens@1"
  3889. },
  3890. {
  3891. "command": "gitlens.views.pushWithForce",
  3892. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3893. "group": "1_gitlens@2"
  3894. },
  3895. {
  3896. "command": "gitlens.views.pull",
  3897. "when": "viewItem == gitlens:status:upstream:behind && gitlens:hasRemotes",
  3898. "group": "inline@1"
  3899. },
  3900. {
  3901. "command": "gitlens.views.pull",
  3902. "when": "viewItem == gitlens:status:upstream:behind && gitlens:hasRemotes",
  3903. "group": "1_gitlens@1"
  3904. },
  3905. {
  3906. "command": "gitlens.views.push",
  3907. "when": "viewItem == gitlens:status:upstream:ahead && gitlens:hasRemotes",
  3908. "group": "inline@1",
  3909. "alt": "gitlens.views.pushWithForce"
  3910. },
  3911. {
  3912. "command": "gitlens.views.push",
  3913. "when": "viewItem == gitlens:status:upstream:ahead && gitlens:hasRemotes",
  3914. "group": "1_gitlens@1"
  3915. },
  3916. {
  3917. "command": "gitlens.views.pushWithForce",
  3918. "when": "viewItem == gitlens:status:upstream:ahead && gitlens:hasRemotes",
  3919. "group": "1_gitlens@2"
  3920. },
  3921. {
  3922. "command": "gitlens.showCommitSearch",
  3923. "when": "viewItem == gitlens:repository",
  3924. "group": "2_gitlens@1"
  3925. },
  3926. {
  3927. "command": "gitlens.stashSave",
  3928. "when": "viewItem == gitlens:repository",
  3929. "group": "3_gitlens@1"
  3930. },
  3931. {
  3932. "command": "gitlens.stashApply",
  3933. "when": "viewItem == gitlens:repository",
  3934. "group": "3_gitlens@2"
  3935. },
  3936. {
  3937. "command": "gitlens.openRepoInRemote",
  3938. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3939. "group": "4_gitlens@1"
  3940. },
  3941. {
  3942. "command": "gitlens.views.closeRepository",
  3943. "when": "viewItem == gitlens:repository",
  3944. "group": "8_gitlens@1"
  3945. },
  3946. {
  3947. "command": "gitlens.views.compare.swapComparision",
  3948. "when": "viewItem == gitlens:compare:results",
  3949. "group": "inline@1"
  3950. },
  3951. {
  3952. "command": "gitlens.views.dismissNode",
  3953. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare|search)\\b(?!:(commits|files))/",
  3954. "group": "inline@2"
  3955. },
  3956. {
  3957. "command": "gitlens.views.dismissNode",
  3958. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare|search)\\b(?!:(commits|files))/",
  3959. "group": "1_gitlens@1"
  3960. },
  3961. {
  3962. "command": "gitlens.views.compare.swapComparision",
  3963. "when": "viewItem == gitlens:compare:results",
  3964. "group": "2_gitlens@1"
  3965. },
  3966. {
  3967. "command": "gitlens.views.openDirectoryDiff",
  3968. "when": "viewItem == gitlens:compare:results",
  3969. "group": "7_gitlens@1"
  3970. },
  3971. {
  3972. "command": "gitlens.stashApply",
  3973. "when": "viewItem == gitlens:stashes",
  3974. "group": "inline@1"
  3975. },
  3976. {
  3977. "command": "gitlens.stashSave",
  3978. "when": "viewItem =~ /^gitlens:(stashes|status:files)$/",
  3979. "group": "inline@2"
  3980. },
  3981. {
  3982. "command": "gitlens.stashSave",
  3983. "when": "viewItem =~ /^gitlens:(stashes|status:files)$/",
  3984. "group": "1_gitlens@1"
  3985. },
  3986. {
  3987. "command": "gitlens.stashApply",
  3988. "when": "viewItem == gitlens:stashes",
  3989. "group": "1_gitlens@2"
  3990. },
  3991. {
  3992. "command": "gitlens.stashApply",
  3993. "when": "viewItem == gitlens:stash",
  3994. "group": "inline@1"
  3995. },
  3996. {
  3997. "command": "gitlens.stashApply",
  3998. "when": "viewItem == gitlens:stash",
  3999. "group": "1_gitlens@1"
  4000. },
  4001. {
  4002. "command": "gitlens.stashDelete",
  4003. "when": "viewItem == gitlens:stash",
  4004. "group": "1_gitlens@2"
  4005. },
  4006. {
  4007. "command": "gitlens.views.terminalDeleteTag",
  4008. "when": "viewItem == gitlens:tag",
  4009. "group": "8_gitlens"
  4010. },
  4011. {
  4012. "command": "gitlens.views.refreshNode",
  4013. "when": "view =~ /^gitlens\\.views\\./ && viewItem =~ /gitlens:(?!file\\b)/",
  4014. "group": "9_gitlens@1"
  4015. }
  4016. ]
  4017. },
  4018. "keybindings": [
  4019. {
  4020. "command": "gitlens.key.left",
  4021. "key": "alt+left",
  4022. "when": "gitlens:key:left"
  4023. },
  4024. {
  4025. "command": "gitlens.key.right",
  4026. "key": "alt+right",
  4027. "when": "gitlens:key:right"
  4028. },
  4029. {
  4030. "command": "gitlens.key.,",
  4031. "key": "alt+,",
  4032. "when": "gitlens:key:,"
  4033. },
  4034. {
  4035. "command": "gitlens.key..",
  4036. "key": "alt+.",
  4037. "when": "gitlens:key:."
  4038. },
  4039. {
  4040. "command": "gitlens.key.escape",
  4041. "key": "escape",
  4042. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  4043. },
  4044. {
  4045. "command": "gitlens.toggleFileBlame",
  4046. "key": "alt+b",
  4047. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4048. },
  4049. {
  4050. "command": "gitlens.toggleCodeLens",
  4051. "key": "shift+alt+b",
  4052. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4053. },
  4054. {
  4055. "command": "gitlens.showLastQuickPick",
  4056. "key": "alt+-",
  4057. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4058. },
  4059. {
  4060. "command": "gitlens.showCommitSearch",
  4061. "key": "alt+/",
  4062. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4063. },
  4064. {
  4065. "command": "gitlens.showQuickFileHistory",
  4066. "key": "alt+h",
  4067. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4068. },
  4069. {
  4070. "command": "gitlens.showQuickRepoHistory",
  4071. "key": "shift+alt+h",
  4072. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4073. },
  4074. {
  4075. "command": "gitlens.showQuickRepoStatus",
  4076. "key": "alt+s",
  4077. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4078. },
  4079. {
  4080. "command": "gitlens.showQuickCommitFileDetails",
  4081. "key": "alt+c",
  4082. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
  4083. },
  4084. {
  4085. "command": "gitlens.diffWithNext",
  4086. "key": "alt+.",
  4087. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4088. },
  4089. {
  4090. "command": "gitlens.diffLineWithPrevious",
  4091. "key": "shift+alt+,",
  4092. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4093. },
  4094. {
  4095. "command": "gitlens.diffWithPrevious",
  4096. "key": "alt+,",
  4097. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4098. },
  4099. {
  4100. "command": "gitlens.diffWithPreviousInDiff",
  4101. "key": "alt+,",
  4102. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4103. },
  4104. {
  4105. "command": "gitlens.diffLineWithWorking",
  4106. "key": "alt+w",
  4107. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4108. },
  4109. {
  4110. "command": "gitlens.diffWithWorking",
  4111. "key": "shift+alt+w",
  4112. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4113. },
  4114. {
  4115. "command": "gitlens.toggleFileBlame",
  4116. "key": "ctrl+shift+g b",
  4117. "mac": "cmd+alt+g b",
  4118. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4119. },
  4120. {
  4121. "command": "gitlens.toggleCodeLens",
  4122. "key": "ctrl+shift+g shift+b",
  4123. "mac": "cmd+alt+g shift+b",
  4124. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4125. },
  4126. {
  4127. "command": "gitlens.showLastQuickPick",
  4128. "key": "ctrl+shift+g -",
  4129. "mac": "cmd+alt+g -",
  4130. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4131. },
  4132. {
  4133. "command": "gitlens.showCommitSearch",
  4134. "key": "ctrl+shift+g /",
  4135. "mac": "cmd+alt+g /",
  4136. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4137. },
  4138. {
  4139. "command": "gitlens.showQuickFileHistory",
  4140. "key": "ctrl+shift+g h",
  4141. "mac": "cmd+alt+g h",
  4142. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4143. },
  4144. {
  4145. "command": "gitlens.showQuickRepoHistory",
  4146. "key": "ctrl+shift+g shift+h",
  4147. "mac": "cmd+alt+g shift+h",
  4148. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4149. },
  4150. {
  4151. "command": "gitlens.showQuickRepoStatus",
  4152. "key": "ctrl+shift+g s",
  4153. "mac": "cmd+alt+g s",
  4154. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4155. },
  4156. {
  4157. "command": "gitlens.showQuickCommitFileDetails",
  4158. "key": "ctrl+shift+g c",
  4159. "mac": "cmd+alt+g c",
  4160. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
  4161. },
  4162. {
  4163. "command": "gitlens.diffWithNext",
  4164. "key": "ctrl+shift+g .",
  4165. "mac": "cmd+alt+g .",
  4166. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4167. },
  4168. {
  4169. "command": "gitlens.diffLineWithPrevious",
  4170. "key": "ctrl+shift+g shift+,",
  4171. "mac": "cmd+alt+g shift+,",
  4172. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4173. },
  4174. {
  4175. "command": "gitlens.diffWithPrevious",
  4176. "key": "ctrl+shift+g ,",
  4177. "mac": "cmd+alt+g ,",
  4178. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4179. },
  4180. {
  4181. "command": "gitlens.diffWithPreviousInDiff",
  4182. "key": "ctrl+shift+g ,",
  4183. "mac": "cmd+alt+g ,",
  4184. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4185. },
  4186. {
  4187. "command": "gitlens.diffLineWithWorking",
  4188. "key": "ctrl+shift+g w",
  4189. "mac": "cmd+alt+g w",
  4190. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4191. },
  4192. {
  4193. "command": "gitlens.diffWithWorking",
  4194. "key": "ctrl+shift+g shift+w",
  4195. "mac": "cmd+alt+g shift+w",
  4196. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4197. },
  4198. {
  4199. "command": "workbench.view.scm",
  4200. "key": "ctrl+shift+g g",
  4201. "mac": "ctrl+shift+g",
  4202. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4203. }
  4204. ],
  4205. "viewsContainers": {
  4206. "activitybar": [
  4207. {
  4208. "id": "gitlens",
  4209. "title": "GitLens",
  4210. "icon": "images/gitlens-activitybar.svg"
  4211. }
  4212. ]
  4213. },
  4214. "views": {
  4215. "gitlens": [
  4216. {
  4217. "id": "gitlens.views.repositories:gitlens",
  4218. "name": "Repositories",
  4219. "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
  4220. },
  4221. {
  4222. "id": "gitlens.views.fileHistory:gitlens",
  4223. "name": "File History",
  4224. "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
  4225. },
  4226. {
  4227. "id": "gitlens.views.lineHistory:gitlens",
  4228. "name": "Line History",
  4229. "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
  4230. },
  4231. {
  4232. "id": "gitlens.views.compare:gitlens",
  4233. "name": "Compare",
  4234. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
  4235. },
  4236. {
  4237. "id": "gitlens.views.search:gitlens",
  4238. "name": "Search Commits",
  4239. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
  4240. }
  4241. ],
  4242. "explorer": [
  4243. {
  4244. "id": "gitlens.views.repositories:explorer",
  4245. "name": "GitLens: Repositories",
  4246. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
  4247. },
  4248. {
  4249. "id": "gitlens.views.fileHistory:explorer",
  4250. "name": "GitLens: File History",
  4251. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
  4252. },
  4253. {
  4254. "id": "gitlens.views.lineHistory:explorer",
  4255. "name": "GitLens: Line History",
  4256. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
  4257. },
  4258. {
  4259. "id": "gitlens.views.compare:explorer",
  4260. "name": "GitLens: Compare",
  4261. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
  4262. },
  4263. {
  4264. "id": "gitlens.views.search:explorer",
  4265. "name": "GitLens: Search Commits",
  4266. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
  4267. }
  4268. ],
  4269. "scm": [
  4270. {
  4271. "id": "gitlens.views.repositories:scm",
  4272. "name": "GitLens: Repositories",
  4273. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
  4274. },
  4275. {
  4276. "id": "gitlens.views.fileHistory:scm",
  4277. "name": "GitLens: File History",
  4278. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
  4279. },
  4280. {
  4281. "id": "gitlens.views.lineHistory:scm",
  4282. "name": "GitLens: Line History",
  4283. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
  4284. },
  4285. {
  4286. "id": "gitlens.views.compare:scm",
  4287. "name": "GitLens: Compare",
  4288. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
  4289. },
  4290. {
  4291. "id": "gitlens.views.search:scm",
  4292. "name": "GitLens: Search Commits",
  4293. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
  4294. }
  4295. ]
  4296. }
  4297. },
  4298. "scripts": {
  4299. "build": "webpack --env.development",
  4300. "bundle": "webpack --env.production",
  4301. "clean": "git clean -Xdf -e !.cache-images",
  4302. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  4303. "pack": "vsce package",
  4304. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  4305. "pub": "vsce publish",
  4306. "rebuild": "npm run reset && npm run build",
  4307. "reset": "npm run clean && npm install --no-save",
  4308. "watch": "webpack --watch --env.development --info-verbosity verbose",
  4309. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  4310. "ui:watch": "webpack --watch --config-name ui --env.development --info-verbosity verbose",
  4311. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  4312. "postinstall": "node ./node_modules/vscode/bin/install",
  4313. "vscode:prepublish": "npm run reset && npm run bundle"
  4314. },
  4315. "dependencies": {
  4316. "clipboardy": "1.2.3",
  4317. "date-fns": "1.29.0",
  4318. "iconv-lite": "0.4.24",
  4319. "lodash-es": "4.17.11",
  4320. "tslib": "1.9.3"
  4321. },
  4322. "devDependencies": {
  4323. "@types/clipboardy": "1.1.0",
  4324. "@types/lodash-es": "4.17.1",
  4325. "@types/node": "8.10.37",
  4326. "clean-webpack-plugin": "0.1.19",
  4327. "css-loader": "1.0.1",
  4328. "filemanager-webpack-plugin": "2.0.5",
  4329. "html-webpack-inline-source-plugin": "0.0.10",
  4330. "html-webpack-plugin": "3.2.0",
  4331. "imagemin-webpack-plugin": "2.3.0",
  4332. "mini-css-extract-plugin": "0.4.4",
  4333. "node-sass": "4.10.0",
  4334. "prettier": "1.15.2",
  4335. "prettier-tslint": "0.4.0",
  4336. "sass-loader": "7.1.0",
  4337. "size-plugin": "1.0.1",
  4338. "terser-webpack-plugin": "1.1.0",
  4339. "tslint": "5.11.0",
  4340. "tslint-loader": "3.5.4",
  4341. "tslint-prettiest": "0.0.1",
  4342. "ts-loader": "5.3.0",
  4343. "typescript": "3.1.6",
  4344. "vsce": "1.53.0",
  4345. "vscode": "1.1.21",
  4346. "webpack": "4.25.1",
  4347. "webpack-cli": "3.1.2",
  4348. "webpack-deep-scope-plugin": "1.6.0"
  4349. }
  4350. }