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.

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