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.

4600 lines
206 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.1",
  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.svg",
  1818. "light": "images/light/icon-compare.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 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.externalDiff",
  2089. "title": "Open Changes (with difftool)",
  2090. "category": "GitLens"
  2091. },
  2092. {
  2093. "command": "gitlens.externalDiffAll",
  2094. "title": "Open All Changes (with difftool)",
  2095. "category": "GitLens"
  2096. },
  2097. {
  2098. "command": "gitlens.resetSuppressedWarnings",
  2099. "title": "Reset Suppressed Warnings",
  2100. "category": "GitLens"
  2101. },
  2102. {
  2103. "command": "gitlens.views.exploreRepoRevision",
  2104. "title": "Explore Repository from Here",
  2105. "category": "GitLens"
  2106. },
  2107. {
  2108. "command": "gitlens.fetchRepositories",
  2109. "title": "Fetch Repositories",
  2110. "category": "GitLens",
  2111. "icon": {
  2112. "dark": "images/dark/icon-sync.svg",
  2113. "light": "images/light/icon-sync.svg"
  2114. }
  2115. },
  2116. {
  2117. "command": "gitlens.pullRepositories",
  2118. "title": "Pull Repositories",
  2119. "category": "GitLens",
  2120. "icon": {
  2121. "dark": "images/dark/icon-pull.svg",
  2122. "light": "images/light/icon-pull.svg"
  2123. }
  2124. },
  2125. {
  2126. "command": "gitlens.pushRepositories",
  2127. "title": "Push Repositories",
  2128. "category": "GitLens",
  2129. "icon": {
  2130. "dark": "images/dark/icon-push.svg",
  2131. "light": "images/light/icon-push.svg"
  2132. }
  2133. },
  2134. {
  2135. "command": "gitlens.views.checkout",
  2136. "title": "Checkout",
  2137. "category": "GitLens",
  2138. "icon": {
  2139. "dark": "images/dark/icon-checkout.svg",
  2140. "light": "images/light/icon-checkout.svg"
  2141. }
  2142. },
  2143. {
  2144. "command": "gitlens.views.fetch",
  2145. "title": "Fetch Repository",
  2146. "category": "GitLens",
  2147. "icon": {
  2148. "dark": "images/dark/icon-sync.svg",
  2149. "light": "images/light/icon-sync.svg"
  2150. }
  2151. },
  2152. {
  2153. "command": "gitlens.views.pull",
  2154. "title": "Pull Repository",
  2155. "category": "GitLens",
  2156. "icon": {
  2157. "dark": "images/dark/icon-pull.svg",
  2158. "light": "images/light/icon-pull.svg"
  2159. }
  2160. },
  2161. {
  2162. "command": "gitlens.views.push",
  2163. "title": "Push Repository",
  2164. "category": "GitLens",
  2165. "icon": {
  2166. "dark": "images/dark/icon-push.svg",
  2167. "light": "images/light/icon-push.svg"
  2168. }
  2169. },
  2170. {
  2171. "command": "gitlens.views.pushWithForce",
  2172. "title": "Push (force) Repository",
  2173. "category": "GitLens",
  2174. "icon": {
  2175. "dark": "images/dark/icon-push-force.svg",
  2176. "light": "images/light/icon-push-force.svg"
  2177. }
  2178. },
  2179. {
  2180. "command": "gitlens.views.stageFile",
  2181. "title": "Stage Changes",
  2182. "category": "GitLens",
  2183. "icon": {
  2184. "dark": "images/dark/icon-add.svg",
  2185. "light": "images/light/icon-add.svg"
  2186. }
  2187. },
  2188. {
  2189. "command": "gitlens.views.unstageFile",
  2190. "title": "Unstage Changes",
  2191. "category": "GitLens",
  2192. "icon": {
  2193. "dark": "images/dark/icon-minus.svg",
  2194. "light": "images/light/icon-minus.svg"
  2195. }
  2196. },
  2197. {
  2198. "command": "gitlens.views.openDirectoryDiff",
  2199. "title": "Open Directory Compare",
  2200. "category": "GitLens"
  2201. },
  2202. {
  2203. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2204. "title": "Open Directory Compare with Working Tree",
  2205. "category": "GitLens"
  2206. },
  2207. {
  2208. "command": "gitlens.views.openChanges",
  2209. "title": "Open Changes",
  2210. "category": "GitLens"
  2211. },
  2212. {
  2213. "command": "gitlens.views.openChangesWithWorking",
  2214. "title": "Open Changes with Working File",
  2215. "category": "GitLens"
  2216. },
  2217. {
  2218. "command": "gitlens.views.openFile",
  2219. "title": "Open File",
  2220. "category": "GitLens",
  2221. "icon": {
  2222. "dark": "images/dark/icon-open-file.svg",
  2223. "light": "images/light/icon-open-file.svg"
  2224. }
  2225. },
  2226. {
  2227. "command": "gitlens.views.openFileRevision",
  2228. "title": "Open Revision",
  2229. "category": "GitLens"
  2230. },
  2231. {
  2232. "command": "gitlens.views.openFileRevisionInRemote",
  2233. "title": "Open Revision on Remote",
  2234. "category": "GitLens",
  2235. "icon": {
  2236. "dark": "images/dark/icon-link.svg",
  2237. "light": "images/light/icon-link.svg"
  2238. }
  2239. },
  2240. {
  2241. "command": "gitlens.views.openChangedFiles",
  2242. "title": "Open Files",
  2243. "category": "GitLens"
  2244. },
  2245. {
  2246. "command": "gitlens.views.openChangedFileChanges",
  2247. "title": "Open All Changes",
  2248. "category": "GitLens"
  2249. },
  2250. {
  2251. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2252. "title": "Open All Changes with Working Tree",
  2253. "category": "GitLens"
  2254. },
  2255. {
  2256. "command": "gitlens.views.openChangedFileRevisions",
  2257. "title": "Open Revisions",
  2258. "category": "GitLens"
  2259. },
  2260. {
  2261. "command": "gitlens.views.applyChanges",
  2262. "title": "Apply Changes",
  2263. "category": "GitLens"
  2264. },
  2265. {
  2266. "command": "gitlens.views.closeRepository",
  2267. "title": "Close Repository",
  2268. "category": "GitLens"
  2269. },
  2270. {
  2271. "command": "gitlens.views.compareAncestryWithWorking",
  2272. "title": "Compare Ancestry with Working Tree",
  2273. "category": "GitLens"
  2274. },
  2275. {
  2276. "command": "gitlens.views.compareWithHead",
  2277. "title": "Compare with HEAD",
  2278. "category": "GitLens",
  2279. "icon": {
  2280. "dark": "images/dark/icon-compare-refs.svg",
  2281. "light": "images/light/icon-compare-refs.svg"
  2282. }
  2283. },
  2284. {
  2285. "command": "gitlens.views.compareWithRemote",
  2286. "title": "Compare with Remote",
  2287. "category": "GitLens",
  2288. "icon": {
  2289. "dark": "images/dark/icon-compare-ref-remote.svg",
  2290. "light": "images/light/icon-compare-ref-remote.svg"
  2291. }
  2292. },
  2293. {
  2294. "command": "gitlens.views.compareWithSelected",
  2295. "title": "Compare with Selected",
  2296. "category": "GitLens"
  2297. },
  2298. {
  2299. "command": "gitlens.views.selectForCompare",
  2300. "title": "Select for Compare",
  2301. "category": "GitLens"
  2302. },
  2303. {
  2304. "command": "gitlens.views.compareFileWithSelected",
  2305. "title": "Compare with Selected",
  2306. "category": "GitLens"
  2307. },
  2308. {
  2309. "command": "gitlens.views.selectFileForCompare",
  2310. "title": "Select for Compare",
  2311. "category": "GitLens"
  2312. },
  2313. {
  2314. "command": "gitlens.views.compareWithWorking",
  2315. "title": "Compare with Working Tree",
  2316. "category": "GitLens",
  2317. "icon": {
  2318. "dark": "images/dark/icon-compare-ref-working.svg",
  2319. "light": "images/light/icon-compare-ref-working.svg"
  2320. }
  2321. },
  2322. {
  2323. "command": "gitlens.views.terminalCheckoutBranch",
  2324. "title": "Checkout Branch (via Terminal)",
  2325. "category": "GitLens"
  2326. },
  2327. {
  2328. "command": "gitlens.views.terminalCreateBranch",
  2329. "title": "Create Branch (via Terminal)...",
  2330. "category": "GitLens"
  2331. },
  2332. {
  2333. "command": "gitlens.views.terminalDeleteBranch",
  2334. "title": "Delete Branch (via Terminal)",
  2335. "category": "GitLens"
  2336. },
  2337. {
  2338. "command": "gitlens.views.terminalMergeBranch",
  2339. "title": "Merge Branch (via Terminal)",
  2340. "category": "GitLens"
  2341. },
  2342. {
  2343. "command": "gitlens.views.terminalRebaseBranch",
  2344. "title": "Rebase (Interactive) Branch (via Terminal)",
  2345. "category": "GitLens"
  2346. },
  2347. {
  2348. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2349. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2350. "category": "GitLens"
  2351. },
  2352. {
  2353. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2354. "title": "Squash Branch into Commit (via Terminal)",
  2355. "category": "GitLens"
  2356. },
  2357. {
  2358. "command": "gitlens.views.terminalCheckoutCommit",
  2359. "title": "Checkout Commit (via Terminal)",
  2360. "category": "GitLens"
  2361. },
  2362. {
  2363. "command": "gitlens.views.terminalCherryPickCommit",
  2364. "title": "Cherry Pick Commit (via Terminal)",
  2365. "category": "GitLens"
  2366. },
  2367. {
  2368. "command": "gitlens.views.terminalPushCommit",
  2369. "title": "Push to Commit (via Terminal)",
  2370. "category": "GitLens"
  2371. },
  2372. {
  2373. "command": "gitlens.views.terminalRebaseCommit",
  2374. "title": "Rebase to Commit (via Terminal)",
  2375. "category": "GitLens"
  2376. },
  2377. {
  2378. "command": "gitlens.views.terminalResetCommit",
  2379. "title": "Reset to Commit (via Terminal)",
  2380. "category": "GitLens"
  2381. },
  2382. {
  2383. "command": "gitlens.views.terminalRevertCommit",
  2384. "title": "Revert Commit (via Terminal)",
  2385. "category": "GitLens"
  2386. },
  2387. {
  2388. "command": "gitlens.views.terminalRemoveRemote",
  2389. "title": "Remove Remote (via Terminal)",
  2390. "category": "GitLens"
  2391. },
  2392. {
  2393. "command": "gitlens.views.terminalCreateTag",
  2394. "title": "Create Tag (via Terminal)...",
  2395. "category": "GitLens"
  2396. },
  2397. {
  2398. "command": "gitlens.views.terminalDeleteTag",
  2399. "title": "Delete Tag (via Terminal)",
  2400. "category": "GitLens"
  2401. },
  2402. {
  2403. "command": "gitlens.views.repositories.refresh",
  2404. "title": "Refresh",
  2405. "category": "GitLens",
  2406. "icon": {
  2407. "dark": "images/dark/icon-refresh.svg",
  2408. "light": "images/light/icon-refresh.svg"
  2409. }
  2410. },
  2411. {
  2412. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2413. "title": "Automatic Layout",
  2414. "category": "GitLens"
  2415. },
  2416. {
  2417. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2418. "title": "List Layout",
  2419. "category": "GitLens"
  2420. },
  2421. {
  2422. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2423. "title": "Tree Layout",
  2424. "category": "GitLens"
  2425. },
  2426. {
  2427. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2428. "title": "Enable Automatic Refresh",
  2429. "category": "GitLens"
  2430. },
  2431. {
  2432. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2433. "title": "Disable Automatic Refresh",
  2434. "category": "GitLens"
  2435. },
  2436. {
  2437. "command": "gitlens.views.fileHistory.refresh",
  2438. "title": "Refresh",
  2439. "category": "GitLens",
  2440. "icon": {
  2441. "dark": "images/dark/icon-refresh.svg",
  2442. "light": "images/light/icon-refresh.svg"
  2443. }
  2444. },
  2445. {
  2446. "command": "gitlens.views.fileHistory.changeBase",
  2447. "title": "Change Base...",
  2448. "category": "GitLens",
  2449. "icon": {
  2450. "dark": "images/dark/icon-history.svg",
  2451. "light": "images/light/icon-history.svg"
  2452. }
  2453. },
  2454. {
  2455. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2456. "title": "Resume File Tracking",
  2457. "category": "GitLens",
  2458. "icon": {
  2459. "dark": "images/dark/icon-location.svg",
  2460. "light": "images/light/icon-location.svg"
  2461. }
  2462. },
  2463. {
  2464. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2465. "title": "Pause File Tracking",
  2466. "category": "GitLens",
  2467. "icon": {
  2468. "dark": "images/dark/icon-location-filled.svg",
  2469. "light": "images/light/icon-location-filled.svg"
  2470. }
  2471. },
  2472. {
  2473. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2474. "title": "Follow Renames",
  2475. "category": "GitLens"
  2476. },
  2477. {
  2478. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2479. "title": "Don't Follow Renames",
  2480. "category": "GitLens"
  2481. },
  2482. {
  2483. "command": "gitlens.views.lineHistory.refresh",
  2484. "title": "Refresh",
  2485. "category": "GitLens",
  2486. "icon": {
  2487. "dark": "images/dark/icon-refresh.svg",
  2488. "light": "images/light/icon-refresh.svg"
  2489. }
  2490. },
  2491. {
  2492. "command": "gitlens.views.lineHistory.changeBase",
  2493. "title": "Change Base...",
  2494. "category": "GitLens",
  2495. "icon": {
  2496. "dark": "images/dark/icon-history.svg",
  2497. "light": "images/light/icon-history.svg"
  2498. }
  2499. },
  2500. {
  2501. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2502. "title": "Resume Line Tracking",
  2503. "category": "GitLens",
  2504. "icon": {
  2505. "dark": "images/dark/icon-location.svg",
  2506. "light": "images/light/icon-location.svg"
  2507. }
  2508. },
  2509. {
  2510. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2511. "title": "Pause Line Tracking",
  2512. "category": "GitLens",
  2513. "icon": {
  2514. "dark": "images/dark/icon-location-filled.svg",
  2515. "light": "images/light/icon-location-filled.svg"
  2516. }
  2517. },
  2518. {
  2519. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2520. "title": "Follow Renames",
  2521. "category": "GitLens"
  2522. },
  2523. {
  2524. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2525. "title": "Don't Follow Renames",
  2526. "category": "GitLens"
  2527. },
  2528. {
  2529. "command": "gitlens.views.compare.selectForCompare",
  2530. "title": "Compare Branch or Tag with...",
  2531. "category": "GitLens",
  2532. "icon": {
  2533. "dark": "images/dark/icon-compare-refs.svg",
  2534. "light": "images/light/icon-compare-refs.svg"
  2535. }
  2536. },
  2537. {
  2538. "command": "gitlens.views.compare.clear",
  2539. "title": "Clear Results",
  2540. "category": "GitLens",
  2541. "icon": {
  2542. "dark": "images/dark/icon-clear.svg",
  2543. "light": "images/light/icon-clear.svg"
  2544. }
  2545. },
  2546. {
  2547. "command": "gitlens.views.compare.refresh",
  2548. "title": "Refresh",
  2549. "category": "GitLens",
  2550. "icon": {
  2551. "dark": "images/dark/icon-refresh.svg",
  2552. "light": "images/light/icon-refresh.svg"
  2553. }
  2554. },
  2555. {
  2556. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  2557. "title": "Automatic Layout",
  2558. "category": "GitLens"
  2559. },
  2560. {
  2561. "command": "gitlens.views.compare.setFilesLayoutToList",
  2562. "title": "List Layout",
  2563. "category": "GitLens"
  2564. },
  2565. {
  2566. "command": "gitlens.views.compare.setFilesLayoutToTree",
  2567. "title": "Tree Layout",
  2568. "category": "GitLens"
  2569. },
  2570. {
  2571. "command": "gitlens.views.compare.setKeepResultsToOn",
  2572. "title": "Keep Results",
  2573. "category": "GitLens",
  2574. "icon": {
  2575. "dark": "images/dark/icon-lock.svg",
  2576. "light": "images/light/icon-lock.svg"
  2577. }
  2578. },
  2579. {
  2580. "command": "gitlens.views.compare.setKeepResultsToOff",
  2581. "title": "Keep Results",
  2582. "category": "GitLens",
  2583. "icon": {
  2584. "dark": "images/dark/icon-locked.svg",
  2585. "light": "images/light/icon-locked.svg"
  2586. }
  2587. },
  2588. {
  2589. "command": "gitlens.views.compare.swapComparision",
  2590. "title": "Swap Comparision",
  2591. "category": "GitLens",
  2592. "icon": {
  2593. "dark": "images/dark/icon-swap.svg",
  2594. "light": "images/light/icon-swap.svg"
  2595. }
  2596. },
  2597. {
  2598. "command": "gitlens.views.search.searchCommits",
  2599. "title": "Search Commits",
  2600. "category": "GitLens",
  2601. "icon": {
  2602. "dark": "images/dark/icon-search.svg",
  2603. "light": "images/light/icon-search.svg"
  2604. }
  2605. },
  2606. {
  2607. "command": "gitlens.views.search.clear",
  2608. "title": "Clear Results",
  2609. "category": "GitLens",
  2610. "icon": {
  2611. "dark": "images/dark/icon-clear.svg",
  2612. "light": "images/light/icon-clear.svg"
  2613. }
  2614. },
  2615. {
  2616. "command": "gitlens.views.search.refresh",
  2617. "title": "Refresh",
  2618. "category": "GitLens",
  2619. "icon": {
  2620. "dark": "images/dark/icon-refresh.svg",
  2621. "light": "images/light/icon-refresh.svg"
  2622. }
  2623. },
  2624. {
  2625. "command": "gitlens.views.search.setFilesLayoutToAuto",
  2626. "title": "Automatic Layout",
  2627. "category": "GitLens"
  2628. },
  2629. {
  2630. "command": "gitlens.views.search.setFilesLayoutToList",
  2631. "title": "List Layout",
  2632. "category": "GitLens"
  2633. },
  2634. {
  2635. "command": "gitlens.views.search.setFilesLayoutToTree",
  2636. "title": "Tree Layout",
  2637. "category": "GitLens"
  2638. },
  2639. {
  2640. "command": "gitlens.views.search.setKeepResultsToOn",
  2641. "title": "Keep Results",
  2642. "category": "GitLens",
  2643. "icon": {
  2644. "dark": "images/dark/icon-lock.svg",
  2645. "light": "images/light/icon-lock.svg"
  2646. }
  2647. },
  2648. {
  2649. "command": "gitlens.views.search.setKeepResultsToOff",
  2650. "title": "Keep Results",
  2651. "category": "GitLens",
  2652. "icon": {
  2653. "dark": "images/dark/icon-locked.svg",
  2654. "light": "images/light/icon-locked.svg"
  2655. }
  2656. },
  2657. {
  2658. "command": "gitlens.views.dismissNode",
  2659. "title": "Dismiss",
  2660. "category": "GitLens",
  2661. "icon": {
  2662. "dark": "images/dark/icon-close-small.svg",
  2663. "light": "images/light/icon-close-small.svg"
  2664. }
  2665. },
  2666. {
  2667. "command": "gitlens.views.expandNode",
  2668. "title": "Expand",
  2669. "category": "GitLens"
  2670. },
  2671. {
  2672. "command": "gitlens.views.refreshNode",
  2673. "title": "Refresh",
  2674. "category": "GitLens"
  2675. }
  2676. ],
  2677. "menus": {
  2678. "commandPalette": [
  2679. {
  2680. "command": "gitlens.showCompareView",
  2681. "when": "gitlens:enabled"
  2682. },
  2683. {
  2684. "command": "gitlens.showFileHistoryView",
  2685. "when": "gitlens:enabled"
  2686. },
  2687. {
  2688. "command": "gitlens.showLineHistoryView",
  2689. "when": "gitlens:enabled"
  2690. },
  2691. {
  2692. "command": "gitlens.showRepositoriesView",
  2693. "when": "gitlens:enabled"
  2694. },
  2695. {
  2696. "command": "gitlens.showSearchView",
  2697. "when": "gitlens:enabled"
  2698. },
  2699. {
  2700. "command": "gitlens.diffDirectory",
  2701. "when": "gitlens:enabled"
  2702. },
  2703. {
  2704. "command": "gitlens.diffDirectoryWithHead",
  2705. "when": "gitlens:enabled"
  2706. },
  2707. {
  2708. "command": "gitlens.diffHeadWithBranch",
  2709. "when": "gitlens:enabled"
  2710. },
  2711. {
  2712. "command": "gitlens.diffWorkingWithBranch",
  2713. "when": "gitlens:enabled"
  2714. },
  2715. {
  2716. "command": "gitlens.diffWithBranch",
  2717. "when": "gitlens:activeFileStatus =~ /tracked/"
  2718. },
  2719. {
  2720. "command": "gitlens.diffWithNext",
  2721. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2722. },
  2723. {
  2724. "command": "gitlens.diffWithPrevious",
  2725. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2726. },
  2727. {
  2728. "command": "gitlens.diffWithPreviousInDiff",
  2729. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2730. },
  2731. {
  2732. "command": "gitlens.diffLineWithPrevious",
  2733. "when": "gitlens:activeFileStatus =~ /blameable/"
  2734. },
  2735. {
  2736. "command": "gitlens.diffWithRevision",
  2737. "when": "gitlens:activeFileStatus =~ /tracked/"
  2738. },
  2739. {
  2740. "command": "gitlens.diffWithWorking",
  2741. "when": "gitlens:activeFileStatus =~ /tracked/"
  2742. },
  2743. {
  2744. "command": "gitlens.diffLineWithWorking",
  2745. "when": "gitlens:activeFileStatus =~ /blameable/"
  2746. },
  2747. {
  2748. "command": "gitlens.externalDiff",
  2749. "when": "gitlens:activeFileStatus =~ /tracked/"
  2750. },
  2751. {
  2752. "command": "gitlens.externalDiffAll",
  2753. "when": "gitlens:enabled"
  2754. },
  2755. {
  2756. "command": "gitlens.toggleFileBlame",
  2757. "when": "gitlens:activeFileStatus =~ /blameable/"
  2758. },
  2759. {
  2760. "command": "gitlens.clearFileAnnotations",
  2761. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2762. },
  2763. {
  2764. "command": "gitlens.computingFileAnnotations",
  2765. "when": "false"
  2766. },
  2767. {
  2768. "command": "gitlens.toggleFileHeatmap",
  2769. "when": "gitlens:activeFileStatus =~ /blameable/"
  2770. },
  2771. {
  2772. "command": "gitlens.toggleFileRecentChanges",
  2773. "when": "gitlens:activeFileStatus =~ /blameable/"
  2774. },
  2775. {
  2776. "command": "gitlens.toggleLineBlame",
  2777. "when": "gitlens:enabled"
  2778. },
  2779. {
  2780. "command": "gitlens.toggleCodeLens",
  2781. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2782. },
  2783. {
  2784. "command": "gitlens.switchMode",
  2785. "when": "gitlens:enabled"
  2786. },
  2787. {
  2788. "command": "gitlens.toggleReviewMode",
  2789. "when": "gitlens:enabled"
  2790. },
  2791. {
  2792. "command": "gitlens.toggleZenMode",
  2793. "when": "gitlens:enabled"
  2794. },
  2795. {
  2796. "command": "gitlens.showCommitSearch",
  2797. "when": "gitlens:enabled"
  2798. },
  2799. {
  2800. "command": "gitlens.showLastQuickPick",
  2801. "when": "gitlens:enabled"
  2802. },
  2803. {
  2804. "command": "gitlens.showCommitInView",
  2805. "when": "gitlens:activeFileStatus =~ /blameable/"
  2806. },
  2807. {
  2808. "command": "gitlens.showFileHistoryInView",
  2809. "when": "gitlens:activeFileStatus =~ /tracked/"
  2810. },
  2811. {
  2812. "command": "gitlens.showQuickCommitDetails",
  2813. "when": "gitlens:activeFileStatus =~ /blameable/"
  2814. },
  2815. {
  2816. "command": "gitlens.showQuickCommitFileDetails",
  2817. "when": "gitlens:activeFileStatus =~ /blameable/"
  2818. },
  2819. {
  2820. "command": "gitlens.showQuickRevisionDetails",
  2821. "when": "gitlens:activeFileStatus =~ /revision/"
  2822. },
  2823. {
  2824. "command": "gitlens.showQuickFileHistory",
  2825. "when": "gitlens:activeFileStatus =~ /tracked/"
  2826. },
  2827. {
  2828. "command": "gitlens.showQuickBranchHistory",
  2829. "when": "gitlens:enabled"
  2830. },
  2831. {
  2832. "command": "gitlens.showQuickRepoHistory",
  2833. "when": "gitlens:enabled"
  2834. },
  2835. {
  2836. "command": "gitlens.showQuickRepoStatus",
  2837. "when": "gitlens:enabled"
  2838. },
  2839. {
  2840. "command": "gitlens.showQuickStashList",
  2841. "when": "gitlens:enabled"
  2842. },
  2843. {
  2844. "command": "gitlens.copyMessageToClipboard",
  2845. "when": "gitlens:activeFileStatus =~ /blameable/"
  2846. },
  2847. {
  2848. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2849. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2850. },
  2851. {
  2852. "command": "gitlens.copyShaToClipboard",
  2853. "when": "gitlens:activeFileStatus =~ /blameable/"
  2854. },
  2855. {
  2856. "command": "gitlens.closeUnchangedFiles",
  2857. "when": "gitlens:enabled"
  2858. },
  2859. {
  2860. "command": "gitlens.openChangedFiles",
  2861. "when": "gitlens:enabled"
  2862. },
  2863. {
  2864. "command": "gitlens.openBranchesInRemote",
  2865. "when": "gitlens:hasRemotes"
  2866. },
  2867. {
  2868. "command": "gitlens.openBranchInRemote",
  2869. "when": "gitlens:hasRemotes"
  2870. },
  2871. {
  2872. "command": "gitlens.openCommitInRemote",
  2873. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2874. },
  2875. {
  2876. "command": "gitlens.openFileInRemote",
  2877. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2878. },
  2879. {
  2880. "command": "gitlens.openFileRevision",
  2881. "when": "gitlens:activeFileStatus =~ /tracked/"
  2882. },
  2883. {
  2884. "command": "gitlens.openRepoInRemote",
  2885. "when": "gitlens:hasRemotes"
  2886. },
  2887. {
  2888. "command": "gitlens.openWorkingFile",
  2889. "when": "gitlens:activeFileStatus =~ /revision/"
  2890. },
  2891. {
  2892. "command": "gitlens.stashApply",
  2893. "when": "gitlens:enabled && !gitlens:readonly"
  2894. },
  2895. {
  2896. "command": "gitlens.stashDelete",
  2897. "when": "false"
  2898. },
  2899. {
  2900. "command": "gitlens.stashSave",
  2901. "when": "gitlens:enabled && !gitlens:readonly"
  2902. },
  2903. {
  2904. "command": "gitlens.resetSuppressedWarnings",
  2905. "when": "gitlens:enabled"
  2906. },
  2907. {
  2908. "command": "gitlens.views.exploreRepoRevision",
  2909. "when": "false"
  2910. },
  2911. {
  2912. "command": "gitlens.fetchRepositories",
  2913. "when": "gitlens:hasRemotes && !gitlens:readonly"
  2914. },
  2915. {
  2916. "command": "gitlens.pullRepositories",
  2917. "when": "gitlens:hasRemotes && !gitlens:readonly"
  2918. },
  2919. {
  2920. "command": "gitlens.pushRepositories",
  2921. "when": "gitlens:hasRemotes && !gitlens:readonly"
  2922. },
  2923. {
  2924. "command": "gitlens.views.checkout",
  2925. "when": "false"
  2926. },
  2927. {
  2928. "command": "gitlens.views.fetch",
  2929. "when": "false"
  2930. },
  2931. {
  2932. "command": "gitlens.views.pull",
  2933. "when": "false"
  2934. },
  2935. {
  2936. "command": "gitlens.views.push",
  2937. "when": "false"
  2938. },
  2939. {
  2940. "command": "gitlens.views.pushWithForce",
  2941. "when": "false"
  2942. },
  2943. {
  2944. "command": "gitlens.views.stageFile",
  2945. "when": "false"
  2946. },
  2947. {
  2948. "command": "gitlens.views.unstageFile",
  2949. "when": "false"
  2950. },
  2951. {
  2952. "command": "gitlens.views.openChanges",
  2953. "when": "false"
  2954. },
  2955. {
  2956. "command": "gitlens.views.openDirectoryDiff",
  2957. "when": "false"
  2958. },
  2959. {
  2960. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2961. "when": "false"
  2962. },
  2963. {
  2964. "command": "gitlens.views.openChangesWithWorking",
  2965. "when": "false"
  2966. },
  2967. {
  2968. "command": "gitlens.views.openFile",
  2969. "when": "false"
  2970. },
  2971. {
  2972. "command": "gitlens.views.openFileRevision",
  2973. "when": "false"
  2974. },
  2975. {
  2976. "command": "gitlens.views.openFileRevisionInRemote",
  2977. "when": "false"
  2978. },
  2979. {
  2980. "command": "gitlens.views.openChangedFiles",
  2981. "when": "false"
  2982. },
  2983. {
  2984. "command": "gitlens.views.openChangedFileChanges",
  2985. "when": "false"
  2986. },
  2987. {
  2988. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2989. "when": "false"
  2990. },
  2991. {
  2992. "command": "gitlens.views.openChangedFileRevisions",
  2993. "when": "false"
  2994. },
  2995. {
  2996. "command": "gitlens.views.applyChanges",
  2997. "when": "false"
  2998. },
  2999. {
  3000. "command": "gitlens.views.closeRepository",
  3001. "when": "false"
  3002. },
  3003. {
  3004. "command": "gitlens.views.compareAncestryWithWorking",
  3005. "when": "false"
  3006. },
  3007. {
  3008. "command": "gitlens.views.compareWithHead",
  3009. "when": "false"
  3010. },
  3011. {
  3012. "command": "gitlens.views.compareWithRemote",
  3013. "when": "false"
  3014. },
  3015. {
  3016. "command": "gitlens.views.compareWithSelected",
  3017. "when": "false"
  3018. },
  3019. {
  3020. "command": "gitlens.views.selectForCompare",
  3021. "when": "false"
  3022. },
  3023. {
  3024. "command": "gitlens.views.compareFileWithSelected",
  3025. "when": "false"
  3026. },
  3027. {
  3028. "command": "gitlens.views.selectFileForCompare",
  3029. "when": "false"
  3030. },
  3031. {
  3032. "command": "gitlens.views.compareWithWorking",
  3033. "when": "false"
  3034. },
  3035. {
  3036. "command": "gitlens.views.terminalCheckoutBranch",
  3037. "when": "false"
  3038. },
  3039. {
  3040. "command": "gitlens.views.terminalCreateBranch",
  3041. "when": "false"
  3042. },
  3043. {
  3044. "command": "gitlens.views.terminalDeleteBranch",
  3045. "when": "false"
  3046. },
  3047. {
  3048. "command": "gitlens.views.terminalMergeBranch",
  3049. "when": "false"
  3050. },
  3051. {
  3052. "command": "gitlens.views.terminalRebaseBranch",
  3053. "when": "false"
  3054. },
  3055. {
  3056. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3057. "when": "false"
  3058. },
  3059. {
  3060. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3061. "when": "false"
  3062. },
  3063. {
  3064. "command": "gitlens.views.terminalCheckoutCommit",
  3065. "when": "false"
  3066. },
  3067. {
  3068. "command": "gitlens.views.terminalCherryPickCommit",
  3069. "when": "false"
  3070. },
  3071. {
  3072. "command": "gitlens.views.terminalPushCommit",
  3073. "when": "false"
  3074. },
  3075. {
  3076. "command": "gitlens.views.terminalRebaseCommit",
  3077. "when": "false"
  3078. },
  3079. {
  3080. "command": "gitlens.views.terminalResetCommit",
  3081. "when": "false"
  3082. },
  3083. {
  3084. "command": "gitlens.views.terminalRevertCommit",
  3085. "when": "false"
  3086. },
  3087. {
  3088. "command": "gitlens.views.terminalRemoveRemote",
  3089. "when": "false"
  3090. },
  3091. {
  3092. "command": "gitlens.views.terminalCreateTag",
  3093. "when": "false"
  3094. },
  3095. {
  3096. "command": "gitlens.views.terminalDeleteTag",
  3097. "when": "false"
  3098. },
  3099. {
  3100. "command": "gitlens.views.repositories.refresh",
  3101. "when": "false"
  3102. },
  3103. {
  3104. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3105. "when": "false"
  3106. },
  3107. {
  3108. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3109. "when": "false"
  3110. },
  3111. {
  3112. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3113. "when": "false"
  3114. },
  3115. {
  3116. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3117. "when": "false"
  3118. },
  3119. {
  3120. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3121. "when": "false"
  3122. },
  3123. {
  3124. "command": "gitlens.views.fileHistory.refresh",
  3125. "when": "false"
  3126. },
  3127. {
  3128. "command": "gitlens.views.fileHistory.changeBase",
  3129. "when": "false"
  3130. },
  3131. {
  3132. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3133. "when": "false"
  3134. },
  3135. {
  3136. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3137. "when": "false"
  3138. },
  3139. {
  3140. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3141. "when": "false"
  3142. },
  3143. {
  3144. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3145. "when": "false"
  3146. },
  3147. {
  3148. "command": "gitlens.views.lineHistory.refresh",
  3149. "when": "false"
  3150. },
  3151. {
  3152. "command": "gitlens.views.lineHistory.changeBase",
  3153. "when": "false"
  3154. },
  3155. {
  3156. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3157. "when": "false"
  3158. },
  3159. {
  3160. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3161. "when": "false"
  3162. },
  3163. {
  3164. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3165. "when": "false"
  3166. },
  3167. {
  3168. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3169. "when": "false"
  3170. },
  3171. {
  3172. "command": "gitlens.views.compare.selectForCompare",
  3173. "when": "gitlens:enabled && gitlens.views.compare.enabled"
  3174. },
  3175. {
  3176. "command": "gitlens.views.compare.clear",
  3177. "when": "false"
  3178. },
  3179. {
  3180. "command": "gitlens.views.compare.refresh",
  3181. "when": "false"
  3182. },
  3183. {
  3184. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3185. "when": "false"
  3186. },
  3187. {
  3188. "command": "gitlens.views.compare.setFilesLayoutToList",
  3189. "when": "false"
  3190. },
  3191. {
  3192. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3193. "when": "false"
  3194. },
  3195. {
  3196. "command": "gitlens.views.compare.setKeepResultsToOn",
  3197. "when": "false"
  3198. },
  3199. {
  3200. "command": "gitlens.views.compare.setKeepResultsToOff",
  3201. "when": "false"
  3202. },
  3203. {
  3204. "command": "gitlens.views.compare.swapComparision",
  3205. "when": "false"
  3206. },
  3207. {
  3208. "command": "gitlens.views.search.searchCommits",
  3209. "when": "false"
  3210. },
  3211. {
  3212. "command": "gitlens.views.search.clear",
  3213. "when": "false"
  3214. },
  3215. {
  3216. "command": "gitlens.views.search.refresh",
  3217. "when": "false"
  3218. },
  3219. {
  3220. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3221. "when": "false"
  3222. },
  3223. {
  3224. "command": "gitlens.views.search.setFilesLayoutToList",
  3225. "when": "false"
  3226. },
  3227. {
  3228. "command": "gitlens.views.search.setFilesLayoutToTree",
  3229. "when": "false"
  3230. },
  3231. {
  3232. "command": "gitlens.views.search.setKeepResultsToOn",
  3233. "when": "false"
  3234. },
  3235. {
  3236. "command": "gitlens.views.search.setKeepResultsToOff",
  3237. "when": "false"
  3238. },
  3239. {
  3240. "command": "gitlens.views.dismissNode",
  3241. "when": "false"
  3242. },
  3243. {
  3244. "command": "gitlens.views.expandNode",
  3245. "when": "false"
  3246. },
  3247. {
  3248. "command": "gitlens.views.refreshNode",
  3249. "when": "false"
  3250. }
  3251. ],
  3252. "editor/context": [
  3253. {
  3254. "command": "gitlens.diffLineWithPrevious",
  3255. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3256. "group": "1_gitlens@1"
  3257. },
  3258. {
  3259. "command": "gitlens.diffLineWithWorking",
  3260. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  3261. "group": "1_gitlens@2"
  3262. },
  3263. {
  3264. "command": "gitlens.openFileInRemote",
  3265. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3266. "group": "1_gitlens_1@1"
  3267. },
  3268. {
  3269. "command": "gitlens.openCommitInRemote",
  3270. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  3271. "group": "1_gitlens_1@2"
  3272. },
  3273. {
  3274. "command": "gitlens.showQuickCommitFileDetails",
  3275. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  3276. "group": "1_gitlens_1@3"
  3277. },
  3278. {
  3279. "command": "gitlens.showQuickFileHistory",
  3280. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3281. "group": "3_gitlens@1"
  3282. },
  3283. {
  3284. "command": "gitlens.showFileHistoryInView",
  3285. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  3286. "group": "3_gitlens@2"
  3287. },
  3288. {
  3289. "command": "gitlens.toggleFileBlame",
  3290. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  3291. "group": "3_gitlens@3"
  3292. },
  3293. {
  3294. "command": "gitlens.copyShaToClipboard",
  3295. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3296. "group": "9_b_gitlens@1"
  3297. },
  3298. {
  3299. "command": "gitlens.copyMessageToClipboard",
  3300. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  3301. "group": "9_b_gitlens@2"
  3302. },
  3303. {
  3304. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3305. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  3306. "group": "9_b_gitlens@3"
  3307. }
  3308. ],
  3309. "editor/title": [
  3310. {
  3311. "command": "gitlens.diffWithWorking",
  3312. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3313. "group": "navigation@0"
  3314. },
  3315. {
  3316. "command": "gitlens.openWorkingFile",
  3317. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  3318. "group": "navigation@0"
  3319. },
  3320. {
  3321. "command": "gitlens.openWorkingFile",
  3322. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  3323. "group": "navigation@0"
  3324. },
  3325. {
  3326. "command": "gitlens.openWorkingFile",
  3327. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  3328. "group": "navigation@0"
  3329. },
  3330. {
  3331. "command": "gitlens.diffWithPrevious",
  3332. "alt": "gitlens.diffWithRevision",
  3333. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3334. "group": "navigation@97"
  3335. },
  3336. {
  3337. "command": "gitlens.diffWithPreviousInDiff",
  3338. "alt": "gitlens.diffWithRevision",
  3339. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  3340. "group": "navigation@97"
  3341. },
  3342. {
  3343. "command": "gitlens.showQuickRevisionDetails",
  3344. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && config.gitlens.menus.editorGroup.compare",
  3345. "group": "navigation@98"
  3346. },
  3347. {
  3348. "command": "gitlens.diffWithNext",
  3349. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  3350. "group": "navigation@99"
  3351. },
  3352. {
  3353. "command": "gitlens.toggleFileBlame",
  3354. "alt": "gitlens.toggleFileHeatmap",
  3355. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  3356. "group": "navigation@100"
  3357. },
  3358. {
  3359. "command": "gitlens.computingFileAnnotations",
  3360. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  3361. "group": "navigation@100"
  3362. },
  3363. {
  3364. "command": "gitlens.clearFileAnnotations",
  3365. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  3366. "group": "navigation@100"
  3367. }
  3368. ],
  3369. "editor/title/context": [
  3370. {
  3371. "command": "gitlens.openWorkingFile",
  3372. "when": "resourceScheme == gitlens",
  3373. "group": "1_co_gitlens@1"
  3374. },
  3375. {
  3376. "command": "gitlens.openFileInRemote",
  3377. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.remote",
  3378. "group": "1_co_gitlens@2"
  3379. },
  3380. {
  3381. "command": "gitlens.diffWithPrevious",
  3382. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3383. "group": "1_co_gitlens_1@1"
  3384. },
  3385. {
  3386. "command": "gitlens.diffWithRevision",
  3387. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  3388. "group": "1_co_gitlens_1@2"
  3389. },
  3390. {
  3391. "command": "gitlens.diffWithWorking",
  3392. "when": "resourceScheme == gitlens && config.gitlens.menus.editorTab.compare",
  3393. "group": "1_co_gitlens_1@3"
  3394. },
  3395. {
  3396. "command": "gitlens.showQuickFileHistory",
  3397. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3398. "group": "1_co_gitlens_2@1"
  3399. },
  3400. {
  3401. "command": "gitlens.showFileHistoryInView",
  3402. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  3403. "group": "1_co_gitlens_2@2"
  3404. },
  3405. {
  3406. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3407. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.clipboard",
  3408. "group": "1_cutcopypaste@100"
  3409. }
  3410. ],
  3411. "explorer/context": [
  3412. {
  3413. "command": "gitlens.openFileInRemote",
  3414. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  3415. "group": "navigation@100"
  3416. },
  3417. {
  3418. "command": "gitlens.diffWithPrevious",
  3419. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3420. "group": "3_compare@1"
  3421. },
  3422. {
  3423. "command": "gitlens.diffWithRevision",
  3424. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  3425. "group": "3_compare@2"
  3426. },
  3427. {
  3428. "command": "gitlens.showQuickFileHistory",
  3429. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3430. "group": "4_gitlens_1@1"
  3431. },
  3432. {
  3433. "command": "gitlens.showFileHistoryInView",
  3434. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  3435. "group": "4_gitlens_1@2"
  3436. },
  3437. {
  3438. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3439. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.clipboard",
  3440. "group": "5_cutcopypaste@100"
  3441. }
  3442. ],
  3443. "scm/resourceGroup/context": [
  3444. {
  3445. "command": "gitlens.stashSave",
  3446. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stashInline",
  3447. "group": "inline@-1"
  3448. },
  3449. {
  3450. "command": "gitlens.stashSave",
  3451. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash",
  3452. "group": "1_modification@100"
  3453. },
  3454. {
  3455. "command": "gitlens.openChangedFiles",
  3456. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  3457. "group": "2_gitlens@1"
  3458. },
  3459. {
  3460. "command": "gitlens.closeUnchangedFiles",
  3461. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
  3462. "group": "2_gitlens@2"
  3463. },
  3464. {
  3465. "command": "gitlens.externalDiffAll",
  3466. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  3467. "group": "3_gitlens@3"
  3468. },
  3469. {
  3470. "command": "gitlens.diffDirectoryWithHead",
  3471. "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
  3472. "group": "3_gitlens@4"
  3473. }
  3474. ],
  3475. "scm/resourceState/context": [
  3476. {
  3477. "command": "gitlens.openFileInRemote",
  3478. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.remote",
  3479. "group": "navigation"
  3480. },
  3481. {
  3482. "command": "gitlens.externalDiff",
  3483. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3484. "group": "navigation"
  3485. },
  3486. {
  3487. "command": "gitlens.diffWithRevision",
  3488. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3489. "group": "1_gitlens@1"
  3490. },
  3491. {
  3492. "command": "gitlens.diffWithBranch",
  3493. "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
  3494. "group": "1_gitlens@2"
  3495. },
  3496. {
  3497. "command": "gitlens.showQuickFileHistory",
  3498. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  3499. "group": "1_gitlens_1@1"
  3500. },
  3501. {
  3502. "command": "gitlens.showFileHistoryInView",
  3503. "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
  3504. "group": "1_gitlens_1@2"
  3505. },
  3506. {
  3507. "command": "gitlens.stashSave",
  3508. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmItem.stash",
  3509. "group": "1_modification@-1"
  3510. },
  3511. {
  3512. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3513. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.clipboard",
  3514. "group": "9_gitlens@1"
  3515. }
  3516. ],
  3517. "view/title": [
  3518. {
  3519. "command": "gitlens.pushRepositories",
  3520. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3521. "group": "navigation@10"
  3522. },
  3523. {
  3524. "command": "gitlens.pullRepositories",
  3525. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3526. "group": "navigation@11"
  3527. },
  3528. {
  3529. "command": "gitlens.fetchRepositories",
  3530. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
  3531. "group": "navigation@12"
  3532. },
  3533. {
  3534. "command": "gitlens.views.repositories.refresh",
  3535. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3536. "group": "navigation@99"
  3537. },
  3538. {
  3539. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3540. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3541. "group": "1_gitlens"
  3542. },
  3543. {
  3544. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3545. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3546. "group": "1_gitlens"
  3547. },
  3548. {
  3549. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3550. "when": "view =~ /^gitlens\\.views\\.repositories:/",
  3551. "group": "1_gitlens"
  3552. },
  3553. {
  3554. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3555. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  3556. "group": "2_gitlens"
  3557. },
  3558. {
  3559. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3560. "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  3561. "group": "2_gitlens"
  3562. },
  3563. {
  3564. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3565. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
  3566. "group": "navigation@10"
  3567. },
  3568. {
  3569. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3570. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
  3571. "group": "navigation@10"
  3572. },
  3573. {
  3574. "command": "gitlens.views.fileHistory.changeBase",
  3575. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3576. "group": "navigation@11"
  3577. },
  3578. {
  3579. "command": "gitlens.views.fileHistory.refresh",
  3580. "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
  3581. "group": "navigation@99"
  3582. },
  3583. {
  3584. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3585. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3586. "group": "1_gitlens"
  3587. },
  3588. {
  3589. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3590. "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3591. "group": "1_gitlens"
  3592. },
  3593. {
  3594. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3595. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
  3596. "group": "navigation@10"
  3597. },
  3598. {
  3599. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3600. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
  3601. "group": "navigation@10"
  3602. },
  3603. {
  3604. "command": "gitlens.views.lineHistory.changeBase",
  3605. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3606. "group": "navigation@11"
  3607. },
  3608. {
  3609. "command": "gitlens.views.lineHistory.refresh",
  3610. "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
  3611. "group": "navigation@99"
  3612. },
  3613. {
  3614. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3615. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3616. "group": "1_gitlens"
  3617. },
  3618. {
  3619. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3620. "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3621. "group": "1_gitlens"
  3622. },
  3623. {
  3624. "command": "gitlens.views.compare.selectForCompare",
  3625. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3626. "group": "navigation@10"
  3627. },
  3628. {
  3629. "command": "gitlens.views.compare.setKeepResultsToOn",
  3630. "when": "view =~ /^gitlens\\.views\\.compare:/ && !gitlens:views:compare:keepResults",
  3631. "group": "navigation@11"
  3632. },
  3633. {
  3634. "command": "gitlens.views.compare.setKeepResultsToOff",
  3635. "when": "view =~ /^gitlens\\.views\\.compare:/ && gitlens:views:compare:keepResults",
  3636. "group": "navigation@11"
  3637. },
  3638. {
  3639. "command": "gitlens.views.compare.clear",
  3640. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3641. "group": "navigation@98"
  3642. },
  3643. {
  3644. "command": "gitlens.views.compare.refresh",
  3645. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3646. "group": "navigation@99"
  3647. },
  3648. {
  3649. "command": "gitlens.views.compare.setFilesLayoutToAuto",
  3650. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3651. "group": "1_gitlens"
  3652. },
  3653. {
  3654. "command": "gitlens.views.compare.setFilesLayoutToList",
  3655. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3656. "group": "1_gitlens"
  3657. },
  3658. {
  3659. "command": "gitlens.views.compare.setFilesLayoutToTree",
  3660. "when": "view =~ /^gitlens\\.views\\.compare:/",
  3661. "group": "1_gitlens"
  3662. },
  3663. {
  3664. "command": "gitlens.views.search.searchCommits",
  3665. "when": "view =~ /^gitlens\\.views\\.search:/",
  3666. "group": "navigation@10"
  3667. },
  3668. {
  3669. "command": "gitlens.views.search.setKeepResultsToOn",
  3670. "when": "view =~ /^gitlens\\.views\\.search:/ && !gitlens:views:search:keepResults",
  3671. "group": "navigation@11"
  3672. },
  3673. {
  3674. "command": "gitlens.views.search.setKeepResultsToOff",
  3675. "when": "view =~ /^gitlens\\.views\\.search:/ && gitlens:views:search:keepResults",
  3676. "group": "navigation@11"
  3677. },
  3678. {
  3679. "command": "gitlens.views.search.clear",
  3680. "when": "view =~ /^gitlens\\.views\\.search:/",
  3681. "group": "navigation@98"
  3682. },
  3683. {
  3684. "command": "gitlens.views.search.refresh",
  3685. "when": "view =~ /^gitlens\\.views\\.search:/",
  3686. "group": "navigation@99"
  3687. },
  3688. {
  3689. "command": "gitlens.views.search.setFilesLayoutToAuto",
  3690. "when": "view =~ /^gitlens\\.views\\.search:/",
  3691. "group": "1_gitlens"
  3692. },
  3693. {
  3694. "command": "gitlens.views.search.setFilesLayoutToList",
  3695. "when": "view =~ /^gitlens\\.views\\.search:/",
  3696. "group": "1_gitlens"
  3697. },
  3698. {
  3699. "command": "gitlens.views.search.setFilesLayoutToTree",
  3700. "when": "view =~ /^gitlens\\.views\\.search:/",
  3701. "group": "1_gitlens"
  3702. },
  3703. {
  3704. "command": "gitlens.supportGitLens",
  3705. "when": "view =~ /^gitlens\\.views\\..*:/ && config.gitlens.advanced.messages.suppressSupportGitLensNotification != true && gitlens:views:supportGitLens:hide != true",
  3706. "group": "navigation@1"
  3707. },
  3708. {
  3709. "command": "gitlens.showSettingsPage",
  3710. "when": "view =~ /^gitlens\\.views\\..*:/",
  3711. "group": "9_gitlens"
  3712. }
  3713. ],
  3714. "view/item/context": [
  3715. {
  3716. "command": "gitlens.openBranchesInRemote",
  3717. "when": "viewItem == gitlens:branches:remotes",
  3718. "group": "inline@98"
  3719. },
  3720. {
  3721. "command": "gitlens.openBranchesInRemote",
  3722. "when": "viewItem == gitlens:branches:remotes",
  3723. "group": "1_gitlens@1"
  3724. },
  3725. {
  3726. "command": "gitlens.views.checkout",
  3727. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)\\b/",
  3728. "group": "inline@10"
  3729. },
  3730. {
  3731. "command": "gitlens.views.compareWithRemote",
  3732. "when": "viewItem =~ /gitlens:branch\\b.*?:tracking/",
  3733. "group": "inline@96"
  3734. },
  3735. {
  3736. "command": "gitlens.views.compareWithHead",
  3737. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3738. "group": "inline@97",
  3739. "alt": "gitlens.views.compareWithWorking"
  3740. },
  3741. {
  3742. "command": "gitlens.views.compareWithWorking",
  3743. "when": "viewItem =~ /gitlens:branch:current\\b/",
  3744. "group": "inline@97"
  3745. },
  3746. {
  3747. "command": "gitlens.openBranchInRemote",
  3748. "when": "viewItem =~ /gitlens:branch\\b(.*?:tracking|:remote)/",
  3749. "group": "inline@98"
  3750. },
  3751. {
  3752. "command": "gitlens.views.checkout",
  3753. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)\\b/",
  3754. "group": "1_gitlens@1"
  3755. },
  3756. {
  3757. "command": "gitlens.openBranchInRemote",
  3758. "when": "viewItem =~ /gitlens:branch\\b(.*?:tracking|:remote)/",
  3759. "group": "2_gitlens@1"
  3760. },
  3761. {
  3762. "command": "gitlens.views.compareWithRemote",
  3763. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3764. "group": "7_gitlens@1"
  3765. },
  3766. {
  3767. "command": "gitlens.views.compareWithHead",
  3768. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3769. "group": "7_gitlens@2"
  3770. },
  3771. {
  3772. "command": "gitlens.views.compareWithWorking",
  3773. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  3774. "group": "7_gitlens@3"
  3775. },
  3776. {
  3777. "command": "gitlens.views.compareAncestryWithWorking",
  3778. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3779. "group": "7_gitlens@4"
  3780. },
  3781. {
  3782. "command": "gitlens.views.compareWithSelected",
  3783. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  3784. "group": "7_gitlens_@1"
  3785. },
  3786. {
  3787. "command": "gitlens.views.selectForCompare",
  3788. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  3789. "group": "7_gitlens_@2"
  3790. },
  3791. {
  3792. "command": "gitlens.views.compareFileWithSelected",
  3793. "when": "viewItem =~ /gitlens:file:\\b/ && gitlens:views:canCompare:file",
  3794. "group": "7_gitlens_@1"
  3795. },
  3796. {
  3797. "command": "gitlens.views.selectFileForCompare",
  3798. "when": "viewItem =~ /gitlens:file:\\b/",
  3799. "group": "7_gitlens_@2"
  3800. },
  3801. {
  3802. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3803. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3804. "group": "7_gitlens_more@2"
  3805. },
  3806. {
  3807. "command": "gitlens.views.terminalCheckoutBranch",
  3808. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)/",
  3809. "group": "8_gitlens@1"
  3810. },
  3811. {
  3812. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3813. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch:current:tracking)\\b/",
  3814. "group": "8_gitlens@1"
  3815. },
  3816. {
  3817. "command": "gitlens.views.terminalMergeBranch",
  3818. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)/",
  3819. "group": "8_gitlens@2"
  3820. },
  3821. {
  3822. "command": "gitlens.views.terminalRebaseBranch",
  3823. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)/",
  3824. "group": "8_gitlens@3"
  3825. },
  3826. {
  3827. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3828. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)/",
  3829. "group": "8_gitlens@4"
  3830. },
  3831. {
  3832. "command": "gitlens.views.terminalCreateBranch",
  3833. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit|tag)\\b/",
  3834. "group": "8_gitlens@5"
  3835. },
  3836. {
  3837. "command": "gitlens.views.terminalDeleteBranch",
  3838. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!:current)/",
  3839. "group": "8_gitlens@6"
  3840. },
  3841. {
  3842. "command": "gitlens.views.terminalCreateTag",
  3843. "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit)\\b/",
  3844. "group": "8_gitlens@7"
  3845. },
  3846. {
  3847. "command": "gitlens.openCommitInRemote",
  3848. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3849. "group": "inline@98"
  3850. },
  3851. {
  3852. "command": "gitlens.openCommitInRemote",
  3853. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3854. "group": "1_gitlens@1"
  3855. },
  3856. {
  3857. "command": "gitlens.views.openChangedFileChanges",
  3858. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3859. "group": "2_gitlens@1"
  3860. },
  3861. {
  3862. "command": "gitlens.views.openChangedFileChangesWithWorking",
  3863. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3864. "group": "2_gitlens@2"
  3865. },
  3866. {
  3867. "command": "gitlens.views.openChangedFiles",
  3868. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3869. "group": "3_gitlens@1"
  3870. },
  3871. {
  3872. "command": "gitlens.views.openChangedFileRevisions",
  3873. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3874. "group": "3_gitlens@2"
  3875. },
  3876. {
  3877. "command": "gitlens.copyShaToClipboard",
  3878. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3879. "group": "inline@98",
  3880. "alt": "gitlens.copyMessageToClipboard"
  3881. },
  3882. {
  3883. "command": "gitlens.copyShaToClipboard",
  3884. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3885. "group": "5_gitlens@1"
  3886. },
  3887. {
  3888. "command": "gitlens.copyMessageToClipboard",
  3889. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3890. "group": "5_gitlens@2"
  3891. },
  3892. {
  3893. "command": "gitlens.showQuickCommitDetails",
  3894. "when": "viewItem =~ /gitlens:commit\\b/",
  3895. "group": "5_gitlens_1@1"
  3896. },
  3897. {
  3898. "command": "gitlens.showCommitInView",
  3899. "when": "viewItem =~ /gitlens:commit\\b/",
  3900. "group": "5_gitlens_1@2"
  3901. },
  3902. {
  3903. "command": "gitlens.views.terminalCherryPickCommit",
  3904. "when": "!gitlens:readonly && viewItem == gitlens:commit",
  3905. "group": "8_gitlens@1"
  3906. },
  3907. {
  3908. "command": "gitlens.views.terminalPushCommit",
  3909. "when": "!gitlens:readonly && viewItem == gitlens:commit:current",
  3910. "group": "8_gitlens@2"
  3911. },
  3912. {
  3913. "command": "gitlens.views.terminalRevertCommit",
  3914. "when": "!gitlens:readonly && viewItem == gitlens:commit:current",
  3915. "group": "8_gitlens@3"
  3916. },
  3917. {
  3918. "command": "gitlens.views.terminalCheckoutCommit",
  3919. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  3920. "group": "8_gitlens@4"
  3921. },
  3922. {
  3923. "command": "gitlens.views.terminalRebaseCommit",
  3924. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  3925. "group": "8_gitlens@5"
  3926. },
  3927. {
  3928. "command": "gitlens.views.terminalResetCommit",
  3929. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  3930. "group": "8_gitlens@6"
  3931. },
  3932. {
  3933. "command": "gitlens.views.openFile",
  3934. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  3935. "group": "inline@1"
  3936. },
  3937. {
  3938. "command": "gitlens.views.stageFile",
  3939. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3940. "group": "inline@1"
  3941. },
  3942. {
  3943. "command": "gitlens.views.unstageFile",
  3944. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3945. "group": "inline@1"
  3946. },
  3947. {
  3948. "command": "gitlens.views.stageFile",
  3949. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3950. "group": "1_gitlens@1"
  3951. },
  3952. {
  3953. "command": "gitlens.views.unstageFile",
  3954. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3955. "group": "1_gitlens@1"
  3956. },
  3957. {
  3958. "command": "gitlens.stashSave",
  3959. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b.*:(un)?staged\\b/",
  3960. "group": "1_gitlens@2"
  3961. },
  3962. {
  3963. "command": "gitlens.views.openChanges",
  3964. "when": "viewItem =~ /gitlens:file\\b/",
  3965. "group": "2_gitlens@1"
  3966. },
  3967. {
  3968. "command": "gitlens.externalDiff",
  3969. "when": "viewItem =~ /gitlens:file\\b/",
  3970. "group": "2_gitlens@2"
  3971. },
  3972. {
  3973. "command": "gitlens.views.openChangesWithWorking",
  3974. "when": "viewItem =~ /gitlens:file\\b/",
  3975. "group": "2_gitlens@3"
  3976. },
  3977. {
  3978. "command": "gitlens.views.openFile",
  3979. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  3980. "group": "3_gitlens@1"
  3981. },
  3982. {
  3983. "command": "gitlens.views.openFileRevision",
  3984. "when": "viewItem =~ /gitlens:file\\b/",
  3985. "group": "3_gitlens@2"
  3986. },
  3987. {
  3988. "command": "gitlens.openFileInRemote",
  3989. "when": "viewItem =~ /gitlens:(file(?!:(un)?staged)|history:(file|line))\\b/ && gitlens:hasRemotes",
  3990. "group": "inline@99",
  3991. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  3992. },
  3993. {
  3994. "command": "gitlens.openFileInRemote",
  3995. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3996. "group": "4_gitlens@1"
  3997. },
  3998. {
  3999. "command": "gitlens.copyRemoteFileUrlToClipboard",
  4000. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  4001. "group": "5_gitlens@3"
  4002. },
  4003. {
  4004. "command": "gitlens.views.openFileRevisionInRemote",
  4005. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  4006. "group": "4_gitlens@2"
  4007. },
  4008. {
  4009. "command": "gitlens.openFileInRemote",
  4010. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  4011. "group": "3_gitlens@2"
  4012. },
  4013. {
  4014. "command": "gitlens.views.applyChanges",
  4015. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  4016. "group": "5_gitlens_1@1"
  4017. },
  4018. {
  4019. "command": "gitlens.views.applyChanges",
  4020. "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
  4021. "group": "1_gitlens@1"
  4022. },
  4023. {
  4024. "command": "gitlens.showQuickCommitDetails",
  4025. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  4026. "group": "5_gitlens_2@2"
  4027. },
  4028. {
  4029. "command": "gitlens.showCommitInView",
  4030. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  4031. "group": "5_gitlens_2@3"
  4032. },
  4033. {
  4034. "command": "gitlens.showQuickFileHistory",
  4035. "when": "viewItem =~ /gitlens:file\\b/",
  4036. "group": "8_gitlens@1"
  4037. },
  4038. {
  4039. "command": "gitlens.showFileHistoryInView",
  4040. "when": "viewItem =~ /gitlens:file\\b/",
  4041. "group": "8_gitlens@2"
  4042. },
  4043. {
  4044. "command": "gitlens.views.fetch",
  4045. "when": "!gitlens:readonly && viewItem == gitlens:remote",
  4046. "group": "inline@97"
  4047. },
  4048. {
  4049. "command": "gitlens.openRepoInRemote",
  4050. "when": "viewItem == gitlens:remote",
  4051. "group": "inline@98"
  4052. },
  4053. {
  4054. "command": "gitlens.openRepoInRemote",
  4055. "when": "viewItem == gitlens:remote",
  4056. "group": "1_gitlens@1"
  4057. },
  4058. {
  4059. "command": "gitlens.openBranchesInRemote",
  4060. "when": "viewItem == gitlens:remote",
  4061. "group": "1_gitlens@2"
  4062. },
  4063. {
  4064. "command": "gitlens.views.fetch",
  4065. "when": "!gitlens:readonly && viewItem == gitlens:remote",
  4066. "group": "2_gitlens@1"
  4067. },
  4068. {
  4069. "command": "gitlens.views.terminalRemoveRemote",
  4070. "when": "!gitlens:readonly && viewItem == gitlens:remote",
  4071. "group": "8_gitlens@1"
  4072. },
  4073. {
  4074. "command": "gitlens.views.exploreRepoRevision",
  4075. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  4076. "group": "7_gitlens_more@1"
  4077. },
  4078. {
  4079. "command": "gitlens.showCommitSearch",
  4080. "when": "viewItem == gitlens:repository",
  4081. "group": "inline@1"
  4082. },
  4083. {
  4084. "command": "gitlens.views.push",
  4085. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4086. "group": "inline@97",
  4087. "alt": "gitlens.views.pushWithForce"
  4088. },
  4089. {
  4090. "command": "gitlens.views.pull",
  4091. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4092. "group": "inline@98"
  4093. },
  4094. {
  4095. "command": "gitlens.views.fetch",
  4096. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4097. "group": "inline@99"
  4098. },
  4099. {
  4100. "command": "gitlens.views.fetch",
  4101. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4102. "group": "1_gitlens@1"
  4103. },
  4104. {
  4105. "command": "gitlens.views.pull",
  4106. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4107. "group": "1_gitlens@1"
  4108. },
  4109. {
  4110. "command": "gitlens.views.push",
  4111. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4112. "group": "1_gitlens@1"
  4113. },
  4114. {
  4115. "command": "gitlens.views.pushWithForce",
  4116. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:repository",
  4117. "group": "1_gitlens@2"
  4118. },
  4119. {
  4120. "command": "gitlens.views.pull",
  4121. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  4122. "group": "inline@1"
  4123. },
  4124. {
  4125. "command": "gitlens.views.pull",
  4126. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  4127. "group": "1_gitlens@1"
  4128. },
  4129. {
  4130. "command": "gitlens.views.push",
  4131. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4132. "group": "inline@1",
  4133. "alt": "gitlens.views.pushWithForce"
  4134. },
  4135. {
  4136. "command": "gitlens.views.push",
  4137. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4138. "group": "1_gitlens@1"
  4139. },
  4140. {
  4141. "command": "gitlens.views.pushWithForce",
  4142. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  4143. "group": "1_gitlens@2"
  4144. },
  4145. {
  4146. "command": "gitlens.showCommitSearch",
  4147. "when": "viewItem == gitlens:repository",
  4148. "group": "2_gitlens@1"
  4149. },
  4150. {
  4151. "command": "gitlens.stashApply",
  4152. "when": "!gitlens:readonly && viewItem == gitlens:repository",
  4153. "group": "3_gitlens@1"
  4154. },
  4155. {
  4156. "command": "gitlens.stashSave",
  4157. "when": "!gitlens:readonly && viewItem == gitlens:repository",
  4158. "group": "3_gitlens@2"
  4159. },
  4160. {
  4161. "command": "gitlens.openRepoInRemote",
  4162. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  4163. "group": "4_gitlens@1"
  4164. },
  4165. {
  4166. "command": "gitlens.views.closeRepository",
  4167. "when": "viewItem == gitlens:repository",
  4168. "group": "8_gitlens@1"
  4169. },
  4170. {
  4171. "command": "gitlens.views.dismissNode",
  4172. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare|search)\\b(?!:(commits|files))/",
  4173. "group": "inline@2"
  4174. },
  4175. {
  4176. "command": "gitlens.views.dismissNode",
  4177. "when": "viewItem =~ /gitlens:(compare:picker:ref|compare|search)\\b(?!:(commits|files))/",
  4178. "group": "1_gitlens@1"
  4179. },
  4180. {
  4181. "command": "gitlens.views.compare.swapComparision",
  4182. "when": "viewItem == gitlens:compare:results",
  4183. "group": "inline@1"
  4184. },
  4185. {
  4186. "command": "gitlens.views.compare.swapComparision",
  4187. "when": "viewItem == gitlens:compare:results",
  4188. "group": "2_gitlens@1"
  4189. },
  4190. {
  4191. "command": "gitlens.views.openDirectoryDiff",
  4192. "when": "viewItem == gitlens:compare:results",
  4193. "group": "7_gitlens@1"
  4194. },
  4195. {
  4196. "command": "gitlens.views.search.searchCommits",
  4197. "when": "viewItem == gitlens:search:results",
  4198. "group": "inline@1"
  4199. },
  4200. {
  4201. "command": "gitlens.views.search.searchCommits",
  4202. "when": "viewItem == gitlens:search:results",
  4203. "group": "2_gitlens@1"
  4204. },
  4205. {
  4206. "command": "gitlens.stashApply",
  4207. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  4208. "group": "inline@98"
  4209. },
  4210. {
  4211. "command": "gitlens.stashSave",
  4212. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  4213. "group": "inline@99"
  4214. },
  4215. {
  4216. "command": "gitlens.stashApply",
  4217. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  4218. "group": "1_gitlens@1"
  4219. },
  4220. {
  4221. "command": "gitlens.stashSave",
  4222. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  4223. "group": "1_gitlens@2"
  4224. },
  4225. {
  4226. "command": "gitlens.stashApply",
  4227. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4228. "group": "inline@98"
  4229. },
  4230. {
  4231. "command": "gitlens.stashDelete",
  4232. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4233. "group": "inline@99"
  4234. },
  4235. {
  4236. "command": "gitlens.stashApply",
  4237. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4238. "group": "1_gitlens@1"
  4239. },
  4240. {
  4241. "command": "gitlens.stashDelete",
  4242. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  4243. "group": "1_gitlens@2"
  4244. },
  4245. {
  4246. "command": "gitlens.views.checkout",
  4247. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  4248. "group": "inline@10"
  4249. },
  4250. {
  4251. "command": "gitlens.views.checkout",
  4252. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  4253. "group": "1_gitlens@1"
  4254. },
  4255. {
  4256. "command": "gitlens.views.terminalDeleteTag",
  4257. "when": "!gitlens:readonly && viewItem == gitlens:tag",
  4258. "group": "8_gitlens"
  4259. },
  4260. {
  4261. "command": "gitlens.views.expandNode",
  4262. "when": "view =~ /^gitlens\\.views\\./ && viewItem =~ /gitlens:(compare|folder|results|search|status:files)\\b/",
  4263. "group": "8_gitlens@1"
  4264. },
  4265. {
  4266. "command": "gitlens.views.refreshNode",
  4267. "when": "view =~ /^gitlens\\.views\\./ && viewItem =~ /gitlens:(?!file\\b)/",
  4268. "group": "9_gitlens@1"
  4269. }
  4270. ]
  4271. },
  4272. "keybindings": [
  4273. {
  4274. "command": "gitlens.key.left",
  4275. "key": "alt+left",
  4276. "when": "gitlens:key:left"
  4277. },
  4278. {
  4279. "command": "gitlens.key.right",
  4280. "key": "alt+right",
  4281. "when": "gitlens:key:right"
  4282. },
  4283. {
  4284. "command": "gitlens.key.,",
  4285. "key": "alt+,",
  4286. "when": "gitlens:key:,"
  4287. },
  4288. {
  4289. "command": "gitlens.key..",
  4290. "key": "alt+.",
  4291. "when": "gitlens:key:."
  4292. },
  4293. {
  4294. "command": "gitlens.key.escape",
  4295. "key": "escape",
  4296. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  4297. },
  4298. {
  4299. "command": "gitlens.toggleFileBlame",
  4300. "key": "alt+b",
  4301. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4302. },
  4303. {
  4304. "command": "gitlens.toggleCodeLens",
  4305. "key": "shift+alt+b",
  4306. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4307. },
  4308. {
  4309. "command": "gitlens.showLastQuickPick",
  4310. "key": "alt+-",
  4311. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4312. },
  4313. {
  4314. "command": "gitlens.showCommitSearch",
  4315. "key": "alt+/",
  4316. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4317. },
  4318. {
  4319. "command": "gitlens.showQuickFileHistory",
  4320. "key": "alt+h",
  4321. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4322. },
  4323. {
  4324. "command": "gitlens.showQuickRepoHistory",
  4325. "key": "shift+alt+h",
  4326. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4327. },
  4328. {
  4329. "command": "gitlens.showQuickRepoStatus",
  4330. "key": "alt+s",
  4331. "when": "config.gitlens.keymap == alternate && gitlens:enabled"
  4332. },
  4333. {
  4334. "command": "gitlens.showQuickCommitFileDetails",
  4335. "key": "alt+c",
  4336. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
  4337. },
  4338. {
  4339. "command": "gitlens.diffWithNext",
  4340. "key": "alt+.",
  4341. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4342. },
  4343. {
  4344. "command": "gitlens.diffLineWithPrevious",
  4345. "key": "shift+alt+,",
  4346. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4347. },
  4348. {
  4349. "command": "gitlens.diffWithPrevious",
  4350. "key": "alt+,",
  4351. "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4352. },
  4353. {
  4354. "command": "gitlens.diffWithPreviousInDiff",
  4355. "key": "alt+,",
  4356. "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4357. },
  4358. {
  4359. "command": "gitlens.diffLineWithWorking",
  4360. "key": "alt+w",
  4361. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4362. },
  4363. {
  4364. "command": "gitlens.diffWithWorking",
  4365. "key": "shift+alt+w",
  4366. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4367. },
  4368. {
  4369. "command": "gitlens.toggleFileBlame",
  4370. "key": "ctrl+shift+g b",
  4371. "mac": "cmd+alt+g b",
  4372. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  4373. },
  4374. {
  4375. "command": "gitlens.toggleCodeLens",
  4376. "key": "ctrl+shift+g shift+b",
  4377. "mac": "cmd+alt+g shift+b",
  4378. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  4379. },
  4380. {
  4381. "command": "gitlens.showLastQuickPick",
  4382. "key": "ctrl+shift+g -",
  4383. "mac": "cmd+alt+g -",
  4384. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4385. },
  4386. {
  4387. "command": "gitlens.showCommitSearch",
  4388. "key": "ctrl+shift+g /",
  4389. "mac": "cmd+alt+g /",
  4390. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4391. },
  4392. {
  4393. "command": "gitlens.showQuickFileHistory",
  4394. "key": "ctrl+shift+g h",
  4395. "mac": "cmd+alt+g h",
  4396. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4397. },
  4398. {
  4399. "command": "gitlens.showQuickRepoHistory",
  4400. "key": "ctrl+shift+g shift+h",
  4401. "mac": "cmd+alt+g shift+h",
  4402. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4403. },
  4404. {
  4405. "command": "gitlens.showQuickRepoStatus",
  4406. "key": "ctrl+shift+g s",
  4407. "mac": "cmd+alt+g s",
  4408. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4409. },
  4410. {
  4411. "command": "gitlens.showQuickCommitFileDetails",
  4412. "key": "ctrl+shift+g c",
  4413. "mac": "cmd+alt+g c",
  4414. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
  4415. },
  4416. {
  4417. "command": "gitlens.diffWithNext",
  4418. "key": "ctrl+shift+g .",
  4419. "mac": "cmd+alt+g .",
  4420. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4421. },
  4422. {
  4423. "command": "gitlens.diffLineWithPrevious",
  4424. "key": "ctrl+shift+g shift+,",
  4425. "mac": "cmd+alt+g shift+,",
  4426. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4427. },
  4428. {
  4429. "command": "gitlens.diffWithPrevious",
  4430. "key": "ctrl+shift+g ,",
  4431. "mac": "cmd+alt+g ,",
  4432. "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4433. },
  4434. {
  4435. "command": "gitlens.diffWithPreviousInDiff",
  4436. "key": "ctrl+shift+g ,",
  4437. "mac": "cmd+alt+g ,",
  4438. "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  4439. },
  4440. {
  4441. "command": "gitlens.diffLineWithWorking",
  4442. "key": "ctrl+shift+g w",
  4443. "mac": "cmd+alt+g w",
  4444. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4445. },
  4446. {
  4447. "command": "gitlens.diffWithWorking",
  4448. "key": "ctrl+shift+g shift+w",
  4449. "mac": "cmd+alt+g shift+w",
  4450. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  4451. },
  4452. {
  4453. "command": "workbench.view.scm",
  4454. "key": "ctrl+shift+g g",
  4455. "mac": "ctrl+shift+g",
  4456. "when": "config.gitlens.keymap == chorded && gitlens:enabled"
  4457. }
  4458. ],
  4459. "viewsContainers": {
  4460. "activitybar": [
  4461. {
  4462. "id": "gitlens",
  4463. "title": "GitLens",
  4464. "icon": "images/gitlens-activitybar.svg"
  4465. }
  4466. ]
  4467. },
  4468. "views": {
  4469. "gitlens": [
  4470. {
  4471. "id": "gitlens.views.repositories:gitlens",
  4472. "name": "Repositories",
  4473. "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
  4474. },
  4475. {
  4476. "id": "gitlens.views.fileHistory:gitlens",
  4477. "name": "File History",
  4478. "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
  4479. },
  4480. {
  4481. "id": "gitlens.views.lineHistory:gitlens",
  4482. "name": "Line History",
  4483. "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
  4484. },
  4485. {
  4486. "id": "gitlens.views.compare:gitlens",
  4487. "name": "Compare",
  4488. "when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
  4489. },
  4490. {
  4491. "id": "gitlens.views.search:gitlens",
  4492. "name": "Search Commits",
  4493. "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
  4494. }
  4495. ],
  4496. "explorer": [
  4497. {
  4498. "id": "gitlens.views.repositories:explorer",
  4499. "name": "GitLens: Repositories",
  4500. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
  4501. },
  4502. {
  4503. "id": "gitlens.views.fileHistory:explorer",
  4504. "name": "GitLens: File History",
  4505. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
  4506. },
  4507. {
  4508. "id": "gitlens.views.lineHistory:explorer",
  4509. "name": "GitLens: Line History",
  4510. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
  4511. },
  4512. {
  4513. "id": "gitlens.views.compare:explorer",
  4514. "name": "GitLens: Compare",
  4515. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
  4516. },
  4517. {
  4518. "id": "gitlens.views.search:explorer",
  4519. "name": "GitLens: Search Commits",
  4520. "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
  4521. }
  4522. ],
  4523. "scm": [
  4524. {
  4525. "id": "gitlens.views.repositories:scm",
  4526. "name": "GitLens: Repositories",
  4527. "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
  4528. },
  4529. {
  4530. "id": "gitlens.views.fileHistory:scm",
  4531. "name": "GitLens: File History",
  4532. "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
  4533. },
  4534. {
  4535. "id": "gitlens.views.lineHistory:scm",
  4536. "name": "GitLens: Line History",
  4537. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
  4538. },
  4539. {
  4540. "id": "gitlens.views.compare:scm",
  4541. "name": "GitLens: Compare",
  4542. "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
  4543. },
  4544. {
  4545. "id": "gitlens.views.search:scm",
  4546. "name": "GitLens: Search Commits",
  4547. "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
  4548. }
  4549. ]
  4550. }
  4551. },
  4552. "scripts": {
  4553. "build": "webpack --env.development",
  4554. "bundle": "webpack --env.production",
  4555. "clean": "git clean -Xdf -e !.cache-images -e !node_modules -e !node_modules/**/*",
  4556. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  4557. "pack": "vsce package",
  4558. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  4559. "pub": "vsce publish",
  4560. "rebuild": "npm run reset && npm run build",
  4561. "reset": "npm run clean && npm install --no-save",
  4562. "watch": "webpack --watch --env.development --info-verbosity verbose",
  4563. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  4564. "ui:watch": "webpack --watch --config-name ui --env.development --info-verbosity verbose",
  4565. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  4566. "postinstall": "node ./node_modules/vscode/bin/install",
  4567. "vscode:prepublish": "npm run reset && npm run bundle"
  4568. },
  4569. "dependencies": {
  4570. "date-fns": "1.29.0",
  4571. "iconv-lite": "0.4.24",
  4572. "lodash-es": "4.17.11",
  4573. "tslib": "1.9.3",
  4574. "vsls": "0.3.967"
  4575. },
  4576. "devDependencies": {
  4577. "@types/lodash-es": "4.17.1",
  4578. "@types/node": "8.10.38",
  4579. "clean-webpack-plugin": "1.0.0",
  4580. "css-loader": "2.0.0",
  4581. "html-webpack-inline-source-plugin": "0.0.10",
  4582. "html-webpack-plugin": "3.2.0",
  4583. "imagemin-webpack-plugin": "2.3.0",
  4584. "mini-css-extract-plugin": "0.5.0",
  4585. "node-sass": "4.11.0",
  4586. "prettier": "1.15.3",
  4587. "prettier-tslint": "0.4.1",
  4588. "sass-loader": "7.1.0",
  4589. "terser-webpack-plugin": "1.1.0",
  4590. "tslint": "5.12.0",
  4591. "tslint-loader": "3.5.4",
  4592. "tslint-prettiest": "0.0.1",
  4593. "ts-loader": "5.3.1",
  4594. "typescript": "3.2.2",
  4595. "vsce": "1.53.2",
  4596. "vscode": "1.1.26",
  4597. "webpack": "4.27.1",
  4598. "webpack-cli": "3.1.2"
  4599. }
  4600. }