You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5144 lines
233 KiB

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