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.

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