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.

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