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.

4631 lines
208 KiB

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