25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

4919 satır
223 KiB

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