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

4418 lines
192 KiB

6 years ago
6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
  5. "version": "9.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. "suppressSupportGitLensNotification": false
  1453. },
  1454. "properties": {
  1455. "suppressCommitHasNoPreviousCommitWarning": {
  1456. "type": "boolean",
  1457. "default": false
  1458. },
  1459. "suppressCommitNotFoundWarning": {
  1460. "type": "boolean",
  1461. "default": false
  1462. },
  1463. "suppressFileNotUnderSourceControlWarning": {
  1464. "type": "boolean",
  1465. "default": false
  1466. },
  1467. "suppressGitDisabledWarning": {
  1468. "type": "boolean",
  1469. "default": false
  1470. },
  1471. "suppressGitVersionWarning": {
  1472. "type": "boolean",
  1473. "default": false
  1474. },
  1475. "suppressLineUncommittedWarning": {
  1476. "type": "boolean",
  1477. "default": false
  1478. },
  1479. "suppressNoRepositoryWarning": {
  1480. "type": "boolean",
  1481. "default": false
  1482. },
  1483. "suppressShowKeyBindingsNotice": {
  1484. "type": "boolean",
  1485. "default": false
  1486. },
  1487. "suppressSupportGitLensNotification": {
  1488. "type": "boolean",
  1489. "default": false
  1490. }
  1491. },
  1492. "description": "Specifies which messages should be suppressed",
  1493. "scope": "window"
  1494. },
  1495. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1496. "type": "boolean",
  1497. "default": true,
  1498. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1499. "scope": "window"
  1500. },
  1501. "gitlens.advanced.repositorySearchDepth": {
  1502. "type": "number",
  1503. "default": 1,
  1504. "description": "Specifies how many folders deep to search for repositories",
  1505. "scope": "resource"
  1506. },
  1507. "gitlens.advanced.telemetry.enabled": {
  1508. "type": "boolean",
  1509. "default": true,
  1510. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1511. "scope": "window"
  1512. }
  1513. }
  1514. },
  1515. "colors": [
  1516. {
  1517. "id": "gitlens.gutterBackgroundColor",
  1518. "description": "Specifies the background color of the gutter blame annotations",
  1519. "defaults": {
  1520. "dark": "#FFFFFF13",
  1521. "light": "#0000000C",
  1522. "highContrast": "#FFFFFF13"
  1523. }
  1524. },
  1525. {
  1526. "id": "gitlens.gutterForegroundColor",
  1527. "description": "Specifies the foreground color of the gutter blame annotations",
  1528. "defaults": {
  1529. "dark": "#BEBEBE",
  1530. "light": "#747474",
  1531. "highContrast": "#BEBEBE"
  1532. }
  1533. },
  1534. {
  1535. "id": "gitlens.gutterUncommittedForegroundColor",
  1536. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1537. "defaults": {
  1538. "dark": "#00BCF299",
  1539. "light": "#00BCF299",
  1540. "highContrast": "#00BCF2FF"
  1541. }
  1542. },
  1543. {
  1544. "id": "gitlens.trailingLineBackgroundColor",
  1545. "description": "Specifies the background color of the blame annotation for the current line",
  1546. "defaults": {
  1547. "dark": "#00000000",
  1548. "light": "#00000000",
  1549. "highContrast": "#00000000"
  1550. }
  1551. },
  1552. {
  1553. "id": "gitlens.trailingLineForegroundColor",
  1554. "description": "Specifies the foreground color of the blame annotation for the current line",
  1555. "defaults": {
  1556. "dark": "#99999959",
  1557. "light": "#99999959",
  1558. "highContrast": "#99999999"
  1559. }
  1560. },
  1561. {
  1562. "id": "gitlens.lineHighlightBackgroundColor",
  1563. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1564. "defaults": {
  1565. "dark": "#00BCF233",
  1566. "light": "#00BCF233",
  1567. "highContrast": "#00BCF233"
  1568. }
  1569. },
  1570. {
  1571. "id": "gitlens.lineHighlightOverviewRulerColor",
  1572. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1573. "defaults": {
  1574. "dark": "#00BCF299",
  1575. "light": "#00BCF299",
  1576. "highContrast": "#00BCF299"
  1577. }
  1578. }
  1579. ],
  1580. "commands": [
  1581. {
  1582. "command": "gitlens.supportGitLens",
  1583. "title": "Support GitLens ❤",
  1584. "category": "GitLens",
  1585. "icon": {
  1586. "dark": "images/dark/icon-heart.svg",
  1587. "light": "images/light/icon-heart.svg"
  1588. }
  1589. },
  1590. {
  1591. "command": "gitlens.showSettingsPage",
  1592. "title": "Open Settings",
  1593. "category": "GitLens",
  1594. "icon": {
  1595. "dark": "images/dark/icon-gear.svg",
  1596. "light": "images/light/icon-gear.svg"
  1597. }
  1598. },
  1599. {
  1600. "command": "gitlens.showWelcomePage",
  1601. "title": "Welcome",
  1602. "category": "GitLens"
  1603. },
  1604. {
  1605. "command": "gitlens.showCompareView",
  1606. "title": "Show Compare View",
  1607. "category": "GitLens"
  1608. },
  1609. {
  1610. "command": "gitlens.showFileHistoryView",
  1611. "title": "Show File History View",
  1612. "category": "GitLens"
  1613. },
  1614. {
  1615. "command": "gitlens.showLineHistoryView",
  1616. "title": "Show Line History View",
  1617. "category": "GitLens"
  1618. },
  1619. {
  1620. "command": "gitlens.showRepositoriesView",
  1621. "title": "Show Repositories View",
  1622. "category": "GitLens"
  1623. },
  1624. {
  1625. "command": "gitlens.showSearchView",
  1626. "title": "Show Search Commits View",
  1627. "category": "GitLens"
  1628. },
  1629. {
  1630. "command": "gitlens.diffDirectory",
  1631. "title": "Directory Compare Working Tree with...",
  1632. "category": "GitLens"
  1633. },
  1634. {
  1635. "command": "gitlens.diffHeadWithBranch",
  1636. "title": "Compare HEAD with Branch or Tag...",
  1637. "category": "GitLens"
  1638. },
  1639. {
  1640. "command": "gitlens.diffWorkingWithBranch",
  1641. "title": "Compare Working Tree with Branch or Tag...",
  1642. "category": "GitLens"
  1643. },
  1644. {
  1645. "command": "gitlens.diffWithBranch",
  1646. "title": "Open Changes with Branch or Tag...",
  1647. "category": "GitLens"
  1648. },
  1649. {
  1650. "command": "gitlens.diffWithNext",
  1651. "title": "Open Changes with Next Revision",
  1652. "category": "GitLens",
  1653. "icon": {
  1654. "dark": "images/dark/icon-next-commit.svg",
  1655. "light": "images/light/icon-next-commit.svg"
  1656. }
  1657. },
  1658. {
  1659. "command": "gitlens.diffWithPrevious",
  1660. "title": "Open Changes with Previous Revision",
  1661. "category": "GitLens",
  1662. "icon": {
  1663. "dark": "images/dark/icon-prev-commit.svg",
  1664. "light": "images/light/icon-prev-commit.svg"
  1665. }
  1666. },
  1667. {
  1668. "command": "gitlens.diffWithPreviousInDiff",
  1669. "title": "Open Changes with Previous Revision",
  1670. "category": "GitLens",
  1671. "icon": {
  1672. "dark": "images/dark/icon-prev-commit.svg",
  1673. "light": "images/light/icon-prev-commit.svg"
  1674. }
  1675. },
  1676. {
  1677. "command": "gitlens.diffLineWithPrevious",
  1678. "title": "Open Line Changes with Previous Revision",
  1679. "category": "GitLens"
  1680. },
  1681. {
  1682. "command": "gitlens.diffWithRevision",
  1683. "title": "Open Changes with Revision...",
  1684. "category": "GitLens",
  1685. "icon": {
  1686. "dark": "images/dark/icon-prev-commit-menu.svg",
  1687. "light": "images/light/icon-prev-commit-menu.svg"
  1688. }
  1689. },
  1690. {
  1691. "command": "gitlens.diffWithWorking",
  1692. "title": "Open Changes with Working File",
  1693. "category": "GitLens",
  1694. "icon": {
  1695. "dark": "images/dark/icon-compare.svg",
  1696. "light": "images/light/icon-compare.svg"
  1697. }
  1698. },
  1699. {
  1700. "command": "gitlens.diffLineWithWorking",
  1701. "title": "Open Line Changes with Working File",
  1702. "category": "GitLens"
  1703. },
  1704. {
  1705. "command": "gitlens.toggleFileBlame",
  1706. "title": "Toggle File Blame Annotations",
  1707. "category": "GitLens",
  1708. "icon": {
  1709. "dark": "images/dark/icon-git.svg",
  1710. "light": "images/light/icon-git.svg"
  1711. }
  1712. },
  1713. {
  1714. "command": "gitlens.clearFileAnnotations",
  1715. "title": "Clear File Annotations",
  1716. "category": "GitLens",
  1717. "icon": {
  1718. "dark": "images/dark/icon-git-orange.svg",
  1719. "light": "images/light/icon-git-orange.svg"
  1720. }
  1721. },
  1722. {
  1723. "command": "gitlens.computingFileAnnotations",
  1724. "title": "Computing File Annotations...",
  1725. "category": "GitLens",
  1726. "icon": {
  1727. "dark": "images/dark/icon-git-progress.svg",
  1728. "light": "images/light/icon-git-progress.svg"
  1729. }
  1730. },
  1731. {
  1732. "command": "gitlens.toggleFileHeatmap",
  1733. "title": "Toggle File Heatmap Annotations",
  1734. "category": "GitLens"
  1735. },
  1736. {
  1737. "command": "gitlens.toggleFileRecentChanges",
  1738. "title": "Toggle Recent File Changes Annotations",
  1739. "category": "GitLens",
  1740. "icon": {
  1741. "dark": "images/dark/icon-git.svg",
  1742. "light": "images/light/icon-git.svg"
  1743. }
  1744. },
  1745. {
  1746. "command": "gitlens.toggleLineBlame",
  1747. "title": "Toggle Line Blame Annotations",
  1748. "category": "GitLens"
  1749. },
  1750. {
  1751. "command": "gitlens.toggleCodeLens",
  1752. "title": "Toggle Git Code Lens",
  1753. "category": "GitLens"
  1754. },
  1755. {
  1756. "command": "gitlens.switchMode",
  1757. "title": "Switch Mode",
  1758. "category": "GitLens"
  1759. },
  1760. {
  1761. "command": "gitlens.toggleReviewMode",
  1762. "title": "Toggle Review Mode",
  1763. "category": "GitLens"
  1764. },
  1765. {
  1766. "command": "gitlens.toggleZenMode",
  1767. "title": "Toggle Zen Mode",
  1768. "category": "GitLens"
  1769. },
  1770. {
  1771. "command": "gitlens.showCommitSearch",
  1772. "title": "Search Commits",
  1773. "category": "GitLens",
  1774. "icon": {
  1775. "dark": "images/dark/icon-search.svg",
  1776. "light": "images/light/icon-search.svg"
  1777. }
  1778. },
  1779. {
  1780. "command": "gitlens.showLastQuickPick",
  1781. "title": "Show Last Opened Quick Pick",
  1782. "category": "GitLens"
  1783. },
  1784. {
  1785. "command": "gitlens.showCommitInView",
  1786. "title": "Show Commit in View",
  1787. "category": "GitLens"
  1788. },
  1789. {
  1790. "command": "gitlens.showFileHistoryInView",
  1791. "title": "Show File History in View",
  1792. "category": "GitLens"
  1793. },
  1794. {
  1795. "command": "gitlens.showQuickCommitDetails",
  1796. "title": "Show Commit Details",
  1797. "category": "GitLens"
  1798. },
  1799. {
  1800. "command": "gitlens.showQuickCommitFileDetails",
  1801. "title": "Show Commit Details",
  1802. "category": "GitLens"
  1803. },
  1804. {
  1805. "command": "gitlens.showQuickRevisionDetails",
  1806. "title": "Show Revision Details",
  1807. "category": "GitLens",
  1808. "icon": {
  1809. "dark": "images/dark/icon-commit.svg",
  1810. "light": "images/light/icon-commit.svg"
  1811. }
  1812. },
  1813. {
  1814. "command": "gitlens.showQuickFileHistory",
  1815. "title": "Show File History",
  1816. "category": "GitLens"
  1817. },
  1818. {
  1819. "command": "gitlens.showQuickBranchHistory",
  1820. "title": "Show Branch History",
  1821. "category": "GitLens"
  1822. },
  1823. {
  1824. "command": "gitlens.showQuickRepoHistory",
  1825. "title": "Show Current Branch History",
  1826. "category": "GitLens"
  1827. },
  1828. {
  1829. "command": "gitlens.showQuickRepoStatus",
  1830. "title": "Show Repository Status",
  1831. "category": "GitLens"
  1832. },
  1833. {
  1834. "command": "gitlens.showQuickStashList",
  1835. "title": "Show Stashed Changes",
  1836. "category": "GitLens"
  1837. },
  1838. {
  1839. "command": "gitlens.copyMessageToClipboard",
  1840. "title": "Copy Commit Message to Clipboard",
  1841. "category": "GitLens",
  1842. "icon": {
  1843. "dark": "images/dark/icon-clipboard.svg",
  1844. "light": "images/light/icon-clipboard.svg"
  1845. }
  1846. },
  1847. {
  1848. "command": "gitlens.copyRemoteFileUrlToClipboard",
  1849. "title": "Copy Remote File Url to Clipboard",
  1850. "category": "GitLens",
  1851. "icon": {
  1852. "dark": "images/dark/icon-copy-remote.svg",
  1853. "light": "images/light/icon-copy-remote.svg"
  1854. }
  1855. },
  1856. {
  1857. "command": "gitlens.copyShaToClipboard",
  1858. "title": "Copy Commit ID to Clipboard",
  1859. "category": "GitLens",
  1860. "icon": {
  1861. "dark": "images/dark/icon-copy-commit.svg",
  1862. "light": "images/light/icon-copy-commit.svg"
  1863. }
  1864. },
  1865. {
  1866. "command": "gitlens.closeUnchangedFiles",
  1867. "title": "Close Unchanged Files",
  1868. "category": "GitLens"
  1869. },
  1870. {
  1871. "command": "gitlens.openChangedFiles",
  1872. "title": "Open Changed Files",
  1873. "category": "GitLens"
  1874. },
  1875. {
  1876. "command": "gitlens.openBranchesInRemote",
  1877. "title": "Open Branches 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.openBranchInRemote",
  1886. "title": "Open Branch 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.openCommitInRemote",
  1895. "title": "Open Commit on Remote",
  1896. "category": "GitLens",
  1897. "icon": {
  1898. "dark": "images/dark/icon-link.svg",
  1899. "light": "images/light/icon-link.svg"
  1900. }
  1901. },
  1902. {
  1903. "command": "gitlens.openFileInRemote",
  1904. "title": "Open File on Remote",
  1905. "category": "GitLens",
  1906. "icon": {
  1907. "dark": "images/dark/icon-link.svg",
  1908. "light": "images/light/icon-link.svg"
  1909. }
  1910. },
  1911. {
  1912. "command": "gitlens.openFileRevision",
  1913. "title": "Open Revision...",
  1914. "category": "GitLens"
  1915. },
  1916. {
  1917. "command": "gitlens.openRepoInRemote",
  1918. "title": "Open Repository on Remote",
  1919. "category": "GitLens",
  1920. "icon": {
  1921. "dark": "images/dark/icon-link.svg",
  1922. "light": "images/light/icon-link.svg"
  1923. }
  1924. },
  1925. {
  1926. "command": "gitlens.openWorkingFile",
  1927. "title": "Open Working File",
  1928. "category": "GitLens",
  1929. "icon": {
  1930. "dark": "images/dark/icon-open-working-file.svg",
  1931. "light": "images/light/icon-open-working-file.svg"
  1932. }
  1933. },
  1934. {
  1935. "command": "gitlens.stashApply",
  1936. "title": "Apply Stashed Changes",
  1937. "category": "GitLens",
  1938. "icon": {
  1939. "dark": "images/dark/icon-stash-pop.svg",
  1940. "light": "images/light/icon-stash-pop.svg"
  1941. }
  1942. },
  1943. {
  1944. "command": "gitlens.stashDelete",
  1945. "title": "Delete Stashed Changes",
  1946. "category": "GitLens",
  1947. "icon": {
  1948. "dark": "images/dark/icon-delete.svg",
  1949. "light": "images/light/icon-delete.svg"
  1950. }
  1951. },
  1952. {
  1953. "command": "gitlens.stashSave",
  1954. "title": "Stash Changes",
  1955. "category": "GitLens",
  1956. "icon": {
  1957. "dark": "images/dark/icon-stash-save.svg",
  1958. "light": "images/light/icon-stash-save.svg"
  1959. }
  1960. },
  1961. {
  1962. "command": "gitlens.externalDiff",
  1963. "title": "Open Changes (with difftool)",
  1964. "category": "GitLens"
  1965. },
  1966. {
  1967. "command": "gitlens.externalDiffAll",
  1968. "title": "Open All Changes (with difftool)",
  1969. "category": "GitLens"
  1970. },
  1971. {
  1972. "command": "gitlens.resetSuppressedWarnings",
  1973. "title": "Reset Suppressed Warnings",
  1974. "category": "GitLens"
  1975. },
  1976. {
  1977. "command": "gitlens.views.exploreRepoRevision",
  1978. "title": "Explore the Repository from Here",
  1979. "category": "GitLens"
  1980. },
  1981. {
  1982. "command": "gitlens.fetchRepositories",
  1983. "title": "Fetch Repositories",
  1984. "category": "GitLens",
  1985. "icon": {
  1986. "dark": "images/dark/icon-sync.svg",
  1987. "light": "images/light/icon-sync.svg"
  1988. }
  1989. },
  1990. {
  1991. "command": "gitlens.pullRepositories",
  1992. "title": "Pull Repositories",
  1993. "category": "GitLens",
  1994. "icon": {
  1995. "dark": "images/dark/icon-pull.svg",
  1996. "light": "images/light/icon-pull.svg"
  1997. }
  1998. },
  1999. {
  2000. "command": "gitlens.pushRepositories",
  2001. "title": "Push Repositories",
  2002. "category": "GitLens",
  2003. "icon": {
  2004. "dark": "images/dark/icon-push.svg",
  2005. "light": "images/light/icon-push.svg"
  2006. }
  2007. },
  2008. {
  2009. "command": "gitlens.views.checkout",
  2010. "title": "Checkout",
  2011. "category": "GitLens",
  2012. "icon": {
  2013. "dark": "images/dark/icon-checkout.svg",
  2014. "light": "images/light/icon-checkout.svg"
  2015. }
  2016. },
  2017. {
  2018. "command": "gitlens.views.fetch",
  2019. "title": "Fetch Repository",
  2020. "category": "GitLens",
  2021. "icon": {
  2022. "dark": "images/dark/icon-sync.svg",
  2023. "light": "images/light/icon-sync.svg"
  2024. }
  2025. },
  2026. {
  2027. "command": "gitlens.views.pull",
  2028. "title": "Pull Repository",
  2029. "category": "GitLens",
  2030. "icon": {
  2031. "dark": "images/dark/icon-pull.svg",
  2032. "light": "images/light/icon-pull.svg"
  2033. }
  2034. },
  2035. {
  2036. "command": "gitlens.views.push",
  2037. "title": "Push Repository",
  2038. "category": "GitLens",
  2039. "icon": {
  2040. "dark": "images/dark/icon-push.svg",
  2041. "light": "images/light/icon-push.svg"
  2042. }
  2043. },
  2044. {
  2045. "command": "gitlens.views.pushWithForce",
  2046. "title": "Push (force) Repository",
  2047. "category": "GitLens",
  2048. "icon": {
  2049. "dark": "images/dark/icon-push-force.svg",
  2050. "light": "images/light/icon-push-force.svg"
  2051. }
  2052. },
  2053. {
  2054. "command": "gitlens.views.stageFile",
  2055. "title": "Stage Changes",
  2056. "category": "GitLens",
  2057. "icon": {
  2058. "dark": "images/dark/icon-add.svg",
  2059. "light": "images/light/icon-add.svg"
  2060. }
  2061. },
  2062. {
  2063. "command": "gitlens.views.unstageFile",
  2064. "title": "Unstage Changes",
  2065. "category": "GitLens",
  2066. "icon": {
  2067. "dark": "images/dark/icon-minus.svg",
  2068. "light": "images/light/icon-minus.svg"
  2069. }
  2070. },
  2071. {
  2072. "command": "gitlens.views.openDirectoryDiff",
  2073. "title": "Open Directory Compare",
  2074. "category": "GitLens"
  2075. },
  2076. {
  2077. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2078. "title": "Open Directory Compare with Working Tree",
  2079. "category": "GitLens"
  2080. },
  2081. {
  2082. "command": "gitlens.views.openChanges",
  2083. "title": "Open Changes",
  2084. "category": "GitLens"
  2085. },
  2086. {
  2087. "command": "gitlens.views.openChangesWithWorking",
  2088. "title": "Open Changes with Working File",
  2089. "category": "GitLens"
  2090. },
  2091. {
  2092. "command": "gitlens.views.openFile",
  2093. "title": "Open File",
  2094. "category": "GitLens",
  2095. "icon": {
  2096. "dark": "images/dark/icon-open-file.svg",
  2097. "light": "images/light/icon-open-file.svg"
  2098. }
  2099. },
  2100. {
  2101. "command": "gitlens.views.openFileRevision",
  2102. "title": "Open Revision",
  2103. "category": "GitLens"
  2104. },
  2105. {
  2106. "command": "gitlens.views.openFileRevisionInRemote",
  2107. "title": "Open Revision on Remote",
  2108. "category": "GitLens",
  2109. "icon": {
  2110. "dark": "images/dark/icon-link.svg",
  2111. "light": "images/light/icon-link.svg"
  2112. }
  2113. },
  2114. {
  2115. "command": "gitlens.views.openChangedFiles",
  2116. "title": "Open Files",
  2117. "category": "GitLens"
  2118. },
  2119. {
  2120. "command": "gitlens.views.openChangedFileChanges",
  2121. "title": "Open All Changes",
  2122. "category": "GitLens"
  2123. },
  2124. {
  2125. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2126. "title": "Open All Changes with Working Tree",
  2127. "category": "GitLens"
  2128. },
  2129. {
  2130. "command": "gitlens.views.openChangedFileRevisions",
  2131. "title": "Open Revisions",
  2132. "category": "GitLens"
  2133. },
  2134. {
  2135. "command": "gitlens.views.applyChanges",
  2136. "title": "Apply Changes",
  2137. "category": "GitLens"
  2138. },
  2139. {
  2140. "command": "gitlens.views.closeRepository",
  2141. "title": "Close Repository",
  2142. "category": "GitLens"
  2143. },
  2144. {
  2145. "command": "gitlens.views.compareAncestryWithWorking",
  2146. "title": "Compare Ancestry with Working Tree",
  2147. "category": "GitLens"
  2148. },
  2149. {
  2150. "command": "gitlens.views.compareWithHead",
  2151. "title": "Compare with HEAD",
  2152. "category": "GitLens",
  2153. "icon": {
  2154. "dark": "images/dark/icon-compare-refs.svg",
  2155. "light": "images/light/icon-compare-refs.svg"
  2156. }
  2157. },
  2158. {
  2159. "command": "gitlens.views.compareWithRemote",
  2160. "title": "Compare with Remote",
  2161. "category": "GitLens",
  2162. "icon": {
  2163. "dark": "images/dark/icon-compare-ref-remote.svg",
  2164. "light": "images/light/icon-compare-ref-remote.svg"
  2165. }
  2166. },
  2167. {
  2168. "command": "gitlens.views.compareWithSelected",
  2169. "title": "Compare with Selected",
  2170. "category": "GitLens"
  2171. },
  2172. {
  2173. "command": "gitlens.views.selectForCompare",
  2174. "title": "Select for Compare",
  2175. "category": "GitLens"
  2176. },
  2177. {
  2178. "command": "gitlens.views.compareFileWithSelected",
  2179. "title": "Compare with Selected",
  2180. "category": "GitLens"
  2181. },
  2182. {
  2183. "command": "gitlens.views.selectFileForCompare",
  2184. "title": "Select for Compare",
  2185. "category": "GitLens"
  2186. },
  2187. {
  2188. "command": "gitlens.views.compareWithWorking",
  2189. "title": "Compare with Working Tree",
  2190. "category": "GitLens",
  2191. "icon": {
  2192. "dark": "images/dark/icon-compare-ref-working.svg",
  2193. "light": "images/light/icon-compare-ref-working.svg"
  2194. }
  2195. },
  2196. {
  2197. "command": "gitlens.views.terminalCheckoutBranch",
  2198. "title": "Checkout Branch (via Terminal)",
  2199. "category": "GitLens"
  2200. },
  2201. {
  2202. "command": "gitlens.views.terminalCreateBranch",
  2203. "title": "Create Branch (via Terminal)...",
  2204. "category": "GitLens"
  2205. },
  2206. {
  2207. "command": "gitlens.views.terminalDeleteBranch",
  2208. "title": "Delete Branch (via Terminal)",
  2209. "category": "GitLens"
  2210. },
  2211. {
  2212. "command": "gitlens.views.terminalMergeBranch",
  2213. "title": "Merge Branch (via Terminal)",
  2214. "category": "GitLens"
  2215. },
  2216. {
  2217. "command": "gitlens.views.terminalRebaseBranch",
  2218. "title": "Rebase (Interactive) Branch (via Terminal)",
  2219. "category": "GitLens"
  2220. },
  2221. {
  2222. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2223. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2224. "category": "GitLens"
  2225. },
  2226. {
  2227. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2228. "title": "Squash Branch into Commit (via Terminal)",
  2229. "category": "GitLens"
  2230. },
  2231. {
  2232. "command": "gitlens.views.terminalCheckoutCommit",
  2233. "title": "Checkout Commit (via Terminal)",
  2234. "category": "GitLens"
  2235. },
  2236. {
  2237. "command": "gitlens.views.terminalCherryPickCommit",
  2238. "title": "Cherry Pick Commit (via Terminal)",
  2239. "category": "GitLens"
  2240. },
  2241. {
  2242. "command": "gitlens.views.terminalPushCommit",
  2243. "title": "Push to Commit (via Terminal)",
  2244. "category": "GitLens"
  2245. },
  2246. {
  2247. "command": "gitlens.views.terminalRebaseCommit",
  2248. "title": "Rebase to Commit (via Terminal)",
  2249. "category": "GitLens"
  2250. },
  2251. {
  2252. "command": "gitlens.views.terminalResetCommit",
  2253. "title": "Reset to Commit (via Terminal)",
  2254. "category": "GitLens"
  2255. },
  2256. {
  2257. "command": "gitlens.views.terminalRevertCommit",
  2258. "title": "Revert Commit (via Terminal)",
  2259. "category": "GitLens"
  2260. },
  2261. {
  2262. "command": "gitlens.views.terminalRemoveRemote",
  2263. "title": "Remove Remote (via Terminal)",
  2264. "category": "GitLens"
  2265. },
  2266. {
  2267. "command": "gitlens.views.terminalCreateTag",
  2268. "title": "Create Tag (via Terminal)...",
  2269. "category": "GitLens"
  2270. },
  2271. {
  2272. "command": "gitlens.views.terminalDeleteTag",
  2273. "title": "Delete Tag (via Terminal)",
  2274. "category": "GitLens"
  2275. },
  2276. {
  2277. "command": "gitlens.views.repositories.refresh",
  2278. "title": "Refresh",
  2279. "category": "GitLens",
  2280. "icon": {
  2281. "dark": "images/dark/icon-refresh.svg",
  2282. "light": "images/light/icon-refresh.svg"
  2283. }
  2284. },
  2285. {
  2286. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2287. "title": "Automatic Layout",
  2288. "category": "GitLens"
  2289. },
  2290. {
  2291. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2292. "title": "List Layout",
  2293. "category": "GitLens"
  2294. },
  2295. {
  2296. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2297. "title": "Tree Layout",
  2298. "category": "GitLens"
  2299. },
  2300. {
  2301. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2302. "title": "Enable Automatic Refresh",
  2303. "category": "GitLens"
  2304. },
  2305. {
  2306. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2307. "title": "Disable Automatic Refresh",
  2308. "category": "GitLens"
  2309. },
  2310. {
  2311. "command": "gitlens.views.fileHistory.refresh",
  2312. "title": "Refresh",
  2313. "category": "GitLens",
  2314. "icon": {
  2315. "dark": "images/dark/icon-refresh.svg",
  2316. "light": "images/light/icon-refresh.svg"
  2317. }
  2318. },
  2319. {
  2320. "command": "gitlens.views.fileHistory.changeBase",
  2321. "title": "Change Base...",
  2322. "category": "GitLens",
  2323. "icon": {
  2324. "dark": "images/dark/icon-history.svg",
  2325. "light": "images/light/icon-history.svg"
  2326. }
  2327. },
  2328. {
  2329. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2330. "title": "Resume File Tracking",
  2331. "category": "GitLens",
  2332. "icon": {
  2333. "dark": "images/dark/icon-location.svg",
  2334. "light": "images/light/icon-location.svg"
  2335. }
  2336. },
  2337. {
  2338. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2339. "title": "Pause File Tracking",
  2340. "category": "GitLens",
  2341. "icon": {
  2342. "dark": "images/dark/icon-location-filled.svg",
  2343. "light": "images/light/icon-location-filled.svg"
  2344. }
  2345. },
  2346. {
  2347. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2348. "title": "Follow Renames",
  2349. "category": "GitLens"
  2350. },
  2351. {
  2352. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2353. "title": "Don't Follow Renames",
  2354. "category": "GitLens"
  2355. },
  2356. {
  2357. "command": "gitlens.views.lineHistory.refresh",
  2358. "title": "Refresh",
  2359. "category": "GitLens",
  2360. "icon": {
  2361. "dark": "images/dark/icon-refresh.svg",
  2362. "light": "images/light/icon-refresh.svg"
  2363. }
  2364. },
  2365. {
  2366. "command": "gitlens.views.lineHistory.changeBase",
  2367. "title": "Change Base...",
  2368. "category": "GitLens",
  2369. "icon": {
  2370. "dark": "images/dark/icon-history.svg",
  2371. "light": "images/light/icon-history.svg"
  2372. }
  2373. },
  2374. {
  2375. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2376. "title": "Resume Line Tracking",
  2377. "category": "GitLens",
  2378. "icon": {
  2379. "dark": "images/dark/icon-location.svg",
  2380. "light": "images/light/icon-location.svg"
  2381. }
  2382. },
  2383. {
  2384. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2385. "title": "Pause Line Tracking",
  2386. "category": "GitLens",
  2387. "icon": {
  2388. "dark": "images/dark/icon-location-filled.svg",
  2389. "light": "images/light/icon-location-filled.svg"
  2390. }
  2391. },
  2392. {
  2393. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2394. "title": "Follow Renames",
  2395. "category": "GitLens"
  2396. },
  2397. {
  2398. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2399. "title": "Don't Follow Renames",
  2400. "category": "GitLens"
  2401. },
  2402. {
  2403. "command": "gitlens.views.compare.selectForCompare",
  2404. "title": "Compare Branch or Tag with...",
  2405. "category": "GitLens",
  2406. "icon": {
  2407. "dark": "images/dark/icon-compare-refs.svg",
  2408. "light": "images/light/icon-compare-refs.svg"
  2409. }
  2410. },
  2411. {
  2412. "command": "gitlens.views.compare.clear",
  2413. "title": "Clear Results",
  2414. "category": "GitLens",
  2415. "icon": {
  2416. "dark": "images/dark/icon-clear.svg",
  2417. "light": "images/light/icon-clear.svg"
  2418. }
  2419. },
  2420. {
  2421. "command": "gitlens.views.compare.refresh",
  2422. "title": "Refresh",
  2423. "category": "GitLens",
  2424. "icon": {
  2425. "dark": "images/dark/icon-refresh.svg",
  2426. "light": "images/light/icon-refresh.svg"
  2427. }
  2428. },
  2429. {
  2430. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  2431. "title": "Automatic Layout",
  2432. "category": "GitLens"
  2433. },
  2434. {
  2435. "command": "gitlens.views.compare.setFilesLayoutToList",
  2436. "title": "List Layout",
  2437. "category": "GitLens"
  2438. },
  2439. {
  2440. "command": "gitlens.views.compare.setFilesLayoutToTree",
  2441. "title": "Tree Layout",
  2442. "category": "GitLens"
  2443. },
  2444. {
  2445. "command": "gitlens.views.compare.setKeepResultsToOn",
  2446. "title": "Keep Results",
  2447. "category": "GitLens",
  2448. "icon": {
  2449. "dark": "images/dark/icon-lock.svg",
  2450. "light": "images/light/icon-lock.svg"
  2451. }
  2452. },
  2453. {
  2454. "command": "gitlens.views.compare.setKeepResultsToOff",
  2455. "title": "Keep Results",
  2456. "category": "GitLens",
  2457. "icon": {
  2458. "dark": "images/dark/icon-locked.svg",
  2459. "light": "images/light/icon-locked.svg"
  2460. }
  2461. },
  2462. {
  2463. "command": "gitlens.views.compare.swapComparision",
  2464. "title": "Swap Comparision",
  2465. "category": "GitLens",
  2466. "icon": {
  2467. "dark": "images/dark/icon-swap.svg",
  2468. "light": "images/light/icon-swap.svg"
  2469. }
  2470. },
  2471. {
  2472. "command": "gitlens.views.search.searchCommits",
  2473. "title": "Search Commits",
  2474. "category": "GitLens",
  2475. "icon": {
  2476. "dark": "images/dark/icon-search.svg",
  2477. "light": "images/light/icon-search.svg"
  2478. }
  2479. },
  2480. {
  2481. "command": "gitlens.views.search.clear",
  2482. "title": "Clear Results",
  2483. "category": "GitLens",
  2484. "icon": {
  2485. "dark": "images/dark/icon-clear.svg",
  2486. "light": "images/light/icon-clear.svg"
  2487. }
  2488. },
  2489. {
  2490. "command": "gitlens.views.search.refresh",
  2491. "title": "Refresh",
  2492. "category": "GitLens",
  2493. "icon": {
  2494. "dark": "images/dark/icon-refresh.svg",
  2495. "light": "images/light/icon-refresh.svg"
  2496. }
  2497. },
  2498. {
  2499. "command": "gitlens.views.search.setFilesLayoutToAuto",
  2500. "title": "Automatic Layout",
  2501. "category": "GitLens"
  2502. },
  2503. {
  2504. "command": "gitlens.views.search.setFilesLayoutToList",
  2505. "title": "List Layout",
  2506. "category": "GitLens"
  2507. },
  2508. {
  2509. "command": "gitlens.views.search.setFilesLayoutToTree",
  2510. "title": "Tree Layout",
  2511. "category": "GitLens"
  2512. },
  2513. {
  2514. "command": "gitlens.views.search.setKeepResultsToOn",
  2515. "title": "Keep Results",
  2516. "category": "GitLens",
  2517. "icon": {
  2518. "dark": "images/dark/icon-lock.svg",
  2519. "light": "images/light/icon-lock.svg"
  2520. }
  2521. },
  2522. {
  2523. "command": "gitlens.views.search.setKeepResultsToOff",
  2524. "title": "Keep Results",
  2525. "category": "GitLens",
  2526. "icon": {
  2527. "dark": "images/dark/icon-locked.svg",
  2528. "light": "images/light/icon-locked.svg"
  2529. }
  2530. },
  2531. {
  2532. "command": "gitlens.views.dismissNode",
  2533. "title": "Dismiss",
  2534. "category": "GitLens",
  2535. "icon": {
  2536. "dark": "images/dark/icon-close-small.svg",
  2537. "light": "images/light/icon-close-small.svg"
  2538. }
  2539. },
  2540. {
  2541. "command": "gitlens.views.refreshNode",
  2542. "title": "Refresh",
  2543. "category": "GitLens"
  2544. }
  2545. ],
  2546. "menus": {
  2547. "commandPalette": [
  2548. {
  2549. "command": "gitlens.showCompareView",
  2550. "when": "gitlens:enabled"
  2551. },
  2552. {
  2553. "command": "gitlens.showFileHistoryView",
  2554. "when": "gitlens:enabled"
  2555. },
  2556. {
  2557. "command": "gitlens.showLineHistoryView",
  2558. "when": "gitlens:enabled"
  2559. },
  2560. {
  2561. "command": "gitlens.showRepositoriesView",
  2562. "when": "gitlens:enabled"
  2563. },
  2564. {
  2565. "command": "gitlens.showSearchView",
  2566. "when": "gitlens:enabled"
  2567. },
  2568. {
  2569. "command": "gitlens.diffDirectory",
  2570. "when": "gitlens:enabled"
  2571. },
  2572. {
  2573. "command": "gitlens.diffHeadWithBranch",
  2574. "when": "gitlens:enabled"
  2575. },
  2576. {
  2577. "command": "gitlens.diffWorkingWithBranch",
  2578. "when": "gitlens:enabled"
  2579. },
  2580. {
  2581. "command": "gitlens.diffWithBranch",
  2582. "when": "gitlens:activeFileStatus =~ /tracked/"
  2583. },
  2584. {
  2585. "command": "gitlens.diffWithNext",
  2586. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2587. },
  2588. {
  2589. "command": "gitlens.diffWithPrevious",
  2590. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2591. },
  2592. {
  2593. "command": "gitlens.diffWithPreviousInDiff",
  2594. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2595. },
  2596. {
  2597. "command": "gitlens.diffLineWithPrevious",
  2598. "when": "gitlens:activeFileStatus =~ /blameable/"
  2599. },
  2600. {
  2601. "command": "gitlens.diffWithRevision",
  2602. "when": "gitlens:activeFileStatus =~ /tracked/"
  2603. },
  2604. {
  2605. "command": "gitlens.diffWithWorking",
  2606. "when": "gitlens:activeFileStatus =~ /tracked/"
  2607. },
  2608. {
  2609. "command": "gitlens.diffLineWithWorking",
  2610. "when": "gitlens:activeFileStatus =~ /blameable/"
  2611. },
  2612. {
  2613. "command": "gitlens.externalDiff",
  2614. "when": "gitlens:activeFileStatus =~ /tracked/"
  2615. },
  2616. {
  2617. "command": "gitlens.externalDiffAll",
  2618. "when": "gitlens:enabled"
  2619. },
  2620. {
  2621. "command": "gitlens.toggleFileBlame",
  2622. "when": "gitlens:activeFileStatus =~ /blameable/"
  2623. },
  2624. {
  2625. "command": "gitlens.clearFileAnnotations",
  2626. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2627. },
  2628. {
  2629. "command": "gitlens.computingFileAnnotations",
  2630. "when": "false"
  2631. },
  2632. {
  2633. "command": "gitlens.toggleFileHeatmap",
  2634. "when": "gitlens:activeFileStatus =~ /blameable/"
  2635. },
  2636. {
  2637. "command": "gitlens.toggleFileRecentChanges",
  2638. "when": "gitlens:activeFileStatus =~ /blameable/"
  2639. },
  2640. {
  2641. "command": "gitlens.toggleLineBlame",
  2642. "when": "gitlens:enabled"
  2643. },
  2644. {
  2645. "command": "gitlens.toggleCodeLens",
  2646. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2647. },
  2648. {
  2649. "command": "gitlens.switchMode",
  2650. "when": "gitlens:enabled"
  2651. },
  2652. {
  2653. "command": "gitlens.toggleReviewMode",
  2654. "when": "gitlens:enabled"
  2655. },
  2656. {
  2657. "command": "gitlens.toggleZenMode",
  2658. "when": "gitlens:enabled"
  2659. },
  2660. {
  2661. "command": "gitlens.showCommitSearch",
  2662. "when": "gitlens:enabled"
  2663. },
  2664. {
  2665. "command": "gitlens.showLastQuickPick",
  2666. "when": "gitlens:enabled"
  2667. },
  2668. {
  2669. "command": "gitlens.showCommitInView",
  2670. "when": "gitlens:activeFileStatus =~ /blameable/"
  2671. },
  2672. {
  2673. "command": "gitlens.showFileHistoryInView",
  2674. "when": "gitlens:activeFileStatus =~ /tracked/"
  2675. },
  2676. {
  2677. "command": "gitlens.showQuickCommitDetails",
  2678. "when": "gitlens:activeFileStatus =~ /blameable/"
  2679. },
  2680. {
  2681. "command": "gitlens.showQuickCommitFileDetails",
  2682. "when": "gitlens:activeFileStatus =~ /blameable/"
  2683. },
  2684. {
  2685. "command": "gitlens.showQuickRevisionDetails",
  2686. "when": "gitlens:activeFileStatus =~ /revision/"
  2687. },
  2688. {
  2689. "command": "gitlens.showQuickFileHistory",
  2690. "when": "gitlens:activeFileStatus =~ /tracked/"
  2691. },
  2692. {
  2693. "command": "gitlens.showQuickBranchHistory",
  2694. "when": "gitlens:enabled"
  2695. },
  2696. {
  2697. "command": "gitlens.showQuickRepoHistory",
  2698. "when": "gitlens:enabled"
  2699. },
  2700. {
  2701. "command": "gitlens.showQuickRepoStatus",
  2702. "when": "gitlens:enabled"
  2703. },
  2704. {
  2705. "command": "gitlens.showQuickStashList",
  2706. "when": "gitlens:enabled"
  2707. },
  2708. {
  2709. "command": "gitlens.copyMessageToClipboard",
  2710. "when": "gitlens:activeFileStatus =~ /blameable/"
  2711. },
  2712. {
  2713. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2714. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2715. },
  2716. {
  2717. "command": "gitlens.copyShaToClipboard",
  2718. "when": "gitlens:activeFileStatus =~ /blameable/"
  2719. },
  2720. {
  2721. "command": "gitlens.closeUnchangedFiles",
  2722. "when": "gitlens:enabled"
  2723. },
  2724. {
  2725. "command": "gitlens.openChangedFiles",
  2726. "when": "gitlens:enabled"
  2727. },
  2728. {
  2729. "command": "gitlens.openBranchesInRemote",
  2730. "when": "gitlens:hasRemotes"
  2731. },
  2732. {
  2733. "command": "gitlens.openBranchInRemote",
  2734. "when": "gitlens:hasRemotes"
  2735. },
  2736. {
  2737. "command": "gitlens.openCommitInRemote",
  2738. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2739. },
  2740. {
  2741. "command": "gitlens.openFileInRemote",
  2742. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2743. },
  2744. {
  2745. "command": "gitlens.openFileRevision",
  2746. "when": "gitlens:activeFileStatus =~ /tracked/"
  2747. },
  2748. {
  2749. "command": "gitlens.openRepoInRemote",
  2750. "when": "gitlens:hasRemotes"
  2751. },
  2752. {
  2753. "command": "gitlens.openWorkingFile",
  2754. "when": "gitlens:activeFileStatus =~ /revision/"
  2755. },
  2756. {
  2757. "command": "gitlens.stashApply",
  2758. "when": "gitlens:enabled"
  2759. },
  2760. {
  2761. "command": "gitlens.stashDelete",
  2762. "when": "false"
  2763. },
  2764. {
  2765. "command": "gitlens.stashSave",
  2766. "when": "gitlens:enabled"
  2767. },
  2768. {
  2769. "command": "gitlens.resetSuppressedWarnings",
  2770. "when": "gitlens:enabled"
  2771. },
  2772. {
  2773. "command": "gitlens.views.exploreRepoRevision",
  2774. "when": "false"
  2775. },
  2776. {
  2777. "command": "gitlens.fetchRepositories",
  2778. "when": "gitlens:hasRemotes"
  2779. },
  2780. {
  2781. "command": "gitlens.pullRepositories",
  2782. "when": "gitlens:hasRemotes"
  2783. },
  2784. {
  2785. "command": "gitlens.pushRepositories",
  2786. "when": "gitlens:hasRemotes"
  2787. },
  2788. {
  2789. "command": "gitlens.views.checkout",
  2790. "when": "false"
  2791. },
  2792. {
  2793. "command": "gitlens.views.fetch",
  2794. "when": "false"
  2795. },
  2796. {
  2797. "command": "gitlens.views.pull",
  2798. "when": "false"
  2799. },
  2800. {
  2801. "command": "gitlens.views.push",
  2802. "when": "false"
  2803. },
  2804. {
  2805. "command": "gitlens.views.pushWithForce",
  2806. "when": "false"
  2807. },
  2808. {
  2809. "command": "gitlens.views.stageFile",
  2810. "when": "false"
  2811. },
  2812. {
  2813. "command": "gitlens.views.unstageFile",
  2814. "when": "false"
  2815. },
  2816. {
  2817. "command": "gitlens.views.openChanges",
  2818. "when": "false"
  2819. },
  2820. {
  2821. "command": "gitlens.views.openDirectoryDiff",
  2822. "when": "false"
  2823. },
  2824. {
  2825. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2826. "when": "false"
  2827. },
  2828. {
  2829. "command": "gitlens.views.openChangesWithWorking",
  2830. "when": "false"
  2831. },
  2832. {
  2833. "command": "gitlens.views.openFile",
  2834. "when": "false"
  2835. },
  2836. {
  2837. "command": "gitlens.views.openFileRevision",
  2838. "when": "false"
  2839. },
  2840. {
  2841. "command": "gitlens.views.openFileRevisionInRemote",
  2842. "when": "false"
  2843. },
  2844. {
  2845. "command": "gitlens.views.openChangedFiles",
  2846. "when": "false"
  2847. },
  2848. {
  2849. "command": "gitlens.views.openChangedFileChanges",
  2850. "when": "false"
  2851. },
  2852. {
  2853. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2854. "when": "false"
  2855. },
  2856. {
  2857. "command": "gitlens.views.openChangedFileRevisions",
  2858. "when": "false"
  2859. },
  2860. {
  2861. "command": "gitlens.views.applyChanges",
  2862. "when": "false"
  2863. },
  2864. {
  2865. "command": "gitlens.views.closeRepository",
  2866. "when": "false"
  2867. },
  2868. {
  2869. "command": "gitlens.views.compareAncestryWithWorking",
  2870. "when": "false"
  2871. },
  2872. {
  2873. "command": "gitlens.views.compareWithHead",
  2874. "when": "false"
  2875. },
  2876. {
  2877. "command": "gitlens.views.compareWithRemote",
  2878. "when": "false"
  2879. },
  2880. {
  2881. "command": "gitlens.views.compareWithSelected",
  2882. "when": "false"
  2883. },
  2884. {
  2885. "command": "gitlens.views.selectForCompare",
  2886. "when": "false"
  2887. },
  2888. {
  2889. "command": "gitlens.views.compareFileWithSelected",
  2890. "when": "false"
  2891. },
  2892. {
  2893. "command": "gitlens.views.selectFileForCompare",
  2894. "when": "false"
  2895. },
  2896. {
  2897. "command": "gitlens.views.compareWithWorking",
  2898. "when": "false"
  2899. },
  2900. {
  2901. "command": "gitlens.views.terminalCheckoutBranch",
  2902. "when": "false"
  2903. },
  2904. {
  2905. "command": "gitlens.views.terminalCreateBranch",
  2906. "when": "false"
  2907. },
  2908. {
  2909. "command": "gitlens.views.terminalDeleteBranch",
  2910. "when": "false"
  2911. },
  2912. {
  2913. "command": "gitlens.views.terminalMergeBranch",
  2914. "when": "false"
  2915. },
  2916. {
  2917. "command": "gitlens.views.terminalRebaseBranch",
  2918. "when": "false"
  2919. },
  2920. {
  2921. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2922. "when": "false"
  2923. },
  2924. {
  2925. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2926. "when": "false"
  2927. },
  2928. {
  2929. "command": "gitlens.views.terminalCheckoutCommit",
  2930. "when": "false"
  2931. },
  2932. {
  2933. "command": "gitlens.views.terminalCherryPickCommit",
  2934. "when": "false"
  2935. },
  2936. {
  2937. "command": "gitlens.views.terminalPushCommit",
  2938. "when": "false"
  2939. },
  2940. {
  2941. "command": "gitlens.views.terminalRebaseCommit",
  2942. "when": "false"
  2943. },
  2944. {
  2945. "command": "gitlens.views.terminalResetCommit",
  2946. "when": "false"
  2947. },
  2948. {
  2949. "command": "gitlens.views.terminalRevertCommit",
  2950. "when": "false"
  2951. },
  2952. {
  2953. "command": "gitlens.views.terminalRemoveRemote",
  2954. "when": "false"
  2955. },
  2956. {
  2957. "command": "gitlens.views.terminalCreateTag",
  2958. "when": "false"
  2959. },
  2960. {
  2961. "command": "gitlens.views.terminalDeleteTag",
  2962. "when": "false"
  2963. },
  2964. {
  2965. "command": "gitlens.views.repositories.refresh",
  2966. "when": "false"
  2967. },
  2968. {
  2969. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2970. "when": "false"
  2971. },
  2972. {
  2973. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2974. "when": "false"
  2975. },
  2976. {
  2977. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2978. "when": "false"
  2979. },
  2980. {
  2981. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2982. "when": "false"
  2983. },
  2984. {
  2985. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2986. "when": "false"
  2987. },
  2988. {
  2989. "command": "gitlens.views.fileHistory.refresh",
  2990. "when": "false"
  2991. },
  2992. {
  2993. "command": "gitlens.views.fileHistory.changeBase",
  2994. "when": "false"
  2995. },
  2996. {
  2997. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2998. "when": "false"
  2999. },
  3000. {
  3001. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3002. "when": "false"
  3003. },
  3004. {
  3005. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3006. "when": "false"
  3007. },
  3008. {
  3009. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3010. "when": "false"
  3011. },
  3012. {
  3013. "command": "gitlens.views.lineHistory.refresh",
  3014. "when": "false"
  3015. },
  3016. {
  3017. "command": "gitlens.views.lineHistory.changeBase",
  3018. "when": "false"
  3019. },
  3020. {
  3021. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3022. "when": "false"
  3023. },
  3024. {
  3025. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3026. "when": "false"
  3027. },
  3028. {
  3029. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3030. "when": "false"
  3031. },
  3032. {
  3033. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3034. "when": "false"
  3035. },
  3036. {
  3037. "command": "gitlens.views.compare.selectForCompare",
  3038. "when": "gitlens:enabled && gitlens.views.compare.enabled"
  3039. },
  3040. {
  3041. "command": "gitlens.views.compare.clear",
  3042. "when": "false"
  3043. },
  3044. {
  3045. "command": "gitlens.views.compare.refresh",
  3046. "when": "false"
  3047. },
  3048. {
  3049. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3050. "when": "false"
  3051. },
  3052. {
  3053. "command": "gitlens.views.compare.setFilesLayoutToList",
  3054. "when": "false"
  3055. },
  3056. {
  3057. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3058. "when": "false"
  3059. },
  3060. {
  3061. "command": "gitlens.views.compare.setKeepResultsToOn",
  3062. "when": "false"
  3063. },
  3064. {
  3065. "command": "gitlens.views.compare.setKeepResultsToOff",
  3066. "when": "false"
  3067. },
  3068. {
  3069. "command": "gitlens.views.compare.swapComparision",
  3070. "when": "false"
  3071. },
  3072. {
  3073. "command": "gitlens.views.search.searchCommits",
  3074. "when": "false"
  3075. },
  3076. {
  3077. "command": "gitlens.views.search.clear",
  3078. "when": "false"
  3079. },
  3080. {
  3081. "command": "gitlens.views.search.refresh",
  3082. "when": "false"
  3083. },
  3084. {
  3085. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3086. "when": "false"
  3087. },
  3088. {
  3089. "command": "gitlens.views.search.setFilesLayoutToList",
  3090. "when": "false"
  3091. },
  3092. {
  3093. "command": "gitlens.views.search.setFilesLayoutToTree",
  3094. "when": "false"
  3095. },
  3096. {
  3097. "command": "gitlens.views.search.setKeepResultsToOn",
  3098. "when": "false"
  3099. },
  3100. {
  3101. "command": "gitlens.views.search.setKeepResultsToOff",
  3102. "when": "false"
  3103. },
  3104. {
  3105. "command": "gitlens.views.dismissNode",
  3106. "when": "false"
  3107. },
  3108. {
  3109. "command": "gitlens.views.refreshNode",
  3110. "when": "false"
  3111. }
  3112. ],
  3113. "editor/context": [
  3114. {
  3115. "command": "gitlens.diffLineWithPrevious",
  3116. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3117. "group": "1_gitlens@1"
  3118. },
  3119. {
  3120. "command": "gitlens.diffLineWithWorking",
  3121. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3122. "group": "1_gitlens@2"
  3123. },
  3124. {
  3125. "command": "gitlens.openFileInRemote",
  3126. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3127. "group": "1_gitlens_1@1"
  3128. },
  3129. {
  3130. "command": "gitlens.openCommitInRemote",
  3131. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3132. "group": "1_gitlens_1@2"
  3133. },
  3134. {
  3135. "command": "gitlens.showQuickCommitFileDetails",
  3136. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  3137. "group": "1_gitlens_1@3"
  3138. },
  3139. {
  3140. "command": "gitlens.showQuickFileHistory",
  3141. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3142. "group": "3_gitlens@1"
  3143. },
  3144. {
  3145. "command": "gitlens.toggleFileBlame",
  3146. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  3147. "group": "3_gitlens@2"
  3148. },
  3149. {
  3150. "command": "gitlens.copyShaToClipboard",
  3151. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3152. "group": "9_gitlens@1"
  3153. },
  3154. {
  3155. "command": "gitlens.copyMessageToClipboard",
  3156. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3157. "group": "9_gitlens@2"
  3158. },
  3159. {
  3160. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3161. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  3162. "group": "9_gitlens@3"
  3163. }
  3164. ],
  3165. "editor/title": [
  3166. {
  3167. "command": "gitlens.diffWithWorking",
  3168. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3169. "group": "navigation@0"
  3170. },
  3171. {
  3172. "command": "gitlens.openWorkingFile",
  3173. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3174. "group": "navigation@0"
  3175. },
  3176. {
  3177. "command": "gitlens.openWorkingFile",
  3178. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  3179. "group": "navigation@0"
  3180. },
  3181. {
  3182. "command": "gitlens.openWorkingFile",
  3183. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  3184. "group": "navigation@0"
  3185. },
  3186. {
  3187. "command": "gitlens.diffWithPrevious",
  3188. "alt": "gitlens.diffWithRevision",
  3189. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3190. "group": "navigation@97"
  3191. },
  3192. {
  3193. "command": "gitlens.diffWithPreviousInDiff",
  3194. "alt": "gitlens.diffWithRevision",
  3195. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3196. "group": "navigation@97"
  3197. },
  3198. {
  3199. "command": "gitlens.showQuickRevisionDetails",
  3200. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  3201. "group": "navigation@98"
  3202. },
  3203. {
  3204. "command": "gitlens.diffWithNext",
  3205. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3206. "group": "navigation@99"
  3207. },
  3208. {
  3209. "command": "gitlens.toggleFileBlame",
  3210. "alt": "gitlens.toggleFileRecentChanges",
  3211. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  3212. "group": "navigation@100"
  3213. },
  3214. {
  3215. "command": "gitlens.computingFileAnnotations",
  3216. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  3217. "group": "navigation@100"
  3218. },
  3219. {
  3220. "command": "gitlens.clearFileAnnotations",
  3221. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  3222. "group": "navigation@100"
  3223. },
  3224. {
  3225. "command": "gitlens.openFileInRemote",
  3226. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  3227. "group": "4_gitlens"
  3228. },
  3229. {
  3230. "command": "gitlens.showQuickFileHistory",
  3231. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  3232. "group": "4_gitlens"
  3233. }
  3234. ],
  3235. "editor/title/context": [
  3236. {
  3237. "command": "gitlens.openFileInRemote",
  3238. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  3239. "group": "2_files@100"
  3240. },
  3241. {
  3242. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3243. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  3244. "group": "2_files@101"
  3245. },
  3246. {
  3247. "command": "gitlens.diffWithPrevious",
  3248. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3249. "group": "1_gitlens_1@1"
  3250. },
  3251. {
  3252. "command": "gitlens.diffWithWorking",
  3253. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3254. "group": "1_gitlens_1@2"
  3255. },
  3256. {
  3257. "command": "gitlens.showQuickFileHistory",
  3258. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3259. "group": "1_gitlens_2@1"
  3260. }
  3261. ],
  3262. "explorer/context": [
  3263. {
  3264. "command": "gitlens.openFileInRemote",
  3265. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3266. "group": "navigation@100"
  3267. },
  3268. {
  3269. "command": "gitlens.showQuickFileHistory",
  3270. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3271. "group": "1_gitlens_1@1"
  3272. },
  3273. {
  3274. "command": "gitlens.diffWithPrevious",
  3275. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3276. "group": "3_compare@1"
  3277. },
  3278. {
  3279. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3280. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3281. "group": "9_gitlens@1"
  3282. }
  3283. ],
  3284. "scm/resourceGroup/context": [
  3285. {
  3286. "command": "gitlens.stashSave",
  3287. "when": "gitlens:enabled",
  3288. "group": "inline@-1"
  3289. },
  3290. {
  3291. "command": "gitlens.openChangedFiles",
  3292. "when": "gitlens:enabled",
  3293. "group": "2_gitlens@1"
  3294. },
  3295. {
  3296. "command": "gitlens.closeUnchangedFiles",
  3297. "when": "gitlens:enabled",
  3298. "group": "2_gitlens@2"
  3299. },
  3300. {
  3301. "command": "gitlens.externalDiff",
  3302. "when": "gitlens:enabled",
  3303. "group": "2_gitlens@3"
  3304. },
  3305. {
  3306. "command": "gitlens.stashSave",
  3307. "when": "gitlens:enabled",
  3308. "group": "3_gitlens@1"
  3309. }
  3310. ],
  3311. "scm/resourceState/context": [
  3312. {
  3313. "command": "gitlens.openFileInRemote",
  3314. "when": "gitlens:enabled && gitlens:hasRemotes",
  3315. "group": "navigation"
  3316. },
  3317. {
  3318. "command": "gitlens.externalDiff",
  3319. "when": "gitlens:enabled",
  3320. "group": "navigation"
  3321. },
  3322. {
  3323. "command": "gitlens.diffWithRevision",
  3324. "when": "gitlens:enabled",
  3325. "group": "1_gitlens@1"
  3326. },
  3327. {
  3328. "command": "gitlens.diffWithBranch",
  3329. "when": "gitlens:enabled",
  3330. "group": "1_gitlens@2"
  3331. },
  3332. {
  3333. "command": "gitlens.showQuickFileHistory",
  3334. "when": "gitlens:enabled",
  3335. "group": "1_gitlens_1@1"
  3336. },
  3337. {
  3338. "command": "gitlens.stashSave",
  3339. "when": "gitlens:enabled",
  3340. "group": "2_gitlens@1"
  3341. },
  3342. {
  3343. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3344. "when": "gitlens:enabled && gitlens:hasRemotes",
  3345. "group": "9_gitlens@1"
  3346. }
  3347. ],
  3348. "view/title": [
  3349. {
  3350. "command": "gitlens.pushRepositories",
  3351. "when": "gitlens:enabled && view =~ /^gitlens\\.views\\.repositories:/",
  3352. "group": "navigation@10"
  3353. },
  3354. {
  3355. "command": "gitlens.pullRepositories",
  3356. "when": "gitlens:enabled && view =~ /^gitlens\\.views\\.repositories:/",
  3357. "group": "navigation@11"
  3358. },
  3359. {
  3360. "command": "gitlens.fetchRepositories",
  3361. "when": "gitlens:enabled && view =~ /^gitlens\\.views\\.repositories:/",
  3362. "group": "navigation@12"
  3363. },
  3364. {
  3365. "command": "gitlens.views.repositories.refresh",
  3366. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3367. "group": "navigation@99"
  3368. },
  3369. {
  3370. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3371. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3372. "group": "1_gitlens"
  3373. },
  3374. {
  3375. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3376. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3377. "group": "1_gitlens"
  3378. },
  3379. {
  3380. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3381. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3382. "group": "1_gitlens"
  3383. },
  3384. {
  3385. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3386. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  3387. "group": "2_gitlens"
  3388. },
  3389. {
  3390. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3391. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  3392. "group": "2_gitlens"
  3393. },
  3394. {
  3395. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3396. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
  3397. "group": "navigation@10"
  3398. },
  3399. {
  3400. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3401. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
  3402. "group": "navigation@10"
  3403. },
  3404. {
  3405. "command": "gitlens.views.fileHistory.changeBase",
  3406. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3407. "group": "navigation@11"
  3408. },
  3409. {
  3410. "command": "gitlens.views.fileHistory.refresh",
  3411. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3412. "group": "navigation@99"
  3413. },
  3414. {
  3415. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3416. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3417. "group": "1_gitlens"
  3418. },
  3419. {
  3420. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3421. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3422. "group": "1_gitlens"
  3423. },
  3424. {
  3425. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3426. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
  3427. "group": "navigation@10"
  3428. },
  3429. {
  3430. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3431. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
  3432. "group": "navigation@10"
  3433. },
  3434. {
  3435. "command": "gitlens.views.lineHistory.changeBase",
  3436. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3437. "group": "navigation@11"
  3438. },
  3439. {
  3440. "command": "gitlens.views.lineHistory.refresh",
  3441. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3442. "group": "navigation@99"
  3443. },
  3444. {
  3445. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3446. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3447. "group": "1_gitlens"
  3448. },
  3449. {
  3450. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3451. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3452. "group": "1_gitlens"
  3453. },
  3454. {
  3455. "command": "gitlens.views.compare.selectForCompare",
  3456. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3457. "group": "navigation@10"
  3458. },
  3459. {
  3460. "command": "gitlens.views.compare.setKeepResultsToOn",
  3461. "when": "view =~ /^gitlens\\.views\\.compare:/ && !gitlens:views:compare:keepResults",
  3462. "group": "navigation@11"
  3463. },
  3464. {
  3465. "command": "gitlens.views.compare.setKeepResultsToOff",
  3466. "when": "view =~ /^gitlens\\.views\\.compare:/ && gitlens:views:compare:keepResults",
  3467. "group": "navigation@11"
  3468. },
  3469. {
  3470. "command": "gitlens.views.compare.clear",
  3471. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3472. "group": "navigation@98"
  3473. },
  3474. {
  3475. "command": "gitlens.views.compare.refresh",
  3476. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3477. "group": "navigation@99"
  3478. },
  3479. {
  3480. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3481. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3482. "group": "1_gitlens"
  3483. },
  3484. {
  3485. "command": "gitlens.views.compare.setFilesLayoutToList",
  3486. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3487. "group": "1_gitlens"
  3488. },
  3489. {
  3490. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3491. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3492. "group": "1_gitlens"
  3493. },
  3494. {
  3495. "command": "gitlens.views.search.searchCommits",
  3496. "when": "view =~ /^gitlens\\.views\\.search:/",
  3497. "group": "navigation@10"
  3498. },
  3499. {
  3500. "command": "gitlens.views.search.setKeepResultsToOn",
  3501. "when": "view =~ /^gitlens\\.views\\.search:/ && !gitlens:views:search:keepResults",
  3502. "group": "navigation@11"
  3503. },
  3504. {
  3505. "command": "gitlens.views.search.setKeepResultsToOff",
  3506. "when": "view =~ /^gitlens\\.views\\.search:/ && gitlens:views:search:keepResults",
  3507. "group": "navigation@11"
  3508. },
  3509. {
  3510. "command": "gitlens.views.search.clear",
  3511. "when": "view =~ /^gitlens\\.views\\.search:/",
  3512. "group": "navigation@98"
  3513. },
  3514. {
  3515. "command": "gitlens.views.search.refresh",
  3516. "when": "view =~ /^gitlens\\.views\\.search:/",
  3517. "group": "navigation@99"
  3518. },
  3519. {
  3520. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3521. "when": "view =~ /^gitlens\\.views\\.search:/",
  3522. "group": "1_gitlens"
  3523. },
  3524. {
  3525. "command": "gitlens.views.search.setFilesLayoutToList",
  3526. "when": "view =~ /^gitlens\\.views\\.search:/",
  3527. "group": "1_gitlens"
  3528. },
  3529. {
  3530. "command": "gitlens.views.search.setFilesLayoutToTree",
  3531. "when": "view =~ /^gitlens\\.views\\.search:/",
  3532. "group": "1_gitlens"
  3533. },
  3534. {
  3535. "command": "gitlens.supportGitLens",
  3536. "when": "view =~ /^gitlens\\.views\\..*:/ && config.gitlens.advanced.messages.suppressSupportGitLensNotification != true && gitlens:views:supportGitLens:hide != true",
  3537. "group": "navigation@1"
  3538. },
  3539. {
  3540. "command": "gitlens.showSettingsPage",
  3541. "when": "view =~ /^gitlens\\.views\\..*:/",
  3542. "group": "9_gitlens"
  3543. }
  3544. ],
  3545. "view/item/context": [
  3546. {
  3547. "command": "gitlens.openBranchesInRemote",
  3548. "when": "viewItem == gitlens:branches:remotes",
  3549. "group": "inline@98"
  3550. },
  3551. {
  3552. "command": "gitlens.openBranchesInRemote",
  3553. "when": "viewItem == gitlens:branches:remotes",
  3554. "group": "1_gitlens@1"
  3555. },
  3556. {
  3557. "command": "gitlens.views.checkout",
  3558. "when": "viewItem =~ /gitlens:branch\\b(?!:current)\\b/",
  3559. "group": "inline@10"
  3560. },
  3561. {
  3562. "command": "gitlens.views.compareWithRemote",
  3563. "when": "viewItem =~ /gitlens:branch\\b.*?:tracking/",
  3564. "group": "inline@96"
  3565. },
  3566. {
  3567. "command": "gitlens.views.compareWithHead",
  3568. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3569. "group": "inline@97",
  3570. "alt": "gitlens.views.compareWithWorking"
  3571. },
  3572. {
  3573. "command": "gitlens.views.compareWithWorking",
  3574. "when": "viewItem =~ /gitlens:branch:current\\b/",
  3575. "group": "inline@97"
  3576. },
  3577. {
  3578. "command": "gitlens.openBranchInRemote",
  3579. "when": "viewItem =~ /gitlens:branch\\b(.*?:tracking|:remote)/",
  3580. "group": "inline@98"
  3581. },
  3582. {
  3583. "command": "gitlens.views.checkout",
  3584. "when": "viewItem =~ /gitlens:branch\\b(?!:current)\\b/",
  3585. "group": "1_gitlens@1"
  3586. },
  3587. {
  3588. "command": "gitlens.openBranchInRemote",
  3589. "when": "viewItem =~ /gitlens:branch\\b(.*?:tracking|:remote)/",
  3590. "group": "2_gitlens@1"
  3591. },
  3592. {
  3593. "command": "gitlens.views.compareWithRemote",
  3594. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3595. "group": "7_gitlens@1"
  3596. },
  3597. {
  3598. "command": "gitlens.views.compareWithHead",
  3599. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3600. "group": "7_gitlens@2"
  3601. },
  3602. {
  3603. "command": "gitlens.views.compareWithWorking",
  3604. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  3605. "group": "7_gitlens@3"
  3606. },
  3607. {
  3608. "command": "gitlens.views.compareAncestryWithWorking",
  3609. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3610. "group": "7_gitlens@4"
  3611. },
  3612. {
  3613. "command": "gitlens.views.compareWithSelected",
  3614. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  3615. "group": "7_gitlens_@1"
  3616. },
  3617. {
  3618. "command": "gitlens.views.selectForCompare",
  3619. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  3620. "group": "7_gitlens_@2"
  3621. },
  3622. {
  3623. "command": "gitlens.views.compareFileWithSelected",
  3624. "when": "viewItem =~ /gitlens:file:\\b/ && gitlens:views:canCompare:file",
  3625. "group": "7_gitlens_@1"
  3626. },
  3627. {
  3628. "command": "gitlens.views.selectFileForCompare",
  3629. "when": "viewItem =~ /gitlens:file:\\b/",
  3630. "group": "7_gitlens_@2"
  3631. },
  3632. {
  3633. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3634. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3635. "group": "7_gitlens_more@2"
  3636. },
  3637. {
  3638. "command": "gitlens.views.terminalCheckoutBranch",
  3639. "when": "viewItem =~ /gitlens:branch\\b(?!:current)/",
  3640. "group": "8_gitlens@1"
  3641. },
  3642. {
  3643. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3644. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  3645. "group": "8_gitlens@1"
  3646. },
  3647. {
  3648. "command": "gitlens.views.terminalMergeBranch",
  3649. "when": "viewItem =~ /gitlens:branch\\b(?!:current)/",
  3650. "group": "8_gitlens@2"
  3651. },
  3652. {
  3653. "command": "gitlens.views.terminalRebaseBranch",
  3654. "when": "viewItem =~ /gitlens:branch\\b(?!:current)/",
  3655. "group": "8_gitlens@3"
  3656. },
  3657. {
  3658. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3659. "when": "viewItem =~ /gitlens:branch\\b(?!:current)/",
  3660. "group": "8_gitlens@4"
  3661. },
  3662. {
  3663. "command": "gitlens.views.terminalCreateBranch",
  3664. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  3665. "group": "8_gitlens@5"
  3666. },
  3667. {
  3668. "command": "gitlens.views.terminalDeleteBranch",
  3669. "when": "viewItem =~ /gitlens:branch\\b(?!:current)/",
  3670. "group": "8_gitlens@6"
  3671. },
  3672. {
  3673. "command": "gitlens.views.terminalCreateTag",
  3674. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  3675. "group": "8_gitlens@7"
  3676. },
  3677. {
  3678. "command": "gitlens.openCommitInRemote",
  3679. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3680. "group": "inline@98"
  3681. },
  3682. {
  3683. "command": "gitlens.openCommitInRemote",
  3684. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3685. "group": "1_gitlens@1"
  3686. },
  3687. {
  3688. "command": "gitlens.views.openChangedFileChanges",
  3689. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3690. "group": "2_gitlens@1"
  3691. },
  3692. {
  3693. "command": "gitlens.views.openChangedFileChangesWithWorking",
  3694. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3695. "group": "2_gitlens@2"
  3696. },
  3697. {
  3698. "command": "gitlens.views.openChangedFiles",
  3699. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3700. "group": "3_gitlens@1"
  3701. },
  3702. {
  3703. "command": "gitlens.views.openChangedFileRevisions",
  3704. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3705. "group": "3_gitlens@2"
  3706. },
  3707. {
  3708. "command": "gitlens.copyShaToClipboard",
  3709. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3710. "group": "inline@98",
  3711. "alt": "gitlens.copyMessageToClipboard"
  3712. },
  3713. {
  3714. "command": "gitlens.copyShaToClipboard",
  3715. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3716. "group": "5_gitlens@1"
  3717. },
  3718. {
  3719. "command": "gitlens.copyMessageToClipboard",
  3720. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3721. "group": "5_gitlens@2"
  3722. },
  3723. {
  3724. "command": "gitlens.showQuickCommitDetails",
  3725. "when": "viewItem =~ /gitlens:commit\\b/",
  3726. "group": "5_gitlens_1@1"
  3727. },
  3728. {
  3729. "command": "gitlens.showCommitInView",
  3730. "when": "viewItem =~ /gitlens:commit\\b/",
  3731. "group": "5_gitlens_1@2"
  3732. },
  3733. {
  3734. "command": "gitlens.views.terminalCherryPickCommit",
  3735. "when": "viewItem == gitlens:commit",
  3736. "group": "8_gitlens@1"
  3737. },
  3738. {
  3739. "command": "gitlens.views.terminalPushCommit",
  3740. "when": "viewItem == gitlens:commit:current",
  3741. "group": "8_gitlens@2"
  3742. },
  3743. {
  3744. "command": "gitlens.views.terminalRevertCommit",
  3745. "when": "viewItem == gitlens:commit:current",
  3746. "group": "8_gitlens@3"
  3747. },
  3748. {
  3749. "command": "gitlens.views.terminalCheckoutCommit",
  3750. "when": "viewItem =~ /gitlens:commit\\b/",
  3751. "group": "8_gitlens@4"
  3752. },
  3753. {
  3754. "command": "gitlens.views.terminalRebaseCommit",
  3755. "when": "viewItem =~ /gitlens:commit\\b/",
  3756. "group": "8_gitlens@5"
  3757. },
  3758. {
  3759. "command": "gitlens.views.terminalResetCommit",
  3760. "when": "viewItem =~ /gitlens:commit\\b/",
  3761. "group": "8_gitlens@6"
  3762. },
  3763. {
  3764. "command": "gitlens.views.openFile",
  3765. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  3766. "group": "inline@1"
  3767. },
  3768. {
  3769. "command": "gitlens.views.stageFile",
  3770. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3771. "group": "inline@1"
  3772. },
  3773. {
  3774. "command": "gitlens.views.unstageFile",
  3775. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3776. "group": "inline@1"
  3777. },
  3778. {
  3779. "command": "gitlens.views.stageFile",
  3780. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3781. "group": "1_gitlens@1"
  3782. },
  3783. {
  3784. "command": "gitlens.views.unstageFile",
  3785. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3786. "group": "1_gitlens@1"
  3787. },
  3788. {
  3789. "command": "gitlens.stashSave",
  3790. "when": "viewItem =~ /gitlens:file\\b.*:(un)?staged\\b/",
  3791. "group": "1_gitlens@2"
  3792. },
  3793. {
  3794. "command": "gitlens.views.openChanges",
  3795. "when": "viewItem =~ /gitlens:file\\b/",
  3796. "group": "2_gitlens@1"
  3797. },
  3798. {
  3799. "command": "gitlens.externalDiff",
  3800. "when": "viewItem =~ /gitlens:file\\b/",
  3801. "group": "2_gitlens@2"
  3802. },
  3803. {
  3804. "command": "gitlens.views.openChangesWithWorking",
  3805. "when": "viewItem =~ /gitlens:file\\b/",
  3806. "group": "2_gitlens@3"
  3807. },
  3808. {
  3809. "command": "gitlens.views.openFile",
  3810. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  3811. "group": "3_gitlens@1"
  3812. },
  3813. {
  3814. "command": "gitlens.views.openFileRevision",
  3815. "when": "viewItem =~ /gitlens:file\\b/",
  3816. "group": "3_gitlens@2"
  3817. },
  3818. {
  3819. "command": "gitlens.openFileInRemote",
  3820. "when": "viewItem =~ /gitlens:(file(?!:(un)?staged)|history:(file|line))\\b/ && gitlens:hasRemotes",
  3821. "group": "inline@99",
  3822. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  3823. },
  3824. {
  3825. "command": "gitlens.openFileInRemote",
  3826. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3827. "group": "4_gitlens@1"
  3828. },
  3829. {
  3830. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3831. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  3832. "group": "5_gitlens@3"
  3833. },
  3834. {
  3835. "command": "gitlens.views.openFileRevisionInRemote",
  3836. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3837. "group": "4_gitlens@2"
  3838. },
  3839. {
  3840. "command": "gitlens.openFileInRemote",
  3841. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  3842. "group": "3_gitlens@2"
  3843. },
  3844. {
  3845. "command": "gitlens.views.applyChanges",
  3846. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  3847. "group": "5_gitlens_1@1"
  3848. },
  3849. {
  3850. "command": "gitlens.views.applyChanges",
  3851. "when": "viewItem == gitlens:file:stash",
  3852. "group": "1_gitlens@1"
  3853. },
  3854. {
  3855. "command": "gitlens.showQuickCommitDetails",
  3856. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3857. "group": "5_gitlens_2@2"
  3858. },
  3859. {
  3860. "command": "gitlens.showCommitInView",
  3861. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3862. "group": "5_gitlens_2@3"
  3863. },
  3864. {
  3865. "command": "gitlens.showQuickFileHistory",
  3866. "when": "viewItem =~ /gitlens:file\\b/",
  3867. "group": "8_gitlens@1"
  3868. },
  3869. {
  3870. "command": "gitlens.showFileHistoryInView",
  3871. "when": "viewItem =~ /gitlens:file\\b/",
  3872. "group": "8_gitlens@2"
  3873. },
  3874. {
  3875. "command": "gitlens.views.fetch",
  3876. "when": "viewItem == gitlens:remote",
  3877. "group": "inline@97"
  3878. },
  3879. {
  3880. "command": "gitlens.openRepoInRemote",
  3881. "when": "viewItem == gitlens:remote",
  3882. "group": "inline@98"
  3883. },
  3884. {
  3885. "command": "gitlens.openRepoInRemote",
  3886. "when": "viewItem == gitlens:remote",
  3887. "group": "1_gitlens@1"
  3888. },
  3889. {
  3890. "command": "gitlens.openBranchesInRemote",
  3891. "when": "viewItem == gitlens:remote",
  3892. "group": "1_gitlens@2"
  3893. },
  3894. {
  3895. "command": "gitlens.views.fetch",
  3896. "when": "viewItem == gitlens:remote",
  3897. "group": "2_gitlens@1"
  3898. },
  3899. {
  3900. "command": "gitlens.views.terminalRemoveRemote",
  3901. "when": "viewItem == gitlens:remote",
  3902. "group": "8_gitlens@1"
  3903. },
  3904. {
  3905. "command": "gitlens.views.exploreRepoRevision",
  3906. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  3907. "group": "7_gitlens_more@1"
  3908. },
  3909. {
  3910. "command": "gitlens.showCommitSearch",
  3911. "when": "viewItem == gitlens:repository",
  3912. "group": "inline@1"
  3913. },
  3914. {
  3915. "command": "gitlens.views.push",
  3916. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3917. "group": "inline@97",
  3918. "alt": "gitlens.views.pushWithForce"
  3919. },
  3920. {
  3921. "command": "gitlens.views.pull",
  3922. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3923. "group": "inline@98"
  3924. },
  3925. {
  3926. "command": "gitlens.views.fetch",
  3927. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3928. "group": "inline@99"
  3929. },
  3930. {
  3931. "command": "gitlens.views.fetch",
  3932. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3933. "group": "1_gitlens@1"
  3934. },
  3935. {
  3936. "command": "gitlens.views.pull",
  3937. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3938. "group": "1_gitlens@1"
  3939. },
  3940. {
  3941. "command": "gitlens.views.push",
  3942. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3943. "group": "1_gitlens@1"
  3944. },
  3945. {
  3946. "command": "gitlens.views.pushWithForce",
  3947. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3948. "group": "1_gitlens@2"
  3949. },
  3950. {
  3951. "command": "gitlens.views.pull",
  3952. "when": "viewItem == gitlens:status:upstream:behind && gitlens:hasRemotes",
  3953. "group": "inline@1"
  3954. },
  3955. {
  3956. "command": "gitlens.views.pull",
  3957. "when": "viewItem == gitlens:status:upstream:behind && gitlens:hasRemotes",
  3958. "group": "1_gitlens@1"
  3959. },
  3960. {
  3961. "command": "gitlens.views.push",
  3962. "when": "viewItem == gitlens:status:upstream:ahead && gitlens:hasRemotes",
  3963. "group": "inline@1",
  3964. "alt": "gitlens.views.pushWithForce"
  3965. },
  3966. {
  3967. "command": "gitlens.views.push",
  3968. "when": "viewItem == gitlens:status:upstream:ahead && gitlens:hasRemotes",
  3969. "group": "1_gitlens@1"
  3970. },
  3971. {
  3972. "command": "gitlens.views.pushWithForce",
  3973. "when": "viewItem == gitlens:status:upstream:ahead && gitlens:hasRemotes",
  3974. "group": "1_gitlens@2"
  3975. },
  3976. {
  3977. "command": "gitlens.showCommitSearch",
  3978. "when": "viewItem == gitlens:repository",
  3979. "group": "2_gitlens@1"
  3980. },
  3981. {
  3982. "command": "gitlens.stashSave",
  3983. "when": "viewItem == gitlens:repository",
  3984. "group": "3_gitlens@1"
  3985. },
  3986. {
  3987. "command": "gitlens.stashApply",
  3988. "when": "viewItem == gitlens:repository",
  3989. "group": "3_gitlens@2"
  3990. },
  3991. {
  3992. "command": "gitlens.openRepoInRemote",
  3993. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3994. "group": "4_gitlens@1"
  3995. },
  3996. {
  3997. "command": "gitlens.views.closeRepository",
  3998. "when": "viewItem == gitlens:repository",
  3999. "group": "8_gitlens@1"
  4000. },
  4001. {
  4002. "command": "gitlens.views.compare.swapComparision",
  4003. "when": "viewItem == gitlens:compare:results",
  4004. "group": "inline@1"
  4005. },
  4006. {
  4007. "command": "gitlens.views.dismissNode",
  4008. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare|search)\\b(?!:(commits|files))/",
  4009. "group": "inline@2"
  4010. },
  4011. {
  4012. "command": "gitlens.views.dismissNode",
  4013. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare|search)\\b(?!:(commits|files))/",
  4014. "group": "1_gitlens@1"
  4015. },
  4016. {
  4017. "command": "gitlens.views.compare.swapComparision",
  4018. "when": "viewItem == gitlens:compare:results",
  4019. "group": "2_gitlens@1"
  4020. },
  4021. {
  4022. "command": "gitlens.views.openDirectoryDiff",
  4023. "when": "viewItem == gitlens:compare:results",
  4024. "group": "7_gitlens@1"
  4025. },
  4026. {
  4027. "command": "gitlens.stashApply",
  4028. "when": "viewItem == gitlens:stashes",
  4029. "group": "inline@98"
  4030. },
  4031. {
  4032. "command": "gitlens.stashSave",
  4033. "when": "viewItem =~ /^gitlens:(stashes|status:files)$/",
  4034. "group": "inline@99"
  4035. },
  4036. {
  4037. "command": "gitlens.stashSave",
  4038. "when": "viewItem =~ /^gitlens:(stashes|status:files)$/",
  4039. "group": "1_gitlens@1"
  4040. },
  4041. {
  4042. "command": "gitlens.stashApply",
  4043. "when": "viewItem == gitlens:stashes",
  4044. "group": "1_gitlens@2"
  4045. },
  4046. {
  4047. "command": "gitlens.stashApply",
  4048. "when": "viewItem == gitlens:stash",
  4049. "group": "inline@98"
  4050. },
  4051. {
  4052. "command": "gitlens.stashDelete",
  4053. "when": "viewItem == gitlens:stash",
  4054. "group": "inline@99"
  4055. },
  4056. {
  4057. "command": "gitlens.stashApply",
  4058. "when": "viewItem == gitlens:stash",
  4059. "group": "1_gitlens@1"
  4060. },
  4061. {
  4062. "command": "gitlens.stashDelete",
  4063. "when": "viewItem == gitlens:stash",
  4064. "group": "1_gitlens@2"
  4065. },
  4066. {
  4067. "command": "gitlens.views.checkout",
  4068. "when": "viewItem =~ /gitlens:tag\\b/",
  4069. "group": "inline@10"
  4070. },
  4071. {
  4072. "command": "gitlens.views.checkout",
  4073. "when": "viewItem =~ /gitlens:tag\\b/",
  4074. "group": "1_gitlens@1"
  4075. },
  4076. {
  4077. "command": "gitlens.views.terminalDeleteTag",
  4078. "when": "viewItem == gitlens:tag",
  4079. "group": "8_gitlens"
  4080. },
  4081. {
  4082. "command": "gitlens.views.refreshNode",
  4083. "when": "view =~ /^gitlens\\.views\\./ && viewItem =~ /gitlens:(?!file\\b)/",
  4084. "group": "9_gitlens@1"
  4085. }
  4086. ]
  4087. },
  4088. "keybindings": [
  4089. {
  4090. "command": "gitlens.key.left",
  4091. "key": "alt+left",
  4092. "when": "gitlens:key:left"
  4093. },
  4094. {
  4095. "command": "gitlens.key.right",
  4096. "key": "alt+right",
  4097. "when": "gitlens:key:right"
  4098. },
  4099. {
  4100. "command": "gitlens.key.,",
  4101. "key": "alt+,",
  4102. "when": "gitlens:key:,"
  4103. },
  4104. {
  4105. "command": "gitlens.key..",
  4106. "key": "alt+.",
  4107. "when": "gitlens:key:."
  4108. },
  4109. {
  4110. "command": "gitlens.key.escape",
  4111. "key": "escape",
  4112. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  4113. },
  4114. {
  4115. "command": "gitlens.toggleFileBlame",
  4116. "key": "alt+b",
  4117. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4118. },
  4119. {
  4120. "command": "gitlens.toggleCodeLens",
  4121. "key": "shift+alt+b",
  4122. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4123. },
  4124. {
  4125. "command": "gitlens.showLastQuickPick",
  4126. "key": "alt+-",
  4127. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4128. },
  4129. {
  4130. "command": "gitlens.showCommitSearch",
  4131. "key": "alt+/",
  4132. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4133. },
  4134. {
  4135. "command": "gitlens.showQuickFileHistory",
  4136. "key": "alt+h",
  4137. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4138. },
  4139. {
  4140. "command": "gitlens.showQuickRepoHistory",
  4141. "key": "shift+alt+h",
  4142. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4143. },
  4144. {
  4145. "command": "gitlens.showQuickRepoStatus",
  4146. "key": "alt+s",
  4147. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4148. },
  4149. {
  4150. "command": "gitlens.showQuickCommitFileDetails",
  4151. "key": "alt+c",
  4152. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
  4153. },
  4154. {
  4155. "command": "gitlens.diffWithNext",
  4156. "key": "alt+.",
  4157. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4158. },
  4159. {
  4160. "command": "gitlens.diffLineWithPrevious",
  4161. "key": "shift+alt+,",
  4162. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4163. },
  4164. {
  4165. "command": "gitlens.diffWithPrevious",
  4166. "key": "alt+,",
  4167. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4168. },
  4169. {
  4170. "command": "gitlens.diffWithPreviousInDiff",
  4171. "key": "alt+,",
  4172. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4173. },
  4174. {
  4175. "command": "gitlens.diffLineWithWorking",
  4176. "key": "alt+w",
  4177. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4178. },
  4179. {
  4180. "command": "gitlens.diffWithWorking",
  4181. "key": "shift+alt+w",
  4182. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4183. },
  4184. {
  4185. "command": "gitlens.toggleFileBlame",
  4186. "key": "ctrl+shift+g b",
  4187. "mac": "cmd+alt+g b",
  4188. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4189. },
  4190. {
  4191. "command": "gitlens.toggleCodeLens",
  4192. "key": "ctrl+shift+g shift+b",
  4193. "mac": "cmd+alt+g shift+b",
  4194. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4195. },
  4196. {
  4197. "command": "gitlens.showLastQuickPick",
  4198. "key": "ctrl+shift+g -",
  4199. "mac": "cmd+alt+g -",
  4200. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4201. },
  4202. {
  4203. "command": "gitlens.showCommitSearch",
  4204. "key": "ctrl+shift+g /",
  4205. "mac": "cmd+alt+g /",
  4206. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4207. },
  4208. {
  4209. "command": "gitlens.showQuickFileHistory",
  4210. "key": "ctrl+shift+g h",
  4211. "mac": "cmd+alt+g h",
  4212. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4213. },
  4214. {
  4215. "command": "gitlens.showQuickRepoHistory",
  4216. "key": "ctrl+shift+g shift+h",
  4217. "mac": "cmd+alt+g shift+h",
  4218. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4219. },
  4220. {
  4221. "command": "gitlens.showQuickRepoStatus",
  4222. "key": "ctrl+shift+g s",
  4223. "mac": "cmd+alt+g s",
  4224. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4225. },
  4226. {
  4227. "command": "gitlens.showQuickCommitFileDetails",
  4228. "key": "ctrl+shift+g c",
  4229. "mac": "cmd+alt+g c",
  4230. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
  4231. },
  4232. {
  4233. "command": "gitlens.diffWithNext",
  4234. "key": "ctrl+shift+g .",
  4235. "mac": "cmd+alt+g .",
  4236. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4237. },
  4238. {
  4239. "command": "gitlens.diffLineWithPrevious",
  4240. "key": "ctrl+shift+g shift+,",
  4241. "mac": "cmd+alt+g shift+,",
  4242. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4243. },
  4244. {
  4245. "command": "gitlens.diffWithPrevious",
  4246. "key": "ctrl+shift+g ,",
  4247. "mac": "cmd+alt+g ,",
  4248. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4249. },
  4250. {
  4251. "command": "gitlens.diffWithPreviousInDiff",
  4252. "key": "ctrl+shift+g ,",
  4253. "mac": "cmd+alt+g ,",
  4254. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4255. },
  4256. {
  4257. "command": "gitlens.diffLineWithWorking",
  4258. "key": "ctrl+shift+g w",
  4259. "mac": "cmd+alt+g w",
  4260. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4261. },
  4262. {
  4263. "command": "gitlens.diffWithWorking",
  4264. "key": "ctrl+shift+g shift+w",
  4265. "mac": "cmd+alt+g shift+w",
  4266. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4267. },
  4268. {
  4269. "command": "workbench.view.scm",
  4270. "key": "ctrl+shift+g g",
  4271. "mac": "ctrl+shift+g",
  4272. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4273. }
  4274. ],
  4275. "viewsContainers": {
  4276. "activitybar": [
  4277. {
  4278. "id": "gitlens",
  4279. "title": "GitLens",
  4280. "icon": "images/gitlens-activitybar.svg"
  4281. }
  4282. ]
  4283. },
  4284. "views": {
  4285. "gitlens": [
  4286. {
  4287. "id": "gitlens.views.repositories:gitlens",
  4288. "name": "Repositories",
  4289. "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
  4290. },
  4291. {
  4292. "id": "gitlens.views.fileHistory:gitlens",
  4293. "name": "File History",
  4294. "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
  4295. },
  4296. {
  4297. "id": "gitlens.views.lineHistory:gitlens",
  4298. "name": "Line History",
  4299. "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
  4300. },
  4301. {
  4302. "id": "gitlens.views.compare:gitlens",
  4303. "name": "Compare",
  4304. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
  4305. },
  4306. {
  4307. "id": "gitlens.views.search:gitlens",
  4308. "name": "Search Commits",
  4309. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
  4310. }
  4311. ],
  4312. "explorer": [
  4313. {
  4314. "id": "gitlens.views.repositories:explorer",
  4315. "name": "GitLens: Repositories",
  4316. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
  4317. },
  4318. {
  4319. "id": "gitlens.views.fileHistory:explorer",
  4320. "name": "GitLens: File History",
  4321. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
  4322. },
  4323. {
  4324. "id": "gitlens.views.lineHistory:explorer",
  4325. "name": "GitLens: Line History",
  4326. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
  4327. },
  4328. {
  4329. "id": "gitlens.views.compare:explorer",
  4330. "name": "GitLens: Compare",
  4331. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
  4332. },
  4333. {
  4334. "id": "gitlens.views.search:explorer",
  4335. "name": "GitLens: Search Commits",
  4336. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
  4337. }
  4338. ],
  4339. "scm": [
  4340. {
  4341. "id": "gitlens.views.repositories:scm",
  4342. "name": "GitLens: Repositories",
  4343. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
  4344. },
  4345. {
  4346. "id": "gitlens.views.fileHistory:scm",
  4347. "name": "GitLens: File History",
  4348. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
  4349. },
  4350. {
  4351. "id": "gitlens.views.lineHistory:scm",
  4352. "name": "GitLens: Line History",
  4353. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
  4354. },
  4355. {
  4356. "id": "gitlens.views.compare:scm",
  4357. "name": "GitLens: Compare",
  4358. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
  4359. },
  4360. {
  4361. "id": "gitlens.views.search:scm",
  4362. "name": "GitLens: Search Commits",
  4363. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
  4364. }
  4365. ]
  4366. }
  4367. },
  4368. "scripts": {
  4369. "build": "webpack --env.development",
  4370. "bundle": "webpack --env.production",
  4371. "clean": "git clean -Xdf -e !.cache-images",
  4372. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  4373. "pack": "vsce package",
  4374. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  4375. "pub": "vsce publish",
  4376. "rebuild": "npm run reset && npm run build",
  4377. "reset": "npm run clean && npm install --no-save",
  4378. "watch": "webpack --watch --env.development --info-verbosity verbose",
  4379. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  4380. "ui:watch": "webpack --watch --config-name ui --env.development --info-verbosity verbose",
  4381. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  4382. "postinstall": "node ./node_modules/vscode/bin/install",
  4383. "vscode:prepublish": "npm run reset && npm run bundle"
  4384. },
  4385. "dependencies": {
  4386. "clipboardy": "1.2.3",
  4387. "date-fns": "1.29.0",
  4388. "iconv-lite": "0.4.24",
  4389. "lodash-es": "4.17.11",
  4390. "tslib": "1.9.3"
  4391. },
  4392. "devDependencies": {
  4393. "@types/clipboardy": "1.1.0",
  4394. "@types/lodash-es": "4.17.1",
  4395. "@types/node": "8.10.38",
  4396. "clean-webpack-plugin": "1.0.0",
  4397. "css-loader": "1.0.1",
  4398. "filemanager-webpack-plugin": "2.0.5",
  4399. "html-webpack-inline-source-plugin": "0.0.10",
  4400. "html-webpack-plugin": "3.2.0",
  4401. "imagemin-webpack-plugin": "2.3.0",
  4402. "mini-css-extract-plugin": "0.4.4",
  4403. "node-sass": "4.10.0",
  4404. "prettier": "1.15.2",
  4405. "prettier-tslint": "0.4.0",
  4406. "sass-loader": "7.1.0",
  4407. "terser-webpack-plugin": "1.1.0",
  4408. "tslint": "5.11.0",
  4409. "tslint-loader": "3.5.4",
  4410. "tslint-prettiest": "0.0.1",
  4411. "ts-loader": "5.3.0",
  4412. "typescript": "3.1.6",
  4413. "vsce": "1.53.0",
  4414. "vscode": "1.1.21",
  4415. "webpack": "4.26.0",
  4416. "webpack-cli": "3.1.2"
  4417. }
  4418. }