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.

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