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.

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