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.

8143 lines
254 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 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": "11.0.0-rc.2",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://gitlens.amod.io/",
  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.51.0"
  22. },
  23. "main": "./dist/gitlens",
  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&labelColor=555555",
  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. "onCustomEditor:gitlens.rebase",
  50. "onFileSystem:gitlens",
  51. "onView:gitlens.views.updates",
  52. "onView:gitlens.views.repositories",
  53. "onView:gitlens.views.commits",
  54. "onView:gitlens.views.fileHistory",
  55. "onView:gitlens.views.lineHistory",
  56. "onView:gitlens.views.branches",
  57. "onView:gitlens.views.remotes",
  58. "onView:gitlens.views.stashes",
  59. "onView:gitlens.views.tags",
  60. "onView:gitlens.views.contributors",
  61. "onView:gitlens.views.searchAndCompare",
  62. "onCommand:gitlens.supportGitLens",
  63. "onCommand:gitlens.showSettingsPage",
  64. "onCommand:gitlens.showSettingsPage#views",
  65. "onCommand:gitlens.showSettingsPage#branches-view",
  66. "onCommand:gitlens.showSettingsPage#commits-view",
  67. "onCommand:gitlens.showSettingsPage#contributors-view",
  68. "onCommand:gitlens.showSettingsPage#file-history-view",
  69. "onCommand:gitlens.showSettingsPage#line-history-view",
  70. "onCommand:gitlens.showSettingsPage#remotes-view",
  71. "onCommand:gitlens.showSettingsPage#repositories-view",
  72. "onCommand:gitlens.showSettingsPage#search-compare-view",
  73. "onCommand:gitlens.showSettingsPage#stashes-view",
  74. "onCommand:gitlens.showSettingsPage#tags-view",
  75. "onCommand:gitlens.showWelcomePage",
  76. "onCommand:gitlens.showBranchesView",
  77. "onCommand:gitlens.showCommitsView",
  78. "onCommand:gitlens.showContributorsView",
  79. "onCommand:gitlens.showFileHistoryView",
  80. "onCommand:gitlens.showLineHistoryView",
  81. "onCommand:gitlens.showRemotesView",
  82. "onCommand:gitlens.showRepositoriesView",
  83. "onCommand:gitlens.showSearchAndCompareView",
  84. "onCommand:gitlens.showStashesView",
  85. "onCommand:gitlens.showTagsView",
  86. "onCommand:gitlens.showWelcomeView",
  87. "onCommand:gitlens.closeUpdatesView",
  88. "onCommand:gitlens.closeWelcomeView",
  89. "onCommand:gitlens.diffDirectory",
  90. "onCommand:gitlens.diffDirectoryWithHead",
  91. "onCommand:gitlens.diffHeadWith",
  92. "onCommand:gitlens.diffWorkingWith",
  93. "onCommand:gitlens.diffWithNext",
  94. "onCommand:gitlens.diffWithNextInDiffLeft",
  95. "onCommand:gitlens.diffWithNextInDiffRight",
  96. "onCommand:gitlens.diffWithPrevious",
  97. "onCommand:gitlens.diffWithPreviousInDiffLeft",
  98. "onCommand:gitlens.diffWithPreviousInDiffRight",
  99. "onCommand:gitlens.diffLineWithPrevious",
  100. "onCommand:gitlens.diffWithRevision",
  101. "onCommand:gitlens.diffWithRevisionFrom",
  102. "onCommand:gitlens.diffWithWorking",
  103. "onCommand:gitlens.diffWithWorkingInDiffLeft",
  104. "onCommand:gitlens.diffWithWorkingInDiffRight",
  105. "onCommand:gitlens.diffLineWithWorking",
  106. "onCommand:gitlens.toggleFileBlame",
  107. "onCommand:gitlens.toggleFileBlameInDiffLeft",
  108. "onCommand:gitlens.toggleFileBlameInDiffRight",
  109. "onCommand:gitlens.clearFileAnnotations",
  110. "onCommand:gitlens.computingFileAnnotations",
  111. "onCommand:gitlens.toggleFileHeatmap",
  112. "onCommand:gitlens.toggleFileHeatmapInDiffLeft",
  113. "onCommand:gitlens.toggleFileHeatmapInDiffRight",
  114. "onCommand:gitlens.toggleFileChanges",
  115. "onCommand:gitlens.toggleLineBlame",
  116. "onCommand:gitlens.toggleCodeLens",
  117. "onCommand:gitlens.gitCommands",
  118. "onCommand:gitlens.switchMode",
  119. "onCommand:gitlens.toggleReviewMode",
  120. "onCommand:gitlens.toggleZenMode",
  121. "onCommand:gitlens.setViewsLayout",
  122. "onCommand:gitlens.showCommitSearch",
  123. "onCommand:gitlens.showLastQuickPick",
  124. "onCommand:gitlens.revealCommitInView",
  125. "onCommand:gitlens.showCommitInView",
  126. "onCommand:gitlens.showCommitsInView",
  127. "onCommand:gitlens.showFileHistoryInView",
  128. "onCommand:gitlens.showQuickCommitDetails",
  129. "onCommand:gitlens.showQuickCommitFileDetails",
  130. "onCommand:gitlens.showQuickRevisionDetails",
  131. "onCommand:gitlens.showQuickRevisionDetailsInDiffLeft",
  132. "onCommand:gitlens.showQuickRevisionDetailsInDiffRight",
  133. "onCommand:gitlens.showQuickFileHistory",
  134. "onCommand:gitlens.showQuickBranchHistory",
  135. "onCommand:gitlens.showQuickRepoHistory",
  136. "onCommand:gitlens.showQuickRepoStatus",
  137. "onCommand:gitlens.showQuickStashList",
  138. "onCommand:gitlens.addAuthors",
  139. "onCommand:gitlens.connectRemoteProvider",
  140. "onCommand:gitlens.disconnectRemoteProvider",
  141. "onCommand:gitlens.copyMessageToClipboard",
  142. "onCommand:gitlens.copyShaToClipboard",
  143. "onCommand:gitlens.closeUnchangedFiles",
  144. "onCommand:gitlens.openChangedFiles",
  145. "onCommand:gitlens.openBranchesOnRemote",
  146. "onCommand:gitlens.copyRemoteBranchesUrl",
  147. "onCommand:gitlens.openBranchOnRemote",
  148. "onCommand:gitlens.copyRemoteBranchUrl",
  149. "onCommand:gitlens.openCommitOnRemote",
  150. "onCommand:gitlens.copyRemoteCommitUrl",
  151. "onCommand:gitlens.openComparisonOnRemote",
  152. "onCommand:gitlens.copyRemoteComparisonUrl",
  153. "onCommand:gitlens.openFileFromRemote",
  154. "onCommand:gitlens.openFileOnRemote",
  155. "onCommand:gitlens.copyRemoteFileUrlToClipboard",
  156. "onCommand:gitlens.openFileRevision",
  157. "onCommand:gitlens.openFileRevisionFrom",
  158. "onCommand:gitlens.openPullRequestOnRemote",
  159. "onCommand:gitlens.copyRemotePullRequestUrl",
  160. "onCommand:gitlens.openAssociatedPullRequestOnRemote",
  161. "onCommand:gitlens.openRepoOnRemote",
  162. "onCommand:gitlens.copyRemoteRepositoryUrl",
  163. "onCommand:gitlens.openRevisionFile",
  164. "onCommand:gitlens.openRevisionFileInDiffLeft",
  165. "onCommand:gitlens.openRevisionFileInDiffRight",
  166. "onCommand:gitlens.openWorkingFile",
  167. "onCommand:gitlens.openWorkingFileInDiffLeft",
  168. "onCommand:gitlens.openWorkingFileInDiffRight",
  169. "onCommand:gitlens.stashApply",
  170. "onCommand:gitlens.stashSave",
  171. "onCommand:gitlens.stashSaveFiles",
  172. "onCommand:gitlens.externalDiff",
  173. "onCommand:gitlens.externalDiffAll",
  174. "onCommand:gitlens.resetSuppressedWarnings",
  175. "onCommand:gitlens.inviteToLiveShare",
  176. "onCommand:gitlens.browseRepoAtRevision",
  177. "onCommand:gitlens.browseRepoAtRevisionInNewWindow",
  178. "onCommand:gitlens.fetchRepositories",
  179. "onCommand:gitlens.pullRepositories",
  180. "onCommand:gitlens.pushRepositories",
  181. "onStartupFinished"
  182. ],
  183. "contributes": {
  184. "configuration": {
  185. "type": "object",
  186. "title": "GitLens — Use 'GitLens: Open Settings' for a richer, interactive experience",
  187. "properties": {
  188. "gitlens.autolinks": {
  189. "type": [
  190. "array",
  191. "null"
  192. ],
  193. "default": null,
  194. "items": {
  195. "type": "object",
  196. "required": [
  197. "prefix",
  198. "url"
  199. ],
  200. "properties": {
  201. "prefix": {
  202. "type": "string",
  203. "description": "Specifies the short prefix to use to generate autolinks for the external resource"
  204. },
  205. "title": {
  206. "type": [
  207. "string",
  208. "null"
  209. ],
  210. "default": null,
  211. "description": "Specifies an optional title for the generated autolink. Use `<num>` as the variable for the reference number"
  212. },
  213. "url": {
  214. "type": "string",
  215. "description": "Specifies the url of the external resource you want to link to. Use `<num>` as the variable for the reference number"
  216. },
  217. "alphanumeric": {
  218. "type": "boolean",
  219. "description": "Specifies whether alphanumeric characters should be allowed in `<num>`",
  220. "default": false
  221. },
  222. "ignoreCase": {
  223. "type": "boolean",
  224. "description": "Specifies whether case should be ignored when matching the prefix",
  225. "default": false
  226. }
  227. }
  228. },
  229. "uniqueItems": true,
  230. "markdownDescription": "Specifies autolinks to external resources in commit messages. Use `<num>` as the variable for the reference number",
  231. "scope": "window"
  232. },
  233. "gitlens.blame.avatars": {
  234. "type": "boolean",
  235. "default": true,
  236. "markdownDescription": "Specifies whether to show avatar images in the gutter blame annotations",
  237. "scope": "window"
  238. },
  239. "gitlens.blame.compact": {
  240. "type": "boolean",
  241. "default": true,
  242. "markdownDescription": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  243. "scope": "window"
  244. },
  245. "gitlens.blame.dateFormat": {
  246. "type": [
  247. "string",
  248. "null"
  249. ],
  250. "default": null,
  251. "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in gutter blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  252. "scope": "window"
  253. },
  254. "gitlens.blame.format": {
  255. "type": "string",
  256. "default": "${message|50?} ${agoOrDate|14-}",
  257. "markdownDescription": "Specifies the format of the gutter blame annotations. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.blame.dateFormat#` setting",
  258. "scope": "window"
  259. },
  260. "gitlens.blame.heatmap.enabled": {
  261. "type": "boolean",
  262. "default": true,
  263. "markdownDescription": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  264. "scope": "window"
  265. },
  266. "gitlens.blame.heatmap.location": {
  267. "type": "string",
  268. "default": "right",
  269. "enum": [
  270. "left",
  271. "right"
  272. ],
  273. "enumDescriptions": [
  274. "Adds a heatmap indicator on the left edge of the gutter blame annotations",
  275. "Adds a heatmap indicator on the right edge of the gutter blame annotations"
  276. ],
  277. "markdownDescription": "Specifies where the heatmap indicators will be shown in the gutter blame annotations",
  278. "scope": "window"
  279. },
  280. "gitlens.blame.highlight.enabled": {
  281. "type": "boolean",
  282. "default": true,
  283. "markdownDescription": "Specifies whether to highlight lines associated with the current line",
  284. "scope": "window"
  285. },
  286. "gitlens.blame.highlight.locations": {
  287. "type": "array",
  288. "default": [
  289. "gutter",
  290. "line",
  291. "overview"
  292. ],
  293. "items": {
  294. "type": "string",
  295. "enum": [
  296. "gutter",
  297. "line",
  298. "overview"
  299. ],
  300. "enumDescriptions": [
  301. "Adds a gutter indicator",
  302. "Adds a full-line highlight background color",
  303. "Adds a decoration to the overview ruler (scroll bar)"
  304. ]
  305. },
  306. "minItems": 1,
  307. "maxItems": 3,
  308. "uniqueItems": true,
  309. "markdownDescription": "Specifies where the associated line highlights will be shown",
  310. "scope": "window"
  311. },
  312. "gitlens.blame.ignoreWhitespace": {
  313. "type": "boolean",
  314. "default": false,
  315. "markdownDescription": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  316. "scope": "resource"
  317. },
  318. "gitlens.blame.separateLines": {
  319. "type": "boolean",
  320. "default": true,
  321. "markdownDescription": "Specifies whether gutter blame annotations will be separated by a small gap",
  322. "scope": "window"
  323. },
  324. "gitlens.blame.toggleMode": {
  325. "type": "string",
  326. "default": "file",
  327. "enum": [
  328. "file",
  329. "window"
  330. ],
  331. "enumDescriptions": [
  332. "Toggles each file individually",
  333. "Toggles the window, i.e. all files at once"
  334. ],
  335. "markdownDescription": "Specifies how the gutter blame annotations will be toggled",
  336. "scope": "window"
  337. },
  338. "gitlens.changes.locations": {
  339. "type": "array",
  340. "default": [
  341. "gutter",
  342. "overview"
  343. ],
  344. "items": {
  345. "type": "string",
  346. "enum": [
  347. "gutter",
  348. "overview"
  349. ],
  350. "enumDescriptions": [
  351. "Adds a gutter indicator",
  352. "Adds a decoration to the overview ruler (scroll bar)"
  353. ]
  354. },
  355. "minItems": 1,
  356. "maxItems": 3,
  357. "uniqueItems": true,
  358. "markdownDescription": "Specifies where the indicators of the gutter changes annotations will be shown",
  359. "scope": "window"
  360. },
  361. "gitlens.changes.toggleMode": {
  362. "type": "string",
  363. "default": "file",
  364. "enum": [
  365. "file",
  366. "window"
  367. ],
  368. "enumDescriptions": [
  369. "Toggles each file individually",
  370. "Toggles the window, i.e. all files at once"
  371. ],
  372. "markdownDescription": "Specifies how the gutter changes annotations will be toggled",
  373. "scope": "window"
  374. },
  375. "gitlens.codeLens.authors.command": {
  376. "anyOf": [
  377. {
  378. "enum": [
  379. false
  380. ]
  381. },
  382. {
  383. "type": "string",
  384. "enum": [
  385. "gitlens.toggleFileBlame",
  386. "gitlens.diffWithPrevious",
  387. "gitlens.revealCommitInView",
  388. "gitlens.showCommitsInView",
  389. "gitlens.showQuickCommitDetails",
  390. "gitlens.showQuickCommitFileDetails",
  391. "gitlens.showQuickFileHistory",
  392. "gitlens.showQuickRepoHistory"
  393. ],
  394. "enumDescriptions": [
  395. "Toggles file blame annotations",
  396. "Compares the current committed file with the previous commit",
  397. "Reveals the commit in the Side Bar",
  398. "Searches for commits within the range",
  399. "Shows a commit details quick pick",
  400. "Shows a commit file details quick pick",
  401. "Shows a file history quick pick",
  402. "Shows a branch history quick pick"
  403. ]
  404. }
  405. ],
  406. "default": "gitlens.toggleFileBlame",
  407. "markdownDescription": "Specifies the command to be executed when an _authors_ code lens is clicked",
  408. "scope": "window"
  409. },
  410. "gitlens.codeLens.authors.enabled": {
  411. "type": "boolean",
  412. "default": true,
  413. "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)",
  414. "scope": "window"
  415. },
  416. "gitlens.codeLens.enabled": {
  417. "type": "boolean",
  418. "default": true,
  419. "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",
  420. "scope": "window"
  421. },
  422. "gitlens.codeLens.includeSingleLineSymbols": {
  423. "type": "boolean",
  424. "default": false,
  425. "markdownDescription": "Specifies whether to provide any Git code lens on symbols that span only a single line",
  426. "scope": "window"
  427. },
  428. "gitlens.codeLens.recentChange.command": {
  429. "anyOf": [
  430. {
  431. "enum": [
  432. false
  433. ]
  434. },
  435. {
  436. "type": "string",
  437. "enum": [
  438. "gitlens.toggleFileBlame",
  439. "gitlens.diffWithPrevious",
  440. "gitlens.revealCommitInView",
  441. "gitlens.showCommitsInView",
  442. "gitlens.showQuickCommitDetails",
  443. "gitlens.showQuickCommitFileDetails",
  444. "gitlens.showQuickFileHistory",
  445. "gitlens.showQuickRepoHistory"
  446. ],
  447. "enumDescriptions": [
  448. "Toggles file blame annotations",
  449. "Compares the current committed file with the previous commit",
  450. "Reveals the commit in the Side Bar",
  451. "Searches for the commit",
  452. "Shows a commit details quick pick",
  453. "Shows a commit file details quick pick",
  454. "Shows a file history quick pick",
  455. "Shows a branch history quick pick"
  456. ]
  457. }
  458. ],
  459. "default": "gitlens.showQuickCommitFileDetails",
  460. "markdownDescription": "Specifies the command to be executed when a _recent change_ code lens is clicked",
  461. "scope": "window"
  462. },
  463. "gitlens.codeLens.recentChange.enabled": {
  464. "type": "boolean",
  465. "default": true,
  466. "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",
  467. "scope": "window"
  468. },
  469. "gitlens.codeLens.scopes": {
  470. "type": "array",
  471. "default": [
  472. "document",
  473. "containers"
  474. ],
  475. "items": {
  476. "type": "string",
  477. "enum": [
  478. "document",
  479. "containers",
  480. "blocks"
  481. ],
  482. "enumDescriptions": [
  483. "Adds code lens at the top of the document",
  484. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  485. "Adds code lens at the start of block-like symbols (functions, methods, etc) lines"
  486. ]
  487. },
  488. "minItems": 1,
  489. "maxItems": 4,
  490. "uniqueItems": true,
  491. "markdownDescription": "Specifies where Git code lens will be shown in the document",
  492. "scope": "language-overridable"
  493. },
  494. "gitlens.codeLens.scopesByLanguage": {
  495. "deprecationMessage": "Deprecated. Use per-language `gitlens.codeLens.scopes` and `gitlens.codeLens.symbolScopes` settings instead",
  496. "markdownDeprecationMessage": "Depreciated: Use the per-language `#gitlens.codeLens.scopes#` and `#gitlens.codeLens.symbolScopes#` settings instead"
  497. },
  498. "gitlens.codeLens.symbolScopes": {
  499. "type": "array",
  500. "items": {
  501. "type": "string"
  502. },
  503. "uniqueItems": true,
  504. "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`",
  505. "scope": "language-overridable"
  506. },
  507. "gitlens.currentLine.dateFormat": {
  508. "type": [
  509. "string",
  510. "null"
  511. ],
  512. "default": null,
  513. "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) for the current line blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  514. "scope": "window"
  515. },
  516. "gitlens.currentLine.enabled": {
  517. "type": "boolean",
  518. "default": true,
  519. "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",
  520. "scope": "window"
  521. },
  522. "gitlens.currentLine.format": {
  523. "type": "string",
  524. "default": "${author, }${agoOrDate}${' via 'pullRequest}${ • message|50?}",
  525. "markdownDescription": "Specifies the format of the current line blame annotation. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.currentLine.dateFormat#` setting",
  526. "scope": "window"
  527. },
  528. "gitlens.currentLine.pullRequests.enabled": {
  529. "type": "boolean",
  530. "default": true,
  531. "markdownDescription": "Specifies whether to provide information about the Pull Request (if any) that introduced the commit in the current line blame annotation. Requires a connection to a supported remote service (e.g. GitHub)",
  532. "scope": "window"
  533. },
  534. "gitlens.currentLine.scrollable": {
  535. "type": "boolean",
  536. "default": true,
  537. "markdownDescription": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  538. "scope": "window"
  539. },
  540. "gitlens.debug": {
  541. "type": "boolean",
  542. "default": false,
  543. "markdownDescription": "Specifies debug mode",
  544. "scope": "window"
  545. },
  546. "gitlens.defaultDateFormat": {
  547. "type": [
  548. "string",
  549. "null"
  550. ],
  551. "default": null,
  552. "markdownDescription": "Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  553. "scope": "window"
  554. },
  555. "gitlens.defaultDateShortFormat": {
  556. "type": [
  557. "string",
  558. "null"
  559. ],
  560. "default": null,
  561. "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",
  562. "scope": "window"
  563. },
  564. "gitlens.defaultDateSource": {
  565. "type": "string",
  566. "default": "authored",
  567. "enum": [
  568. "authored",
  569. "committed"
  570. ],
  571. "enumDescriptions": [
  572. "Uses the date when the changes were authored (i.e. originally written)",
  573. "Uses the date when the changes were committed"
  574. ],
  575. "markdownDescription": "Specifies whether commit dates should use the authored or committed date",
  576. "scope": "window"
  577. },
  578. "gitlens.defaultDateStyle": {
  579. "type": "string",
  580. "default": "relative",
  581. "enum": [
  582. "relative",
  583. "absolute"
  584. ],
  585. "enumDescriptions": [
  586. "e.g. 1 day ago",
  587. "e.g. July 25th, 2018 7:18pm"
  588. ],
  589. "markdownDescription": "Specifies how dates will be displayed by default",
  590. "scope": "window"
  591. },
  592. "gitlens.defaultGravatarsStyle": {
  593. "type": "string",
  594. "default": "robohash",
  595. "enum": [
  596. "identicon",
  597. "mp",
  598. "monsterid",
  599. "retro",
  600. "robohash",
  601. "wavatar"
  602. ],
  603. "enumDescriptions": [
  604. "A geometric pattern",
  605. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  606. "A monster with different colors, faces, etc",
  607. "8-bit arcade-style pixelated faces",
  608. "A robot with different colors, faces, etc",
  609. "A face with differing features and backgrounds"
  610. ],
  611. "markdownDescription": "Specifies the style of the gravatar default (fallback) images",
  612. "scope": "window"
  613. },
  614. "gitlens.gitCommands.closeOnFocusOut": {
  615. "type": "boolean",
  616. "default": true,
  617. "markdownDescription": "Specifies whether to dismiss the _Git Command Palette_ when focus is lost (if not, press `ESC` to dismiss)",
  618. "scope": "window"
  619. },
  620. "gitlens.gitCommands.search.matchAll": {
  621. "type": "boolean",
  622. "default": false,
  623. "markdownDescription": "Specifies whether to match all or any commit message search patterns",
  624. "scope": "window"
  625. },
  626. "gitlens.gitCommands.search.matchCase": {
  627. "type": "boolean",
  628. "default": false,
  629. "markdownDescription": "Specifies whether to match commit search patterns with or without regard to casing",
  630. "scope": "window"
  631. },
  632. "gitlens.gitCommands.search.matchRegex": {
  633. "type": "boolean",
  634. "default": true,
  635. "markdownDescription": "Specifies whether to match commit search patterns using regular expressions",
  636. "scope": "window"
  637. },
  638. "gitlens.gitCommands.search.showResultsInView": {
  639. "deprecationMessage": "Depreciated: This setting has been renamed to gitlens.gitCommands.search.showResultsInSideBar",
  640. "markdownDeprecationMessage": "Depreciated: This setting has been renamed to `#gitlens.gitCommands.search.showResultsInSideBar#`"
  641. },
  642. "gitlens.gitCommands.search.showResultsInSideBar": {
  643. "type": [
  644. "boolean",
  645. "null"
  646. ],
  647. "default": null,
  648. "markdownDescription": "Specifies whether to show the commit search results directly in the quick pick menu, in the Side Bar, or will be based on the context",
  649. "scope": "window"
  650. },
  651. "gitlens.gitCommands.skipConfirmations": {
  652. "type": "array",
  653. "default": [
  654. "fetch:command",
  655. "stash-push:command",
  656. "switch:command"
  657. ],
  658. "items": {
  659. "type": "string",
  660. "enum": [
  661. "branch-create:command",
  662. "branch-create:menu",
  663. "co-authors:command",
  664. "co-authors:menu",
  665. "fetch:command",
  666. "fetch:menu",
  667. "pull:command",
  668. "pull:menu",
  669. "push:command",
  670. "push:menu",
  671. "stash-apply:command",
  672. "stash-apply:menu",
  673. "stash-pop:command",
  674. "stash-pop:menu",
  675. "stash-push:command",
  676. "stash-push:menu",
  677. "switch:command",
  678. "switch:menu",
  679. "tag-create:command",
  680. "tag-create:menu"
  681. ],
  682. "enumDescriptions": [
  683. "Skips branch create confirmations when run from a command, e.g. a view action",
  684. "Skips branch create confirmations when run from the Git Command Palette",
  685. "Skips co-author confirmations when run from a command, e.g. a view action",
  686. "Skips co-author confirmations when run from the Git Command Palette",
  687. "Skips fetch confirmations when run from a command, e.g. a view action",
  688. "Skips fetch confirmations when run from the Git Command Palette",
  689. "Skips pull confirmations when run from a command, e.g. a view action",
  690. "Skips pull confirmations when run from the Git Command Palette",
  691. "Skips push confirmations when run from a command, e.g. a view action",
  692. "Skips push confirmations when run from the Git Command Palette",
  693. "Skips stash apply confirmations when run from a command, e.g. a view action",
  694. "Skips stash apply confirmations when run from the Git Command Palette",
  695. "Skips stash pop confirmations when run from a command, e.g. a view action",
  696. "Skips stash pop confirmations when run from the Git Command Palette",
  697. "Skips stash push confirmations when run from a command, e.g. a view action",
  698. "Skips stash push confirmations when run from the Git Command Palette",
  699. "Skips switch confirmations when run from a command, e.g. a view action",
  700. "Skips switch confirmations when run from the Git Command Palette",
  701. "Skips tag create confirmations when run from a command, e.g. a view action",
  702. "Skips tag create confirmations when run from the Git Command Palette"
  703. ]
  704. },
  705. "minItems": 0,
  706. "maxItems": 14,
  707. "uniqueItems": true,
  708. "markdownDescription": "Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu|command)`",
  709. "scope": "window"
  710. },
  711. "gitlens.heatmap.ageThreshold": {
  712. "type": "number",
  713. "default": 90,
  714. "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#`)",
  715. "scope": "window"
  716. },
  717. "gitlens.heatmap.coldColor": {
  718. "type": "string",
  719. "default": "#0a60f6",
  720. "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  721. "scope": "window"
  722. },
  723. "gitlens.heatmap.hotColor": {
  724. "type": "string",
  725. "default": "#f66a0a",
  726. "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  727. "scope": "window"
  728. },
  729. "gitlens.heatmap.toggleMode": {
  730. "type": "string",
  731. "default": "file",
  732. "enum": [
  733. "file",
  734. "window"
  735. ],
  736. "enumDescriptions": [
  737. "Toggles each file individually",
  738. "Toggles the window, i.e. all files at once"
  739. ],
  740. "markdownDescription": "Specifies how the gutter heatmap annotations will be toggled",
  741. "scope": "window"
  742. },
  743. "gitlens.hovers.annotations.changes": {
  744. "type": "boolean",
  745. "default": true,
  746. "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for all lines when showing blame annotations",
  747. "scope": "window"
  748. },
  749. "gitlens.hovers.annotations.details": {
  750. "type": "boolean",
  751. "default": true,
  752. "markdownDescription": "Specifies whether to provide a _commit details_ hover for all lines when showing blame annotations",
  753. "scope": "window"
  754. },
  755. "gitlens.hovers.annotations.enabled": {
  756. "type": "boolean",
  757. "default": true,
  758. "markdownDescription": "Specifies whether to provide any hovers when showing blame annotations",
  759. "scope": "window"
  760. },
  761. "gitlens.hovers.annotations.over": {
  762. "type": "string",
  763. "default": "line",
  764. "enum": [
  765. "annotation",
  766. "line"
  767. ],
  768. "enumDescriptions": [
  769. "Only shown when hovering over the line annotation",
  770. "Shown when hovering anywhere over the line"
  771. ],
  772. "markdownDescription": "Specifies when to trigger hovers when showing blame annotations",
  773. "scope": "window"
  774. },
  775. "gitlens.hovers.avatars": {
  776. "type": "boolean",
  777. "default": true,
  778. "markdownDescription": "Specifies whether to show avatar images in hovers",
  779. "scope": "window"
  780. },
  781. "gitlens.hovers.avatarSize": {
  782. "type": "number",
  783. "default": 32,
  784. "markdownDescription": "Specifies the size of the avatar images in hovers",
  785. "scope": "window"
  786. },
  787. "gitlens.hovers.changesDiff": {
  788. "type": "string",
  789. "default": "line",
  790. "enum": [
  791. "line",
  792. "hunk"
  793. ],
  794. "enumDescriptions": [
  795. "Shows only the changes to the line",
  796. "Shows the set of related changes"
  797. ],
  798. "markdownDescription": "Specifies whether to show just the changes to the line or the set of related changes in the _changes (diff)_ hover",
  799. "scope": "window"
  800. },
  801. "gitlens.hovers.currentLine.changes": {
  802. "type": "boolean",
  803. "default": true,
  804. "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for the current line",
  805. "scope": "window"
  806. },
  807. "gitlens.hovers.currentLine.details": {
  808. "type": "boolean",
  809. "default": true,
  810. "markdownDescription": "Specifies whether to provide a _commit details_ hover for the current line",
  811. "scope": "window"
  812. },
  813. "gitlens.hovers.currentLine.enabled": {
  814. "type": "boolean",
  815. "default": true,
  816. "markdownDescription": "Specifies whether to provide any hovers for the current line",
  817. "scope": "window"
  818. },
  819. "gitlens.hovers.currentLine.over": {
  820. "type": "string",
  821. "default": "annotation",
  822. "enum": [
  823. "annotation",
  824. "line"
  825. ],
  826. "enumDescriptions": [
  827. "Only shown when hovering over the line annotation",
  828. "Shown when hovering anywhere over the line"
  829. ],
  830. "markdownDescription": "Specifies when to trigger hovers for the current line",
  831. "scope": "window"
  832. },
  833. "gitlens.hovers.detailsMarkdownFormat": {
  834. "type": "string",
  835. "default": "${avatar} &nbsp;__${author}__, ${ago}${' via 'pullRequest} &nbsp; _(${date})_ \n\n${message}\n\n${commands}",
  836. "markdownDescription": "Specifies the format (in markdown) of the _commit details_ hover. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  837. "scope": "window"
  838. },
  839. "gitlens.hovers.enabled": {
  840. "type": "boolean",
  841. "default": true,
  842. "markdownDescription": "Specifies whether to provide any hovers",
  843. "scope": "window"
  844. },
  845. "gitlens.hovers.autolinks.enabled": {
  846. "type": "boolean",
  847. "default": true,
  848. "markdownDescription": "Specifies whether to automatically link external resources in commit messages",
  849. "scope": "window"
  850. },
  851. "gitlens.hovers.autolinks.enhanced": {
  852. "type": "boolean",
  853. "default": true,
  854. "markdownDescription": "Specifies whether to lookup additional details about automatically link external resources in commit messages. Requires a connection to a supported remote service (e.g. GitHub)",
  855. "scope": "window"
  856. },
  857. "gitlens.hovers.pullRequests.enabled": {
  858. "type": "boolean",
  859. "default": true,
  860. "markdownDescription": "Specifies whether to provide information about the Pull Request (if any) that introduced the commit in the hovers. Requires a connection to a supported remote service (e.g. GitHub)",
  861. "scope": "window"
  862. },
  863. "gitlens.insiders": {
  864. "type": "boolean",
  865. "default": false,
  866. "markdownDescription": "Specifies whether to enable experimental features",
  867. "scope": "window"
  868. },
  869. "gitlens.keymap": {
  870. "type": "string",
  871. "default": "chorded",
  872. "enum": [
  873. "alternate",
  874. "chorded",
  875. "none"
  876. ],
  877. "enumDescriptions": [
  878. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  879. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  880. "No shortcut keys will be added"
  881. ],
  882. "markdownDescription": "Specifies the keymap to use for GitLens shortcut keys",
  883. "scope": "window"
  884. },
  885. "gitlens.liveshare.allowGuestAccess": {
  886. "type": "boolean",
  887. "default": true,
  888. "description": "Specifies whether to allow guest access to GitLens features when using Visual Studio Live Share",
  889. "scope": "window"
  890. },
  891. "gitlens.menus": {
  892. "anyOf": [
  893. {
  894. "enum": [
  895. false
  896. ]
  897. },
  898. {
  899. "type": "object",
  900. "properties": {
  901. "editor": {
  902. "anyOf": [
  903. {
  904. "enum": [
  905. false
  906. ]
  907. },
  908. {
  909. "type": "object",
  910. "properties": {
  911. "blame": {
  912. "type": "boolean"
  913. },
  914. "clipboard": {
  915. "type": "boolean"
  916. },
  917. "compare": {
  918. "type": "boolean"
  919. },
  920. "history": {
  921. "type": "boolean"
  922. },
  923. "remote": {
  924. "type": "boolean"
  925. }
  926. }
  927. }
  928. ]
  929. },
  930. "editorGroup": {
  931. "anyOf": [
  932. {
  933. "enum": [
  934. false
  935. ]
  936. },
  937. {
  938. "type": "object",
  939. "properties": {
  940. "blame": {
  941. "type": "boolean"
  942. },
  943. "compare": {
  944. "type": "boolean"
  945. }
  946. }
  947. }
  948. ]
  949. },
  950. "editorTab": {
  951. "anyOf": [
  952. {
  953. "enum": [
  954. false
  955. ]
  956. },
  957. {
  958. "type": "object",
  959. "properties": {
  960. "clipboard": {
  961. "type": "boolean"
  962. },
  963. "compare": {
  964. "type": "boolean"
  965. },
  966. "history": {
  967. "type": "boolean"
  968. },
  969. "remote": {
  970. "type": "boolean"
  971. }
  972. }
  973. }
  974. ]
  975. },
  976. "explorer": {
  977. "anyOf": [
  978. {
  979. "enum": [
  980. false
  981. ]
  982. },
  983. {
  984. "type": "object",
  985. "properties": {
  986. "clipboard": {
  987. "type": "boolean"
  988. },
  989. "compare": {
  990. "type": "boolean"
  991. },
  992. "history": {
  993. "type": "boolean"
  994. },
  995. "remote": {
  996. "type": "boolean"
  997. }
  998. }
  999. }
  1000. ]
  1001. },
  1002. "scm": {
  1003. "anyOf": [
  1004. {
  1005. "enum": [
  1006. false
  1007. ]
  1008. },
  1009. {
  1010. "type": "object",
  1011. "properties": {
  1012. "authors": {
  1013. "type": "boolean"
  1014. }
  1015. }
  1016. }
  1017. ]
  1018. },
  1019. "scmGroupInline": {
  1020. "anyOf": [
  1021. {
  1022. "enum": [
  1023. false
  1024. ]
  1025. },
  1026. {
  1027. "type": "object",
  1028. "properties": {
  1029. "stash": {
  1030. "type": "boolean"
  1031. }
  1032. }
  1033. }
  1034. ]
  1035. },
  1036. "scmGroup": {
  1037. "anyOf": [
  1038. {
  1039. "enum": [
  1040. false
  1041. ]
  1042. },
  1043. {
  1044. "type": "object",
  1045. "properties": {
  1046. "compare": {
  1047. "type": "boolean"
  1048. },
  1049. "openClose": {
  1050. "type": "boolean"
  1051. },
  1052. "stash": {
  1053. "type": "boolean"
  1054. }
  1055. }
  1056. }
  1057. ]
  1058. },
  1059. "scmItem": {
  1060. "anyOf": [
  1061. {
  1062. "enum": [
  1063. false
  1064. ]
  1065. },
  1066. {
  1067. "type": "object",
  1068. "properties": {
  1069. "clipboard": {
  1070. "type": "boolean"
  1071. },
  1072. "compare": {
  1073. "type": "boolean"
  1074. },
  1075. "history": {
  1076. "type": "boolean"
  1077. },
  1078. "remote": {
  1079. "type": "boolean"
  1080. },
  1081. "stash": {
  1082. "type": "boolean"
  1083. }
  1084. }
  1085. }
  1086. ]
  1087. }
  1088. }
  1089. }
  1090. ],
  1091. "default": {
  1092. "editor": {
  1093. "blame": false,
  1094. "clipboard": true,
  1095. "compare": true,
  1096. "history": false,
  1097. "remote": false
  1098. },
  1099. "editorGroup": {
  1100. "blame": true,
  1101. "compare": true
  1102. },
  1103. "editorTab": {
  1104. "clipboard": true,
  1105. "compare": true,
  1106. "history": true,
  1107. "remote": true
  1108. },
  1109. "explorer": {
  1110. "clipboard": true,
  1111. "compare": true,
  1112. "history": true,
  1113. "remote": true
  1114. },
  1115. "scm": {
  1116. "authors": true
  1117. },
  1118. "scmGroupInline": {
  1119. "stash": true
  1120. },
  1121. "scmGroup": {
  1122. "compare": true,
  1123. "openClose": true,
  1124. "stash": true
  1125. },
  1126. "scmItem": {
  1127. "clipboard": true,
  1128. "compare": true,
  1129. "history": true,
  1130. "remote": false,
  1131. "stash": true
  1132. }
  1133. },
  1134. "markdownDescription": "Specifies which commands will be added to which menus",
  1135. "scope": "window"
  1136. },
  1137. "gitlens.mode.active": {
  1138. "type": "string",
  1139. "markdownDescription": "Specifies the active GitLens mode, if any",
  1140. "scope": "window"
  1141. },
  1142. "gitlens.mode.statusBar.enabled": {
  1143. "type": "boolean",
  1144. "default": true,
  1145. "markdownDescription": "Specifies whether to provide the active GitLens mode in the status bar",
  1146. "scope": "window"
  1147. },
  1148. "gitlens.mode.statusBar.alignment": {
  1149. "type": "string",
  1150. "default": "right",
  1151. "enum": [
  1152. "left",
  1153. "right"
  1154. ],
  1155. "enumDescriptions": [
  1156. "Aligns to the left",
  1157. "Aligns to the right"
  1158. ],
  1159. "markdownDescription": "Specifies the active GitLens mode alignment in the status bar",
  1160. "scope": "window"
  1161. },
  1162. "gitlens.modes": {
  1163. "type": "object",
  1164. "properties": {
  1165. "zen": {
  1166. "type": "object",
  1167. "properties": {
  1168. "name": {
  1169. "type": "string",
  1170. "description": "Specifies the friendly name of this user-defined mode"
  1171. },
  1172. "statusBarItemName": {
  1173. "type": "string",
  1174. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  1175. },
  1176. "description": {
  1177. "type": "string",
  1178. "description": "Specifies the description of this user-defined mode"
  1179. },
  1180. "codeLens": {
  1181. "type": "boolean",
  1182. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  1183. },
  1184. "currentLine": {
  1185. "type": "boolean",
  1186. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  1187. },
  1188. "hovers": {
  1189. "type": "boolean",
  1190. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  1191. },
  1192. "statusBar": {
  1193. "type": "boolean",
  1194. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  1195. }
  1196. }
  1197. },
  1198. "review": {
  1199. "type": "object",
  1200. "properties": {
  1201. "name": {
  1202. "type": "string",
  1203. "description": "Specifies the friendly name of this user-defined mode"
  1204. },
  1205. "statusBarItemName": {
  1206. "type": "string",
  1207. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  1208. },
  1209. "description": {
  1210. "type": "string",
  1211. "description": "Specifies the description of this user-defined mode"
  1212. },
  1213. "codeLens": {
  1214. "type": "boolean",
  1215. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  1216. },
  1217. "currentLine": {
  1218. "type": "boolean",
  1219. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  1220. },
  1221. "hovers": {
  1222. "type": "boolean",
  1223. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  1224. },
  1225. "statusBar": {
  1226. "type": "boolean",
  1227. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "additionalProperties": {
  1233. "type": "object",
  1234. "required": [
  1235. "name"
  1236. ],
  1237. "properties": {
  1238. "name": {
  1239. "type": "string",
  1240. "description": "Specifies the friendly name of this user-defined mode"
  1241. },
  1242. "statusBarItemName": {
  1243. "type": "string",
  1244. "description": "Specifies the name shown in the status bar when this user-defined mode is active"
  1245. },
  1246. "description": {
  1247. "type": "string",
  1248. "description": "Specifies the description of this user-defined mode"
  1249. },
  1250. "annotations": {
  1251. "type": "string",
  1252. "enum": [
  1253. "blame",
  1254. "changes",
  1255. "heatmap"
  1256. ],
  1257. "enumDescriptions": [
  1258. "Shows the gutter blame annotations",
  1259. "Shows the gutter changes annotations",
  1260. "Shows the gutter heatmap annotations"
  1261. ],
  1262. "description": "Specifies which (if any) file annotations will be shown when this user-defined mode is active"
  1263. },
  1264. "codeLens": {
  1265. "type": "boolean",
  1266. "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
  1267. },
  1268. "currentLine": {
  1269. "type": "boolean",
  1270. "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
  1271. },
  1272. "hovers": {
  1273. "type": "boolean",
  1274. "description": "Specifies whether to show any hovers when this user-defined mode is active"
  1275. },
  1276. "statusBar": {
  1277. "type": "boolean",
  1278. "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
  1279. }
  1280. }
  1281. },
  1282. "default": {
  1283. "zen": {
  1284. "name": "Zen",
  1285. "statusBarItemName": "Zen",
  1286. "description": "for a zen-like experience, disables many visual features",
  1287. "codeLens": false,
  1288. "currentLine": false,
  1289. "hovers": false,
  1290. "statusBar": false
  1291. },
  1292. "review": {
  1293. "name": "Review",
  1294. "statusBarItemName": "Reviewing",
  1295. "description": "for reviewing code, enables many visual features",
  1296. "codeLens": true,
  1297. "currentLine": true,
  1298. "hovers": true
  1299. }
  1300. },
  1301. "markdownDescription": "Specifies the user-defined GitLens modes",
  1302. "scope": "window"
  1303. },
  1304. "gitlens.outputLevel": {
  1305. "type": "string",
  1306. "default": "errors",
  1307. "enum": [
  1308. "silent",
  1309. "errors",
  1310. "verbose",
  1311. "debug"
  1312. ],
  1313. "enumDescriptions": [
  1314. "Logs nothing",
  1315. "Logs only errors",
  1316. "Logs all errors, warnings, and messages",
  1317. "Logs all errors, warnings, and messages with extra context useful for debugging"
  1318. ],
  1319. "markdownDescription": "Specifies how much (if any) output will be sent to the GitLens output channel",
  1320. "scope": "window"
  1321. },
  1322. "gitlens.remotes": {
  1323. "type": [
  1324. "array",
  1325. "null"
  1326. ],
  1327. "default": null,
  1328. "items": {
  1329. "type": "object",
  1330. "required": [
  1331. "type",
  1332. "domain"
  1333. ],
  1334. "properties": {
  1335. "type": {
  1336. "type": "string",
  1337. "enum": [
  1338. "Bitbucket",
  1339. "BitbucketServer",
  1340. "Custom",
  1341. "GitHub",
  1342. "GitLab"
  1343. ],
  1344. "description": "Specifies the type of the custom remote service"
  1345. },
  1346. "domain": {
  1347. "type": "string",
  1348. "description": "Specifies the domain name of the custom remote service"
  1349. },
  1350. "name": {
  1351. "type": "string",
  1352. "description": "Specifies an optional friendly name for the custom remote service"
  1353. },
  1354. "protocol": {
  1355. "type": "string",
  1356. "default": "https",
  1357. "description": "Specifies an optional url protocol for the custom remote service"
  1358. },
  1359. "urls": {
  1360. "type": "object",
  1361. "required": [
  1362. "repository",
  1363. "branches",
  1364. "branch",
  1365. "commit",
  1366. "file",
  1367. "fileInCommit",
  1368. "fileInBranch",
  1369. "fileLine",
  1370. "fileRange"
  1371. ],
  1372. "properties": {
  1373. "repository": {
  1374. "type": "string",
  1375. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path"
  1376. },
  1377. "branches": {
  1378. "type": "string",
  1379. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${branch}` &mdash; branch"
  1380. },
  1381. "branch": {
  1382. "type": "string",
  1383. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${branch}` &mdash; branch"
  1384. },
  1385. "commit": {
  1386. "type": "string",
  1387. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${id}` &mdash; commit id"
  1388. },
  1389. "file": {
  1390. "type": "string",
  1391. "description": "Specifies the format of a file url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${file}` &mdash; file name\n ${line}` &mdash; formatted line information"
  1392. },
  1393. "fileInBranch": {
  1394. "type": "string",
  1395. "description": "Specifies the format of a branch file url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${file}` &mdash; file name\n ${branch}` &mdash; branch\n ${line}` &mdash; formatted line information"
  1396. },
  1397. "fileInCommit": {
  1398. "type": "string",
  1399. "description": "Specifies the format of a commit file url for the custom remote service\nAvailable tokens\n ${repo}` &mdash; repository path\n ${file}` &mdash; file name\n ${id}` &mdash; commit id\n ${line}` &mdash; formatted line information"
  1400. },
  1401. "fileLine": {
  1402. "type": "string",
  1403. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line}` &mdash; line"
  1404. },
  1405. "fileRange": {
  1406. "type": "string",
  1407. "description": "Specifies the format of a range in a file url for the custom remote service\nAvailable tokens\n ${start}` &mdash; starting line\n ${end}` &mdash; ending line"
  1408. }
  1409. }
  1410. },
  1411. "description": "Specifies the url formats of the custom remote service"
  1412. }
  1413. },
  1414. "uniqueItems": true,
  1415. "markdownDescription": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1416. "scope": "resource"
  1417. },
  1418. "gitlens.showWhatsNewAfterUpgrades": {
  1419. "type": "boolean",
  1420. "default": true,
  1421. "markdownDescription": "Specifies whether to show What's New after upgrading to new feature releases",
  1422. "scope": "window"
  1423. },
  1424. "gitlens.sortBranchesBy": {
  1425. "type": "string",
  1426. "default": "name:desc",
  1427. "enum": [
  1428. "name:desc",
  1429. "name:asc",
  1430. "date:desc",
  1431. "date:asc"
  1432. ],
  1433. "enumDescriptions": [
  1434. "Sorts branches by name in descending order",
  1435. "Sorts branches by name in ascending order",
  1436. "Sorts branches by the most recent commit date in descending order",
  1437. "Sorts branches by the most recent commit date in ascending order"
  1438. ],
  1439. "markdownDescription": "Specifies how branches are sorted in quick pick menus and views",
  1440. "scope": "window"
  1441. },
  1442. "gitlens.sortTagsBy": {
  1443. "type": "string",
  1444. "default": "date:desc",
  1445. "enum": [
  1446. "name:desc",
  1447. "name:asc",
  1448. "date:desc",
  1449. "date:asc"
  1450. ],
  1451. "enumDescriptions": [
  1452. "Sorts tags by name in descending order",
  1453. "Sorts tags by name in ascending order",
  1454. "Sorts tags by date in descending order",
  1455. "Sorts tags by date in ascending order"
  1456. ],
  1457. "markdownDescription": "Specifies how tags are sorted in quick pick menus and views",
  1458. "scope": "window"
  1459. },
  1460. "gitlens.statusBar.alignment": {
  1461. "type": "string",
  1462. "default": "right",
  1463. "enum": [
  1464. "left",
  1465. "right"
  1466. ],
  1467. "enumDescriptions": [
  1468. "Aligns to the left",
  1469. "Aligns to the right"
  1470. ],
  1471. "markdownDescription": "Specifies the blame alignment in the status bar",
  1472. "scope": "window"
  1473. },
  1474. "gitlens.statusBar.command": {
  1475. "type": "string",
  1476. "default": "gitlens.showQuickCommitDetails",
  1477. "enum": [
  1478. "gitlens.toggleFileBlame",
  1479. "gitlens.diffWithPrevious",
  1480. "gitlens.diffWithWorking",
  1481. "gitlens.toggleCodeLens",
  1482. "gitlens.revealCommitInView",
  1483. "gitlens.showCommitsInView",
  1484. "gitlens.showQuickCommitDetails",
  1485. "gitlens.showQuickCommitFileDetails",
  1486. "gitlens.showQuickFileHistory",
  1487. "gitlens.showQuickRepoHistory"
  1488. ],
  1489. "enumDescriptions": [
  1490. "Toggles file blame annotations",
  1491. "Compares the current line commit with the previous",
  1492. "Compares the current line commit with the working tree",
  1493. "Toggles Git code lens",
  1494. "Reveals the commit in the Side Bar",
  1495. "Searches for the commit",
  1496. "Shows a commit details quick pick",
  1497. "Shows a commit file details quick pick",
  1498. "Shows a file history quick pick",
  1499. "Shows a branch history quick pick"
  1500. ],
  1501. "markdownDescription": "Specifies the command to be executed when the blame status bar item is clicked",
  1502. "scope": "window"
  1503. },
  1504. "gitlens.statusBar.dateFormat": {
  1505. "type": [
  1506. "string",
  1507. "null"
  1508. ],
  1509. "default": null,
  1510. "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
  1511. "scope": "window"
  1512. },
  1513. "gitlens.statusBar.enabled": {
  1514. "type": "boolean",
  1515. "default": true,
  1516. "markdownDescription": "Specifies whether to provide blame information in the status bar",
  1517. "scope": "window"
  1518. },
  1519. "gitlens.statusBar.format": {
  1520. "type": "string",
  1521. "default": "${author}, ${agoOrDate}${' via 'pullRequest}",
  1522. "markdownDescription": "Specifies the format of the blame information in the status bar. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.statusBar.dateFormat#` setting",
  1523. "scope": "window"
  1524. },
  1525. "gitlens.statusBar.pullRequests.enabled": {
  1526. "type": "boolean",
  1527. "default": true,
  1528. "markdownDescription": "Specifies whether to provide information about the Pull Request (if any) that introduced the commit in the status bar. Requires a connection to a supported remote service (e.g. GitHub)",
  1529. "scope": "window"
  1530. },
  1531. "gitlens.statusBar.reduceFlicker": {
  1532. "type": "boolean",
  1533. "default": false,
  1534. "markdownDescription": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1535. "scope": "window"
  1536. },
  1537. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1538. "type": "string",
  1539. "default": "Unsaved changes (cannot determine recent change or authors)",
  1540. "markdownDescription": "Specifies the string to be shown in place of both the _recent change_ and _authors_ code lens when there are unsaved changes",
  1541. "scope": "window"
  1542. },
  1543. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1544. "type": "string",
  1545. "default": "Unsaved changes (cannot determine recent change)",
  1546. "markdownDescription": "Specifies the string to be shown in place of the _recent change_ code lens when there are unsaved changes",
  1547. "scope": "window"
  1548. },
  1549. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1550. "type": "string",
  1551. "default": "Unsaved changes (cannot determine authors)",
  1552. "markdownDescription": "Specifies the string to be shown in place of the _authors_ code lens when there are unsaved changes",
  1553. "scope": "window"
  1554. },
  1555. "gitlens.views.branches.avatars": {
  1556. "type": "boolean",
  1557. "default": true,
  1558. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Branches_ view",
  1559. "scope": "window"
  1560. },
  1561. "gitlens.views.branches.branches.layout": {
  1562. "type": "string",
  1563. "default": "tree",
  1564. "enum": [
  1565. "list",
  1566. "tree"
  1567. ],
  1568. "enumDescriptions": [
  1569. "Displays branches as a list",
  1570. "Displays branches as a tree when branch names contain slashes `/`"
  1571. ],
  1572. "markdownDescription": "Specifies how the _Branches_ view will display branches",
  1573. "scope": "window"
  1574. },
  1575. "gitlens.views.branches.files.compact": {
  1576. "type": "boolean",
  1577. "default": true,
  1578. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Branches_ view. Only applies when `#gitlens.views.branches.files.layout#` is set to `tree` or `auto`",
  1579. "scope": "window"
  1580. },
  1581. "gitlens.views.branches.files.layout": {
  1582. "type": "string",
  1583. "default": "auto",
  1584. "enum": [
  1585. "auto",
  1586. "list",
  1587. "tree"
  1588. ],
  1589. "enumDescriptions": [
  1590. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.branches.files.threshold#` value and the number of files at each nesting level",
  1591. "Displays files as a list",
  1592. "Displays files as a tree"
  1593. ],
  1594. "markdownDescription": "Specifies how the _Branches_ view will display files",
  1595. "scope": "window"
  1596. },
  1597. "gitlens.views.branches.files.threshold": {
  1598. "type": "number",
  1599. "default": 5,
  1600. "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 _Branches_ view. Only applies when `#gitlens.views.branches.files.layout#` is set to `auto`",
  1601. "scope": "window"
  1602. },
  1603. "gitlens.views.branches.pullRequests.enabled": {
  1604. "type": "boolean",
  1605. "default": true,
  1606. "markdownDescription": "Specifies whether to query for pull requests associated with branches and commits in the _Branches_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1607. "scope": "window"
  1608. },
  1609. "gitlens.views.branches.pullRequests.showForBranches": {
  1610. "type": "boolean",
  1611. "default": true,
  1612. "markdownDescription": "Specifies whether to show pull requests (if any) associated with branches in the _Branches_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1613. "scope": "window"
  1614. },
  1615. "gitlens.views.branches.pullRequests.showForCommits": {
  1616. "type": "boolean",
  1617. "default": true,
  1618. "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Branches_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1619. "scope": "window"
  1620. },
  1621. "gitlens.views.branches.showBranchComparison": {
  1622. "anyOf": [
  1623. {
  1624. "enum": [
  1625. false
  1626. ]
  1627. },
  1628. {
  1629. "type": "string",
  1630. "enum": [
  1631. "branch"
  1632. ],
  1633. "enumDescriptions": [
  1634. "Compares the branch with a user-selected reference"
  1635. ]
  1636. }
  1637. ],
  1638. "default": "branch",
  1639. "markdownDescription": "Specifies whether to show a comparison of the branch with a user-selected reference (branch, tag. etc) in the _Branches_ view",
  1640. "scope": "window"
  1641. },
  1642. "gitlens.views.commitFileFormat": {
  1643. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.files.label` instead",
  1644. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.files.label#` instead"
  1645. },
  1646. "gitlens.views.commitFileDescriptionFormat": {
  1647. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.files.description` instead",
  1648. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.files.description#` instead"
  1649. },
  1650. "gitlens.views.commitFormat": {
  1651. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.commits.label` instead",
  1652. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.commits.files.label#` instead"
  1653. },
  1654. "gitlens.views.commitDescriptionFormat": {
  1655. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.commits.description` instead",
  1656. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.commits.description#` instead"
  1657. },
  1658. "gitlens.views.commits.avatars": {
  1659. "type": "boolean",
  1660. "default": true,
  1661. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Commits_ view",
  1662. "scope": "window"
  1663. },
  1664. "gitlens.views.commits.files.compact": {
  1665. "type": "boolean",
  1666. "default": true,
  1667. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Commits_ view. Only applies when `#gitlens.views.commits.files.layout#` is set to `tree` or `auto`",
  1668. "scope": "window"
  1669. },
  1670. "gitlens.views.commits.files.layout": {
  1671. "type": "string",
  1672. "default": "auto",
  1673. "enum": [
  1674. "auto",
  1675. "list",
  1676. "tree"
  1677. ],
  1678. "enumDescriptions": [
  1679. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.commits.files.threshold#` value and the number of files at each nesting level",
  1680. "Displays files as a list",
  1681. "Displays files as a tree"
  1682. ],
  1683. "markdownDescription": "Specifies how the _Commits_ view will display files",
  1684. "scope": "window"
  1685. },
  1686. "gitlens.views.commits.files.threshold": {
  1687. "type": "number",
  1688. "default": 5,
  1689. "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 _Commits_ view. Only applies when `#gitlens.views.commits.files.layout#` is set to `auto`",
  1690. "scope": "window"
  1691. },
  1692. "gitlens.views.commits.pullRequests.enabled": {
  1693. "type": "boolean",
  1694. "default": true,
  1695. "markdownDescription": "Specifies whether to query for pull requests associated with the current branch and commits in the _Commits_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1696. "scope": "window"
  1697. },
  1698. "gitlens.views.commits.pullRequests.showForBranches": {
  1699. "type": "boolean",
  1700. "default": true,
  1701. "markdownDescription": "Specifies whether to show pull requests (if any) associated with the current branch in the _Commits_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1702. "scope": "window"
  1703. },
  1704. "gitlens.views.commits.pullRequests.showForCommits": {
  1705. "type": "boolean",
  1706. "default": true,
  1707. "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Commits_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1708. "scope": "window"
  1709. },
  1710. "gitlens.views.commits.showBranchComparison": {
  1711. "anyOf": [
  1712. {
  1713. "enum": [
  1714. false
  1715. ]
  1716. },
  1717. {
  1718. "type": "string",
  1719. "enum": [
  1720. "branch",
  1721. "working"
  1722. ],
  1723. "enumDescriptions": [
  1724. "Compares the current branch with a user-selected reference",
  1725. "Compares the working tree with a user-selected reference"
  1726. ]
  1727. }
  1728. ],
  1729. "default": "working",
  1730. "markdownDescription": "Specifies whether to show a comparison of the current branch or the working tree with a user-selected reference (branch, tag. etc) in the _Commits_ view",
  1731. "scope": "window"
  1732. },
  1733. "gitlens.views.contributors.avatars": {
  1734. "type": "boolean",
  1735. "default": true,
  1736. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Contributors_ view",
  1737. "scope": "window"
  1738. },
  1739. "gitlens.views.contributors.files.compact": {
  1740. "type": "boolean",
  1741. "default": true,
  1742. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Contributors_ view. Only applies when `#gitlens.views.contributors.files.layout#` is set to `tree` or `auto`",
  1743. "scope": "window"
  1744. },
  1745. "gitlens.views.contributors.files.layout": {
  1746. "type": "string",
  1747. "default": "auto",
  1748. "enum": [
  1749. "auto",
  1750. "list",
  1751. "tree"
  1752. ],
  1753. "enumDescriptions": [
  1754. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.contributors.files.threshold#` value and the number of files at each nesting level",
  1755. "Displays files as a list",
  1756. "Displays files as a tree"
  1757. ],
  1758. "markdownDescription": "Specifies how the _Contributors_ view will display files",
  1759. "scope": "window"
  1760. },
  1761. "gitlens.views.contributors.files.threshold": {
  1762. "type": "number",
  1763. "default": 5,
  1764. "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 _Contributors_ view. Only applies when `#gitlens.views.contributors.files.layout#` is set to `auto`",
  1765. "scope": "window"
  1766. },
  1767. "gitlens.views.contributors.pullRequests.enabled": {
  1768. "type": "boolean",
  1769. "default": true,
  1770. "markdownDescription": "Specifies whether to query for pull requests associated with branches and commits in the _Contributors_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1771. "scope": "window"
  1772. },
  1773. "gitlens.views.contributors.pullRequests.showForCommits": {
  1774. "type": "boolean",
  1775. "default": true,
  1776. "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Contributors_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1777. "scope": "window"
  1778. },
  1779. "gitlens.views.defaultItemLimit": {
  1780. "type": "number",
  1781. "default": 10,
  1782. "markdownDescription": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
  1783. "scope": "window"
  1784. },
  1785. "gitlens.views.formats.commits.label": {
  1786. "type": "string",
  1787. "default": "${❰ tips ❱➤ }${message}",
  1788. "markdownDescription": "Specifies the format of commits in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1789. "scope": "window"
  1790. },
  1791. "gitlens.views.formats.commits.description": {
  1792. "type": "string",
  1793. "default": "${author, }${agoOrDate}",
  1794. "markdownDescription": "Specifies the description format of commits in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1795. "scope": "window"
  1796. },
  1797. "gitlens.views.formats.files.label": {
  1798. "type": "string",
  1799. "default": "${working }${file}",
  1800. "markdownDescription": "Specifies the format of a file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1801. "scope": "window"
  1802. },
  1803. "gitlens.views.formats.files.description": {
  1804. "type": "string",
  1805. "default": "${directory}${ ← originalPath}",
  1806. "markdownDescription": "Specifies the description format of a file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
  1807. "scope": "window"
  1808. },
  1809. "gitlens.views.formats.stashes.label": {
  1810. "type": "string",
  1811. "default": "${message}",
  1812. "markdownDescription": "Specifies the format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1813. "scope": "window"
  1814. },
  1815. "gitlens.views.formats.stashes.description": {
  1816. "type": "string",
  1817. "default": "${agoOrDate}",
  1818. "markdownDescription": "Specifies the description format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
  1819. "scope": "window"
  1820. },
  1821. "gitlens.views.fileHistory.avatars": {
  1822. "type": "boolean",
  1823. "default": true,
  1824. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _File History_ view",
  1825. "scope": "window"
  1826. },
  1827. "gitlens.views.lineHistory.avatars": {
  1828. "type": "boolean",
  1829. "default": true,
  1830. "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _Line History_ view",
  1831. "scope": "window"
  1832. },
  1833. "gitlens.views.lineHistory.enabled": {
  1834. "type": "boolean",
  1835. "default": false,
  1836. "markdownDescription": "Specifies whether to show the _Line History_ view",
  1837. "scope": "window"
  1838. },
  1839. "gitlens.views.pageItemLimit": {
  1840. "type": "number",
  1841. "default": 40,
  1842. "markdownDescription": "Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit",
  1843. "scope": "window"
  1844. },
  1845. "gitlens.views.remotes.avatars": {
  1846. "type": "boolean",
  1847. "default": true,
  1848. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Remotes_ view",
  1849. "scope": "window"
  1850. },
  1851. "gitlens.views.remotes.branches.layout": {
  1852. "type": "string",
  1853. "default": "tree",
  1854. "enum": [
  1855. "list",
  1856. "tree"
  1857. ],
  1858. "enumDescriptions": [
  1859. "Displays branches as a list",
  1860. "Displays branches as a tree when branch names contain slashes `/`"
  1861. ],
  1862. "markdownDescription": "Specifies how the _Remotes_ view will display branches",
  1863. "scope": "window"
  1864. },
  1865. "gitlens.views.remotes.files.compact": {
  1866. "type": "boolean",
  1867. "default": true,
  1868. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Remotes_ view. Only applies when `#gitlens.views.remotes.files.layout#` is set to `tree` or `auto`",
  1869. "scope": "window"
  1870. },
  1871. "gitlens.views.remotes.files.layout": {
  1872. "type": "string",
  1873. "default": "auto",
  1874. "enum": [
  1875. "auto",
  1876. "list",
  1877. "tree"
  1878. ],
  1879. "enumDescriptions": [
  1880. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.remotes.files.threshold#` value and the number of files at each nesting level",
  1881. "Displays files as a list",
  1882. "Displays files as a tree"
  1883. ],
  1884. "markdownDescription": "Specifies how the _Remotes_ view will display files",
  1885. "scope": "window"
  1886. },
  1887. "gitlens.views.remotes.files.threshold": {
  1888. "type": "number",
  1889. "default": 5,
  1890. "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 _Remotes_ view. Only applies when `#gitlens.views.remotes.files.layout#` is set to `auto`",
  1891. "scope": "window"
  1892. },
  1893. "gitlens.views.remotes.pullRequests.enabled": {
  1894. "type": "boolean",
  1895. "default": true,
  1896. "markdownDescription": "Specifies whether to query for pull requests associated with branches and commits in the _Remotes_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1897. "scope": "window"
  1898. },
  1899. "gitlens.views.remotes.pullRequests.showForBranches": {
  1900. "type": "boolean",
  1901. "default": true,
  1902. "markdownDescription": "Specifies whether to show pull requests (if any) associated with branches in the _Remotes_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1903. "scope": "window"
  1904. },
  1905. "gitlens.views.remotes.pullRequests.showForCommits": {
  1906. "type": "boolean",
  1907. "default": true,
  1908. "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Remotes_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1909. "scope": "window"
  1910. },
  1911. "gitlens.views.repositories.autoRefresh": {
  1912. "type": "boolean",
  1913. "default": true,
  1914. "markdownDescription": "Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes",
  1915. "scope": "window"
  1916. },
  1917. "gitlens.views.repositories.autoReveal": {
  1918. "type": "boolean",
  1919. "default": true,
  1920. "markdownDescription": "Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files",
  1921. "scope": "window"
  1922. },
  1923. "gitlens.views.repositories.avatars": {
  1924. "type": "boolean",
  1925. "default": true,
  1926. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view",
  1927. "scope": "window"
  1928. },
  1929. "gitlens.views.repositories.branches.layout": {
  1930. "type": "string",
  1931. "default": "tree",
  1932. "enum": [
  1933. "list",
  1934. "tree"
  1935. ],
  1936. "enumDescriptions": [
  1937. "Displays branches as a list",
  1938. "Displays branches as a tree when branch names contain slashes `/`"
  1939. ],
  1940. "markdownDescription": "Specifies how the _Repositories_ view will display branches",
  1941. "scope": "window"
  1942. },
  1943. "gitlens.views.repositories.compact": {
  1944. "type": "boolean",
  1945. "default": false,
  1946. "markdownDescription": "Specifies whether to show the _Repositories_ view in a compact display density",
  1947. "scope": "window"
  1948. },
  1949. "gitlens.views.repositories.enabled": {
  1950. "type": "boolean",
  1951. "default": false,
  1952. "markdownDescription": "Specifies whether to show the _Repositories_ view",
  1953. "scope": "window"
  1954. },
  1955. "gitlens.views.repositories.files.compact": {
  1956. "type": "boolean",
  1957. "default": true,
  1958. "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`",
  1959. "scope": "window"
  1960. },
  1961. "gitlens.views.repositories.files.layout": {
  1962. "type": "string",
  1963. "default": "auto",
  1964. "enum": [
  1965. "auto",
  1966. "list",
  1967. "tree"
  1968. ],
  1969. "enumDescriptions": [
  1970. "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",
  1971. "Displays files as a list",
  1972. "Displays files as a tree"
  1973. ],
  1974. "markdownDescription": "Specifies how the _Repositories_ view will display files",
  1975. "scope": "window"
  1976. },
  1977. "gitlens.views.repositories.files.threshold": {
  1978. "type": "number",
  1979. "default": 5,
  1980. "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`",
  1981. "scope": "window"
  1982. },
  1983. "gitlens.views.repositories.includeWorkingTree": {
  1984. "type": "boolean",
  1985. "default": false,
  1986. "markdownDescription": "Specifies whether to include working tree file status for each repository in the _Repositories_ view",
  1987. "scope": "window"
  1988. },
  1989. "gitlens.views.repositories.pullRequests.enabled": {
  1990. "type": "boolean",
  1991. "default": true,
  1992. "markdownDescription": "Specifies whether to query for pull requests associated with branches and commits in the _Repositories_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1993. "scope": "window"
  1994. },
  1995. "gitlens.views.repositories.pullRequests.showForBranches": {
  1996. "type": "boolean",
  1997. "default": true,
  1998. "markdownDescription": "Specifies whether to show pull requests (if any) associated with branches in the _Repositories_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  1999. "scope": "window"
  2000. },
  2001. "gitlens.views.repositories.pullRequests.showForCommits": {
  2002. "type": "boolean",
  2003. "default": true,
  2004. "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Repositories_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  2005. "scope": "window"
  2006. },
  2007. "gitlens.views.repositories.showBranchComparison": {
  2008. "anyOf": [
  2009. {
  2010. "enum": [
  2011. false
  2012. ]
  2013. },
  2014. {
  2015. "type": "string",
  2016. "enum": [
  2017. "branch",
  2018. "working"
  2019. ],
  2020. "enumDescriptions": [
  2021. "Compares the current branch with a user-selected reference",
  2022. "Compares the working tree with a user-selected reference"
  2023. ]
  2024. }
  2025. ],
  2026. "default": "working",
  2027. "markdownDescription": "Specifies whether to show a comparison of the current branch or the working tree with a user-selected reference (branch, tag. etc) in the _Repositories_ view",
  2028. "scope": "window"
  2029. },
  2030. "gitlens.views.searchAndCompare.avatars": {
  2031. "type": "boolean",
  2032. "default": true,
  2033. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Search & Compare_ view",
  2034. "scope": "window"
  2035. },
  2036. "gitlens.views.searchAndCompare.files.compact": {
  2037. "type": "boolean",
  2038. "default": true,
  2039. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Search & Compare_ view. Only applies when `#gitlens.views.searchAndCompare.files.layout#` is set to `tree` or `auto`",
  2040. "scope": "window"
  2041. },
  2042. "gitlens.views.searchAndCompare.files.layout": {
  2043. "type": "string",
  2044. "default": "auto",
  2045. "enum": [
  2046. "auto",
  2047. "list",
  2048. "tree"
  2049. ],
  2050. "enumDescriptions": [
  2051. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.searchAndCompare.files.threshold#` value and the number of files at each nesting level",
  2052. "Displays files as a list",
  2053. "Displays files as a tree"
  2054. ],
  2055. "markdownDescription": "Specifies how the _Search & Compare_ view will display files",
  2056. "scope": "window"
  2057. },
  2058. "gitlens.views.searchAndCompare.files.threshold": {
  2059. "type": "number",
  2060. "default": 5,
  2061. "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 & Compare_ view. Only applies when `#gitlens.views.searchAndCompare.files.layout#` is set to `auto`",
  2062. "scope": "window"
  2063. },
  2064. "gitlens.views.searchAndCompare.pullRequests.enabled": {
  2065. "type": "boolean",
  2066. "default": true,
  2067. "markdownDescription": "Specifies whether to query for pull requests associated with commits in the _Search & Compare_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  2068. "scope": "window"
  2069. },
  2070. "gitlens.views.searchAndCompare.pullRequests.showForCommits": {
  2071. "type": "boolean",
  2072. "default": true,
  2073. "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Search & Compare_ view. Requires a connection to a supported remote service (e.g. GitHub)",
  2074. "scope": "window"
  2075. },
  2076. "gitlens.views.showRelativeDateMarkers": {
  2077. "type": "boolean",
  2078. "default": true,
  2079. "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",
  2080. "scope": "window"
  2081. },
  2082. "gitlens.views.stashFileFormat": {
  2083. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.files.label` instead",
  2084. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.files.label#` instead"
  2085. },
  2086. "gitlens.views.stashFileDescriptionFormat": {
  2087. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.files.description` instead",
  2088. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.files.description#` instead"
  2089. },
  2090. "gitlens.views.stashFormat": {
  2091. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.stashes.label` instead",
  2092. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.stashes.files.label#` instead"
  2093. },
  2094. "gitlens.views.stashDescriptionFormat": {
  2095. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.stashes.description` instead",
  2096. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.stashes.description#` instead"
  2097. },
  2098. "gitlens.views.stashes.files.compact": {
  2099. "type": "boolean",
  2100. "default": true,
  2101. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Stashes_ view. Only applies when `#gitlens.views.stashes.files.layout#` is set to `tree` or `auto`",
  2102. "scope": "window"
  2103. },
  2104. "gitlens.views.stashes.files.layout": {
  2105. "type": "string",
  2106. "default": "auto",
  2107. "enum": [
  2108. "auto",
  2109. "list",
  2110. "tree"
  2111. ],
  2112. "enumDescriptions": [
  2113. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.stashes.files.threshold#` value and the number of files at each nesting level",
  2114. "Displays files as a list",
  2115. "Displays files as a tree"
  2116. ],
  2117. "markdownDescription": "Specifies how the _Stashes_ view will display files",
  2118. "scope": "window"
  2119. },
  2120. "gitlens.views.stashes.files.threshold": {
  2121. "type": "number",
  2122. "default": 5,
  2123. "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 _Stashes_ view. Only applies when `#gitlens.views.stashes.files.layout#` is set to `auto`",
  2124. "scope": "window"
  2125. },
  2126. "gitlens.views.statusFileFormat": {
  2127. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.files.label` instead",
  2128. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.files.label#` instead"
  2129. },
  2130. "gitlens.views.statusFileDescriptionFormat": {
  2131. "deprecationMessage": "Deprecated. Use `gitlens.views.formats.files.description` instead",
  2132. "markdownDeprecationMessage": "Depreciated: Use `#gitlens.views.formats.files.description#` instead"
  2133. },
  2134. "gitlens.views.tags.avatars": {
  2135. "type": "boolean",
  2136. "default": true,
  2137. "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Tags_ view",
  2138. "scope": "window"
  2139. },
  2140. "gitlens.views.tags.branches.layout": {
  2141. "type": "string",
  2142. "default": "tree",
  2143. "enum": [
  2144. "list",
  2145. "tree"
  2146. ],
  2147. "enumDescriptions": [
  2148. "Displays tags as a list",
  2149. "Displays tags as a tree when tags names contain slashes `/`"
  2150. ],
  2151. "markdownDescription": "Specifies how the _Tags_ view will display tags",
  2152. "scope": "window"
  2153. },
  2154. "gitlens.views.tags.files.compact": {
  2155. "type": "boolean",
  2156. "default": true,
  2157. "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Tags_ view. Only applies when `#gitlens.views.tags.files.layout#` is set to `tree` or `auto`",
  2158. "scope": "window"
  2159. },
  2160. "gitlens.views.tags.files.layout": {
  2161. "type": "string",
  2162. "default": "auto",
  2163. "enum": [
  2164. "auto",
  2165. "list",
  2166. "tree"
  2167. ],
  2168. "enumDescriptions": [
  2169. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.tags.files.threshold#` value and the number of files at each nesting level",
  2170. "Displays files as a list",
  2171. "Displays files as a tree"
  2172. ],
  2173. "markdownDescription": "Specifies how the _Tags_ view will display files",
  2174. "scope": "window"
  2175. },
  2176. "gitlens.views.tags.files.threshold": {
  2177. "type": "number",
  2178. "default": 5,
  2179. "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 _Tags_ view. Only applies when `#gitlens.views.tags.files.layout#` is set to `auto`",
  2180. "scope": "window"
  2181. },
  2182. "gitlens.advanced.abbreviatedShaLength": {
  2183. "type": "number",
  2184. "default": "7",
  2185. "markdownDescription": "Specifies the length of abbreviated commit ids (shas)",
  2186. "scope": "window"
  2187. },
  2188. "gitlens.advanced.blame.customArguments": {
  2189. "type": [
  2190. "array",
  2191. "null"
  2192. ],
  2193. "default": null,
  2194. "items": {
  2195. "type": "string"
  2196. },
  2197. "markdownDescription": "Specifies additional arguments to pass to the `git blame` command",
  2198. "scope": "resource"
  2199. },
  2200. "gitlens.advanced.blame.delayAfterEdit": {
  2201. "type": "number",
  2202. "default": 5000,
  2203. "markdownDescription": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  2204. "scope": "window"
  2205. },
  2206. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  2207. "type": "number",
  2208. "default": 5000,
  2209. "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",
  2210. "scope": "window"
  2211. },
  2212. "gitlens.advanced.caching.enabled": {
  2213. "type": "boolean",
  2214. "default": true,
  2215. "markdownDescription": "Specifies whether git output will be cached — changing the default is not recommended",
  2216. "scope": "window"
  2217. },
  2218. "gitlens.advanced.fileHistoryFollowsRenames": {
  2219. "type": "boolean",
  2220. "default": false,
  2221. "markdownDescription": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  2222. "scope": "window"
  2223. },
  2224. "gitlens.advanced.fileHistoryShowAllBranches": {
  2225. "type": "boolean",
  2226. "default": false,
  2227. "markdownDescription": "Specifies whether file histories will show commits from all branches",
  2228. "scope": "window"
  2229. },
  2230. "gitlens.advanced.maxListItems": {
  2231. "type": "number",
  2232. "default": 200,
  2233. "markdownDescription": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  2234. "scope": "window"
  2235. },
  2236. "gitlens.advanced.maxSearchItems": {
  2237. "type": "number",
  2238. "default": 200,
  2239. "markdownDescription": "Specifies the maximum number of items to show in a search. Use 0 to specify no maximum",
  2240. "scope": "window"
  2241. },
  2242. "gitlens.advanced.messages": {
  2243. "type": "object",
  2244. "default": {
  2245. "suppressCommitHasNoPreviousCommitWarning": false,
  2246. "suppressCommitNotFoundWarning": false,
  2247. "suppressFileNotUnderSourceControlWarning": false,
  2248. "suppressGitDisabledWarning": false,
  2249. "suppressGitVersionWarning": false,
  2250. "suppressLineUncommittedWarning": false,
  2251. "suppressNoRepositoryWarning": false
  2252. },
  2253. "properties": {
  2254. "suppressCommitHasNoPreviousCommitWarning": {
  2255. "type": "boolean",
  2256. "default": false
  2257. },
  2258. "suppressCommitNotFoundWarning": {
  2259. "type": "boolean",
  2260. "default": false
  2261. },
  2262. "suppressFileNotUnderSourceControlWarning": {
  2263. "type": "boolean",
  2264. "default": false
  2265. },
  2266. "suppressGitDisabledWarning": {
  2267. "type": "boolean",
  2268. "default": false
  2269. },
  2270. "suppressGitVersionWarning": {
  2271. "type": "boolean",
  2272. "default": false
  2273. },
  2274. "suppressLineUncommittedWarning": {
  2275. "type": "boolean",
  2276. "default": false
  2277. },
  2278. "suppressNoRepositoryWarning": {
  2279. "type": "boolean",
  2280. "default": false
  2281. }
  2282. },
  2283. "markdownDescription": "Specifies which messages should be suppressed",
  2284. "scope": "window"
  2285. },
  2286. "gitlens.advanced.quickPick.closeOnFocusOut": {
  2287. "type": "boolean",
  2288. "default": true,
  2289. "markdownDescription": "Specifies whether to dismiss quick pick menus when focus is lost (if not, press `ESC` to dismiss)",
  2290. "scope": "window"
  2291. },
  2292. "gitlens.advanced.repositorySearchDepth": {
  2293. "type": "number",
  2294. "default": 1,
  2295. "markdownDescription": "Specifies how many folders deep to search for repositories",
  2296. "scope": "resource"
  2297. },
  2298. "gitlens.advanced.similarityThreshold": {
  2299. "type": [
  2300. "number",
  2301. "null"
  2302. ],
  2303. "default": null,
  2304. "markdownDescription": "Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename",
  2305. "scope": "window"
  2306. },
  2307. "gitlens.advanced.useSymmetricDifferenceNotation": {
  2308. "type": "boolean",
  2309. "default": true,
  2310. "markdownDescription": "Specifies whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisons. See the [Git docs](https://git-scm.com/docs/gitrevisions#_dotted_range_notations)",
  2311. "scope": "window"
  2312. }
  2313. }
  2314. },
  2315. "configurationDefaults": {
  2316. "[azure-pipelines]": {
  2317. "gitlens.codeLens.scopes": [
  2318. "document"
  2319. ]
  2320. },
  2321. "[ansible]": {
  2322. "gitlens.codeLens.scopes": [
  2323. "document"
  2324. ]
  2325. },
  2326. "[css]": {
  2327. "gitlens.codeLens.scopes": [
  2328. "document"
  2329. ]
  2330. },
  2331. "[html]": {
  2332. "gitlens.codeLens.scopes": [
  2333. "document"
  2334. ]
  2335. },
  2336. "[json]": {
  2337. "gitlens.codeLens.scopes": [
  2338. "document"
  2339. ]
  2340. },
  2341. "[jsonc]": {
  2342. "gitlens.codeLens.scopes": [
  2343. "document"
  2344. ]
  2345. },
  2346. "[less]": {
  2347. "gitlens.codeLens.scopes": [
  2348. "document"
  2349. ]
  2350. },
  2351. "[postcss]": {
  2352. "gitlens.codeLens.scopes": [
  2353. "document"
  2354. ]
  2355. },
  2356. "[python]": {
  2357. "gitlens.codeLens.symbolScopes": [
  2358. "!Module"
  2359. ]
  2360. },
  2361. "[scss]": {
  2362. "gitlens.codeLens.scopes": [
  2363. "document"
  2364. ]
  2365. },
  2366. "[stylus]": {
  2367. "gitlens.codeLens.scopes": [
  2368. "document"
  2369. ]
  2370. },
  2371. "[vue]": {
  2372. "gitlens.codeLens.scopes": [
  2373. "document"
  2374. ]
  2375. },
  2376. "[yaml]": {
  2377. "gitlens.codeLens.scopes": [
  2378. "document"
  2379. ]
  2380. }
  2381. },
  2382. "colors": [
  2383. {
  2384. "id": "gitlens.gutterBackgroundColor",
  2385. "description": "Specifies the background color of the gutter blame annotations",
  2386. "defaults": {
  2387. "dark": "#FFFFFF13",
  2388. "light": "#0000000C",
  2389. "highContrast": "#FFFFFF13"
  2390. }
  2391. },
  2392. {
  2393. "id": "gitlens.gutterForegroundColor",
  2394. "description": "Specifies the foreground color of the gutter blame annotations",
  2395. "defaults": {
  2396. "dark": "#BEBEBE",
  2397. "light": "#747474",
  2398. "highContrast": "#BEBEBE"
  2399. }
  2400. },
  2401. {
  2402. "id": "gitlens.gutterUncommittedForegroundColor",
  2403. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  2404. "defaults": {
  2405. "dark": "#00BCF299",
  2406. "light": "#00BCF299",
  2407. "highContrast": "#00BCF2FF"
  2408. }
  2409. },
  2410. {
  2411. "id": "gitlens.trailingLineBackgroundColor",
  2412. "description": "Specifies the background color of the blame annotation for the current line",
  2413. "defaults": {
  2414. "dark": "#00000000",
  2415. "light": "#00000000",
  2416. "highContrast": "#00000000"
  2417. }
  2418. },
  2419. {
  2420. "id": "gitlens.trailingLineForegroundColor",
  2421. "description": "Specifies the foreground color of the blame annotation for the current line",
  2422. "defaults": {
  2423. "dark": "#99999959",
  2424. "light": "#99999959",
  2425. "highContrast": "#99999999"
  2426. }
  2427. },
  2428. {
  2429. "id": "gitlens.lineHighlightBackgroundColor",
  2430. "description": "Specifies the background color of the associated line highlights in blame annotations",
  2431. "defaults": {
  2432. "dark": "#00BCF233",
  2433. "light": "#00BCF233",
  2434. "highContrast": "#00BCF233"
  2435. }
  2436. },
  2437. {
  2438. "id": "gitlens.lineHighlightOverviewRulerColor",
  2439. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  2440. "defaults": {
  2441. "dark": "#00BCF299",
  2442. "light": "#00BCF299",
  2443. "highContrast": "#00BCF299"
  2444. }
  2445. },
  2446. {
  2447. "id": "gitlens.viewCommitToPushIconColor",
  2448. "description": "Specifies the icon color of un-pushed commits in the GitLens views",
  2449. "defaults": {
  2450. "dark": "#35B15E",
  2451. "light": "#35B15E",
  2452. "highContrast": "#35B15E"
  2453. }
  2454. },
  2455. {
  2456. "id": "gitlens.viewChangesToPushIconColor",
  2457. "description": "Specifies the icon color of the _Changes to push_ node in the GitLens views",
  2458. "defaults": {
  2459. "dark": "#35B15E",
  2460. "light": "#35B15E",
  2461. "highContrast": "#35B15E"
  2462. }
  2463. },
  2464. {
  2465. "id": "gitlens.viewChangesToPullIconColor",
  2466. "description": "Specifies the icon color of the _Changes to pull_ node in the GitLens views",
  2467. "defaults": {
  2468. "dark": "#B15E35",
  2469. "light": "#B15E35",
  2470. "highContrast": "#B15E35"
  2471. }
  2472. }
  2473. ],
  2474. "commands": [
  2475. {
  2476. "command": "gitlens.supportGitLens",
  2477. "title": "Sponsor GitLens",
  2478. "category": "GitLens",
  2479. "icon": "$(heart)"
  2480. },
  2481. {
  2482. "command": "gitlens.showSettingsPage",
  2483. "title": "Open Settings",
  2484. "category": "GitLens",
  2485. "icon": "$(gear)"
  2486. },
  2487. {
  2488. "command": "gitlens.showSettingsPage#views",
  2489. "title": "Open Settings",
  2490. "category": "GitLens",
  2491. "icon": "$(gear)"
  2492. },
  2493. {
  2494. "command": "gitlens.showSettingsPage#branches-view",
  2495. "title": "Open Settings",
  2496. "category": "GitLens",
  2497. "icon": "$(gear)"
  2498. },
  2499. {
  2500. "command": "gitlens.showSettingsPage#commits-view",
  2501. "title": "Open Settings",
  2502. "category": "GitLens",
  2503. "icon": "$(gear)"
  2504. },
  2505. {
  2506. "command": "gitlens.showSettingsPage#contributors-view",
  2507. "title": "Open Settings",
  2508. "category": "GitLens",
  2509. "icon": "$(gear)"
  2510. },
  2511. {
  2512. "command": "gitlens.showSettingsPage#file-history-view",
  2513. "title": "Open Settings",
  2514. "category": "GitLens",
  2515. "icon": "$(gear)"
  2516. },
  2517. {
  2518. "command": "gitlens.showSettingsPage#line-history-view",
  2519. "title": "Open Settings",
  2520. "category": "GitLens",
  2521. "icon": "$(gear)"
  2522. },
  2523. {
  2524. "command": "gitlens.showSettingsPage#remotes-view",
  2525. "title": "Open Settings",
  2526. "category": "GitLens",
  2527. "icon": "$(gear)"
  2528. },
  2529. {
  2530. "command": "gitlens.showSettingsPage#repositories-view",
  2531. "title": "Open Settings",
  2532. "category": "GitLens",
  2533. "icon": "$(gear)"
  2534. },
  2535. {
  2536. "command": "gitlens.showSettingsPage#search-compare-view",
  2537. "title": "Open Settings",
  2538. "category": "GitLens",
  2539. "icon": "$(gear)"
  2540. },
  2541. {
  2542. "command": "gitlens.showSettingsPage#stashes-view",
  2543. "title": "Open Settings",
  2544. "category": "GitLens",
  2545. "icon": "$(gear)"
  2546. },
  2547. {
  2548. "command": "gitlens.showSettingsPage#tags-view",
  2549. "title": "Open Settings",
  2550. "category": "GitLens",
  2551. "icon": "$(gear)"
  2552. },
  2553. {
  2554. "command": "gitlens.showWelcomePage",
  2555. "title": "Welcome",
  2556. "category": "GitLens"
  2557. },
  2558. {
  2559. "command": "gitlens.showBranchesView",
  2560. "title": "Show Branches View",
  2561. "category": "GitLens"
  2562. },
  2563. {
  2564. "command": "gitlens.showCommitsView",
  2565. "title": "Show Commits View",
  2566. "category": "GitLens"
  2567. },
  2568. {
  2569. "command": "gitlens.showContributorsView",
  2570. "title": "Show Contributors View",
  2571. "category": "GitLens"
  2572. },
  2573. {
  2574. "command": "gitlens.showFileHistoryView",
  2575. "title": "Show File History View",
  2576. "category": "GitLens"
  2577. },
  2578. {
  2579. "command": "gitlens.showLineHistoryView",
  2580. "title": "Show Line History View",
  2581. "category": "GitLens"
  2582. },
  2583. {
  2584. "command": "gitlens.showRemotesView",
  2585. "title": "Show Remotes View",
  2586. "category": "GitLens"
  2587. },
  2588. {
  2589. "command": "gitlens.showRepositoriesView",
  2590. "title": "Show Repositories View",
  2591. "category": "GitLens"
  2592. },
  2593. {
  2594. "command": "gitlens.showSearchAndCompareView",
  2595. "title": "Show Search And Compare Commits View",
  2596. "category": "GitLens"
  2597. },
  2598. {
  2599. "command": "gitlens.showStashesView",
  2600. "title": "Show Stashes View",
  2601. "category": "GitLens"
  2602. },
  2603. {
  2604. "command": "gitlens.showTagsView",
  2605. "title": "Show Tags View",
  2606. "category": "GitLens"
  2607. },
  2608. {
  2609. "command": "gitlens.showWelcomeView",
  2610. "title": "Show Welcome View",
  2611. "category": "GitLens"
  2612. },
  2613. {
  2614. "command": "gitlens.closeUpdatesView",
  2615. "title": "Close",
  2616. "category": "GitLens",
  2617. "icon": "$(close)"
  2618. },
  2619. {
  2620. "command": "gitlens.closeWelcomeView",
  2621. "title": "Close",
  2622. "category": "GitLens",
  2623. "icon": "$(close)"
  2624. },
  2625. {
  2626. "command": "gitlens.diffDirectory",
  2627. "title": "Open Directory Compare (difftool) with...",
  2628. "category": "GitLens"
  2629. },
  2630. {
  2631. "command": "gitlens.diffDirectoryWithHead",
  2632. "title": "Open Directory Compare (difftool)",
  2633. "category": "GitLens"
  2634. },
  2635. {
  2636. "command": "gitlens.diffHeadWith",
  2637. "title": "Compare HEAD with...",
  2638. "category": "GitLens"
  2639. },
  2640. {
  2641. "command": "gitlens.diffWorkingWith",
  2642. "title": "Compare Working Tree with...",
  2643. "category": "GitLens"
  2644. },
  2645. {
  2646. "command": "gitlens.diffWithNext",
  2647. "title": "Open Changes with Next Revision",
  2648. "category": "GitLens",
  2649. "icon": {
  2650. "dark": "images/dark/icon-next-commit.svg",
  2651. "light": "images/light/icon-next-commit.svg"
  2652. },
  2653. "enablement": "gitlens:activeFileStatus =~ /revision/"
  2654. },
  2655. {
  2656. "command": "gitlens.diffWithNextInDiffLeft",
  2657. "title": "Open Changes with Next Revision",
  2658. "category": "GitLens",
  2659. "icon": {
  2660. "dark": "images/dark/icon-next-commit.svg",
  2661. "light": "images/light/icon-next-commit.svg"
  2662. },
  2663. "enablement": "gitlens:activeFileStatus =~ /revision/"
  2664. },
  2665. {
  2666. "command": "gitlens.diffWithNextInDiffRight",
  2667. "title": "Open Changes with Next Revision",
  2668. "category": "GitLens",
  2669. "icon": {
  2670. "dark": "images/dark/icon-next-commit.svg",
  2671. "light": "images/light/icon-next-commit.svg"
  2672. },
  2673. "enablement": "gitlens:activeFileStatus =~ /revision/"
  2674. },
  2675. {
  2676. "command": "gitlens.diffWithPrevious",
  2677. "title": "Open Changes with Previous Revision",
  2678. "category": "GitLens",
  2679. "icon": {
  2680. "dark": "images/dark/icon-prev-commit.svg",
  2681. "light": "images/light/icon-prev-commit.svg"
  2682. }
  2683. },
  2684. {
  2685. "command": "gitlens.diffWithPreviousInDiffLeft",
  2686. "title": "Open Changes with Previous Revision",
  2687. "category": "GitLens",
  2688. "icon": {
  2689. "dark": "images/dark/icon-prev-commit.svg",
  2690. "light": "images/light/icon-prev-commit.svg"
  2691. }
  2692. },
  2693. {
  2694. "command": "gitlens.diffWithPreviousInDiffRight",
  2695. "title": "Open Changes with Previous Revision",
  2696. "category": "GitLens",
  2697. "icon": {
  2698. "dark": "images/dark/icon-prev-commit.svg",
  2699. "light": "images/light/icon-prev-commit.svg"
  2700. }
  2701. },
  2702. {
  2703. "command": "gitlens.diffLineWithPrevious",
  2704. "title": "Open Line Changes with Previous Revision",
  2705. "category": "GitLens"
  2706. },
  2707. {
  2708. "command": "gitlens.diffWithRevision",
  2709. "title": "Open Changes with Revision...",
  2710. "category": "GitLens",
  2711. "icon": {
  2712. "dark": "images/dark/icon-prev-commit-menu.svg",
  2713. "light": "images/light/icon-prev-commit-menu.svg"
  2714. }
  2715. },
  2716. {
  2717. "command": "gitlens.diffWithRevisionFrom",
  2718. "title": "Open Changes with Branch or Tag...",
  2719. "category": "GitLens"
  2720. },
  2721. {
  2722. "command": "gitlens.diffWithWorking",
  2723. "title": "Open Changes with Working File",
  2724. "category": "GitLens",
  2725. "icon": {
  2726. "dark": "images/dark/icon-compare-ref-working.svg",
  2727. "light": "images/light/icon-compare-ref-working.svg"
  2728. }
  2729. },
  2730. {
  2731. "command": "gitlens.diffWithWorkingInDiffLeft",
  2732. "title": "Open Changes with Working File",
  2733. "category": "GitLens",
  2734. "icon": {
  2735. "dark": "images/dark/icon-compare-ref-working.svg",
  2736. "light": "images/light/icon-compare-ref-working.svg"
  2737. }
  2738. },
  2739. {
  2740. "command": "gitlens.diffWithWorkingInDiffRight",
  2741. "title": "Open Changes with Working File",
  2742. "category": "GitLens",
  2743. "icon": {
  2744. "dark": "images/dark/icon-compare-ref-working.svg",
  2745. "light": "images/light/icon-compare-ref-working.svg"
  2746. }
  2747. },
  2748. {
  2749. "command": "gitlens.diffLineWithWorking",
  2750. "title": "Open Line Changes with Working File",
  2751. "category": "GitLens"
  2752. },
  2753. {
  2754. "command": "gitlens.toggleFileBlame",
  2755. "title": "Toggle File Blame",
  2756. "category": "GitLens",
  2757. "icon": {
  2758. "dark": "images/dark/icon-git.svg",
  2759. "light": "images/light/icon-git.svg"
  2760. }
  2761. },
  2762. {
  2763. "command": "gitlens.toggleFileBlameInDiffLeft",
  2764. "title": "Toggle File Blame",
  2765. "category": "GitLens",
  2766. "icon": {
  2767. "dark": "images/dark/icon-git.svg",
  2768. "light": "images/light/icon-git.svg"
  2769. }
  2770. },
  2771. {
  2772. "command": "gitlens.toggleFileBlameInDiffRight",
  2773. "title": "Toggle File Blame",
  2774. "category": "GitLens",
  2775. "icon": {
  2776. "dark": "images/dark/icon-git.svg",
  2777. "light": "images/light/icon-git.svg"
  2778. }
  2779. },
  2780. {
  2781. "command": "gitlens.clearFileAnnotations",
  2782. "title": "Clear File Annotations",
  2783. "category": "GitLens",
  2784. "icon": {
  2785. "dark": "images/dark/icon-git-orange.svg",
  2786. "light": "images/light/icon-git-orange.svg"
  2787. }
  2788. },
  2789. {
  2790. "command": "gitlens.computingFileAnnotations",
  2791. "title": "Computing File Annotations...",
  2792. "category": "GitLens",
  2793. "icon": {
  2794. "dark": "images/dark/icon-git-progress.svg",
  2795. "light": "images/light/icon-git-progress.svg"
  2796. }
  2797. },
  2798. {
  2799. "command": "gitlens.toggleFileHeatmap",
  2800. "title": "Toggle File Heatmap",
  2801. "category": "GitLens",
  2802. "icon": {
  2803. "dark": "images/dark/icon-git.svg",
  2804. "light": "images/light/icon-git.svg"
  2805. }
  2806. },
  2807. {
  2808. "command": "gitlens.toggleFileHeatmapInDiffLeft",
  2809. "title": "Toggle File Heatmap",
  2810. "category": "GitLens",
  2811. "icon": {
  2812. "dark": "images/dark/icon-git.svg",
  2813. "light": "images/light/icon-git.svg"
  2814. }
  2815. },
  2816. {
  2817. "command": "gitlens.toggleFileHeatmapInDiffRight",
  2818. "title": "Toggle File Heatmap",
  2819. "category": "GitLens",
  2820. "icon": {
  2821. "dark": "images/dark/icon-git.svg",
  2822. "light": "images/light/icon-git.svg"
  2823. }
  2824. },
  2825. {
  2826. "command": "gitlens.toggleFileChanges",
  2827. "title": "Toggle File Changes",
  2828. "category": "GitLens",
  2829. "icon": {
  2830. "dark": "images/dark/icon-git.svg",
  2831. "light": "images/light/icon-git.svg"
  2832. },
  2833. "enablement": "!isInDiffEditor"
  2834. },
  2835. {
  2836. "command": "gitlens.toggleLineBlame",
  2837. "title": "Toggle Line Blame",
  2838. "category": "GitLens"
  2839. },
  2840. {
  2841. "command": "gitlens.toggleCodeLens",
  2842. "title": "Toggle Git Code Lens",
  2843. "category": "GitLens"
  2844. },
  2845. {
  2846. "command": "gitlens.gitCommands",
  2847. "title": "Git Command Palette",
  2848. "category": "GitLens"
  2849. },
  2850. {
  2851. "command": "gitlens.switchMode",
  2852. "title": "Switch Mode",
  2853. "category": "GitLens"
  2854. },
  2855. {
  2856. "command": "gitlens.toggleReviewMode",
  2857. "title": "Toggle Review Mode",
  2858. "category": "GitLens"
  2859. },
  2860. {
  2861. "command": "gitlens.toggleZenMode",
  2862. "title": "Toggle Zen Mode",
  2863. "category": "GitLens"
  2864. },
  2865. {
  2866. "command": "gitlens.setViewsLayout",
  2867. "title": "Set Views Layout",
  2868. "category": "GitLens"
  2869. },
  2870. {
  2871. "command": "gitlens.showCommitSearch",
  2872. "title": "Search Commits",
  2873. "category": "GitLens",
  2874. "icon": "$(search)"
  2875. },
  2876. {
  2877. "command": "gitlens.showLastQuickPick",
  2878. "title": "Show Last Opened Quick Pick",
  2879. "category": "GitLens"
  2880. },
  2881. {
  2882. "command": "gitlens.revealCommitInView",
  2883. "title": "Reveal Commit in Side Bar",
  2884. "category": "GitLens"
  2885. },
  2886. {
  2887. "command": "gitlens.showCommitInView",
  2888. "title": "Search for Commit in Side Bar",
  2889. "category": "GitLens"
  2890. },
  2891. {
  2892. "command": "gitlens.showCommitsInView",
  2893. "title": "Search for Commits within Selection",
  2894. "category": "GitLens"
  2895. },
  2896. {
  2897. "command": "gitlens.showFileHistoryInView",
  2898. "title": "Open File History",
  2899. "category": "GitLens"
  2900. },
  2901. {
  2902. "command": "gitlens.showQuickCommitDetails",
  2903. "title": "Show Commit",
  2904. "category": "GitLens"
  2905. },
  2906. {
  2907. "command": "gitlens.showQuickCommitFileDetails",
  2908. "title": "Show Line Commit",
  2909. "category": "GitLens"
  2910. },
  2911. {
  2912. "command": "gitlens.showQuickRevisionDetails",
  2913. "title": "Show Revision Commit",
  2914. "category": "GitLens",
  2915. "icon": {
  2916. "dark": "images/dark/icon-commit-horizontal.svg",
  2917. "light": "images/light/icon-commit-horizontal.svg"
  2918. },
  2919. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2920. },
  2921. {
  2922. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  2923. "title": "Show Revision Commit",
  2924. "category": "GitLens",
  2925. "icon": {
  2926. "dark": "images/dark/icon-commit-horizontal.svg",
  2927. "light": "images/light/icon-commit-horizontal.svg"
  2928. },
  2929. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2930. },
  2931. {
  2932. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  2933. "title": "Show Revision Commit",
  2934. "category": "GitLens",
  2935. "icon": {
  2936. "dark": "images/dark/icon-commit-horizontal.svg",
  2937. "light": "images/light/icon-commit-horizontal.svg"
  2938. },
  2939. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  2940. },
  2941. {
  2942. "command": "gitlens.showQuickFileHistory",
  2943. "title": "Show File History",
  2944. "category": "GitLens"
  2945. },
  2946. {
  2947. "command": "gitlens.showQuickBranchHistory",
  2948. "title": "Show Branch History",
  2949. "category": "GitLens"
  2950. },
  2951. {
  2952. "command": "gitlens.showQuickRepoHistory",
  2953. "title": "Show Current Branch History",
  2954. "category": "GitLens"
  2955. },
  2956. {
  2957. "command": "gitlens.showQuickRepoStatus",
  2958. "title": "Show Repository Status",
  2959. "category": "GitLens"
  2960. },
  2961. {
  2962. "command": "gitlens.showQuickStashList",
  2963. "title": "Show Stashes",
  2964. "category": "GitLens"
  2965. },
  2966. {
  2967. "command": "gitlens.addAuthors",
  2968. "title": "Add Co-authors",
  2969. "category": "GitLens",
  2970. "icon": {
  2971. "dark": "images/dark/icon-person-add.svg",
  2972. "light": "images/light/icon-person-add.svg"
  2973. }
  2974. },
  2975. {
  2976. "command": "gitlens.connectRemoteProvider",
  2977. "title": "Connect to Remote",
  2978. "category": "GitLens",
  2979. "icon": "$(plug)"
  2980. },
  2981. {
  2982. "command": "gitlens.disconnectRemoteProvider",
  2983. "title": "Disconnect from Remote",
  2984. "category": "GitLens",
  2985. "icon": {
  2986. "dark": "images/dark/icon-unplug.svg",
  2987. "light": "images/light/icon-unplug.svg"
  2988. }
  2989. },
  2990. {
  2991. "command": "gitlens.copyMessageToClipboard",
  2992. "title": "Copy Message",
  2993. "category": "GitLens",
  2994. "icon": {
  2995. "dark": "images/dark/icon-copy-message.svg",
  2996. "light": "images/light/icon-copy-message.svg"
  2997. }
  2998. },
  2999. {
  3000. "command": "gitlens.copyShaToClipboard",
  3001. "title": "Copy SHA",
  3002. "category": "GitLens",
  3003. "icon": {
  3004. "dark": "images/dark/icon-copy.svg",
  3005. "light": "images/light/icon-copy.svg"
  3006. }
  3007. },
  3008. {
  3009. "command": "gitlens.closeUnchangedFiles",
  3010. "title": "Close Unchanged Files",
  3011. "category": "GitLens"
  3012. },
  3013. {
  3014. "command": "gitlens.openChangedFiles",
  3015. "title": "Open Changed Files",
  3016. "category": "GitLens"
  3017. },
  3018. {
  3019. "command": "gitlens.openBranchesOnRemote",
  3020. "title": "Open Branches on Remote",
  3021. "category": "GitLens",
  3022. "icon": "$(globe)"
  3023. },
  3024. {
  3025. "command": "gitlens.copyRemoteBranchesUrl",
  3026. "title": "Copy Remote Branches Url",
  3027. "category": "GitLens",
  3028. "icon": {
  3029. "dark": "images/dark/icon-copy-link.svg",
  3030. "light": "images/light/icon-copy-link.svg"
  3031. }
  3032. },
  3033. {
  3034. "command": "gitlens.openBranchOnRemote",
  3035. "title": "Open Branch on Remote",
  3036. "category": "GitLens",
  3037. "icon": "$(globe)"
  3038. },
  3039. {
  3040. "command": "gitlens.copyRemoteBranchUrl",
  3041. "title": "Copy Remote Branch Url",
  3042. "category": "GitLens",
  3043. "icon": {
  3044. "dark": "images/dark/icon-copy-link.svg",
  3045. "light": "images/light/icon-copy-link.svg"
  3046. }
  3047. },
  3048. {
  3049. "command": "gitlens.openCommitOnRemote",
  3050. "title": "Open Commit on Remote",
  3051. "category": "GitLens",
  3052. "icon": "$(globe)"
  3053. },
  3054. {
  3055. "command": "gitlens.copyRemoteCommitUrl",
  3056. "title": "Copy Remote Commit Url",
  3057. "category": "GitLens",
  3058. "icon": {
  3059. "dark": "images/dark/icon-copy-link.svg",
  3060. "light": "images/light/icon-copy-link.svg"
  3061. }
  3062. },
  3063. {
  3064. "command": "gitlens.openComparisonOnRemote",
  3065. "title": "Open Comparison on Remote",
  3066. "category": "GitLens",
  3067. "icon": "$(globe)"
  3068. },
  3069. {
  3070. "command": "gitlens.copyRemoteComparisonUrl",
  3071. "title": "Copy Remote Comparison Url",
  3072. "category": "GitLens",
  3073. "icon": {
  3074. "dark": "images/dark/icon-copy-link.svg",
  3075. "light": "images/light/icon-copy-link.svg"
  3076. }
  3077. },
  3078. {
  3079. "command": "gitlens.openFileFromRemote",
  3080. "title": "Open File from Remote",
  3081. "category": "GitLens"
  3082. },
  3083. {
  3084. "command": "gitlens.openFileOnRemote",
  3085. "title": "Open File on Remote",
  3086. "category": "GitLens",
  3087. "icon": "$(globe)"
  3088. },
  3089. {
  3090. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3091. "title": "Copy Remote File Url",
  3092. "category": "GitLens",
  3093. "icon": {
  3094. "dark": "images/dark/icon-copy-link.svg",
  3095. "light": "images/light/icon-copy-link.svg"
  3096. }
  3097. },
  3098. {
  3099. "command": "gitlens.openFileRevision",
  3100. "title": "Open File at Revision...",
  3101. "icon": {
  3102. "dark": "images/dark/icon-open-revision.svg",
  3103. "light": "images/light/icon-open-revision.svg"
  3104. },
  3105. "category": "GitLens"
  3106. },
  3107. {
  3108. "command": "gitlens.openFileRevisionFrom",
  3109. "title": "Open File at Revision from...",
  3110. "icon": {
  3111. "dark": "images/dark/icon-open-revision.svg",
  3112. "light": "images/light/icon-open-revision.svg"
  3113. },
  3114. "category": "GitLens"
  3115. },
  3116. {
  3117. "command": "gitlens.openPullRequestOnRemote",
  3118. "title": "Open Pull Request",
  3119. "category": "GitLens",
  3120. "icon": "$(globe)"
  3121. },
  3122. {
  3123. "command": "gitlens.copyRemotePullRequestUrl",
  3124. "title": "Copy Pull Request Url",
  3125. "category": "GitLens",
  3126. "icon": {
  3127. "dark": "images/dark/icon-copy-link.svg",
  3128. "light": "images/light/icon-copy-link.svg"
  3129. }
  3130. },
  3131. {
  3132. "command": "gitlens.openAssociatedPullRequestOnRemote",
  3133. "title": "Open Associated Pull Request",
  3134. "category": "GitLens",
  3135. "icon": "$(git-pull-request)"
  3136. },
  3137. {
  3138. "command": "gitlens.openRepoOnRemote",
  3139. "title": "Open Repository on Remote",
  3140. "category": "GitLens",
  3141. "icon": "$(globe)"
  3142. },
  3143. {
  3144. "command": "gitlens.copyRemoteRepositoryUrl",
  3145. "title": "Copy Remote Repository Url",
  3146. "category": "GitLens",
  3147. "icon": {
  3148. "dark": "images/dark/icon-copy-link.svg",
  3149. "light": "images/light/icon-copy-link.svg"
  3150. }
  3151. },
  3152. {
  3153. "command": "gitlens.openRevisionFile",
  3154. "title": "Open File at Revision",
  3155. "category": "GitLens",
  3156. "icon": {
  3157. "dark": "images/dark/icon-open-revision.svg",
  3158. "light": "images/light/icon-open-revision.svg"
  3159. },
  3160. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3161. },
  3162. {
  3163. "command": "gitlens.openRevisionFileInDiffLeft",
  3164. "title": "Open File at Revision",
  3165. "category": "GitLens",
  3166. "icon": {
  3167. "dark": "images/dark/icon-open-revision.svg",
  3168. "light": "images/light/icon-open-revision.svg"
  3169. },
  3170. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3171. },
  3172. {
  3173. "command": "gitlens.openRevisionFileInDiffRight",
  3174. "title": "Open File at Revision",
  3175. "category": "GitLens",
  3176. "icon": {
  3177. "dark": "images/dark/icon-open-revision.svg",
  3178. "light": "images/light/icon-open-revision.svg"
  3179. },
  3180. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3181. },
  3182. {
  3183. "command": "gitlens.openWorkingFile",
  3184. "title": "Open File",
  3185. "category": "GitLens",
  3186. "icon": "$(go-to-file)"
  3187. },
  3188. {
  3189. "command": "gitlens.openWorkingFileInDiffLeft",
  3190. "title": "Open File",
  3191. "category": "GitLens",
  3192. "icon": "$(go-to-file)"
  3193. },
  3194. {
  3195. "command": "gitlens.openWorkingFileInDiffRight",
  3196. "title": "Open File",
  3197. "category": "GitLens",
  3198. "icon": "$(go-to-file)"
  3199. },
  3200. {
  3201. "command": "gitlens.stashApply",
  3202. "title": "Apply Stash",
  3203. "category": "GitLens",
  3204. "icon": {
  3205. "dark": "images/dark/icon-stash-pop.svg",
  3206. "light": "images/light/icon-stash-pop.svg"
  3207. }
  3208. },
  3209. {
  3210. "command": "gitlens.views.deleteStash",
  3211. "title": "Delete Stash...",
  3212. "category": "GitLens",
  3213. "icon": "$(trash)"
  3214. },
  3215. {
  3216. "command": "gitlens.stashSave",
  3217. "title": "Stash All Changes",
  3218. "category": "GitLens",
  3219. "icon": {
  3220. "dark": "images/dark/icon-stash-save.svg",
  3221. "light": "images/light/icon-stash-save.svg"
  3222. }
  3223. },
  3224. {
  3225. "command": "gitlens.stashSaveFiles",
  3226. "title": "Stash Changes",
  3227. "category": "GitLens",
  3228. "icon": {
  3229. "dark": "images/dark/icon-stash-save.svg",
  3230. "light": "images/light/icon-stash-save.svg"
  3231. }
  3232. },
  3233. {
  3234. "command": "gitlens.externalDiff",
  3235. "title": "Open Changes (difftool)",
  3236. "category": "GitLens"
  3237. },
  3238. {
  3239. "command": "gitlens.externalDiffAll",
  3240. "title": "Open All Changes (difftool)",
  3241. "category": "GitLens"
  3242. },
  3243. {
  3244. "command": "gitlens.resetSuppressedWarnings",
  3245. "title": "Reset Suppressed Warnings",
  3246. "category": "GitLens"
  3247. },
  3248. {
  3249. "command": "gitlens.inviteToLiveShare",
  3250. "title": "Invite to Live Share",
  3251. "category": "GitLens",
  3252. "icon": "$(live-share)"
  3253. },
  3254. {
  3255. "command": "gitlens.browseRepoAtRevision",
  3256. "title": "Browse from Revision",
  3257. "category": "GitLens",
  3258. "icon": "$(folder-opened)",
  3259. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3260. },
  3261. {
  3262. "command": "gitlens.browseRepoAtRevisionInNewWindow",
  3263. "title": "Browse from Revision in New Window",
  3264. "category": "GitLens",
  3265. "icon": "$(folder-opened)",
  3266. "enablement": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git"
  3267. },
  3268. {
  3269. "command": "gitlens.views.browseRepoAtRevision",
  3270. "title": "Browse from Here",
  3271. "category": "GitLens",
  3272. "icon": "$(folder-opened)"
  3273. },
  3274. {
  3275. "command": "gitlens.views.browseRepoAtRevisionInNewWindow",
  3276. "title": "Browse from Here in New Window",
  3277. "category": "GitLens",
  3278. "icon": "$(folder-opened)"
  3279. },
  3280. {
  3281. "command": "gitlens.fetchRepositories",
  3282. "title": "Fetch",
  3283. "category": "GitLens",
  3284. "icon": "$(sync)"
  3285. },
  3286. {
  3287. "command": "gitlens.pullRepositories",
  3288. "title": "Pull",
  3289. "category": "GitLens",
  3290. "icon": "$(arrow-down)"
  3291. },
  3292. {
  3293. "command": "gitlens.pushRepositories",
  3294. "title": "Push",
  3295. "category": "GitLens",
  3296. "icon": "$(arrow-up)"
  3297. },
  3298. {
  3299. "command": "gitlens.views.addRemote",
  3300. "title": "Add Remote",
  3301. "category": "GitLens",
  3302. "icon": "$(add)"
  3303. },
  3304. {
  3305. "command": "gitlens.views.highlightChanges",
  3306. "title": "Highlight Changes",
  3307. "category": "GitLens"
  3308. },
  3309. {
  3310. "command": "gitlens.views.highlightRevisionChanges",
  3311. "title": "Highlight Revision Changes",
  3312. "category": "GitLens"
  3313. },
  3314. {
  3315. "command": "gitlens.views.restore",
  3316. "title": "Restore",
  3317. "category": "GitLens",
  3318. "icon": {
  3319. "dark": "images/dark/icon-checkout.svg",
  3320. "light": "images/light/icon-checkout.svg"
  3321. }
  3322. },
  3323. {
  3324. "command": "gitlens.views.switchToAnotherBranch",
  3325. "title": "Switch to Another Branch...",
  3326. "category": "GitLens",
  3327. "icon": {
  3328. "dark": "images/dark/icon-checkout.svg",
  3329. "light": "images/light/icon-checkout.svg"
  3330. }
  3331. },
  3332. {
  3333. "command": "gitlens.views.switchToBranch",
  3334. "title": "Switch to Branch...",
  3335. "category": "GitLens",
  3336. "icon": {
  3337. "dark": "images/dark/icon-checkout.svg",
  3338. "light": "images/light/icon-checkout.svg"
  3339. }
  3340. },
  3341. {
  3342. "command": "gitlens.views.switchToCommit",
  3343. "title": "Switch to Commit...",
  3344. "category": "GitLens",
  3345. "icon": {
  3346. "dark": "images/dark/icon-checkout.svg",
  3347. "light": "images/light/icon-checkout.svg"
  3348. }
  3349. },
  3350. {
  3351. "command": "gitlens.views.switchToTag",
  3352. "title": "Switch to Tag...",
  3353. "category": "GitLens",
  3354. "icon": {
  3355. "dark": "images/dark/icon-checkout.svg",
  3356. "light": "images/light/icon-checkout.svg"
  3357. }
  3358. },
  3359. {
  3360. "command": "gitlens.views.copy",
  3361. "title": "Copy",
  3362. "category": "GitLens",
  3363. "icon": {
  3364. "dark": "images/dark/icon-copy.svg",
  3365. "light": "images/light/icon-copy.svg"
  3366. }
  3367. },
  3368. {
  3369. "command": "gitlens.views.pruneRemote",
  3370. "title": "Prune",
  3371. "category": "GitLens"
  3372. },
  3373. {
  3374. "command": "gitlens.views.fetch",
  3375. "title": "Fetch",
  3376. "category": "GitLens",
  3377. "icon": "$(sync)"
  3378. },
  3379. {
  3380. "command": "gitlens.views.publishBranch",
  3381. "title": "Publish Branch",
  3382. "category": "GitLens",
  3383. "icon": "$(cloud-upload)"
  3384. },
  3385. {
  3386. "command": "gitlens.views.pull",
  3387. "title": "Pull",
  3388. "category": "GitLens",
  3389. "icon": "$(arrow-down)"
  3390. },
  3391. {
  3392. "command": "gitlens.views.push",
  3393. "title": "Push",
  3394. "category": "GitLens",
  3395. "icon": "$(arrow-up)"
  3396. },
  3397. {
  3398. "command": "gitlens.views.pushWithForce",
  3399. "title": "Push (force)",
  3400. "category": "GitLens",
  3401. "icon": {
  3402. "dark": "images/dark/icon-push-force.svg",
  3403. "light": "images/light/icon-push-force.svg"
  3404. }
  3405. },
  3406. {
  3407. "command": "gitlens.views.openInTerminal",
  3408. "title": "Open in Terminal",
  3409. "category": "GitLens"
  3410. },
  3411. {
  3412. "command": "gitlens.views.setAsDefault",
  3413. "title": "Set as Default",
  3414. "category": "GitLens"
  3415. },
  3416. {
  3417. "command": "gitlens.views.unsetAsDefault",
  3418. "title": "Unset as Default",
  3419. "category": "GitLens"
  3420. },
  3421. {
  3422. "command": "gitlens.views.stageDirectory",
  3423. "title": "Stage All Changes",
  3424. "category": "GitLens",
  3425. "icon": "$(add)"
  3426. },
  3427. {
  3428. "command": "gitlens.views.stageFile",
  3429. "title": "Stage Changes",
  3430. "category": "GitLens",
  3431. "icon": "$(add)"
  3432. },
  3433. {
  3434. "command": "gitlens.views.unstageDirectory",
  3435. "title": "Unstage All Changes",
  3436. "category": "GitLens",
  3437. "icon": "$(remove)"
  3438. },
  3439. {
  3440. "command": "gitlens.views.unstageFile",
  3441. "title": "Unstage Changes",
  3442. "category": "GitLens",
  3443. "icon": "$(remove)"
  3444. },
  3445. {
  3446. "command": "gitlens.views.star",
  3447. "title": "Add to Favorites",
  3448. "category": "GitLens",
  3449. "icon": "$(star-empty)"
  3450. },
  3451. {
  3452. "command": "gitlens.views.unstar",
  3453. "title": "Remove from Favorites",
  3454. "category": "GitLens",
  3455. "icon": "$(star-full)"
  3456. },
  3457. {
  3458. "command": "gitlens.views.openDirectoryDiff",
  3459. "title": "Open Directory Compare",
  3460. "category": "GitLens"
  3461. },
  3462. {
  3463. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3464. "title": "Open Directory Compare with Working Tree",
  3465. "category": "GitLens"
  3466. },
  3467. {
  3468. "command": "gitlens.views.openChanges",
  3469. "title": "Open Changes",
  3470. "category": "GitLens"
  3471. },
  3472. {
  3473. "command": "gitlens.views.openChangesWithWorking",
  3474. "title": "Open Changes with Working File",
  3475. "category": "GitLens",
  3476. "icon": {
  3477. "dark": "images/dark/icon-compare-ref-working.svg",
  3478. "light": "images/light/icon-compare-ref-working.svg"
  3479. }
  3480. },
  3481. {
  3482. "command": "gitlens.views.openFile",
  3483. "title": "Open File",
  3484. "category": "GitLens",
  3485. "icon": "$(go-to-file)"
  3486. },
  3487. {
  3488. "command": "gitlens.views.openFileRevision",
  3489. "title": "Open File at Revision",
  3490. "category": "GitLens",
  3491. "icon": {
  3492. "dark": "images/dark/icon-open-revision.svg",
  3493. "light": "images/light/icon-open-revision.svg"
  3494. }
  3495. },
  3496. {
  3497. "command": "gitlens.views.openChangedFiles",
  3498. "title": "Open Files",
  3499. "category": "GitLens"
  3500. },
  3501. {
  3502. "command": "gitlens.views.openChangedFileDiffs",
  3503. "title": "Open All Changes",
  3504. "category": "GitLens"
  3505. },
  3506. {
  3507. "command": "gitlens.views.openChangedFileDiffsWithWorking",
  3508. "title": "Open All Changes with Working Tree",
  3509. "category": "GitLens"
  3510. },
  3511. {
  3512. "command": "gitlens.views.openChangedFileRevisions",
  3513. "title": "Open Files at Revision",
  3514. "category": "GitLens"
  3515. },
  3516. {
  3517. "command": "gitlens.views.applyChanges",
  3518. "title": "Apply Changes",
  3519. "category": "GitLens"
  3520. },
  3521. {
  3522. "command": "gitlens.views.closeRepository",
  3523. "title": "Close Repository",
  3524. "category": "GitLens"
  3525. },
  3526. {
  3527. "command": "gitlens.views.compareAncestryWithWorking",
  3528. "title": "Compare Ancestry with Working Tree",
  3529. "category": "GitLens"
  3530. },
  3531. {
  3532. "command": "gitlens.views.compareWithHead",
  3533. "title": "Compare with HEAD",
  3534. "category": "GitLens",
  3535. "icon": "$(compare-changes)"
  3536. },
  3537. {
  3538. "command": "gitlens.views.compareWithUpstream",
  3539. "title": "Compare with Upstream",
  3540. "category": "GitLens",
  3541. "icon": {
  3542. "dark": "images/dark/icon-compare-ref-remote.svg",
  3543. "light": "images/light/icon-compare-ref-remote.svg"
  3544. }
  3545. },
  3546. {
  3547. "command": "gitlens.views.compareWithSelected",
  3548. "title": "Compare with Selected",
  3549. "category": "GitLens"
  3550. },
  3551. {
  3552. "command": "gitlens.views.selectForCompare",
  3553. "title": "Select for Compare",
  3554. "category": "GitLens"
  3555. },
  3556. {
  3557. "command": "gitlens.views.compareFileWithSelected",
  3558. "title": "Compare with Selected",
  3559. "category": "GitLens"
  3560. },
  3561. {
  3562. "command": "gitlens.views.selectFileForCompare",
  3563. "title": "Select for Compare",
  3564. "category": "GitLens"
  3565. },
  3566. {
  3567. "command": "gitlens.views.compareWithWorking",
  3568. "title": "Compare with Working Tree",
  3569. "category": "GitLens",
  3570. "icon": {
  3571. "dark": "images/dark/icon-compare-ref-working.svg",
  3572. "light": "images/light/icon-compare-ref-working.svg"
  3573. }
  3574. },
  3575. {
  3576. "command": "gitlens.views.addAuthors",
  3577. "title": "Add Co-authors",
  3578. "category": "GitLens",
  3579. "icon": {
  3580. "dark": "images/dark/icon-person-add.svg",
  3581. "light": "images/light/icon-person-add.svg"
  3582. }
  3583. },
  3584. {
  3585. "command": "gitlens.views.addAuthor",
  3586. "title": "Add as Co-author",
  3587. "category": "GitLens",
  3588. "icon": {
  3589. "dark": "images/dark/icon-person-add.svg",
  3590. "light": "images/light/icon-person-add.svg"
  3591. }
  3592. },
  3593. {
  3594. "command": "gitlens.views.cherryPick",
  3595. "title": "Cherry Pick Commit...",
  3596. "category": "GitLens"
  3597. },
  3598. {
  3599. "command": "gitlens.views.createBranch",
  3600. "title": "Create Branch...",
  3601. "category": "GitLens",
  3602. "icon": "$(add)"
  3603. },
  3604. {
  3605. "command": "gitlens.views.deleteBranch",
  3606. "title": "Delete Branch...",
  3607. "category": "GitLens"
  3608. },
  3609. {
  3610. "command": "gitlens.views.renameBranch",
  3611. "title": "Rename Branch...",
  3612. "category": "GitLens"
  3613. },
  3614. {
  3615. "command": "gitlens.views.createTag",
  3616. "title": "Create Tag...",
  3617. "category": "GitLens",
  3618. "icon": "$(add)"
  3619. },
  3620. {
  3621. "command": "gitlens.views.deleteTag",
  3622. "title": "Delete Tag...",
  3623. "category": "GitLens"
  3624. },
  3625. {
  3626. "command": "gitlens.views.mergeBranchInto",
  3627. "title": "Merge Branch into Current Branch...",
  3628. "category": "GitLens"
  3629. },
  3630. {
  3631. "command": "gitlens.views.pushToCommit",
  3632. "title": "Push to Commit...",
  3633. "category": "GitLens"
  3634. },
  3635. {
  3636. "command": "gitlens.views.rebaseOntoBranch",
  3637. "title": "Rebase Current Branch onto Branch...",
  3638. "category": "GitLens"
  3639. },
  3640. {
  3641. "command": "gitlens.views.rebaseOntoCommit",
  3642. "title": "Rebase Current Branch onto Commit...",
  3643. "category": "GitLens"
  3644. },
  3645. {
  3646. "command": "gitlens.views.rebaseOntoUpstream",
  3647. "title": "Rebase Current Branch onto Upstream...",
  3648. "category": "GitLens"
  3649. },
  3650. {
  3651. "command": "gitlens.views.resetCommit",
  3652. "title": "Reset Current Branch to Previous Commit...",
  3653. "category": "GitLens"
  3654. },
  3655. {
  3656. "command": "gitlens.views.resetToCommit",
  3657. "title": "Reset Current Branch to Commit...",
  3658. "category": "GitLens"
  3659. },
  3660. {
  3661. "command": "gitlens.views.revert",
  3662. "title": "Revert Commit...",
  3663. "category": "GitLens"
  3664. },
  3665. {
  3666. "command": "gitlens.views.undoCommit",
  3667. "title": "Undo Commit",
  3668. "category": "GitLens",
  3669. "icon": "$(discard)"
  3670. },
  3671. {
  3672. "command": "gitlens.views.terminalRemoveRemote",
  3673. "title": "Remove Remote (via Terminal)",
  3674. "category": "GitLens"
  3675. },
  3676. {
  3677. "command": "gitlens.views.setBranchComparisonToWorking",
  3678. "title": "Toggle Compare with: Branch",
  3679. "category": "GitLens",
  3680. "icon": "$(compare-changes)"
  3681. },
  3682. {
  3683. "command": "gitlens.views.setBranchComparisonToBranch",
  3684. "title": "Toggle Compare with: Working Tree",
  3685. "category": "GitLens",
  3686. "icon": "$(compare-changes)"
  3687. },
  3688. {
  3689. "command": "gitlens.views.clearNode",
  3690. "title": "Clear",
  3691. "category": "GitLens",
  3692. "icon": "$(close)"
  3693. },
  3694. {
  3695. "command": "gitlens.views.dismissNode",
  3696. "title": "Dismiss",
  3697. "category": "GitLens",
  3698. "icon": "$(close)"
  3699. },
  3700. {
  3701. "command": "gitlens.views.expandNode",
  3702. "title": "Expand",
  3703. "category": "GitLens"
  3704. },
  3705. {
  3706. "command": "gitlens.views.refreshNode",
  3707. "title": "Refresh",
  3708. "category": "GitLens",
  3709. "icon": "$(refresh)"
  3710. },
  3711. {
  3712. "command": "gitlens.views.loadMoreChildren",
  3713. "title": "Load More",
  3714. "category": "GitLens"
  3715. },
  3716. {
  3717. "command": "gitlens.views.loadAllChildren",
  3718. "title": "Load All",
  3719. "category": "GitLens",
  3720. "icon": {
  3721. "dark": "images/dark/icon-unfold.svg",
  3722. "light": "images/light/icon-unfold.svg"
  3723. }
  3724. },
  3725. {
  3726. "command": "gitlens.views.setShowRelativeDateMarkersOn",
  3727. "title": "Show Date Markers",
  3728. "category": "GitLens"
  3729. },
  3730. {
  3731. "command": "gitlens.views.setShowRelativeDateMarkersOff",
  3732. "title": "Hide Date Markers",
  3733. "category": "GitLens"
  3734. },
  3735. {
  3736. "command": "gitlens.views.branches.copy",
  3737. "title": "Copy",
  3738. "category": "GitLens"
  3739. },
  3740. {
  3741. "command": "gitlens.views.branches.refresh",
  3742. "title": "Refresh",
  3743. "category": "GitLens",
  3744. "icon": "$(refresh)"
  3745. },
  3746. {
  3747. "command": "gitlens.views.branches.setLayoutToList",
  3748. "title": "Toggle View: Tree",
  3749. "category": "GitLens",
  3750. "icon": "$(list-tree)"
  3751. },
  3752. {
  3753. "command": "gitlens.views.branches.setLayoutToTree",
  3754. "title": "Toggle View: List",
  3755. "category": "GitLens",
  3756. "icon": "$(list-flat)"
  3757. },
  3758. {
  3759. "command": "gitlens.views.branches.setFilesLayoutToAuto",
  3760. "title": "Toggle Files View: Tree",
  3761. "category": "GitLens",
  3762. "icon": "$(list-tree)"
  3763. },
  3764. {
  3765. "command": "gitlens.views.branches.setFilesLayoutToList",
  3766. "title": "Toggle Files View: Auto",
  3767. "category": "GitLens",
  3768. "icon": {
  3769. "dark": "images/dark/icon-view-auto.svg",
  3770. "light": "images/light/icon-view-auto.svg"
  3771. }
  3772. },
  3773. {
  3774. "command": "gitlens.views.branches.setFilesLayoutToTree",
  3775. "title": "Toggle Files View: List",
  3776. "category": "GitLens",
  3777. "icon": "$(list-flat)"
  3778. },
  3779. {
  3780. "command": "gitlens.views.branches.setShowAvatarsOn",
  3781. "title": "Show Avatars",
  3782. "category": "GitLens"
  3783. },
  3784. {
  3785. "command": "gitlens.views.branches.setShowAvatarsOff",
  3786. "title": "Hide Avatars",
  3787. "category": "GitLens"
  3788. },
  3789. {
  3790. "command": "gitlens.views.branches.setShowBranchComparisonOn",
  3791. "title": "Show Branch Comparison",
  3792. "category": "GitLens"
  3793. },
  3794. {
  3795. "command": "gitlens.views.branches.setShowBranchComparisonOff",
  3796. "title": "Hide Branch Comparison",
  3797. "category": "GitLens"
  3798. },
  3799. {
  3800. "command": "gitlens.views.branches.setShowBranchPullRequestOn",
  3801. "title": "Show Branch Pull Requests",
  3802. "category": "GitLens"
  3803. },
  3804. {
  3805. "command": "gitlens.views.branches.setShowBranchPullRequestOff",
  3806. "title": "Hide Branch Pull Requests",
  3807. "category": "GitLens"
  3808. },
  3809. {
  3810. "command": "gitlens.views.commits.copy",
  3811. "title": "Copy",
  3812. "category": "GitLens"
  3813. },
  3814. {
  3815. "command": "gitlens.views.commits.refresh",
  3816. "title": "Refresh",
  3817. "category": "GitLens",
  3818. "icon": "$(refresh)"
  3819. },
  3820. {
  3821. "command": "gitlens.views.commits.setFilesLayoutToAuto",
  3822. "title": "Toggle Files View: Tree",
  3823. "category": "GitLens",
  3824. "icon": "$(list-tree)"
  3825. },
  3826. {
  3827. "command": "gitlens.views.commits.setFilesLayoutToList",
  3828. "title": "Toggle Files View: Auto",
  3829. "category": "GitLens",
  3830. "icon": {
  3831. "dark": "images/dark/icon-view-auto.svg",
  3832. "light": "images/light/icon-view-auto.svg"
  3833. }
  3834. },
  3835. {
  3836. "command": "gitlens.views.commits.setFilesLayoutToTree",
  3837. "title": "Toggle Files View: List",
  3838. "category": "GitLens",
  3839. "icon": "$(list-flat)"
  3840. },
  3841. {
  3842. "command": "gitlens.views.commits.setMyCommitsOnlyOn",
  3843. "title": "Toggle Filter: All Commits",
  3844. "category": "GitLens",
  3845. "icon": "$(filter)"
  3846. },
  3847. {
  3848. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  3849. "title": "Toggle Filter: Only My Commits",
  3850. "category": "GitLens",
  3851. "icon": "$(filter)"
  3852. },
  3853. {
  3854. "command": "gitlens.views.commits.setShowAvatarsOn",
  3855. "title": "Show Avatars",
  3856. "category": "GitLens"
  3857. },
  3858. {
  3859. "command": "gitlens.views.commits.setShowAvatarsOff",
  3860. "title": "Hide Avatars",
  3861. "category": "GitLens"
  3862. },
  3863. {
  3864. "command": "gitlens.views.commits.setShowBranchComparisonOn",
  3865. "title": "Show Branch Comparison",
  3866. "category": "GitLens"
  3867. },
  3868. {
  3869. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  3870. "title": "Hide Branch Comparison",
  3871. "category": "GitLens"
  3872. },
  3873. {
  3874. "command": "gitlens.views.commits.setShowBranchPullRequestOn",
  3875. "title": "Show Current Branch Pull Request",
  3876. "category": "GitLens"
  3877. },
  3878. {
  3879. "command": "gitlens.views.commits.setShowBranchPullRequestOff",
  3880. "title": "Hide Current Branch Pull Request",
  3881. "category": "GitLens"
  3882. },
  3883. {
  3884. "command": "gitlens.views.contributors.copy",
  3885. "title": "Copy",
  3886. "category": "GitLens"
  3887. },
  3888. {
  3889. "command": "gitlens.views.contributors.refresh",
  3890. "title": "Refresh",
  3891. "category": "GitLens",
  3892. "icon": "$(refresh)"
  3893. },
  3894. {
  3895. "command": "gitlens.views.contributors.setFilesLayoutToAuto",
  3896. "title": "Toggle Files View: Tree",
  3897. "category": "GitLens",
  3898. "icon": "$(list-tree)"
  3899. },
  3900. {
  3901. "command": "gitlens.views.contributors.setFilesLayoutToList",
  3902. "title": "Toggle Files View: Auto",
  3903. "category": "GitLens",
  3904. "icon": {
  3905. "dark": "images/dark/icon-view-auto.svg",
  3906. "light": "images/light/icon-view-auto.svg"
  3907. }
  3908. },
  3909. {
  3910. "command": "gitlens.views.contributors.setFilesLayoutToTree",
  3911. "title": "Toggle Files View: List",
  3912. "category": "GitLens",
  3913. "icon": "$(list-flat)"
  3914. },
  3915. {
  3916. "command": "gitlens.views.contributors.setShowAvatarsOn",
  3917. "title": "Show Avatars",
  3918. "category": "GitLens"
  3919. },
  3920. {
  3921. "command": "gitlens.views.contributors.setShowAvatarsOff",
  3922. "title": "Hide Avatars",
  3923. "category": "GitLens"
  3924. },
  3925. {
  3926. "command": "gitlens.views.fileHistory.changeBase",
  3927. "title": "Change Base...",
  3928. "category": "GitLens",
  3929. "icon": "$(history)"
  3930. },
  3931. {
  3932. "command": "gitlens.views.fileHistory.copy",
  3933. "title": "Copy",
  3934. "category": "GitLens"
  3935. },
  3936. {
  3937. "command": "gitlens.views.fileHistory.refresh",
  3938. "title": "Refresh",
  3939. "category": "GitLens",
  3940. "icon": "$(refresh)"
  3941. },
  3942. {
  3943. "command": "gitlens.views.fileHistory.setCursorFollowingOn",
  3944. "title": "Toggle History Mode: File",
  3945. "category": "GitLens",
  3946. "icon": "$(file)"
  3947. },
  3948. {
  3949. "command": "gitlens.views.fileHistory.setCursorFollowingOff",
  3950. "title": "Toggle History Mode: Selected Line(s)",
  3951. "category": "GitLens",
  3952. "icon": "$(list-selection)"
  3953. },
  3954. {
  3955. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3956. "title": "Unpin the Current History",
  3957. "category": "GitLens",
  3958. "icon": "$(pinned)"
  3959. },
  3960. {
  3961. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3962. "title": "Pin the Current History",
  3963. "category": "GitLens",
  3964. "icon": "$(pin)"
  3965. },
  3966. {
  3967. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3968. "title": "Toggle Renames: Don't Follow",
  3969. "category": "GitLens",
  3970. "enablement": "!config.gitlens.advanced.fileHistoryShowAllBranches"
  3971. },
  3972. {
  3973. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3974. "title": "Toggle Renames: Follow",
  3975. "category": "GitLens",
  3976. "enablement": "!config.gitlens.advanced.fileHistoryShowAllBranches"
  3977. },
  3978. {
  3979. "command": "gitlens.views.fileHistory.setShowAllBranchesOn",
  3980. "title": "Toggle Filter: Only Current Branch",
  3981. "category": "GitLens"
  3982. },
  3983. {
  3984. "command": "gitlens.views.fileHistory.setShowAllBranchesOff",
  3985. "title": "Toggle Filter: All Branches",
  3986. "category": "GitLens"
  3987. },
  3988. {
  3989. "command": "gitlens.views.fileHistory.setShowAvatarsOn",
  3990. "title": "Show Avatars",
  3991. "category": "GitLens"
  3992. },
  3993. {
  3994. "command": "gitlens.views.fileHistory.setShowAvatarsOff",
  3995. "title": "Hide Avatars",
  3996. "category": "GitLens"
  3997. },
  3998. {
  3999. "command": "gitlens.views.lineHistory.changeBase",
  4000. "title": "Change Base...",
  4001. "category": "GitLens",
  4002. "icon": "$(history)"
  4003. },
  4004. {
  4005. "command": "gitlens.views.lineHistory.copy",
  4006. "title": "Copy",
  4007. "category": "GitLens"
  4008. },
  4009. {
  4010. "command": "gitlens.views.lineHistory.refresh",
  4011. "title": "Refresh",
  4012. "category": "GitLens",
  4013. "icon": "$(refresh)"
  4014. },
  4015. {
  4016. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  4017. "title": "Unpin the Current History",
  4018. "category": "GitLens",
  4019. "icon": "$(pinned)"
  4020. },
  4021. {
  4022. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  4023. "title": "Pin the Current History",
  4024. "category": "GitLens",
  4025. "icon": "$(pin)"
  4026. },
  4027. {
  4028. "command": "gitlens.views.lineHistory.setShowAvatarsOn",
  4029. "title": "Show Avatars",
  4030. "category": "GitLens"
  4031. },
  4032. {
  4033. "command": "gitlens.views.lineHistory.setShowAvatarsOff",
  4034. "title": "Hide Avatars",
  4035. "category": "GitLens"
  4036. },
  4037. {
  4038. "command": "gitlens.views.remotes.copy",
  4039. "title": "Copy",
  4040. "category": "GitLens"
  4041. },
  4042. {
  4043. "command": "gitlens.views.remotes.refresh",
  4044. "title": "Refresh",
  4045. "category": "GitLens",
  4046. "icon": "$(refresh)"
  4047. },
  4048. {
  4049. "command": "gitlens.views.remotes.setLayoutToList",
  4050. "title": "Toggle View: Tree",
  4051. "category": "GitLens",
  4052. "icon": "$(list-tree)"
  4053. },
  4054. {
  4055. "command": "gitlens.views.remotes.setLayoutToTree",
  4056. "title": "Toggle View: List",
  4057. "category": "GitLens",
  4058. "icon": "$(list-flat)"
  4059. },
  4060. {
  4061. "command": "gitlens.views.remotes.setFilesLayoutToAuto",
  4062. "title": "Toggle Files View: Tree",
  4063. "category": "GitLens",
  4064. "icon": "$(list-tree)"
  4065. },
  4066. {
  4067. "command": "gitlens.views.remotes.setFilesLayoutToList",
  4068. "title": "Toggle Files View: Auto",
  4069. "category": "GitLens",
  4070. "icon": {
  4071. "dark": "images/dark/icon-view-auto.svg",
  4072. "light": "images/light/icon-view-auto.svg"
  4073. }
  4074. },
  4075. {
  4076. "command": "gitlens.views.remotes.setFilesLayoutToTree",
  4077. "title": "Toggle Files View: List",
  4078. "category": "GitLens",
  4079. "icon": "$(list-flat)"
  4080. },
  4081. {
  4082. "command": "gitlens.views.remotes.setShowAvatarsOn",
  4083. "title": "Show Avatars",
  4084. "category": "GitLens"
  4085. },
  4086. {
  4087. "command": "gitlens.views.remotes.setShowAvatarsOff",
  4088. "title": "Hide Avatars",
  4089. "category": "GitLens"
  4090. },
  4091. {
  4092. "command": "gitlens.views.remotes.setShowBranchPullRequestOn",
  4093. "title": "Show Branch Pull Requests",
  4094. "category": "GitLens"
  4095. },
  4096. {
  4097. "command": "gitlens.views.remotes.setShowBranchPullRequestOff",
  4098. "title": "Hide Branch Pull Requests",
  4099. "category": "GitLens"
  4100. },
  4101. {
  4102. "command": "gitlens.views.repositories.copy",
  4103. "title": "Copy",
  4104. "category": "GitLens"
  4105. },
  4106. {
  4107. "command": "gitlens.views.repositories.refresh",
  4108. "title": "Refresh",
  4109. "category": "GitLens",
  4110. "icon": "$(refresh)"
  4111. },
  4112. {
  4113. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  4114. "title": "Enable Automatic Refresh",
  4115. "category": "GitLens"
  4116. },
  4117. {
  4118. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  4119. "title": "Disable Automatic Refresh",
  4120. "category": "GitLens"
  4121. },
  4122. {
  4123. "command": "gitlens.views.repositories.setBranchesLayoutToList",
  4124. "title": "Toggle Branches View: Tree",
  4125. "category": "GitLens",
  4126. "icon": "$(list-tree)"
  4127. },
  4128. {
  4129. "command": "gitlens.views.repositories.setBranchesLayoutToTree",
  4130. "title": "Toggle Branches View: List",
  4131. "category": "GitLens",
  4132. "icon": "$(list-flat)"
  4133. },
  4134. {
  4135. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  4136. "title": "Toggle Files View: Tree",
  4137. "category": "GitLens",
  4138. "icon": "$(list-tree)"
  4139. },
  4140. {
  4141. "command": "gitlens.views.repositories.setFilesLayoutToList",
  4142. "title": "Toggle Files View: Auto",
  4143. "category": "GitLens",
  4144. "icon": {
  4145. "dark": "images/dark/icon-view-auto.svg",
  4146. "light": "images/light/icon-view-auto.svg"
  4147. }
  4148. },
  4149. {
  4150. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  4151. "title": "Toggle Files View: List",
  4152. "category": "GitLens",
  4153. "icon": "$(list-flat)"
  4154. },
  4155. {
  4156. "command": "gitlens.views.repositories.setShowAvatarsOn",
  4157. "title": "Show Avatars",
  4158. "category": "GitLens"
  4159. },
  4160. {
  4161. "command": "gitlens.views.repositories.setShowAvatarsOff",
  4162. "title": "Hide Avatars",
  4163. "category": "GitLens"
  4164. },
  4165. {
  4166. "command": "gitlens.views.searchAndCompare.clear",
  4167. "title": "Clear Results",
  4168. "category": "GitLens",
  4169. "icon": "$(clear-all)"
  4170. },
  4171. {
  4172. "command": "gitlens.views.searchAndCompare.copy",
  4173. "title": "Copy",
  4174. "category": "GitLens"
  4175. },
  4176. {
  4177. "command": "gitlens.views.searchAndCompare.pin",
  4178. "title": "Pin",
  4179. "category": "GitLens",
  4180. "icon": "$(pin)"
  4181. },
  4182. {
  4183. "command": "gitlens.views.searchAndCompare.unpin",
  4184. "title": "Unpin",
  4185. "category": "GitLens",
  4186. "icon": "$(pinned)"
  4187. },
  4188. {
  4189. "command": "gitlens.views.searchAndCompare.refresh",
  4190. "title": "Refresh",
  4191. "category": "GitLens",
  4192. "icon": "$(refresh)"
  4193. },
  4194. {
  4195. "command": "gitlens.views.searchAndCompare.searchCommits",
  4196. "title": "Search Commits...",
  4197. "category": "GitLens",
  4198. "icon": "$(search)"
  4199. },
  4200. {
  4201. "command": "gitlens.views.searchAndCompare.edit",
  4202. "title": "Edit...",
  4203. "category": "GitLens",
  4204. "icon": "$(edit)"
  4205. },
  4206. {
  4207. "command": "gitlens.views.searchAndCompare.selectForCompare",
  4208. "title": "Compare References...",
  4209. "category": "GitLens",
  4210. "icon": "$(compare-changes)"
  4211. },
  4212. {
  4213. "command": "gitlens.views.searchAndCompare.setFilesLayoutToAuto",
  4214. "title": "Toggle Files View: Tree",
  4215. "category": "GitLens",
  4216. "icon": "$(list-tree)"
  4217. },
  4218. {
  4219. "command": "gitlens.views.searchAndCompare.setFilesLayoutToList",
  4220. "title": "Toggle Files View: Auto",
  4221. "category": "GitLens",
  4222. "icon": {
  4223. "dark": "images/dark/icon-view-auto.svg",
  4224. "light": "images/light/icon-view-auto.svg"
  4225. }
  4226. },
  4227. {
  4228. "command": "gitlens.views.searchAndCompare.setFilesLayoutToTree",
  4229. "title": "Toggle Files View: List",
  4230. "category": "GitLens",
  4231. "icon": "$(list-flat)"
  4232. },
  4233. {
  4234. "command": "gitlens.views.searchAndCompare.setKeepResultsToOn",
  4235. "title": "Keep Results",
  4236. "category": "GitLens",
  4237. "icon": "$(unlock)"
  4238. },
  4239. {
  4240. "command": "gitlens.views.searchAndCompare.setKeepResultsToOff",
  4241. "title": "Keep Results",
  4242. "category": "GitLens",
  4243. "icon": "$(lock)"
  4244. },
  4245. {
  4246. "command": "gitlens.views.searchAndCompare.setShowAvatarsOn",
  4247. "title": "Show Avatars",
  4248. "category": "GitLens"
  4249. },
  4250. {
  4251. "command": "gitlens.views.searchAndCompare.setShowAvatarsOff",
  4252. "title": "Hide Avatars",
  4253. "category": "GitLens"
  4254. },
  4255. {
  4256. "command": "gitlens.views.searchAndCompare.swapComparison",
  4257. "title": "Swap Comparison",
  4258. "category": "GitLens",
  4259. "icon": {
  4260. "dark": "images/dark/icon-swap.svg",
  4261. "light": "images/light/icon-swap.svg"
  4262. }
  4263. },
  4264. {
  4265. "command": "gitlens.views.stashes.copy",
  4266. "title": "Copy",
  4267. "category": "GitLens"
  4268. },
  4269. {
  4270. "command": "gitlens.views.stashes.refresh",
  4271. "title": "Refresh",
  4272. "category": "GitLens",
  4273. "icon": "$(refresh)"
  4274. },
  4275. {
  4276. "command": "gitlens.views.stashes.setFilesLayoutToAuto",
  4277. "title": "Toggle Files View: Tree",
  4278. "category": "GitLens",
  4279. "icon": "$(list-tree)"
  4280. },
  4281. {
  4282. "command": "gitlens.views.stashes.setFilesLayoutToList",
  4283. "title": "Toggle Files View: Auto",
  4284. "category": "GitLens",
  4285. "icon": {
  4286. "dark": "images/dark/icon-view-auto.svg",
  4287. "light": "images/light/icon-view-auto.svg"
  4288. }
  4289. },
  4290. {
  4291. "command": "gitlens.views.stashes.setFilesLayoutToTree",
  4292. "title": "Toggle Files View: List",
  4293. "category": "GitLens",
  4294. "icon": "$(list-flat)"
  4295. },
  4296. {
  4297. "command": "gitlens.views.tags.copy",
  4298. "title": "Copy",
  4299. "category": "GitLens"
  4300. },
  4301. {
  4302. "command": "gitlens.views.tags.refresh",
  4303. "title": "Refresh",
  4304. "category": "GitLens",
  4305. "icon": "$(refresh)"
  4306. },
  4307. {
  4308. "command": "gitlens.views.tags.setLayoutToList",
  4309. "title": "Toggle View: Tree",
  4310. "category": "GitLens",
  4311. "icon": "$(list-tree)"
  4312. },
  4313. {
  4314. "command": "gitlens.views.tags.setLayoutToTree",
  4315. "title": "Toggle View: List",
  4316. "category": "GitLens",
  4317. "icon": "$(list-flat)"
  4318. },
  4319. {
  4320. "command": "gitlens.views.tags.setFilesLayoutToAuto",
  4321. "title": "Toggle Files View: Tree",
  4322. "category": "GitLens",
  4323. "icon": "$(list-tree)"
  4324. },
  4325. {
  4326. "command": "gitlens.views.tags.setFilesLayoutToList",
  4327. "title": "Toggle Files View: Auto",
  4328. "category": "GitLens",
  4329. "icon": {
  4330. "dark": "images/dark/icon-view-auto.svg",
  4331. "light": "images/light/icon-view-auto.svg"
  4332. }
  4333. },
  4334. {
  4335. "command": "gitlens.views.tags.setFilesLayoutToTree",
  4336. "title": "Toggle Files View: List",
  4337. "category": "GitLens",
  4338. "icon": "$(list-flat)"
  4339. },
  4340. {
  4341. "command": "gitlens.views.tags.setShowAvatarsOn",
  4342. "title": "Show Avatars",
  4343. "category": "GitLens"
  4344. },
  4345. {
  4346. "command": "gitlens.views.tags.setShowAvatarsOff",
  4347. "title": "Hide Avatars",
  4348. "category": "GitLens"
  4349. }
  4350. ],
  4351. "menus": {
  4352. "commandPalette": [
  4353. {
  4354. "command": "gitlens.showSettingsPage#views",
  4355. "when": "false"
  4356. },
  4357. {
  4358. "command": "gitlens.showSettingsPage#branches-view",
  4359. "when": "false"
  4360. },
  4361. {
  4362. "command": "gitlens.showSettingsPage#commits-view",
  4363. "when": "false"
  4364. },
  4365. {
  4366. "command": "gitlens.showSettingsPage#contributors-view",
  4367. "when": "false"
  4368. },
  4369. {
  4370. "command": "gitlens.showSettingsPage#file-history-view",
  4371. "when": "false"
  4372. },
  4373. {
  4374. "command": "gitlens.showSettingsPage#line-history-view",
  4375. "when": "false"
  4376. },
  4377. {
  4378. "command": "gitlens.showSettingsPage#remotes-view",
  4379. "when": "false"
  4380. },
  4381. {
  4382. "command": "gitlens.showSettingsPage#repositories-view",
  4383. "when": "false"
  4384. },
  4385. {
  4386. "command": "gitlens.showSettingsPage#search-compare-view",
  4387. "when": "false"
  4388. },
  4389. {
  4390. "command": "gitlens.showSettingsPage#stashes-view",
  4391. "when": "false"
  4392. },
  4393. {
  4394. "command": "gitlens.showSettingsPage#tags-view",
  4395. "when": "false"
  4396. },
  4397. {
  4398. "command": "gitlens.showBranchesView",
  4399. "when": "gitlens:enabled"
  4400. },
  4401. {
  4402. "command": "gitlens.showCommitsView",
  4403. "when": "gitlens:enabled"
  4404. },
  4405. {
  4406. "command": "gitlens.showContributorsView",
  4407. "when": "gitlens:enabled"
  4408. },
  4409. {
  4410. "command": "gitlens.showFileHistoryView",
  4411. "when": "gitlens:enabled"
  4412. },
  4413. {
  4414. "command": "gitlens.showLineHistoryView",
  4415. "when": "gitlens:enabled"
  4416. },
  4417. {
  4418. "command": "gitlens.showRemotesView",
  4419. "when": "gitlens:enabled"
  4420. },
  4421. {
  4422. "command": "gitlens.showRepositoriesView",
  4423. "when": "gitlens:enabled"
  4424. },
  4425. {
  4426. "command": "gitlens.showSearchAndCompareView",
  4427. "when": "gitlens:enabled"
  4428. },
  4429. {
  4430. "command": "gitlens.showStashesView",
  4431. "when": "gitlens:enabled"
  4432. },
  4433. {
  4434. "command": "gitlens.showTagsView",
  4435. "when": "gitlens:enabled"
  4436. },
  4437. {
  4438. "command": "gitlens.showWelcomeView",
  4439. "when": "gitlens:enabled"
  4440. },
  4441. {
  4442. "command": "gitlens.closeUpdatesView",
  4443. "when": "false"
  4444. },
  4445. {
  4446. "command": "gitlens.closeWelcomeView",
  4447. "when": "false"
  4448. },
  4449. {
  4450. "command": "gitlens.diffDirectory",
  4451. "when": "gitlens:enabled"
  4452. },
  4453. {
  4454. "command": "gitlens.diffDirectoryWithHead",
  4455. "when": "gitlens:enabled"
  4456. },
  4457. {
  4458. "command": "gitlens.diffHeadWith",
  4459. "when": "gitlens:enabled"
  4460. },
  4461. {
  4462. "command": "gitlens.diffWorkingWith",
  4463. "when": "gitlens:enabled"
  4464. },
  4465. {
  4466. "command": "gitlens.diffWithRevisionFrom",
  4467. "when": "gitlens:activeFileStatus =~ /tracked/"
  4468. },
  4469. {
  4470. "command": "gitlens.diffWithNext",
  4471. "when": "gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor"
  4472. },
  4473. {
  4474. "command": "gitlens.diffWithNextInDiffLeft",
  4475. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor"
  4476. },
  4477. {
  4478. "command": "gitlens.diffWithNextInDiffRight",
  4479. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor"
  4480. },
  4481. {
  4482. "command": "gitlens.diffWithPrevious",
  4483. "when": "gitlens:activeFileStatus =~ /tracked/ && !isInDiffEditor"
  4484. },
  4485. {
  4486. "command": "gitlens.diffWithPreviousInDiffLeft",
  4487. "when": "gitlens:activeFileStatus =~ /tracked/ && isInDiffEditor && !isInDiffRightEditor"
  4488. },
  4489. {
  4490. "command": "gitlens.diffWithPreviousInDiffRight",
  4491. "when": "gitlens:activeFileStatus =~ /tracked/ && isInDiffRightEditor"
  4492. },
  4493. {
  4494. "command": "gitlens.diffLineWithPrevious",
  4495. "when": "gitlens:activeFileStatus =~ /blameable/"
  4496. },
  4497. {
  4498. "command": "gitlens.diffWithRevision",
  4499. "when": "gitlens:activeFileStatus =~ /tracked/"
  4500. },
  4501. {
  4502. "command": "gitlens.diffWithWorking",
  4503. "when": "gitlens:activeFileStatus =~ /revision/"
  4504. },
  4505. {
  4506. "command": "gitlens.diffWithWorkingInDiffLeft",
  4507. "when": "false"
  4508. },
  4509. {
  4510. "command": "gitlens.diffWithWorkingInDiffRight",
  4511. "when": "false"
  4512. },
  4513. {
  4514. "command": "gitlens.diffLineWithWorking",
  4515. "when": "gitlens:activeFileStatus =~ /blameable/"
  4516. },
  4517. {
  4518. "command": "gitlens.externalDiff",
  4519. "when": "gitlens:activeFileStatus =~ /tracked/"
  4520. },
  4521. {
  4522. "command": "gitlens.externalDiffAll",
  4523. "when": "gitlens:enabled"
  4524. },
  4525. {
  4526. "command": "gitlens.toggleFileBlame",
  4527. "when": "gitlens:activeFileStatus =~ /blameable/"
  4528. },
  4529. {
  4530. "command": "gitlens.toggleFileBlameInDiffLeft",
  4531. "when": "false"
  4532. },
  4533. {
  4534. "command": "gitlens.toggleFileBlameInDiffRight",
  4535. "when": "false"
  4536. },
  4537. {
  4538. "command": "gitlens.clearFileAnnotations",
  4539. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  4540. },
  4541. {
  4542. "command": "gitlens.computingFileAnnotations",
  4543. "when": "false"
  4544. },
  4545. {
  4546. "command": "gitlens.toggleFileHeatmap",
  4547. "when": "gitlens:activeFileStatus =~ /blameable/"
  4548. },
  4549. {
  4550. "command": "gitlens.toggleFileHeatmapInDiffLeft",
  4551. "when": "false"
  4552. },
  4553. {
  4554. "command": "gitlens.toggleFileHeatmapInDiffRight",
  4555. "when": "false"
  4556. },
  4557. {
  4558. "command": "gitlens.toggleFileChanges",
  4559. "when": "gitlens:activeFileStatus =~ /blameable/ && !isInDiffEditor"
  4560. },
  4561. {
  4562. "command": "gitlens.toggleLineBlame",
  4563. "when": "!gitlens:disabled"
  4564. },
  4565. {
  4566. "command": "gitlens.toggleCodeLens",
  4567. "when": "!gitlens:disabled && !gitlens:disabledToggleCodeLens"
  4568. },
  4569. {
  4570. "command": "gitlens.gitCommands",
  4571. "when": "!gitlens:disabled && !gitlens:readonly"
  4572. },
  4573. {
  4574. "command": "gitlens.switchMode",
  4575. "when": "gitlens:enabled"
  4576. },
  4577. {
  4578. "command": "gitlens.toggleReviewMode",
  4579. "when": "gitlens:enabled"
  4580. },
  4581. {
  4582. "command": "gitlens.toggleZenMode",
  4583. "when": "gitlens:enabled"
  4584. },
  4585. {
  4586. "command": "gitlens.showCommitSearch",
  4587. "when": "gitlens:enabled"
  4588. },
  4589. {
  4590. "command": "gitlens.showLastQuickPick",
  4591. "when": "gitlens:enabled"
  4592. },
  4593. {
  4594. "command": "gitlens.revealCommitInView",
  4595. "when": "gitlens:activeFileStatus =~ /blameable/"
  4596. },
  4597. {
  4598. "command": "gitlens.showCommitInView",
  4599. "when": "gitlens:activeFileStatus =~ /blameable/"
  4600. },
  4601. {
  4602. "command": "gitlens.showCommitsInView",
  4603. "when": "gitlens:activeFileStatus =~ /blameable/"
  4604. },
  4605. {
  4606. "command": "gitlens.showFileHistoryInView",
  4607. "when": "gitlens:activeFileStatus =~ /tracked/"
  4608. },
  4609. {
  4610. "command": "gitlens.showQuickCommitDetails",
  4611. "when": "false"
  4612. },
  4613. {
  4614. "command": "gitlens.showQuickCommitFileDetails",
  4615. "when": "gitlens:activeFileStatus =~ /blameable/"
  4616. },
  4617. {
  4618. "command": "gitlens.showQuickRevisionDetails",
  4619. "when": "gitlens:activeFileStatus =~ /revision/"
  4620. },
  4621. {
  4622. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  4623. "when": "false"
  4624. },
  4625. {
  4626. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  4627. "when": "false"
  4628. },
  4629. {
  4630. "command": "gitlens.showQuickFileHistory",
  4631. "when": "gitlens:activeFileStatus =~ /tracked/"
  4632. },
  4633. {
  4634. "command": "gitlens.showQuickBranchHistory",
  4635. "when": "gitlens:enabled"
  4636. },
  4637. {
  4638. "command": "gitlens.showQuickRepoHistory",
  4639. "when": "gitlens:enabled"
  4640. },
  4641. {
  4642. "command": "gitlens.showQuickRepoStatus",
  4643. "when": "gitlens:enabled"
  4644. },
  4645. {
  4646. "command": "gitlens.showQuickStashList",
  4647. "when": "gitlens:enabled"
  4648. },
  4649. {
  4650. "command": "gitlens.connectRemoteProvider",
  4651. "when": "false"
  4652. },
  4653. {
  4654. "command": "gitlens.disconnectRemoteProvider",
  4655. "when": "false"
  4656. },
  4657. {
  4658. "command": "gitlens.copyMessageToClipboard",
  4659. "when": "gitlens:activeFileStatus =~ /blameable/"
  4660. },
  4661. {
  4662. "command": "gitlens.copyShaToClipboard",
  4663. "when": "gitlens:activeFileStatus =~ /blameable/"
  4664. },
  4665. {
  4666. "command": "gitlens.closeUnchangedFiles",
  4667. "when": "gitlens:enabled"
  4668. },
  4669. {
  4670. "command": "gitlens.openChangedFiles",
  4671. "when": "gitlens:enabled"
  4672. },
  4673. {
  4674. "command": "gitlens.openBranchesOnRemote",
  4675. "when": "gitlens:hasRemotes"
  4676. },
  4677. {
  4678. "command": "gitlens.copyRemoteBranchesUrl",
  4679. "when": "false"
  4680. },
  4681. {
  4682. "command": "gitlens.openBranchOnRemote",
  4683. "when": "gitlens:hasRemotes"
  4684. },
  4685. {
  4686. "command": "gitlens.copyRemoteBranchUrl",
  4687. "when": "false"
  4688. },
  4689. {
  4690. "command": "gitlens.openCommitOnRemote",
  4691. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  4692. },
  4693. {
  4694. "command": "gitlens.copyRemoteCommitUrl",
  4695. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  4696. },
  4697. {
  4698. "command": "gitlens.openComparisonOnRemote",
  4699. "when": "false"
  4700. },
  4701. {
  4702. "command": "gitlens.copyRemoteComparisonUrl",
  4703. "when": "false"
  4704. },
  4705. {
  4706. "command": "gitlens.openPullRequestOnRemote",
  4707. "when": "false"
  4708. },
  4709. {
  4710. "command": "gitlens.copyRemotePullRequestUrl",
  4711. "when": "false"
  4712. },
  4713. {
  4714. "command": "gitlens.openAssociatedPullRequestOnRemote",
  4715. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  4716. },
  4717. {
  4718. "command": "gitlens.openFileOnRemote",
  4719. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  4720. },
  4721. {
  4722. "command": "gitlens.copyRemoteFileUrlToClipboard",
  4723. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  4724. },
  4725. {
  4726. "command": "gitlens.openFileRevision",
  4727. "when": "gitlens:activeFileStatus =~ /tracked/"
  4728. },
  4729. {
  4730. "command": "gitlens.openFileRevisionFrom",
  4731. "when": "gitlens:activeFileStatus =~ /tracked/"
  4732. },
  4733. {
  4734. "command": "gitlens.openRepoOnRemote",
  4735. "when": "gitlens:hasRemotes"
  4736. },
  4737. {
  4738. "command": "gitlens.copyRemoteRepositoryUrl",
  4739. "when": "false"
  4740. },
  4741. {
  4742. "command": "gitlens.openRevisionFile",
  4743. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffEditor"
  4744. },
  4745. {
  4746. "command": "gitlens.openRevisionFileInDiffLeft",
  4747. "when": "false"
  4748. },
  4749. {
  4750. "command": "gitlens.openRevisionFileInDiffRight",
  4751. "when": "false"
  4752. },
  4753. {
  4754. "command": "gitlens.openWorkingFile",
  4755. "when": "gitlens:activeFileStatus =~ /revision/"
  4756. },
  4757. {
  4758. "command": "gitlens.openWorkingFileInDiffLeft",
  4759. "when": "false"
  4760. },
  4761. {
  4762. "command": "gitlens.openWorkingFileInDiffRight",
  4763. "when": "false"
  4764. },
  4765. {
  4766. "command": "gitlens.stashApply",
  4767. "when": "gitlens:enabled && !gitlens:readonly"
  4768. },
  4769. {
  4770. "command": "gitlens.views.deleteStash",
  4771. "when": "false"
  4772. },
  4773. {
  4774. "command": "gitlens.stashSave",
  4775. "when": "gitlens:enabled && !gitlens:readonly"
  4776. },
  4777. {
  4778. "command": "gitlens.stashSaveFiles",
  4779. "when": "false"
  4780. },
  4781. {
  4782. "command": "gitlens.resetSuppressedWarnings",
  4783. "when": "gitlens:enabled"
  4784. },
  4785. {
  4786. "command": "gitlens.inviteToLiveShare",
  4787. "when": "false"
  4788. },
  4789. {
  4790. "command": "gitlens.browseRepoAtRevision",
  4791. "when": "gitlens:activeFileStatus =~ /revision/"
  4792. },
  4793. {
  4794. "command": "gitlens.browseRepoAtRevisionInNewWindow",
  4795. "when": "gitlens:activeFileStatus =~ /revision/"
  4796. },
  4797. {
  4798. "command": "gitlens.views.browseRepoAtRevision",
  4799. "when": "false"
  4800. },
  4801. {
  4802. "command": "gitlens.views.browseRepoAtRevisionInNewWindow",
  4803. "when": "false"
  4804. },
  4805. {
  4806. "command": "gitlens.fetchRepositories",
  4807. "when": "gitlens:hasRemotes && !gitlens:readonly"
  4808. },
  4809. {
  4810. "command": "gitlens.pullRepositories",
  4811. "when": "gitlens:hasRemotes && !gitlens:readonly"
  4812. },
  4813. {
  4814. "command": "gitlens.pushRepositories",
  4815. "when": "gitlens:hasRemotes && !gitlens:readonly"
  4816. },
  4817. {
  4818. "command": "gitlens.views.addRemote",
  4819. "when": "false"
  4820. },
  4821. {
  4822. "command": "gitlens.views.highlightChanges",
  4823. "when": "false"
  4824. },
  4825. {
  4826. "command": "gitlens.views.highlightRevisionChanges",
  4827. "when": "false"
  4828. },
  4829. {
  4830. "command": "gitlens.views.restore",
  4831. "when": "false"
  4832. },
  4833. {
  4834. "command": "gitlens.views.switchToAnotherBranch",
  4835. "when": "false"
  4836. },
  4837. {
  4838. "command": "gitlens.views.switchToBranch",
  4839. "when": "false"
  4840. },
  4841. {
  4842. "command": "gitlens.views.switchToCommit",
  4843. "when": "false"
  4844. },
  4845. {
  4846. "command": "gitlens.views.switchToTag",
  4847. "when": "false"
  4848. },
  4849. {
  4850. "command": "gitlens.views.copy",
  4851. "when": "false"
  4852. },
  4853. {
  4854. "command": "gitlens.views.pruneRemote",
  4855. "when": "false"
  4856. },
  4857. {
  4858. "command": "gitlens.views.fetch",
  4859. "when": "false"
  4860. },
  4861. {
  4862. "command": "gitlens.views.publishBranch",
  4863. "when": "false"
  4864. },
  4865. {
  4866. "command": "gitlens.views.pull",
  4867. "when": "false"
  4868. },
  4869. {
  4870. "command": "gitlens.views.push",
  4871. "when": "false"
  4872. },
  4873. {
  4874. "command": "gitlens.views.pushWithForce",
  4875. "when": "false"
  4876. },
  4877. {
  4878. "command": "gitlens.views.openInTerminal",
  4879. "when": "false"
  4880. },
  4881. {
  4882. "command": "gitlens.views.setAsDefault",
  4883. "when": "false"
  4884. },
  4885. {
  4886. "command": "gitlens.views.unsetAsDefault",
  4887. "when": "false"
  4888. },
  4889. {
  4890. "command": "gitlens.views.stageDirectory",
  4891. "when": "false"
  4892. },
  4893. {
  4894. "command": "gitlens.views.stageFile",
  4895. "when": "false"
  4896. },
  4897. {
  4898. "command": "gitlens.views.unstageDirectory",
  4899. "when": "false"
  4900. },
  4901. {
  4902. "command": "gitlens.views.unstageFile",
  4903. "when": "false"
  4904. },
  4905. {
  4906. "command": "gitlens.views.star",
  4907. "when": "false"
  4908. },
  4909. {
  4910. "command": "gitlens.views.unstar",
  4911. "when": "false"
  4912. },
  4913. {
  4914. "command": "gitlens.views.openChanges",
  4915. "when": "false"
  4916. },
  4917. {
  4918. "command": "gitlens.views.openDirectoryDiff",
  4919. "when": "false"
  4920. },
  4921. {
  4922. "command": "gitlens.views.openDirectoryDiffWithWorking",
  4923. "when": "false"
  4924. },
  4925. {
  4926. "command": "gitlens.views.openChangesWithWorking",
  4927. "when": "false"
  4928. },
  4929. {
  4930. "command": "gitlens.views.openFile",
  4931. "when": "false"
  4932. },
  4933. {
  4934. "command": "gitlens.views.openFileRevision",
  4935. "when": "false"
  4936. },
  4937. {
  4938. "command": "gitlens.views.openChangedFiles",
  4939. "when": "false"
  4940. },
  4941. {
  4942. "command": "gitlens.views.openChangedFileDiffs",
  4943. "when": "false"
  4944. },
  4945. {
  4946. "command": "gitlens.views.openChangedFileDiffsWithWorking",
  4947. "when": "false"
  4948. },
  4949. {
  4950. "command": "gitlens.views.openChangedFileRevisions",
  4951. "when": "false"
  4952. },
  4953. {
  4954. "command": "gitlens.views.applyChanges",
  4955. "when": "false"
  4956. },
  4957. {
  4958. "command": "gitlens.views.closeRepository",
  4959. "when": "false"
  4960. },
  4961. {
  4962. "command": "gitlens.views.compareAncestryWithWorking",
  4963. "when": "false"
  4964. },
  4965. {
  4966. "command": "gitlens.views.compareWithHead",
  4967. "when": "false"
  4968. },
  4969. {
  4970. "command": "gitlens.views.compareWithUpstream",
  4971. "when": "false"
  4972. },
  4973. {
  4974. "command": "gitlens.views.compareWithSelected",
  4975. "when": "false"
  4976. },
  4977. {
  4978. "command": "gitlens.views.selectForCompare",
  4979. "when": "false"
  4980. },
  4981. {
  4982. "command": "gitlens.views.compareFileWithSelected",
  4983. "when": "false"
  4984. },
  4985. {
  4986. "command": "gitlens.views.selectFileForCompare",
  4987. "when": "false"
  4988. },
  4989. {
  4990. "command": "gitlens.views.compareWithWorking",
  4991. "when": "false"
  4992. },
  4993. {
  4994. "command": "gitlens.views.addAuthors",
  4995. "when": "false"
  4996. },
  4997. {
  4998. "command": "gitlens.views.addAuthor",
  4999. "when": "false"
  5000. },
  5001. {
  5002. "command": "gitlens.views.createBranch",
  5003. "when": "false"
  5004. },
  5005. {
  5006. "command": "gitlens.views.deleteBranch",
  5007. "when": "false"
  5008. },
  5009. {
  5010. "command": "gitlens.views.renameBranch",
  5011. "when": "false"
  5012. },
  5013. {
  5014. "command": "gitlens.views.cherryPick",
  5015. "when": "false"
  5016. },
  5017. {
  5018. "command": "gitlens.views.mergeBranchInto",
  5019. "when": "false"
  5020. },
  5021. {
  5022. "command": "gitlens.views.pushToCommit",
  5023. "when": "false"
  5024. },
  5025. {
  5026. "command": "gitlens.views.rebaseOntoBranch",
  5027. "when": "false"
  5028. },
  5029. {
  5030. "command": "gitlens.views.rebaseOntoCommit",
  5031. "when": "false"
  5032. },
  5033. {
  5034. "command": "gitlens.views.rebaseOntoUpstream",
  5035. "when": "false"
  5036. },
  5037. {
  5038. "command": "gitlens.views.resetCommit",
  5039. "when": "false"
  5040. },
  5041. {
  5042. "command": "gitlens.views.resetToCommit",
  5043. "when": "false"
  5044. },
  5045. {
  5046. "command": "gitlens.views.revert",
  5047. "when": "false"
  5048. },
  5049. {
  5050. "command": "gitlens.views.undoCommit",
  5051. "when": "false"
  5052. },
  5053. {
  5054. "command": "gitlens.views.terminalRemoveRemote",
  5055. "when": "false"
  5056. },
  5057. {
  5058. "command": "gitlens.views.createTag",
  5059. "when": "false"
  5060. },
  5061. {
  5062. "command": "gitlens.views.deleteTag",
  5063. "when": "false"
  5064. },
  5065. {
  5066. "command": "gitlens.views.setBranchComparisonToWorking",
  5067. "when": "false"
  5068. },
  5069. {
  5070. "command": "gitlens.views.setBranchComparisonToBranch",
  5071. "when": "false"
  5072. },
  5073. {
  5074. "command": "gitlens.views.clearNode",
  5075. "when": "false"
  5076. },
  5077. {
  5078. "command": "gitlens.views.dismissNode",
  5079. "when": "false"
  5080. },
  5081. {
  5082. "command": "gitlens.views.expandNode",
  5083. "when": "false"
  5084. },
  5085. {
  5086. "command": "gitlens.views.refreshNode",
  5087. "when": "false"
  5088. },
  5089. {
  5090. "command": "gitlens.views.loadMoreChildren",
  5091. "when": "false"
  5092. },
  5093. {
  5094. "command": "gitlens.views.loadAllChildren",
  5095. "when": "false"
  5096. },
  5097. {
  5098. "command": "gitlens.views.setShowRelativeDateMarkersOn",
  5099. "when": "false"
  5100. },
  5101. {
  5102. "command": "gitlens.views.setShowRelativeDateMarkersOff",
  5103. "when": "false"
  5104. },
  5105. {
  5106. "command": "gitlens.views.branches.copy",
  5107. "when": "false"
  5108. },
  5109. {
  5110. "command": "gitlens.views.branches.refresh",
  5111. "when": "false"
  5112. },
  5113. {
  5114. "command": "gitlens.views.branches.setLayoutToList",
  5115. "when": "false"
  5116. },
  5117. {
  5118. "command": "gitlens.views.branches.setLayoutToTree",
  5119. "when": "false"
  5120. },
  5121. {
  5122. "command": "gitlens.views.branches.setFilesLayoutToAuto",
  5123. "when": "false"
  5124. },
  5125. {
  5126. "command": "gitlens.views.branches.setFilesLayoutToList",
  5127. "when": "false"
  5128. },
  5129. {
  5130. "command": "gitlens.views.branches.setFilesLayoutToTree",
  5131. "when": "false"
  5132. },
  5133. {
  5134. "command": "gitlens.views.branches.setShowAvatarsOn",
  5135. "when": "false"
  5136. },
  5137. {
  5138. "command": "gitlens.views.branches.setShowAvatarsOff",
  5139. "when": "false"
  5140. },
  5141. {
  5142. "command": "gitlens.views.branches.setShowBranchComparisonOn",
  5143. "when": "false"
  5144. },
  5145. {
  5146. "command": "gitlens.views.branches.setShowBranchComparisonOff",
  5147. "when": "false"
  5148. },
  5149. {
  5150. "command": "gitlens.views.branches.setShowBranchPullRequestOn",
  5151. "when": "false"
  5152. },
  5153. {
  5154. "command": "gitlens.views.branches.setShowBranchPullRequestOff",
  5155. "when": "false"
  5156. },
  5157. {
  5158. "command": "gitlens.views.commits.copy",
  5159. "when": "false"
  5160. },
  5161. {
  5162. "command": "gitlens.views.commits.refresh",
  5163. "when": "false"
  5164. },
  5165. {
  5166. "command": "gitlens.views.commits.setFilesLayoutToAuto",
  5167. "when": "false"
  5168. },
  5169. {
  5170. "command": "gitlens.views.commits.setFilesLayoutToList",
  5171. "when": "false"
  5172. },
  5173. {
  5174. "command": "gitlens.views.commits.setFilesLayoutToTree",
  5175. "when": "false"
  5176. },
  5177. {
  5178. "command": "gitlens.views.commits.setMyCommitsOnlyOn",
  5179. "when": "false"
  5180. },
  5181. {
  5182. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  5183. "when": "false"
  5184. },
  5185. {
  5186. "command": "gitlens.views.commits.setShowAvatarsOn",
  5187. "when": "false"
  5188. },
  5189. {
  5190. "command": "gitlens.views.commits.setShowAvatarsOff",
  5191. "when": "false"
  5192. },
  5193. {
  5194. "command": "gitlens.views.commits.setShowBranchComparisonOn",
  5195. "when": "false"
  5196. },
  5197. {
  5198. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  5199. "when": "false"
  5200. },
  5201. {
  5202. "command": "gitlens.views.commits.setShowBranchPullRequestOn",
  5203. "when": "false"
  5204. },
  5205. {
  5206. "command": "gitlens.views.commits.setShowBranchPullRequestOff",
  5207. "when": "false"
  5208. },
  5209. {
  5210. "command": "gitlens.views.contributors.copy",
  5211. "when": "false"
  5212. },
  5213. {
  5214. "command": "gitlens.views.contributors.refresh",
  5215. "when": "false"
  5216. },
  5217. {
  5218. "command": "gitlens.views.contributors.setFilesLayoutToAuto",
  5219. "when": "false"
  5220. },
  5221. {
  5222. "command": "gitlens.views.contributors.setFilesLayoutToList",
  5223. "when": "false"
  5224. },
  5225. {
  5226. "command": "gitlens.views.contributors.setFilesLayoutToTree",
  5227. "when": "false"
  5228. },
  5229. {
  5230. "command": "gitlens.views.contributors.setShowAvatarsOn",
  5231. "when": "false"
  5232. },
  5233. {
  5234. "command": "gitlens.views.contributors.setShowAvatarsOff",
  5235. "when": "false"
  5236. },
  5237. {
  5238. "command": "gitlens.views.fileHistory.changeBase",
  5239. "when": "false"
  5240. },
  5241. {
  5242. "command": "gitlens.views.fileHistory.copy",
  5243. "when": "false"
  5244. },
  5245. {
  5246. "command": "gitlens.views.fileHistory.refresh",
  5247. "when": "false"
  5248. },
  5249. {
  5250. "command": "gitlens.views.fileHistory.setCursorFollowingOn",
  5251. "when": "false"
  5252. },
  5253. {
  5254. "command": "gitlens.views.fileHistory.setCursorFollowingOff",
  5255. "when": "false"
  5256. },
  5257. {
  5258. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  5259. "when": "false"
  5260. },
  5261. {
  5262. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  5263. "when": "false"
  5264. },
  5265. {
  5266. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  5267. "when": "false"
  5268. },
  5269. {
  5270. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  5271. "when": "false"
  5272. },
  5273. {
  5274. "command": "gitlens.views.fileHistory.setShowAllBranchesOn",
  5275. "when": "false"
  5276. },
  5277. {
  5278. "command": "gitlens.views.fileHistory.setShowAllBranchesOff",
  5279. "when": "false"
  5280. },
  5281. {
  5282. "command": "gitlens.views.fileHistory.setShowAvatarsOn",
  5283. "when": "false"
  5284. },
  5285. {
  5286. "command": "gitlens.views.fileHistory.setShowAvatarsOff",
  5287. "when": "false"
  5288. },
  5289. {
  5290. "command": "gitlens.views.lineHistory.changeBase",
  5291. "when": "false"
  5292. },
  5293. {
  5294. "command": "gitlens.views.lineHistory.copy",
  5295. "when": "false"
  5296. },
  5297. {
  5298. "command": "gitlens.views.lineHistory.refresh",
  5299. "when": "false"
  5300. },
  5301. {
  5302. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  5303. "when": "false"
  5304. },
  5305. {
  5306. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  5307. "when": "false"
  5308. },
  5309. {
  5310. "command": "gitlens.views.lineHistory.setShowAvatarsOn",
  5311. "when": "false"
  5312. },
  5313. {
  5314. "command": "gitlens.views.lineHistory.setShowAvatarsOff",
  5315. "when": "false"
  5316. },
  5317. {
  5318. "command": "gitlens.views.remotes.copy",
  5319. "when": "false"
  5320. },
  5321. {
  5322. "command": "gitlens.views.remotes.refresh",
  5323. "when": "false"
  5324. },
  5325. {
  5326. "command": "gitlens.views.remotes.setLayoutToList",
  5327. "when": "false"
  5328. },
  5329. {
  5330. "command": "gitlens.views.remotes.setLayoutToTree",
  5331. "when": "false"
  5332. },
  5333. {
  5334. "command": "gitlens.views.remotes.setFilesLayoutToAuto",
  5335. "when": "false"
  5336. },
  5337. {
  5338. "command": "gitlens.views.remotes.setFilesLayoutToList",
  5339. "when": "false"
  5340. },
  5341. {
  5342. "command": "gitlens.views.remotes.setFilesLayoutToTree",
  5343. "when": "false"
  5344. },
  5345. {
  5346. "command": "gitlens.views.remotes.setShowAvatarsOn",
  5347. "when": "false"
  5348. },
  5349. {
  5350. "command": "gitlens.views.remotes.setShowAvatarsOff",
  5351. "when": "false"
  5352. },
  5353. {
  5354. "command": "gitlens.views.remotes.setShowBranchPullRequestOn",
  5355. "when": "false"
  5356. },
  5357. {
  5358. "command": "gitlens.views.remotes.setShowBranchPullRequestOff",
  5359. "when": "false"
  5360. },
  5361. {
  5362. "command": "gitlens.views.repositories.copy",
  5363. "when": "false"
  5364. },
  5365. {
  5366. "command": "gitlens.views.repositories.refresh",
  5367. "when": "false"
  5368. },
  5369. {
  5370. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  5371. "when": "false"
  5372. },
  5373. {
  5374. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  5375. "when": "false"
  5376. },
  5377. {
  5378. "command": "gitlens.views.repositories.setBranchesLayoutToList",
  5379. "when": "false"
  5380. },
  5381. {
  5382. "command": "gitlens.views.repositories.setBranchesLayoutToTree",
  5383. "when": "false"
  5384. },
  5385. {
  5386. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  5387. "when": "false"
  5388. },
  5389. {
  5390. "command": "gitlens.views.repositories.setFilesLayoutToList",
  5391. "when": "false"
  5392. },
  5393. {
  5394. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  5395. "when": "false"
  5396. },
  5397. {
  5398. "command": "gitlens.views.repositories.setShowAvatarsOn",
  5399. "when": "false"
  5400. },
  5401. {
  5402. "command": "gitlens.views.repositories.setShowAvatarsOff",
  5403. "when": "false"
  5404. },
  5405. {
  5406. "command": "gitlens.views.searchAndCompare.clear",
  5407. "when": "false"
  5408. },
  5409. {
  5410. "command": "gitlens.views.searchAndCompare.copy",
  5411. "when": "false"
  5412. },
  5413. {
  5414. "command": "gitlens.views.searchAndCompare.pin",
  5415. "when": "false"
  5416. },
  5417. {
  5418. "command": "gitlens.views.searchAndCompare.unpin",
  5419. "when": "false"
  5420. },
  5421. {
  5422. "command": "gitlens.views.searchAndCompare.refresh",
  5423. "when": "false"
  5424. },
  5425. {
  5426. "command": "gitlens.views.searchAndCompare.searchCommits",
  5427. "when": "false"
  5428. },
  5429. {
  5430. "command": "gitlens.views.searchAndCompare.edit",
  5431. "when": "false"
  5432. },
  5433. {
  5434. "command": "gitlens.views.searchAndCompare.selectForCompare",
  5435. "when": "false"
  5436. },
  5437. {
  5438. "command": "gitlens.views.searchAndCompare.setFilesLayoutToAuto",
  5439. "when": "false"
  5440. },
  5441. {
  5442. "command": "gitlens.views.searchAndCompare.setFilesLayoutToList",
  5443. "when": "false"
  5444. },
  5445. {
  5446. "command": "gitlens.views.searchAndCompare.setFilesLayoutToTree",
  5447. "when": "false"
  5448. },
  5449. {
  5450. "command": "gitlens.views.searchAndCompare.setKeepResultsToOn",
  5451. "when": "false"
  5452. },
  5453. {
  5454. "command": "gitlens.views.searchAndCompare.setKeepResultsToOff",
  5455. "when": "false"
  5456. },
  5457. {
  5458. "command": "gitlens.views.searchAndCompare.setShowAvatarsOn",
  5459. "when": "false"
  5460. },
  5461. {
  5462. "command": "gitlens.views.searchAndCompare.setShowAvatarsOff",
  5463. "when": "false"
  5464. },
  5465. {
  5466. "command": "gitlens.views.searchAndCompare.swapComparison",
  5467. "when": "false"
  5468. },
  5469. {
  5470. "command": "gitlens.views.stashes.copy",
  5471. "when": "false"
  5472. },
  5473. {
  5474. "command": "gitlens.views.stashes.refresh",
  5475. "when": "false"
  5476. },
  5477. {
  5478. "command": "gitlens.views.stashes.setFilesLayoutToAuto",
  5479. "when": "false"
  5480. },
  5481. {
  5482. "command": "gitlens.views.stashes.setFilesLayoutToList",
  5483. "when": "false"
  5484. },
  5485. {
  5486. "command": "gitlens.views.stashes.setFilesLayoutToTree",
  5487. "when": "false"
  5488. },
  5489. {
  5490. "command": "gitlens.views.tags.copy",
  5491. "when": "false"
  5492. },
  5493. {
  5494. "command": "gitlens.views.tags.refresh",
  5495. "when": "false"
  5496. },
  5497. {
  5498. "command": "gitlens.views.tags.setLayoutToList",
  5499. "when": "false"
  5500. },
  5501. {
  5502. "command": "gitlens.views.tags.setLayoutToTree",
  5503. "when": "false"
  5504. },
  5505. {
  5506. "command": "gitlens.views.tags.setFilesLayoutToAuto",
  5507. "when": "false"
  5508. },
  5509. {
  5510. "command": "gitlens.views.tags.setFilesLayoutToList",
  5511. "when": "false"
  5512. },
  5513. {
  5514. "command": "gitlens.views.tags.setFilesLayoutToTree",
  5515. "when": "false"
  5516. },
  5517. {
  5518. "command": "gitlens.views.tags.setShowAvatarsOn",
  5519. "when": "false"
  5520. },
  5521. {
  5522. "command": "gitlens.views.tags.setShowAvatarsOff",
  5523. "when": "false"
  5524. }
  5525. ],
  5526. "editor/context": [
  5527. {
  5528. "submenu": "gitlens/editor/context/openChanges",
  5529. "when": "editorTextFocus && config.gitlens.menus.editor.compare",
  5530. "group": "2_gitlens@1"
  5531. },
  5532. {
  5533. "command": "gitlens.openCommitOnRemote",
  5534. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  5535. "group": "2_gitlens@2",
  5536. "alt": "gitlens.copyRemoteCommitUrl"
  5537. },
  5538. {
  5539. "command": "gitlens.openFileOnRemote",
  5540. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  5541. "group": "2_gitlens@3",
  5542. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5543. },
  5544. {
  5545. "command": "gitlens.showFileHistoryInView",
  5546. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  5547. "group": "2_gitlens@4"
  5548. },
  5549. {
  5550. "submenu": "gitlens/editor/annotations",
  5551. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  5552. "group": "2_gitlens_1@5"
  5553. },
  5554. {
  5555. "submenu": "gitlens/editor/context/copy",
  5556. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  5557. "group": "9_cutcopypaste@3"
  5558. }
  5559. ],
  5560. "editor/title": [
  5561. {
  5562. "command": "gitlens.diffWithWorking",
  5563. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && !isInDiffEditor",
  5564. "group": "navigation@-99"
  5565. },
  5566. {
  5567. "command": "gitlens.diffWithWorkingInDiffLeft",
  5568. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffEditor && !isInDiffRightEditor",
  5569. "group": "navigation@-99"
  5570. },
  5571. {
  5572. "command": "gitlens.diffWithWorkingInDiffRight",
  5573. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor",
  5574. "group": "navigation@-99"
  5575. },
  5576. {
  5577. "command": "gitlens.openWorkingFile",
  5578. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  5579. "group": "navigation@-98"
  5580. },
  5581. {
  5582. "command": "gitlens.openWorkingFile",
  5583. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && !isInDiffEditor",
  5584. "group": "navigation@-98"
  5585. },
  5586. {
  5587. "command": "gitlens.openWorkingFileInDiffLeft",
  5588. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffEditor && !isInDiffRightEditor",
  5589. "group": "navigation@-98"
  5590. },
  5591. {
  5592. "command": "gitlens.openWorkingFileInDiffRight",
  5593. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor",
  5594. "group": "navigation@-98"
  5595. },
  5596. {
  5597. "command": "gitlens.openRevisionFileInDiffLeft",
  5598. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffEditor && !isInDiffRightEditor",
  5599. "group": "navigation@-97"
  5600. },
  5601. {
  5602. "command": "gitlens.openRevisionFileInDiffRight",
  5603. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor",
  5604. "group": "navigation@-97"
  5605. },
  5606. {
  5607. "command": "gitlens.diffWithPrevious",
  5608. "alt": "gitlens.diffWithRevision",
  5609. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && !isInDiffEditor",
  5610. "group": "navigation@97"
  5611. },
  5612. {
  5613. "command": "gitlens.diffWithPreviousInDiffLeft",
  5614. "alt": "gitlens.diffWithRevision",
  5615. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor",
  5616. "group": "navigation@97"
  5617. },
  5618. {
  5619. "command": "gitlens.diffWithPreviousInDiffRight",
  5620. "alt": "gitlens.diffWithRevision",
  5621. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor",
  5622. "group": "navigation@97"
  5623. },
  5624. {
  5625. "command": "gitlens.showQuickRevisionDetails",
  5626. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && !isInDiffEditor",
  5627. "group": "navigation@98"
  5628. },
  5629. {
  5630. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  5631. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor",
  5632. "group": "navigation@98"
  5633. },
  5634. {
  5635. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  5636. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor",
  5637. "group": "navigation@98"
  5638. },
  5639. {
  5640. "command": "gitlens.diffWithNext",
  5641. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && !isInDiffEditor",
  5642. "group": "navigation@99"
  5643. },
  5644. {
  5645. "command": "gitlens.diffWithNextInDiffLeft",
  5646. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor",
  5647. "group": "navigation@99"
  5648. },
  5649. {
  5650. "command": "gitlens.diffWithNextInDiffRight",
  5651. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor",
  5652. "group": "navigation@99"
  5653. },
  5654. {
  5655. "submenu": "gitlens/editor/annotations",
  5656. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  5657. "group": "navigation@100"
  5658. },
  5659. {
  5660. "command": "gitlens.computingFileAnnotations",
  5661. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  5662. "group": "navigation@100"
  5663. },
  5664. {
  5665. "command": "gitlens.clearFileAnnotations",
  5666. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  5667. "group": "navigation@100"
  5668. }
  5669. ],
  5670. "editor/title/context": [
  5671. {
  5672. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5673. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.clipboard",
  5674. "group": "1_cutcopypaste@100"
  5675. },
  5676. {
  5677. "submenu": "gitlens/editor/openChanges",
  5678. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  5679. "group": "2_gitlens@0"
  5680. },
  5681. {
  5682. "command": "gitlens.openWorkingFile",
  5683. "when": "resourceScheme == gitlens",
  5684. "group": "2_gitlens@1"
  5685. },
  5686. {
  5687. "command": "gitlens.openFileOnRemote",
  5688. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.remote",
  5689. "group": "2_gitlens@2",
  5690. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5691. },
  5692. {
  5693. "command": "gitlens.showFileHistoryInView",
  5694. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  5695. "group": "2_gitlens@3"
  5696. }
  5697. ],
  5698. "explorer/context": [
  5699. {
  5700. "submenu": "gitlens/explorer/openChanges",
  5701. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  5702. "group": "4_gitlens@0"
  5703. },
  5704. {
  5705. "command": "gitlens.openFileOnRemote",
  5706. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  5707. "group": "4_gitlens@1",
  5708. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5709. },
  5710. {
  5711. "command": "gitlens.showFileHistoryInView",
  5712. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  5713. "group": "4_gitlens@2"
  5714. },
  5715. {
  5716. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5717. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.clipboard",
  5718. "group": "6_copypath@100"
  5719. }
  5720. ],
  5721. "extension/context": [
  5722. {
  5723. "command": "gitlens.showWelcomePage",
  5724. "when": "extension == eamodio.gitlens && extensionStatus == installed",
  5725. "group": "9_gitlens@1"
  5726. },
  5727. {
  5728. "command": "gitlens.showSettingsPage",
  5729. "when": "extension == eamodio.gitlens && extensionStatus == installed",
  5730. "group": "9_gitlens@2"
  5731. }
  5732. ],
  5733. "git.commit": [
  5734. {
  5735. "command": "gitlens.addAuthors",
  5736. "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scm.authors",
  5737. "group": "4_gitlens@1"
  5738. }
  5739. ],
  5740. "scm/resourceGroup/context": [
  5741. {
  5742. "command": "gitlens.stashSave",
  5743. "when": "gitlens:enabled && !gitlens:readonly && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroupInline.stash",
  5744. "group": "inline@-1"
  5745. },
  5746. {
  5747. "command": "gitlens.stashSave",
  5748. "when": "gitlens:enabled && !gitlens:readonly && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroup.stash",
  5749. "group": "1_modification@100"
  5750. },
  5751. {
  5752. "submenu": "gitlens/scm/resourceGroup/openChanges",
  5753. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroup.compare",
  5754. "group": "2_gitlens@3"
  5755. },
  5756. {
  5757. "command": "gitlens.openChangedFiles",
  5758. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroup.openClose",
  5759. "group": "3_gitlens@1"
  5760. },
  5761. {
  5762. "command": "gitlens.closeUnchangedFiles",
  5763. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroup.openClose",
  5764. "group": "3_gitlens@2"
  5765. }
  5766. ],
  5767. "scm/resourceState/context": [
  5768. {
  5769. "submenu": "gitlens/scm/resourceState/openChanges",
  5770. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.compare",
  5771. "group": "navigation"
  5772. },
  5773. {
  5774. "command": "gitlens.openFileOnRemote",
  5775. "when": "gitlens:enabled && gitlens:hasRemotes && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.remote",
  5776. "group": "navigation@98",
  5777. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  5778. },
  5779. {
  5780. "command": "gitlens.showFileHistoryInView",
  5781. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.history",
  5782. "group": "navigation@99"
  5783. },
  5784. {
  5785. "command": "gitlens.stashSaveFiles",
  5786. "when": "gitlens:enabled && !gitlens:readonly && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmItem.stash",
  5787. "group": "1_modification@2"
  5788. },
  5789. {
  5790. "command": "gitlens.copyRemoteFileUrlToClipboard",
  5791. "when": "gitlens:enabled && gitlens:hasRemotes && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.clipboard",
  5792. "group": "2_gitlens@1"
  5793. }
  5794. ],
  5795. "timeline/item/context": [
  5796. {
  5797. "command": "gitlens.openCommitOnRemote",
  5798. "when": "gitlens:enabled && gitlens:hasRemotes && timelineItem =~ /git:file:commit\\b/",
  5799. "group": "inline@99",
  5800. "alt": "gitlens.copyRemoteCommitUrl"
  5801. }
  5802. ],
  5803. "view/title": [
  5804. {
  5805. "command": "gitlens.closeUpdatesView",
  5806. "when": "view == gitlens.views.updates",
  5807. "group": "navigation@1"
  5808. },
  5809. {
  5810. "command": "gitlens.closeWelcomeView",
  5811. "when": "view == gitlens.views.welcome",
  5812. "group": "navigation@1"
  5813. },
  5814. {
  5815. "command": "gitlens.views.switchToAnotherBranch",
  5816. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.branches/",
  5817. "group": "navigation@10"
  5818. },
  5819. {
  5820. "command": "gitlens.views.createBranch",
  5821. "when": "!gitlens:readonly && view =~ /gitlens\\.views\\.branches\\b/",
  5822. "group": "navigation@11"
  5823. },
  5824. {
  5825. "command": "gitlens.views.branches.setLayoutToList",
  5826. "when": "view =~ /gitlens\\.views\\.branches/ && config.gitlens.views.branches.branches.layout == tree",
  5827. "group": "navigation@50"
  5828. },
  5829. {
  5830. "command": "gitlens.views.branches.setLayoutToTree",
  5831. "when": "view =~ /gitlens\\.views\\.branches/ && config.gitlens.views.branches.branches.layout == list",
  5832. "group": "navigation@50"
  5833. },
  5834. {
  5835. "command": "gitlens.views.branches.refresh",
  5836. "when": "view =~ /^gitlens\\.views\\.branches/",
  5837. "group": "navigation@99"
  5838. },
  5839. {
  5840. "command": "gitlens.views.branches.setFilesLayoutToAuto",
  5841. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.files.layout == tree",
  5842. "group": "3_gitlens@0"
  5843. },
  5844. {
  5845. "command": "gitlens.views.branches.setFilesLayoutToList",
  5846. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.files.layout == auto",
  5847. "group": "3_gitlens@0"
  5848. },
  5849. {
  5850. "command": "gitlens.views.branches.setFilesLayoutToTree",
  5851. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.files.layout == list",
  5852. "group": "3_gitlens@0"
  5853. },
  5854. {
  5855. "command": "gitlens.views.branches.setShowAvatarsOn",
  5856. "when": "view =~ /^gitlens\\.views\\.branches/ && !config.gitlens.views.branches.avatars",
  5857. "group": "5_gitlens@0"
  5858. },
  5859. {
  5860. "command": "gitlens.views.branches.setShowAvatarsOff",
  5861. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.avatars",
  5862. "group": "5_gitlens@0"
  5863. },
  5864. {
  5865. "command": "gitlens.views.branches.setShowBranchComparisonOn",
  5866. "when": "view =~ /^gitlens\\.views\\.branches/ && !config.gitlens.views.branches.showBranchComparison",
  5867. "group": "5_gitlens@1"
  5868. },
  5869. {
  5870. "command": "gitlens.views.branches.setShowBranchComparisonOff",
  5871. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.showBranchComparison",
  5872. "group": "5_gitlens@1"
  5873. },
  5874. {
  5875. "command": "gitlens.views.branches.setShowBranchPullRequestOn",
  5876. "when": "view =~ /^gitlens\\.views\\.branches/ && !config.gitlens.views.branches.pullRequests.enabled && !config.gitlens.views.branches.pullRequests.showForBranches",
  5877. "group": "5_gitlens@2"
  5878. },
  5879. {
  5880. "command": "gitlens.views.branches.setShowBranchPullRequestOff",
  5881. "when": "view =~ /^gitlens\\.views\\.branches/ && config.gitlens.views.branches.pullRequests.enabled && config.gitlens.views.branches.pullRequests.showForBranches",
  5882. "group": "5_gitlens@2"
  5883. },
  5884. {
  5885. "command": "gitlens.pushRepositories",
  5886. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.commits/",
  5887. "group": "navigation@1"
  5888. },
  5889. {
  5890. "command": "gitlens.pullRepositories",
  5891. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.commits/",
  5892. "group": "navigation@2"
  5893. },
  5894. {
  5895. "command": "gitlens.fetchRepositories",
  5896. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.commits/",
  5897. "group": "navigation@3"
  5898. },
  5899. {
  5900. "command": "gitlens.views.switchToAnotherBranch",
  5901. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.commits/",
  5902. "group": "navigation@10"
  5903. },
  5904. {
  5905. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  5906. "when": "view =~ /^gitlens\\.views\\.commits/ && gitlens:views:commits:myCommitsOnly",
  5907. "group": "navigation@50"
  5908. },
  5909. {
  5910. "command": "gitlens.views.commits.refresh",
  5911. "when": "view =~ /^gitlens\\.views\\.commits/",
  5912. "group": "navigation@99"
  5913. },
  5914. {
  5915. "command": "gitlens.views.commits.setMyCommitsOnlyOn",
  5916. "when": "view =~ /^gitlens\\.views\\.commits/ && !gitlens:views:commits:myCommitsOnly",
  5917. "group": "3_gitlens@0"
  5918. },
  5919. {
  5920. "command": "gitlens.views.commits.setMyCommitsOnlyOff",
  5921. "when": "view =~ /^gitlens\\.views\\.commits/ && gitlens:views:commits:myCommitsOnly",
  5922. "group": "3_gitlens@0"
  5923. },
  5924. {
  5925. "command": "gitlens.views.commits.setFilesLayoutToAuto",
  5926. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.files.layout == tree",
  5927. "group": "3_gitlens@1"
  5928. },
  5929. {
  5930. "command": "gitlens.views.commits.setFilesLayoutToList",
  5931. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.files.layout == auto",
  5932. "group": "3_gitlens@1"
  5933. },
  5934. {
  5935. "command": "gitlens.views.commits.setFilesLayoutToTree",
  5936. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.files.layout == list",
  5937. "group": "3_gitlens@1"
  5938. },
  5939. {
  5940. "command": "gitlens.views.commits.setShowAvatarsOn",
  5941. "when": "view =~ /^gitlens\\.views\\.commits/ && !config.gitlens.views.commits.avatars",
  5942. "group": "5_gitlens@0"
  5943. },
  5944. {
  5945. "command": "gitlens.views.commits.setShowAvatarsOff",
  5946. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.avatars",
  5947. "group": "5_gitlens@0"
  5948. },
  5949. {
  5950. "command": "gitlens.views.commits.setShowBranchComparisonOn",
  5951. "when": "view =~ /^gitlens\\.views\\.commits/ && !config.gitlens.views.commits.showBranchComparison",
  5952. "group": "5_gitlens@1"
  5953. },
  5954. {
  5955. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  5956. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.showBranchComparison",
  5957. "group": "5_gitlens@1"
  5958. },
  5959. {
  5960. "command": "gitlens.views.commits.setShowBranchPullRequestOn",
  5961. "when": "view =~ /^gitlens\\.views\\.commits/ && !config.gitlens.views.commits.pullRequests.enabled && !config.gitlens.views.commits.pullRequests.showForBranches",
  5962. "group": "5_gitlens@2"
  5963. },
  5964. {
  5965. "command": "gitlens.views.commits.setShowBranchPullRequestOff",
  5966. "when": "view =~ /^gitlens\\.views\\.commits/ && config.gitlens.views.commits.pullRequests.enabled && config.gitlens.views.commits.pullRequests.showForBranches",
  5967. "group": "5_gitlens@2"
  5968. },
  5969. {
  5970. "command": "gitlens.views.addAuthors",
  5971. "when": "view =~ /^gitlens\\.views\\.contributors/",
  5972. "group": "navigation@10"
  5973. },
  5974. {
  5975. "command": "gitlens.views.contributors.refresh",
  5976. "when": "view =~ /^gitlens\\.views\\.contributors/",
  5977. "group": "navigation@99"
  5978. },
  5979. {
  5980. "command": "gitlens.views.contributors.setFilesLayoutToAuto",
  5981. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == tree",
  5982. "group": "3_gitlens@0"
  5983. },
  5984. {
  5985. "command": "gitlens.views.contributors.setFilesLayoutToList",
  5986. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == auto",
  5987. "group": "3_gitlens@0"
  5988. },
  5989. {
  5990. "command": "gitlens.views.contributors.setFilesLayoutToTree",
  5991. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == list",
  5992. "group": "3_gitlens@0"
  5993. },
  5994. {
  5995. "command": "gitlens.views.contributors.setShowAvatarsOn",
  5996. "when": "view =~ /^gitlens\\.views\\.contributors/ && !config.gitlens.views.contributors.avatars",
  5997. "group": "5_gitlens@0"
  5998. },
  5999. {
  6000. "command": "gitlens.views.contributors.setShowAvatarsOff",
  6001. "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.avatars",
  6002. "group": "5_gitlens@0"
  6003. },
  6004. {
  6005. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  6006. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && gitlens:views:fileHistory:canPin && !gitlens:views:fileHistory:editorFollowing",
  6007. "group": "navigation@10"
  6008. },
  6009. {
  6010. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  6011. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && gitlens:views:fileHistory:canPin && gitlens:views:fileHistory:editorFollowing",
  6012. "group": "navigation@10"
  6013. },
  6014. {
  6015. "command": "gitlens.views.fileHistory.setCursorFollowingOn",
  6016. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !gitlens:views:fileHistory:cursorFollowing",
  6017. "group": "navigation@11"
  6018. },
  6019. {
  6020. "command": "gitlens.views.fileHistory.setCursorFollowingOff",
  6021. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && gitlens:views:fileHistory:cursorFollowing",
  6022. "group": "navigation@11"
  6023. },
  6024. {
  6025. "command": "gitlens.views.fileHistory.refresh",
  6026. "when": "view =~ /^gitlens\\.views\\.fileHistory/",
  6027. "group": "navigation@99"
  6028. },
  6029. {
  6030. "command": "gitlens.views.fileHistory.changeBase",
  6031. "when": "view =~ /^gitlens\\.views\\.fileHistory/",
  6032. "group": "1_gitlens@0"
  6033. },
  6034. {
  6035. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  6036. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !gitlens:views:fileHistory:cursorFollowing && !config.gitlens.advanced.fileHistoryFollowsRenames && !config.gitlens.advanced.fileHistoryShowAllBranches",
  6037. "group": "3_gitlens@1"
  6038. },
  6039. {
  6040. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  6041. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !gitlens:views:fileHistory:cursorFollowing && config.gitlens.advanced.fileHistoryShowAllBranches",
  6042. "group": "3_gitlens@1"
  6043. },
  6044. {
  6045. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  6046. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !gitlens:views:fileHistory:cursorFollowing && config.gitlens.advanced.fileHistoryFollowsRenames && !config.gitlens.advanced.fileHistoryShowAllBranches",
  6047. "group": "3_gitlens@1"
  6048. },
  6049. {
  6050. "command": "gitlens.views.fileHistory.setShowAllBranchesOn",
  6051. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !config.gitlens.advanced.fileHistoryShowAllBranches",
  6052. "group": "3_gitlens@2"
  6053. },
  6054. {
  6055. "command": "gitlens.views.fileHistory.setShowAllBranchesOff",
  6056. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && config.gitlens.advanced.fileHistoryShowAllBranches",
  6057. "group": "3_gitlens@2"
  6058. },
  6059. {
  6060. "command": "gitlens.views.fileHistory.setShowAvatarsOn",
  6061. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && !config.gitlens.views.fileHistory.avatars",
  6062. "group": "5_gitlens@0"
  6063. },
  6064. {
  6065. "command": "gitlens.views.fileHistory.setShowAvatarsOff",
  6066. "when": "view =~ /^gitlens\\.views\\.fileHistory/ && config.gitlens.views.fileHistory.avatars",
  6067. "group": "5_gitlens@0"
  6068. },
  6069. {
  6070. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  6071. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && !gitlens:views:lineHistory:editorFollowing",
  6072. "group": "navigation@10"
  6073. },
  6074. {
  6075. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  6076. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && gitlens:views:lineHistory:editorFollowing",
  6077. "group": "navigation@10"
  6078. },
  6079. {
  6080. "command": "gitlens.views.lineHistory.refresh",
  6081. "when": "view =~ /^gitlens\\.views\\.lineHistory/",
  6082. "group": "navigation@99"
  6083. },
  6084. {
  6085. "command": "gitlens.views.lineHistory.changeBase",
  6086. "when": "view =~ /^gitlens\\.views\\.lineHistory/",
  6087. "group": "1_gitlens@0"
  6088. },
  6089. {
  6090. "command": "gitlens.views.lineHistory.setShowAvatarsOn",
  6091. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && !config.gitlens.views.lineHistory.avatars",
  6092. "group": "5_gitlens@0"
  6093. },
  6094. {
  6095. "command": "gitlens.views.lineHistory.setShowAvatarsOff",
  6096. "when": "view =~ /^gitlens\\.views\\.lineHistory/ && config.gitlens.views.lineHistory.avatars",
  6097. "group": "5_gitlens@0"
  6098. },
  6099. {
  6100. "command": "gitlens.views.remotes.setLayoutToList",
  6101. "when": "view =~ /gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.branches.layout == tree",
  6102. "group": "navigation@50"
  6103. },
  6104. {
  6105. "command": "gitlens.views.remotes.setLayoutToTree",
  6106. "when": "view =~ /gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.branches.layout == list",
  6107. "group": "navigation@50"
  6108. },
  6109. {
  6110. "command": "gitlens.views.remotes.refresh",
  6111. "when": "view =~ /^gitlens\\.views\\.remotes/",
  6112. "group": "navigation@99"
  6113. },
  6114. {
  6115. "command": "gitlens.views.remotes.setFilesLayoutToAuto",
  6116. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.files.layout == tree",
  6117. "group": "3_gitlens@0"
  6118. },
  6119. {
  6120. "command": "gitlens.views.remotes.setFilesLayoutToList",
  6121. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.files.layout == auto",
  6122. "group": "3_gitlens@0"
  6123. },
  6124. {
  6125. "command": "gitlens.views.remotes.setFilesLayoutToTree",
  6126. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.files.layout == list",
  6127. "group": "3_gitlens@0"
  6128. },
  6129. {
  6130. "command": "gitlens.views.remotes.setShowAvatarsOn",
  6131. "when": "view =~ /^gitlens\\.views\\.remotes/ && !config.gitlens.views.remotes.avatars",
  6132. "group": "5_gitlens@0"
  6133. },
  6134. {
  6135. "command": "gitlens.views.remotes.setShowAvatarsOff",
  6136. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.avatars",
  6137. "group": "5_gitlens@0"
  6138. },
  6139. {
  6140. "command": "gitlens.views.remotes.setShowBranchPullRequestOn",
  6141. "when": "view =~ /^gitlens\\.views\\.remotes/ && !config.gitlens.views.remotes.pullRequests.enabled && !config.gitlens.views.remotes.pullRequests.showForBranches",
  6142. "group": "5_gitlens@2"
  6143. },
  6144. {
  6145. "command": "gitlens.views.remotes.setShowBranchPullRequestOff",
  6146. "when": "view =~ /^gitlens\\.views\\.remotes/ && config.gitlens.views.remotes.pullRequests.enabled && config.gitlens.views.remotes.pullRequests.showForBranches",
  6147. "group": "5_gitlens@2"
  6148. },
  6149. {
  6150. "command": "gitlens.pushRepositories",
  6151. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories/",
  6152. "group": "navigation@1"
  6153. },
  6154. {
  6155. "command": "gitlens.pullRepositories",
  6156. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories/",
  6157. "group": "navigation@2"
  6158. },
  6159. {
  6160. "command": "gitlens.fetchRepositories",
  6161. "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories/",
  6162. "group": "navigation@3"
  6163. },
  6164. {
  6165. "command": "gitlens.views.repositories.refresh",
  6166. "when": "view =~ /^gitlens\\.views\\.repositories/",
  6167. "group": "navigation@99"
  6168. },
  6169. {
  6170. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  6171. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  6172. "group": "2_gitlens@0"
  6173. },
  6174. {
  6175. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  6176. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  6177. "group": "2_gitlens@0"
  6178. },
  6179. {
  6180. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  6181. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.files.layout == tree",
  6182. "group": "3_gitlens@0"
  6183. },
  6184. {
  6185. "command": "gitlens.views.repositories.setFilesLayoutToList",
  6186. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.files.layout == auto",
  6187. "group": "3_gitlens@0"
  6188. },
  6189. {
  6190. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  6191. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.files.layout == list",
  6192. "group": "3_gitlens@0"
  6193. },
  6194. {
  6195. "command": "gitlens.views.repositories.setShowAvatarsOn",
  6196. "when": "view =~ /^gitlens\\.views\\.repositories/ && !config.gitlens.views.repositories.avatars",
  6197. "group": "5_gitlens@0"
  6198. },
  6199. {
  6200. "command": "gitlens.views.repositories.setShowAvatarsOff",
  6201. "when": "view =~ /^gitlens\\.views\\.repositories/ && config.gitlens.views.repositories.avatars",
  6202. "group": "5_gitlens@0"
  6203. },
  6204. {
  6205. "submenu": "gitlens/view/searchAndCompare/new",
  6206. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/",
  6207. "group": "navigation@10"
  6208. },
  6209. {
  6210. "command": "gitlens.views.searchAndCompare.setKeepResultsToOn",
  6211. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && !gitlens:views:searchAndCompare:keepResults",
  6212. "group": "navigation@12"
  6213. },
  6214. {
  6215. "command": "gitlens.views.searchAndCompare.setKeepResultsToOff",
  6216. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && gitlens:views:searchAndCompare:keepResults",
  6217. "group": "navigation@13"
  6218. },
  6219. {
  6220. "command": "gitlens.views.searchAndCompare.clear",
  6221. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/",
  6222. "group": "navigation@98"
  6223. },
  6224. {
  6225. "command": "gitlens.views.searchAndCompare.refresh",
  6226. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/",
  6227. "group": "navigation@99"
  6228. },
  6229. {
  6230. "command": "gitlens.views.searchAndCompare.setFilesLayoutToAuto",
  6231. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && config.gitlens.views.searchAndCompare.files.layout == tree",
  6232. "group": "3_gitlens@0"
  6233. },
  6234. {
  6235. "command": "gitlens.views.searchAndCompare.setFilesLayoutToList",
  6236. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && config.gitlens.views.searchAndCompare.files.layout == auto",
  6237. "group": "3_gitlens@0"
  6238. },
  6239. {
  6240. "command": "gitlens.views.searchAndCompare.setFilesLayoutToTree",
  6241. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && config.gitlens.views.searchAndCompare.files.layout == list",
  6242. "group": "3_gitlens@0"
  6243. },
  6244. {
  6245. "command": "gitlens.views.searchAndCompare.setShowAvatarsOn",
  6246. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && !config.gitlens.views.searchAndCompare.avatars",
  6247. "group": "5_gitlens@0"
  6248. },
  6249. {
  6250. "command": "gitlens.views.searchAndCompare.setShowAvatarsOff",
  6251. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/ && config.gitlens.views.searchAndCompare.avatars",
  6252. "group": "5_gitlens@0"
  6253. },
  6254. {
  6255. "command": "gitlens.stashSave",
  6256. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.stashes/",
  6257. "group": "navigation@10"
  6258. },
  6259. {
  6260. "command": "gitlens.stashApply",
  6261. "when": "!gitlens:readonly && view =~ /^gitlens\\.views\\.stashes/",
  6262. "group": "navigation@11"
  6263. },
  6264. {
  6265. "command": "gitlens.views.stashes.setFilesLayoutToAuto",
  6266. "when": "view =~ /^gitlens\\.views\\.stashes/ && config.gitlens.views.stashes.files.layout == tree",
  6267. "group": "3_gitlens@0"
  6268. },
  6269. {
  6270. "command": "gitlens.views.stashes.setFilesLayoutToList",
  6271. "when": "view =~ /^gitlens\\.views\\.stashes/ && config.gitlens.views.stashes.files.layout == auto",
  6272. "group": "3_gitlens@0"
  6273. },
  6274. {
  6275. "command": "gitlens.views.stashes.setFilesLayoutToTree",
  6276. "when": "view =~ /^gitlens\\.views\\.stashes/ && config.gitlens.views.stashes.files.layout == list",
  6277. "group": "3_gitlens@0"
  6278. },
  6279. {
  6280. "command": "gitlens.views.stashes.refresh",
  6281. "when": "view =~ /^gitlens\\.views\\.stashes/",
  6282. "group": "navigation@99"
  6283. },
  6284. {
  6285. "command": "gitlens.views.createTag",
  6286. "when": "!gitlens:readonly && view =~ /gitlens\\.views\\.tags\\b/",
  6287. "group": "navigation@10"
  6288. },
  6289. {
  6290. "command": "gitlens.views.tags.setLayoutToList",
  6291. "when": "view =~ /gitlens\\.views\\.tags/ && config.gitlens.views.tags.branches.layout == tree",
  6292. "group": "navigation@50"
  6293. },
  6294. {
  6295. "command": "gitlens.views.tags.setLayoutToTree",
  6296. "when": "view =~ /gitlens\\.views\\.tags/ && config.gitlens.views.tags.branches.layout == list",
  6297. "group": "navigation@50"
  6298. },
  6299. {
  6300. "command": "gitlens.views.tags.refresh",
  6301. "when": "view =~ /^gitlens\\.views\\.tags/",
  6302. "group": "navigation@99"
  6303. },
  6304. {
  6305. "command": "gitlens.views.tags.setFilesLayoutToAuto",
  6306. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.files.layout == tree",
  6307. "group": "3_gitlens@0"
  6308. },
  6309. {
  6310. "command": "gitlens.views.tags.setFilesLayoutToList",
  6311. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.files.layout == auto",
  6312. "group": "3_gitlens@0"
  6313. },
  6314. {
  6315. "command": "gitlens.views.tags.setFilesLayoutToTree",
  6316. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.files.layout == list",
  6317. "group": "3_gitlens@0"
  6318. },
  6319. {
  6320. "command": "gitlens.views.tags.setShowAvatarsOn",
  6321. "when": "view =~ /^gitlens\\.views\\.tags/ && !config.gitlens.views.tags.avatars",
  6322. "group": "5_gitlens@0"
  6323. },
  6324. {
  6325. "command": "gitlens.views.tags.setShowAvatarsOff",
  6326. "when": "view =~ /^gitlens\\.views\\.tags/ && config.gitlens.views.tags.avatars",
  6327. "group": "5_gitlens@0"
  6328. },
  6329. {
  6330. "command": "gitlens.views.setShowRelativeDateMarkersOn",
  6331. "when": "view =~ /^gitlens\\.views\\.(repositories|commits|fileHistory|branches|remotes|tags)/ && !config.gitlens.views.showRelativeDateMarkers",
  6332. "group": "5_gitlens@3"
  6333. },
  6334. {
  6335. "command": "gitlens.views.setShowRelativeDateMarkersOff",
  6336. "when": "view =~ /^gitlens\\.views\\.(repositories|commits|fileHistory|branches|remotes|tags)/ && config.gitlens.views.showRelativeDateMarkers",
  6337. "group": "5_gitlens@3"
  6338. },
  6339. {
  6340. "command": "gitlens.showSettingsPage#branches-view",
  6341. "when": "view =~ /^gitlens\\.views\\.branches/",
  6342. "group": "9_gitlens@1"
  6343. },
  6344. {
  6345. "command": "gitlens.showSettingsPage#commits-view",
  6346. "when": "view =~ /^gitlens\\.views\\.commits/",
  6347. "group": "9_gitlens@1"
  6348. },
  6349. {
  6350. "command": "gitlens.showSettingsPage#contributors-view",
  6351. "when": "view =~ /^gitlens\\.views\\.contributors/",
  6352. "group": "9_gitlens@1"
  6353. },
  6354. {
  6355. "command": "gitlens.showSettingsPage#file-history-view",
  6356. "when": "view =~ /^gitlens\\.views\\.fileHistory/",
  6357. "group": "9_gitlens@1"
  6358. },
  6359. {
  6360. "command": "gitlens.showSettingsPage#line-history-view",
  6361. "when": "view =~ /^gitlens\\.views\\.lineHistory/",
  6362. "group": "9_gitlens@1"
  6363. },
  6364. {
  6365. "command": "gitlens.showSettingsPage#remotes-view",
  6366. "when": "view =~ /^gitlens\\.views\\.remotes/",
  6367. "group": "9_gitlens@1"
  6368. },
  6369. {
  6370. "command": "gitlens.showSettingsPage#repositories-view",
  6371. "when": "view =~ /^gitlens\\.views\\.repositories/",
  6372. "group": "9_gitlens@1"
  6373. },
  6374. {
  6375. "command": "gitlens.showSettingsPage#search-compare-view",
  6376. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/",
  6377. "group": "9_gitlens@1"
  6378. },
  6379. {
  6380. "command": "gitlens.showSettingsPage#stashes-view",
  6381. "when": "view =~ /^gitlens\\.views\\.stashes/",
  6382. "group": "9_gitlens@1"
  6383. },
  6384. {
  6385. "command": "gitlens.showSettingsPage#tags-view",
  6386. "when": "view =~ /^gitlens\\.views\\.tags/",
  6387. "group": "9_gitlens@1"
  6388. },
  6389. {
  6390. "command": "gitlens.supportGitLens",
  6391. "when": "view =~ /^gitlens\\.views\\.(?!(welcome|updates))/",
  6392. "group": "9_gitlens@-1"
  6393. }
  6394. ],
  6395. "view/item/context": [
  6396. {
  6397. "command": "gitlens.views.repositories.setBranchesLayoutToList",
  6398. "when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == tree",
  6399. "group": "inline@1"
  6400. },
  6401. {
  6402. "command": "gitlens.views.repositories.setBranchesLayoutToTree",
  6403. "when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == list",
  6404. "group": "inline@1"
  6405. },
  6406. {
  6407. "command": "gitlens.openBranchesOnRemote",
  6408. "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/",
  6409. "group": "inline@98",
  6410. "alt": "gitlens.copyRemoteBranchesUrl"
  6411. },
  6412. {
  6413. "command": "gitlens.openBranchesOnRemote",
  6414. "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/",
  6415. "group": "1_gitlens@1",
  6416. "alt": "gitlens.copyRemoteBranchesUrl"
  6417. },
  6418. {
  6419. "command": "gitlens.views.switchToBranch",
  6420. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6421. "group": "inline@7"
  6422. },
  6423. {
  6424. "command": "gitlens.views.switchToAnotherBranch",
  6425. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
  6426. "group": "inline@7"
  6427. },
  6428. {
  6429. "command": "gitlens.views.publishBranch",
  6430. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+tracking\\b)/",
  6431. "group": "inline@8"
  6432. },
  6433. {
  6434. "command": "gitlens.views.push",
  6435. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+ahead\\b)(?!.*?\\b\\+behind\\b)/",
  6436. "group": "inline@8"
  6437. },
  6438. {
  6439. "command": "gitlens.views.pull",
  6440. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/",
  6441. "group": "inline@9"
  6442. },
  6443. {
  6444. "command": "gitlens.views.undoCommit",
  6445. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+HEAD\\b)(?=.*?\\b\\+unpublished\\b)/",
  6446. "group": "inline@96"
  6447. },
  6448. {
  6449. "command": "gitlens.views.compareWithHead",
  6450. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/",
  6451. "group": "inline@97",
  6452. "alt": "gitlens.views.compareWithWorking"
  6453. },
  6454. {
  6455. "command": "gitlens.views.compareWithWorking",
  6456. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
  6457. "group": "inline@97"
  6458. },
  6459. {
  6460. "command": "gitlens.views.star",
  6461. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
  6462. "group": "inline@98"
  6463. },
  6464. {
  6465. "command": "gitlens.views.unstar",
  6466. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/",
  6467. "group": "inline@98"
  6468. },
  6469. {
  6470. "command": "gitlens.openBranchOnRemote",
  6471. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
  6472. "group": "inline@99",
  6473. "alt": "gitlens.copyRemoteBranchUrl"
  6474. },
  6475. {
  6476. "command": "gitlens.views.switchToAnotherBranch",
  6477. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
  6478. "group": "1_gitlens_actions@1"
  6479. },
  6480. {
  6481. "command": "gitlens.views.switchToBranch",
  6482. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6483. "group": "1_gitlens_actions@1"
  6484. },
  6485. {
  6486. "command": "gitlens.views.mergeBranchInto",
  6487. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6488. "group": "1_gitlens_actions@3"
  6489. },
  6490. {
  6491. "command": "gitlens.views.rebaseOntoBranch",
  6492. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6493. "group": "1_gitlens_actions@4"
  6494. },
  6495. {
  6496. "command": "gitlens.views.rebaseOntoUpstream",
  6497. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)/",
  6498. "group": "1_gitlens_actions@4"
  6499. },
  6500. {
  6501. "command": "gitlens.views.deleteBranch",
  6502. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6503. "group": "1_gitlens_actions@5"
  6504. },
  6505. {
  6506. "command": "gitlens.views.renameBranch",
  6507. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
  6508. "group": "1_gitlens_actions@6"
  6509. },
  6510. {
  6511. "command": "gitlens.views.createBranch",
  6512. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
  6513. "group": "1_gitlens_actions@7"
  6514. },
  6515. {
  6516. "command": "gitlens.views.createTag",
  6517. "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
  6518. "group": "1_gitlens_actions@8"
  6519. },
  6520. {
  6521. "command": "gitlens.openBranchOnRemote",
  6522. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
  6523. "group": "2_gitlens_quickopen@1",
  6524. "alt": "gitlens.copyRemoteBranchUrl"
  6525. },
  6526. {
  6527. "command": "gitlens.views.openDirectoryDiffWithWorking",
  6528. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  6529. "group": "3_gitlens_explore@2"
  6530. },
  6531. {
  6532. "command": "gitlens.views.compareWithUpstream",
  6533. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/",
  6534. "group": "4_gitlens_compare@1"
  6535. },
  6536. {
  6537. "command": "gitlens.views.compareWithHead",
  6538. "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/",
  6539. "group": "4_gitlens_compare@2"
  6540. },
  6541. {
  6542. "command": "gitlens.views.compareWithWorking",
  6543. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  6544. "group": "4_gitlens_compare@3"
  6545. },
  6546. {
  6547. "command": "gitlens.views.compareAncestryWithWorking",
  6548. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
  6549. "group": "4_gitlens_compare@4"
  6550. },
  6551. {
  6552. "command": "gitlens.views.compareWithSelected",
  6553. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
  6554. "group": "4_gitlens_compare@98"
  6555. },
  6556. {
  6557. "command": "gitlens.views.selectForCompare",
  6558. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  6559. "group": "4_gitlens_compare@99"
  6560. },
  6561. {
  6562. "command": "gitlens.views.compareFileWithSelected",
  6563. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:views:canCompare:file",
  6564. "group": "4_gitlens_compare@98"
  6565. },
  6566. {
  6567. "command": "gitlens.views.selectFileForCompare",
  6568. "when": "viewItem =~ /gitlens:file\\b/",
  6569. "group": "4_gitlens_compare@99"
  6570. },
  6571. {
  6572. "command": "gitlens.views.star",
  6573. "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
  6574. "group": "8_gitlens_actions@1"
  6575. },
  6576. {
  6577. "command": "gitlens.views.unstar",
  6578. "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/",
  6579. "group": "8_gitlens_actions@1"
  6580. },
  6581. {
  6582. "command": "gitlens.views.addAuthors",
  6583. "when": "viewItem =~ /gitlens:contributors\\b/",
  6584. "group": "inline@1"
  6585. },
  6586. {
  6587. "command": "gitlens.views.addAuthors",
  6588. "when": "viewItem =~ /gitlens:contributors\\b/",
  6589. "group": "1_gitlens_actions@1"
  6590. },
  6591. {
  6592. "command": "gitlens.inviteToLiveShare",
  6593. "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6594. "group": "inline@1"
  6595. },
  6596. {
  6597. "command": "gitlens.views.addAuthor",
  6598. "when": "viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6599. "group": "inline@2"
  6600. },
  6601. {
  6602. "command": "gitlens.views.copy",
  6603. "when": "viewItem =~ /gitlens:contributor\\b/",
  6604. "group": "inline@98"
  6605. },
  6606. {
  6607. "command": "gitlens.inviteToLiveShare",
  6608. "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6609. "group": "1_gitlens_actions@1"
  6610. },
  6611. {
  6612. "command": "gitlens.views.addAuthor",
  6613. "when": "viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/",
  6614. "group": "1_gitlens_actions@2"
  6615. },
  6616. {
  6617. "command": "gitlens.copyShaToClipboard",
  6618. "when": "viewItem =~ /gitlens:commit\\b/",
  6619. "group": "inline@98",
  6620. "alt": "gitlens.copyMessageToClipboard"
  6621. },
  6622. {
  6623. "command": "gitlens.openCommitOnRemote",
  6624. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  6625. "group": "inline@99",
  6626. "alt": "gitlens.copyRemoteCommitUrl"
  6627. },
  6628. {
  6629. "command": "gitlens.views.cherryPick",
  6630. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+current\\b)/",
  6631. "group": "1_gitlens_actions@1"
  6632. },
  6633. {
  6634. "command": "gitlens.views.undoCommit",
  6635. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+HEAD\\b)(?=.*?\\b\\+unpublished\\b)/",
  6636. "group": "1_gitlens_actions@1"
  6637. },
  6638. {
  6639. "command": "gitlens.views.revert",
  6640. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6641. "group": "1_gitlens_actions@2"
  6642. },
  6643. {
  6644. "command": "gitlens.views.resetToCommit",
  6645. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6646. "group": "1_gitlens_actions@3"
  6647. },
  6648. {
  6649. "command": "gitlens.views.resetCommit",
  6650. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6651. "group": "1_gitlens_actions@4"
  6652. },
  6653. {
  6654. "command": "gitlens.views.pushToCommit",
  6655. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
  6656. "group": "1_gitlens_actions@5"
  6657. },
  6658. {
  6659. "command": "gitlens.views.rebaseOntoCommit",
  6660. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6661. "group": "1_gitlens_actions@6"
  6662. },
  6663. {
  6664. "command": "gitlens.views.switchToCommit",
  6665. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6666. "group": "1_gitlens_actions@7"
  6667. },
  6668. {
  6669. "command": "gitlens.views.createBranch",
  6670. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6671. "group": "1_gitlens_actions_1@1"
  6672. },
  6673. {
  6674. "command": "gitlens.views.createTag",
  6675. "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
  6676. "group": "1_gitlens_actions_1@2"
  6677. },
  6678. {
  6679. "submenu": "gitlens/commit/openChanges",
  6680. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  6681. "group": "2_gitlens_quickopen@1"
  6682. },
  6683. {
  6684. "command": "gitlens.openCommitOnRemote",
  6685. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  6686. "group": "3_gitlens_explore@0",
  6687. "alt": "gitlens.copyRemoteCommitUrl"
  6688. },
  6689. {
  6690. "command": "gitlens.showCommitInView",
  6691. "when": "viewItem =~ /gitlens:commit\\b/",
  6692. "group": "3_gitlens_explore@2"
  6693. },
  6694. {
  6695. "command": "gitlens.revealCommitInView",
  6696. "when": "view =~ /gitlens\\.views\\.(?!commits|branches\\b)/ && viewItem =~ /gitlens:commit\\b/",
  6697. "group": "3_gitlens_explore@3"
  6698. },
  6699. {
  6700. "submenu": "gitlens/commit/copy",
  6701. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file\\b(?=.*?\\b\\+committed\\b))\\b/",
  6702. "group": "7_gitlens_cutcopypaste@2"
  6703. },
  6704. {
  6705. "command": "gitlens.views.openFile",
  6706. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/",
  6707. "group": "inline@1"
  6708. },
  6709. {
  6710. "command": "gitlens.views.undoCommit",
  6711. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+HEAD\\b)(?=.*?\\b\\+unpublished\\b)/",
  6712. "group": "inline@-1"
  6713. },
  6714. {
  6715. "command": "gitlens.views.openFile",
  6716. "when": "view =~ /gitlens\\.views\\.(?!(fileHistory|lineHistory)\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+(committed|stashed)\\b)/",
  6717. "group": "inline@1",
  6718. "alt": "gitlens.views.openFileRevision"
  6719. },
  6720. {
  6721. "command": "gitlens.views.openFileRevision",
  6722. "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory)\\b/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+(committed|stashed)\\b)/",
  6723. "group": "inline@1",
  6724. "alt": "gitlens.views.openFile"
  6725. },
  6726. {
  6727. "command": "gitlens.views.openChangesWithWorking",
  6728. "when": "viewItem =~ /gitlens:file\\b(?!.*?\\b\\+unstaged\\b)/",
  6729. "group": "inline@96"
  6730. },
  6731. {
  6732. "command": "gitlens.views.stageFile",
  6733. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+unstaged\\b)/",
  6734. "group": "inline@97"
  6735. },
  6736. {
  6737. "command": "gitlens.views.unstageFile",
  6738. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+staged\\b)/",
  6739. "group": "inline@97"
  6740. },
  6741. {
  6742. "command": "gitlens.copyShaToClipboard",
  6743. "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory)\\b/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/",
  6744. "group": "inline@98",
  6745. "alt": "gitlens.copyMessageToClipboard"
  6746. },
  6747. {
  6748. "command": "gitlens.openFileOnRemote",
  6749. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/ && gitlens:hasRemotes",
  6750. "group": "inline@99",
  6751. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  6752. },
  6753. {
  6754. "command": "gitlens.views.stageFile",
  6755. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+unstaged\\b)/",
  6756. "group": "1_gitlens_actions@1"
  6757. },
  6758. {
  6759. "command": "gitlens.views.unstageFile",
  6760. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+staged\\b)/",
  6761. "group": "1_gitlens_actions@1"
  6762. },
  6763. {
  6764. "command": "gitlens.stashSaveFiles",
  6765. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+(un)?staged\\b)/",
  6766. "group": "1_gitlens_actions@2"
  6767. },
  6768. {
  6769. "command": "gitlens.views.openChanges",
  6770. "when": "viewItem =~ /gitlens:file\\b/",
  6771. "group": "2_gitlens_quickopen@1"
  6772. },
  6773. {
  6774. "submenu": "gitlens/commit/file/openChanges",
  6775. "when": "viewItem =~ /gitlens:file\\b/",
  6776. "group": "2_gitlens_quickopen@2"
  6777. },
  6778. {
  6779. "command": "gitlens.views.openFile",
  6780. "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
  6781. "group": "2_gitlens_quickopen@3"
  6782. },
  6783. {
  6784. "command": "gitlens.views.openFileRevision",
  6785. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+(committed|stashed)\\b)|:results)/",
  6786. "group": "2_gitlens_quickopen@4"
  6787. },
  6788. {
  6789. "command": "gitlens.openFileOnRemote",
  6790. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/ && gitlens:hasRemotes",
  6791. "group": "2_gitlens_quickopen@5",
  6792. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  6793. },
  6794. {
  6795. "command": "gitlens.showFileHistoryInView",
  6796. "when": "view != gitlens.views.fileHistory && viewItem =~ /gitlens:file\\b/",
  6797. "group": "2_gitlens_quickopen@6"
  6798. },
  6799. {
  6800. "command": "gitlens.openCommitOnRemote",
  6801. "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
  6802. "group": "3_gitlens_explore@0",
  6803. "alt": "gitlens.copyRemoteCommitUrl"
  6804. },
  6805. {
  6806. "command": "gitlens.showCommitInView",
  6807. "when": "viewItem =~ /gitlens:file\\b(?!(+stashed|:status))/",
  6808. "group": "3_gitlens_explore@3"
  6809. },
  6810. {
  6811. "command": "gitlens.revealCommitInView",
  6812. "when": "viewItem =~ /gitlens:file\\b(?!(+stashed|:status))/",
  6813. "group": "3_gitlens_explore@4"
  6814. },
  6815. {
  6816. "command": "gitlens.views.applyChanges",
  6817. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+stashed\\b)/",
  6818. "group": "1_gitlens_actions@1"
  6819. },
  6820. {
  6821. "command": "gitlens.views.restore",
  6822. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+stashed\\b)/",
  6823. "group": "1_gitlens_actions@2"
  6824. },
  6825. {
  6826. "command": "gitlens.views.applyChanges",
  6827. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results\\b)/",
  6828. "group": "8_gitlens_actions@1"
  6829. },
  6830. {
  6831. "command": "gitlens.views.restore",
  6832. "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results\\b)/",
  6833. "group": "8_gitlens_actions@2"
  6834. },
  6835. {
  6836. "command": "gitlens.openFileOnRemote",
  6837. "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  6838. "group": "5_gitlens_open@2",
  6839. "alt": "gitlens.copyRemoteFileUrlToClipboard"
  6840. },
  6841. {
  6842. "command": "gitlens.openPullRequestOnRemote",
  6843. "when": "viewItem =~ /gitlens:pullrequest\\b/",
  6844. "group": "inline@99",
  6845. "alt": "gitlens.copyRemotePullRequestUrl"
  6846. },
  6847. {
  6848. "command": "gitlens.views.addRemote",
  6849. "when": "!gitlens:readonly && viewItem =~ /gitlens:remotes\\b/",
  6850. "group": "inline@1"
  6851. },
  6852. {
  6853. "command": "gitlens.views.addRemote",
  6854. "when": "!gitlens:readonly && viewItem =~ /gitlens:remotes\\b/",
  6855. "group": "1_gitlens_actions@1"
  6856. },
  6857. {
  6858. "command": "gitlens.views.fetch",
  6859. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6860. "group": "inline@97"
  6861. },
  6862. {
  6863. "command": "gitlens.connectRemoteProvider",
  6864. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+disconnected\\b)/",
  6865. "group": "inline@98"
  6866. },
  6867. {
  6868. "command": "gitlens.disconnectRemoteProvider",
  6869. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+connected\\b)/",
  6870. "group": "inline@98"
  6871. },
  6872. {
  6873. "command": "gitlens.openRepoOnRemote",
  6874. "when": "viewItem =~ /gitlens:remote\\b/",
  6875. "group": "inline@99",
  6876. "alt": "gitlens.copyRemoteRepositoryUrl"
  6877. },
  6878. {
  6879. "command": "gitlens.views.fetch",
  6880. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6881. "group": "1_gitlens_actions@1"
  6882. },
  6883. {
  6884. "command": "gitlens.views.pruneRemote",
  6885. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6886. "group": "1_gitlens_actions@2"
  6887. },
  6888. {
  6889. "command": "gitlens.openRepoOnRemote",
  6890. "when": "viewItem =~ /gitlens:remote\\b/",
  6891. "group": "5_gitlens_open@1",
  6892. "alt": "gitlens.copyRemoteRepositoryUrl"
  6893. },
  6894. {
  6895. "command": "gitlens.openBranchesOnRemote",
  6896. "when": "viewItem =~ /gitlens:remote\\b/",
  6897. "group": "5_gitlens_open@2",
  6898. "alt": "gitlens.copyRemoteBranchesUrl"
  6899. },
  6900. {
  6901. "command": "gitlens.views.terminalRemoveRemote",
  6902. "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
  6903. "group": "6_gitlens_terminal@1"
  6904. },
  6905. {
  6906. "command": "gitlens.views.setAsDefault",
  6907. "when": "viewItem =~ /gitlens:remote\\b(?!.*?\\b\\+default\\b)/",
  6908. "group": "8_gitlens_actions@1"
  6909. },
  6910. {
  6911. "command": "gitlens.views.unsetAsDefault",
  6912. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+default\\b)/",
  6913. "group": "8_gitlens_actions@1"
  6914. },
  6915. {
  6916. "command": "gitlens.connectRemoteProvider",
  6917. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+disconnected\\b)/",
  6918. "group": "8_gitlens_actions@2"
  6919. },
  6920. {
  6921. "command": "gitlens.disconnectRemoteProvider",
  6922. "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+connected\\b)/",
  6923. "group": "8_gitlens_actions@2"
  6924. },
  6925. {
  6926. "submenu": "gitlens/commit/browse",
  6927. "when": "viewItem =~ /gitlens:(branch|commit|file\\b((?=.*?\\b\\+committed\\b)|:results)|stash|tag)\\b/",
  6928. "group": "3_gitlens_explore@1"
  6929. },
  6930. {
  6931. "command": "gitlens.views.push",
  6932. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6933. "group": "inline@95",
  6934. "alt": "gitlens.views.pushWithForce"
  6935. },
  6936. {
  6937. "command": "gitlens.views.pull",
  6938. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6939. "group": "inline@96"
  6940. },
  6941. {
  6942. "command": "gitlens.views.fetch",
  6943. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6944. "group": "inline@97"
  6945. },
  6946. {
  6947. "command": "gitlens.showCommitSearch",
  6948. "when": "viewItem =~ /gitlens:repository\\b/",
  6949. "group": "inline@98"
  6950. },
  6951. {
  6952. "command": "gitlens.views.star",
  6953. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/",
  6954. "group": "inline@99"
  6955. },
  6956. {
  6957. "command": "gitlens.views.unstar",
  6958. "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/",
  6959. "group": "inline@99"
  6960. },
  6961. {
  6962. "command": "gitlens.views.fetch",
  6963. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6964. "group": "1_gitlens_actions@1"
  6965. },
  6966. {
  6967. "command": "gitlens.views.pull",
  6968. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6969. "group": "1_gitlens_actions@1"
  6970. },
  6971. {
  6972. "command": "gitlens.views.push",
  6973. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6974. "group": "1_gitlens_actions@1"
  6975. },
  6976. {
  6977. "command": "gitlens.views.pushWithForce",
  6978. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  6979. "group": "1_gitlens_actions@2"
  6980. },
  6981. {
  6982. "command": "gitlens.views.openInTerminal",
  6983. "when": "viewItem =~ /gitlens:repository\\b/",
  6984. "group": "2_gitlens_quickopen@1"
  6985. },
  6986. {
  6987. "command": "gitlens.openRepoOnRemote",
  6988. "when": "viewItem =~ /gitlens:repository\\b/ && gitlens:hasRemotes",
  6989. "group": "2_gitlens_quickopen@2",
  6990. "alt": "gitlens.copyRemoteRepositoryUrl"
  6991. },
  6992. {
  6993. "command": "gitlens.showCommitSearch",
  6994. "when": "viewItem =~ /gitlens:repository\\b/",
  6995. "group": "3_gitlens_explore@1"
  6996. },
  6997. {
  6998. "command": "gitlens.stashSave",
  6999. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  7000. "group": "1_gitlens_actions_1@1"
  7001. },
  7002. {
  7003. "command": "gitlens.stashApply",
  7004. "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
  7005. "group": "1_gitlens_actions_1@2"
  7006. },
  7007. {
  7008. "command": "gitlens.views.star",
  7009. "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/",
  7010. "group": "8_gitlens_actions_@1"
  7011. },
  7012. {
  7013. "command": "gitlens.views.unstar",
  7014. "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/",
  7015. "group": "8_gitlens_actions_@1"
  7016. },
  7017. {
  7018. "command": "gitlens.views.closeRepository",
  7019. "when": "viewItem =~ /gitlens:repository\\b/",
  7020. "group": "8_gitlens_actions_@2"
  7021. },
  7022. {
  7023. "command": "gitlens.views.publishBranch",
  7024. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:none",
  7025. "group": "inline@1"
  7026. },
  7027. {
  7028. "command": "gitlens.views.push",
  7029. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  7030. "group": "inline@1",
  7031. "alt": "gitlens.views.pushWithForce"
  7032. },
  7033. {
  7034. "command": "gitlens.views.pull",
  7035. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  7036. "group": "inline@1"
  7037. },
  7038. {
  7039. "command": "gitlens.views.fetch",
  7040. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:status:upstream:(?!none)/",
  7041. "group": "inline@2"
  7042. },
  7043. {
  7044. "command": "gitlens.openBranchOnRemote",
  7045. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:status:upstream:(?!none)/",
  7046. "group": "inline@99",
  7047. "alt": "gitlens.copyRemoteBranchUrl"
  7048. },
  7049. {
  7050. "command": "gitlens.views.push",
  7051. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  7052. "group": "1_gitlens_actions@1"
  7053. },
  7054. {
  7055. "command": "gitlens.views.pushWithForce",
  7056. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
  7057. "group": "1_gitlens_actions@2"
  7058. },
  7059. {
  7060. "command": "gitlens.views.pull",
  7061. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
  7062. "group": "1_gitlens_actions@1"
  7063. },
  7064. {
  7065. "command": "gitlens.views.fetch",
  7066. "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:status:upstream:(?!none)/",
  7067. "group": "1_gitlens_actions@3"
  7068. },
  7069. {
  7070. "command": "gitlens.views.dismissNode",
  7071. "when": "viewItem =~ /gitlens:(compare:picker|(compare|search):results(?!:)\\b(?!.*?\\b\\+pinned\\b))\\b(?!:(commits|files))/",
  7072. "group": "inline@99"
  7073. },
  7074. {
  7075. "command": "gitlens.views.clearNode",
  7076. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)/",
  7077. "group": "inline@99"
  7078. },
  7079. {
  7080. "command": "gitlens.views.setBranchComparisonToWorking",
  7081. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+branch\\b)/",
  7082. "group": "inline@2"
  7083. },
  7084. {
  7085. "command": "gitlens.views.setBranchComparisonToBranch",
  7086. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+working\\b)/",
  7087. "group": "inline@2"
  7088. },
  7089. {
  7090. "command": "gitlens.views.setBranchComparisonToWorking",
  7091. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+branch\\b)/",
  7092. "group": "1_gitlens@2"
  7093. },
  7094. {
  7095. "command": "gitlens.views.setBranchComparisonToBranch",
  7096. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+working\\b)/",
  7097. "group": "1_gitlens@2"
  7098. },
  7099. {
  7100. "command": "gitlens.views.branches.setShowBranchComparisonOff",
  7101. "when": "view =~ /gitlens\\.views\\.branches\\b/ && viewItem =~ /gitlens:compare:branch\\b/",
  7102. "group": "8_gitlens@1"
  7103. },
  7104. {
  7105. "command": "gitlens.views.commits.setShowBranchComparisonOff",
  7106. "when": "view =~ /gitlens\\.views\\.commits\\b/ && viewItem =~ /gitlens:compare:branch\\b/",
  7107. "group": "8_gitlens@1"
  7108. },
  7109. {
  7110. "command": "gitlens.views.clearNode",
  7111. "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)/",
  7112. "group": "9_gitlens@1"
  7113. },
  7114. {
  7115. "command": "gitlens.views.searchAndCompare.swapComparison",
  7116. "when": "viewItem =~ /gitlens:compare:results(?!:)\\b/",
  7117. "group": "inline@1"
  7118. },
  7119. {
  7120. "command": "gitlens.views.refreshNode",
  7121. "when": "viewItem =~ /gitlens:compare:(branch(?=.*?\\b\\+comparing\\b)|results(?!:))\\b/",
  7122. "group": "inline@97"
  7123. },
  7124. {
  7125. "command": "gitlens.views.refreshNode",
  7126. "when": "viewItem =~ /gitlens:search:results(?!:)\\b/",
  7127. "group": "inline@97"
  7128. },
  7129. {
  7130. "command": "gitlens.views.searchAndCompare.pin",
  7131. "when": "viewItem =~ /gitlens:(compare|search):results(?!:)\\b(?!.*?\\b\\+pinned\\b)/",
  7132. "group": "inline@98"
  7133. },
  7134. {
  7135. "command": "gitlens.views.searchAndCompare.unpin",
  7136. "when": "viewItem =~ /gitlens:(compare|search):results(?!:)\\b(?=.*?\\b\\+pinned\\b)/",
  7137. "group": "inline@98"
  7138. },
  7139. {
  7140. "command": "gitlens.views.searchAndCompare.swapComparison",
  7141. "when": "viewItem =~ /gitlens:compare:results(?!:)\\b/",
  7142. "group": "1_gitlens_actions@2"
  7143. },
  7144. {
  7145. "command": "gitlens.views.openDirectoryDiff",
  7146. "when": "viewItem =~ /gitlens:compare:results(?!:)\\b/",
  7147. "group": "2_gitlens_quickopen@1"
  7148. },
  7149. {
  7150. "command": "gitlens.views.searchAndCompare.pin",
  7151. "when": "viewItem =~ /gitlens:(compare|search):results(?!:)\\b(?!.*?\\b\\+pinned\\b)/",
  7152. "group": "8_gitlens_actions@1"
  7153. },
  7154. {
  7155. "command": "gitlens.views.searchAndCompare.unpin",
  7156. "when": "viewItem =~ /gitlens:(compare|search):results(?!:)\\b(?=.*?\\b\\+pinned\\b)/",
  7157. "group": "8_gitlens_actions@1"
  7158. },
  7159. {
  7160. "command": "gitlens.views.searchAndCompare.edit",
  7161. "when": "viewItem =~ /gitlens:search:results(?!:)\\b/",
  7162. "group": "inline@1"
  7163. },
  7164. {
  7165. "command": "gitlens.views.searchAndCompare.edit",
  7166. "when": "viewItem =~ /gitlens:search:results(?!:)\\b/",
  7167. "group": "1_gitlens_actions@1"
  7168. },
  7169. {
  7170. "command": "gitlens.openComparisonOnRemote",
  7171. "when": "viewItem =~ /gitlens:compare:results:commits\\b/",
  7172. "group": "inline@99",
  7173. "alt": "gitlens.copyRemoteComparisonUrl"
  7174. },
  7175. {
  7176. "command": "gitlens.openComparisonOnRemote",
  7177. "when": "viewItem =~ /gitlens:compare:results:commits\\b/",
  7178. "group": "3_gitlens_explore@0",
  7179. "alt": "gitlens.copyRemoteComparisonUrl"
  7180. },
  7181. {
  7182. "command": "gitlens.stashSave",
  7183. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  7184. "group": "inline@98"
  7185. },
  7186. {
  7187. "command": "gitlens.stashApply",
  7188. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  7189. "group": "inline@99"
  7190. },
  7191. {
  7192. "command": "gitlens.stashSave",
  7193. "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
  7194. "group": "1_gitlens_actions@1"
  7195. },
  7196. {
  7197. "command": "gitlens.stashApply",
  7198. "when": "!gitlens:readonly && viewItem == gitlens:stashes",
  7199. "group": "1_gitlens_actions@2"
  7200. },
  7201. {
  7202. "command": "gitlens.stashApply",
  7203. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7204. "group": "inline@1"
  7205. },
  7206. {
  7207. "command": "gitlens.views.deleteStash",
  7208. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7209. "group": "inline@99"
  7210. },
  7211. {
  7212. "command": "gitlens.stashApply",
  7213. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7214. "group": "1_gitlens_actions@1"
  7215. },
  7216. {
  7217. "command": "gitlens.views.deleteStash",
  7218. "when": "!gitlens:readonly && viewItem == gitlens:stash",
  7219. "group": "1_gitlens_actions@2"
  7220. },
  7221. {
  7222. "command": "gitlens.views.switchToTag",
  7223. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  7224. "group": "inline@10"
  7225. },
  7226. {
  7227. "command": "gitlens.views.switchToTag",
  7228. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  7229. "group": "1_gitlens_actions@1"
  7230. },
  7231. {
  7232. "command": "gitlens.views.deleteTag",
  7233. "when": "!gitlens:readonly && viewItem == gitlens:tag",
  7234. "group": "1_gitlens_actions@2"
  7235. },
  7236. {
  7237. "command": "gitlens.views.createBranch",
  7238. "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
  7239. "group": "1_gitlens_actions@3"
  7240. },
  7241. {
  7242. "command": "gitlens.views.stageDirectory",
  7243. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7244. "group": "inline@1"
  7245. },
  7246. {
  7247. "command": "gitlens.views.unstageDirectory",
  7248. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7249. "group": "inline@2"
  7250. },
  7251. {
  7252. "command": "gitlens.views.stageDirectory",
  7253. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7254. "group": "1_gitlens_actions@1"
  7255. },
  7256. {
  7257. "command": "gitlens.views.unstageDirectory",
  7258. "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
  7259. "group": "1_gitlens_actions@2"
  7260. },
  7261. {
  7262. "command": "gitlens.views.copy",
  7263. "when": "viewItem =~ /gitlens:(?=(branch|commit|contributor|folder|history:line|pullrequest|remote|repository|stash|tag)\\b)/",
  7264. "group": "7_gitlens_cutcopypaste@1"
  7265. },
  7266. {
  7267. "command": "gitlens.views.copy",
  7268. "when": "viewItem =~ /gitlens:file(?!.*?\\b\\+(staged|unstaged))\\b/",
  7269. "group": "7_gitlens_cutcopypaste@1"
  7270. },
  7271. {
  7272. "command": "gitlens.views.dismissNode",
  7273. "when": "viewItem =~ /gitlens:(compare:picker:ref|(compare|search):results(?!:)\\b(?!.*?\\b\\+pinned\\b))\\b(?!:(commits|files))/",
  7274. "group": "8_gitlens_actions@98"
  7275. },
  7276. {
  7277. "command": "gitlens.views.expandNode",
  7278. "when": "viewItem =~ /gitlens:(branch|compare|folder|results|search|status)\\b/",
  7279. "group": "9_gitlens@1"
  7280. },
  7281. {
  7282. "command": "gitlens.views.refreshNode",
  7283. "when": "viewItem =~ /gitlens:(?!(file|message|date-marker)\\b)/",
  7284. "group": "9_gitlens@99"
  7285. },
  7286. {
  7287. "command": "gitlens.views.loadAllChildren",
  7288. "when": "viewItem =~ /gitlens:pager\\b/",
  7289. "group": "inline@1"
  7290. },
  7291. {
  7292. "command": "gitlens.views.loadAllChildren",
  7293. "when": "viewItem =~ /gitlens:pager\\b/",
  7294. "group": "1_gitlens_actions@1"
  7295. },
  7296. {
  7297. "command": "gitlens.views.setShowRelativeDateMarkersOff",
  7298. "when": "viewItem == gitlens:date-marker && config.gitlens.views.showRelativeDateMarkers",
  7299. "group": "1_gitlens@0"
  7300. }
  7301. ],
  7302. "gitlens/commit/browse": [
  7303. {
  7304. "command": "gitlens.views.browseRepoAtRevision",
  7305. "group": "1_gitlens@1"
  7306. },
  7307. {
  7308. "command": "gitlens.views.browseRepoAtRevisionInNewWindow",
  7309. "group": "1_gitlens@2"
  7310. }
  7311. ],
  7312. "gitlens/commit/copy": [
  7313. {
  7314. "command": "gitlens.copyShaToClipboard",
  7315. "when": "viewItem =~ /gitlens:(?!stash\\b)/",
  7316. "group": "1_gitlens@1"
  7317. },
  7318. {
  7319. "command": "gitlens.copyMessageToClipboard",
  7320. "group": "1_gitlens@2"
  7321. },
  7322. {
  7323. "command": "gitlens.copyRemoteCommitUrl",
  7324. "when": "viewItem =~ /gitlens:(commit|file\\b(?=.*?\\b\\+committed\\b))/ && gitlens:hasRemotes",
  7325. "group": "2_gitlens@1"
  7326. },
  7327. {
  7328. "command": "gitlens.copyRemoteFileUrlToClipboard",
  7329. "when": "viewItem =~ /gitlens:(file\\b(?=.*?\\b\\+committed\\b)|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
  7330. "group": "2_gitlens@2"
  7331. }
  7332. ],
  7333. "gitlens/commit/openChanges": [
  7334. {
  7335. "command": "gitlens.views.openChangedFileDiffs",
  7336. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  7337. "group": "2_gitlens_quickopen@1"
  7338. },
  7339. {
  7340. "command": "gitlens.views.openChangedFileDiffsWithWorking",
  7341. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  7342. "group": "2_gitlens_quickopen@2"
  7343. },
  7344. {
  7345. "command": "gitlens.views.openChangedFiles",
  7346. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  7347. "group": "2_gitlens_quickopen_1@1"
  7348. },
  7349. {
  7350. "command": "gitlens.views.openChangedFileRevisions",
  7351. "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
  7352. "group": "2_gitlens_quickopen_1@2"
  7353. }
  7354. ],
  7355. "gitlens/commit/file/openChanges": [
  7356. {
  7357. "command": "gitlens.externalDiff",
  7358. "group": "1_gitlens@1"
  7359. },
  7360. {
  7361. "command": "gitlens.views.openChangesWithWorking",
  7362. "group": "1_gitlens@2"
  7363. },
  7364. {
  7365. "command": "gitlens.diffWithRevision",
  7366. "group": "2_gitlens@1"
  7367. },
  7368. {
  7369. "command": "gitlens.diffWithRevisionFrom",
  7370. "group": "2_gitlens@2"
  7371. },
  7372. {
  7373. "command": "gitlens.views.highlightChanges",
  7374. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+(committed|stashed)\\b)|:results)/",
  7375. "group": "3_gitlens@1"
  7376. },
  7377. {
  7378. "command": "gitlens.views.highlightRevisionChanges",
  7379. "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
  7380. "group": "3_gitlens@2"
  7381. }
  7382. ],
  7383. "gitlens/editor/annotations": [
  7384. {
  7385. "command": "gitlens.clearFileAnnotations",
  7386. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus",
  7387. "group": "1_gitlens@1"
  7388. },
  7389. {
  7390. "command": "gitlens.toggleFileBlame",
  7391. "when": "gitlens:activeFileStatus =~ /blameable/ && !isInDiffEditor",
  7392. "group": "2_gitlens@1"
  7393. },
  7394. {
  7395. "command": "gitlens.toggleFileBlameInDiffLeft",
  7396. "when": "gitlens:activeFileStatus =~ /blameable/ && isInDiffEditor && !isInDiffRightEditor",
  7397. "group": "2_gitlens@1"
  7398. },
  7399. {
  7400. "command": "gitlens.toggleFileBlameInDiffRight",
  7401. "when": "gitlens:activeFileStatus =~ /blameable/ && isInDiffRightEditor",
  7402. "group": "2_gitlens@1"
  7403. },
  7404. {
  7405. "command": "gitlens.toggleFileHeatmap",
  7406. "when": "gitlens:activeFileStatus =~ /blameable/ && !isInDiffEditor",
  7407. "group": "2_gitlens@2"
  7408. },
  7409. {
  7410. "command": "gitlens.toggleFileHeatmapInDiffLeft",
  7411. "when": "gitlens:activeFileStatus =~ /blameable/ && isInDiffEditor && !isInDiffRightEditor",
  7412. "group": "2_gitlens@2"
  7413. },
  7414. {
  7415. "command": "gitlens.toggleFileHeatmapInDiffRight",
  7416. "when": "gitlens:activeFileStatus =~ /blameable/ && isInDiffRightEditor",
  7417. "group": "2_gitlens@2"
  7418. },
  7419. {
  7420. "command": "gitlens.toggleFileChanges",
  7421. "when": "gitlens:activeFileStatus =~ /blameable/",
  7422. "group": "2_gitlens@3"
  7423. }
  7424. ],
  7425. "gitlens/editor/context/copy": [
  7426. {
  7427. "command": "gitlens.copyShaToClipboard",
  7428. "group": "1_gitlens@1"
  7429. },
  7430. {
  7431. "command": "gitlens.copyMessageToClipboard",
  7432. "group": "1_gitlens@2"
  7433. },
  7434. {
  7435. "command": "gitlens.copyRemoteCommitUrl",
  7436. "group": "2_gitlens@3"
  7437. },
  7438. {
  7439. "command": "gitlens.copyRemoteFileUrlToClipboard",
  7440. "group": "2_gitlens@4"
  7441. }
  7442. ],
  7443. "gitlens/editor/context/openChanges": [
  7444. {
  7445. "command": "gitlens.diffWithPrevious",
  7446. "group": "1_gitlens@1"
  7447. },
  7448. {
  7449. "command": "gitlens.diffWithWorking",
  7450. "when": "resourceScheme == gitlens",
  7451. "group": "1_gitlens@2"
  7452. },
  7453. {
  7454. "command": "gitlens.diffLineWithPrevious",
  7455. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/",
  7456. "group": "1_gitlens@3"
  7457. },
  7458. {
  7459. "command": "gitlens.diffLineWithWorking",
  7460. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/",
  7461. "group": "1_gitlens@4"
  7462. },
  7463. {
  7464. "command": "gitlens.diffWithRevision",
  7465. "group": "2_gitlens@1"
  7466. },
  7467. {
  7468. "command": "gitlens.diffWithRevisionFrom",
  7469. "group": "2_gitlens@2"
  7470. },
  7471. {
  7472. "command": "gitlens.showQuickCommitFileDetails",
  7473. "group": "3_gitlens@1"
  7474. },
  7475. {
  7476. "command": "gitlens.showQuickRevisionDetails",
  7477. "when": "gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor",
  7478. "group": "3_gitlens@2"
  7479. },
  7480. {
  7481. "command": "gitlens.showQuickRevisionDetailsInDiffLeft",
  7482. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor",
  7483. "group": "3_gitlens@2"
  7484. },
  7485. {
  7486. "command": "gitlens.showQuickRevisionDetailsInDiffRight",
  7487. "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor",
  7488. "group": "3_gitlens@2"
  7489. }
  7490. ],
  7491. "gitlens/editor/openChanges": [
  7492. {
  7493. "command": "gitlens.diffWithPrevious",
  7494. "group": "1_gitlens@1"
  7495. },
  7496. {
  7497. "command": "gitlens.diffWithWorking",
  7498. "when": "resourceScheme == gitlens",
  7499. "group": "1_gitlens@2"
  7500. },
  7501. {
  7502. "command": "gitlens.diffWithRevision",
  7503. "group": "2_gitlens@1"
  7504. },
  7505. {
  7506. "command": "gitlens.diffWithRevisionFrom",
  7507. "group": "2_gitlens@2"
  7508. }
  7509. ],
  7510. "gitlens/explorer/openChanges": [
  7511. {
  7512. "command": "gitlens.diffWithPrevious",
  7513. "group": "1_gitlens@1"
  7514. },
  7515. {
  7516. "command": "gitlens.diffWithRevision",
  7517. "group": "2_gitlens@1"
  7518. },
  7519. {
  7520. "command": "gitlens.diffWithRevisionFrom",
  7521. "group": "2_gitlens@2"
  7522. }
  7523. ],
  7524. "gitlens/scm/resourceGroup/openChanges": [
  7525. {
  7526. "command": "gitlens.externalDiffAll",
  7527. "group": "1_gitlens@1"
  7528. },
  7529. {
  7530. "command": "gitlens.diffDirectoryWithHead",
  7531. "group": "1_gitlens@2"
  7532. },
  7533. {
  7534. "command": "gitlens.diffDirectory",
  7535. "group": "1_gitlens@3"
  7536. }
  7537. ],
  7538. "gitlens/scm/resourceState/openChanges": [
  7539. {
  7540. "command": "gitlens.externalDiff",
  7541. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.compare",
  7542. "group": "navigation"
  7543. },
  7544. {
  7545. "command": "gitlens.diffWithRevision",
  7546. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.compare",
  7547. "group": "1_gitlens@1"
  7548. },
  7549. {
  7550. "command": "gitlens.diffWithRevisionFrom",
  7551. "when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index|merge)$/ && config.gitlens.menus.scmItem.compare",
  7552. "group": "1_gitlens@2"
  7553. }
  7554. ],
  7555. "gitlens/view/searchAndCompare/new": [
  7556. {
  7557. "command": "gitlens.views.searchAndCompare.searchCommits",
  7558. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/",
  7559. "group": "navigation@10"
  7560. },
  7561. {
  7562. "command": "gitlens.views.searchAndCompare.selectForCompare",
  7563. "when": "view =~ /^gitlens\\.views\\.searchAndCompare\\b/",
  7564. "group": "navigation@11"
  7565. }
  7566. ]
  7567. },
  7568. "submenus": [
  7569. {
  7570. "id": "gitlens/commit/browse",
  7571. "label": "Browse"
  7572. },
  7573. {
  7574. "id": "gitlens/commit/copy",
  7575. "label": "Copy"
  7576. },
  7577. {
  7578. "id": "gitlens/commit/openChanges",
  7579. "label": "Open Changes"
  7580. },
  7581. {
  7582. "id": "gitlens/commit/file/copy",
  7583. "label": "Copy"
  7584. },
  7585. {
  7586. "id": "gitlens/commit/file/openChanges",
  7587. "label": "Open Changes"
  7588. },
  7589. {
  7590. "id": "gitlens/editor/annotations",
  7591. "label": "File Annotations",
  7592. "icon": {
  7593. "dark": "images/dark/icon-git.svg",
  7594. "light": "images/light/icon-git.svg"
  7595. }
  7596. },
  7597. {
  7598. "id": "gitlens/editor/context/copy",
  7599. "label": "Copy"
  7600. },
  7601. {
  7602. "id": "gitlens/editor/context/openChanges",
  7603. "label": "Open Changes"
  7604. },
  7605. {
  7606. "id": "gitlens/editor/openChanges",
  7607. "label": "Open Changes"
  7608. },
  7609. {
  7610. "id": "gitlens/explorer/openChanges",
  7611. "label": "Open Changes"
  7612. },
  7613. {
  7614. "id": "gitlens/scm/resourceGroup/openChanges",
  7615. "label": "Open Changes"
  7616. },
  7617. {
  7618. "id": "gitlens/scm/resourceState/openChanges",
  7619. "label": "Open Changes"
  7620. },
  7621. {
  7622. "id": "gitlens/view/searchAndCompare/new",
  7623. "label": "New Search or Compare",
  7624. "icon": "$(add)"
  7625. }
  7626. ],
  7627. "keybindings": [
  7628. {
  7629. "command": "gitlens.key.left",
  7630. "key": "left",
  7631. "when": "gitlens:key:left"
  7632. },
  7633. {
  7634. "command": "gitlens.key.alt+left",
  7635. "key": "alt+left",
  7636. "when": "gitlens:key:alt+left"
  7637. },
  7638. {
  7639. "command": "gitlens.key.ctrl+left",
  7640. "key": "ctrl+left",
  7641. "mac": "cmd+left",
  7642. "when": "gitlens:key:ctrl+left"
  7643. },
  7644. {
  7645. "command": "gitlens.key.right",
  7646. "key": "right",
  7647. "when": "gitlens:key:right"
  7648. },
  7649. {
  7650. "command": "gitlens.key.alt+right",
  7651. "key": "alt+right",
  7652. "when": "gitlens:key:alt+right"
  7653. },
  7654. {
  7655. "command": "gitlens.key.ctrl+right",
  7656. "key": "ctrl+right",
  7657. "mac": "cmd+right",
  7658. "when": "gitlens:key:ctrl+right"
  7659. },
  7660. {
  7661. "command": "gitlens.key.alt+,",
  7662. "key": "alt+,",
  7663. "when": "gitlens:key:,"
  7664. },
  7665. {
  7666. "command": "gitlens.key.alt+.",
  7667. "key": "alt+.",
  7668. "when": "gitlens:key:."
  7669. },
  7670. {
  7671. "command": "gitlens.key.escape",
  7672. "key": "escape",
  7673. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  7674. },
  7675. {
  7676. "command": "gitlens.gitCommands",
  7677. "key": "alt+/",
  7678. "when": "config.gitlens.keymap == alternate && !gitlens:disabled"
  7679. },
  7680. {
  7681. "command": "gitlens.gitCommands",
  7682. "key": "ctrl+shift+g /",
  7683. "mac": "cmd+alt+g /",
  7684. "when": "config.gitlens.keymap == chorded && !gitlens:disabled"
  7685. },
  7686. {
  7687. "command": "gitlens.toggleFileBlame",
  7688. "key": "alt+b",
  7689. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  7690. },
  7691. {
  7692. "command": "gitlens.toggleFileBlame",
  7693. "key": "ctrl+shift+g b",
  7694. "mac": "cmd+alt+g b",
  7695. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  7696. },
  7697. {
  7698. "command": "gitlens.toggleCodeLens",
  7699. "key": "shift+alt+b",
  7700. "when": "config.gitlens.keymap == alternate && editorTextFocus && !gitlens:disabled && !gitlens:disabledToggleCodeLens"
  7701. },
  7702. {
  7703. "command": "gitlens.toggleCodeLens",
  7704. "key": "ctrl+shift+g shift+b",
  7705. "mac": "cmd+alt+g shift+b",
  7706. "when": "config.gitlens.keymap == chorded && editorTextFocus && !gitlens:disabled && !gitlens:disabledToggleCodeLens"
  7707. },
  7708. {
  7709. "command": "gitlens.showQuickFileHistory",
  7710. "key": "alt+h",
  7711. "when": "config.gitlens.keymap == alternate && !gitlens:disabled"
  7712. },
  7713. {
  7714. "command": "gitlens.showQuickFileHistory",
  7715. "key": "ctrl+shift+g h",
  7716. "mac": "cmd+alt+g h",
  7717. "when": "config.gitlens.keymap == chorded && !gitlens:disabled"
  7718. },
  7719. {
  7720. "command": "gitlens.showQuickRepoHistory",
  7721. "key": "shift+alt+h",
  7722. "when": "config.gitlens.keymap == alternate && !gitlens:disabled"
  7723. },
  7724. {
  7725. "command": "gitlens.showQuickRepoHistory",
  7726. "key": "ctrl+shift+g shift+h",
  7727. "mac": "cmd+alt+g shift+h",
  7728. "when": "config.gitlens.keymap == chorded && !gitlens:disabled"
  7729. },
  7730. {
  7731. "command": "gitlens.showQuickRepoStatus",
  7732. "key": "alt+s",
  7733. "when": "config.gitlens.keymap == alternate && !gitlens:disabled"
  7734. },
  7735. {
  7736. "command": "gitlens.showQuickRepoStatus",
  7737. "key": "ctrl+shift+g s",
  7738. "mac": "cmd+alt+g s",
  7739. "when": "config.gitlens.keymap == chorded && !gitlens:disabled"
  7740. },
  7741. {
  7742. "command": "gitlens.showQuickCommitFileDetails",
  7743. "key": "alt+c",
  7744. "when": "config.gitlens.keymap == alternate && editorTextFocus && !gitlens:disabled"
  7745. },
  7746. {
  7747. "command": "gitlens.showQuickCommitFileDetails",
  7748. "key": "ctrl+shift+g c",
  7749. "mac": "cmd+alt+g c",
  7750. "when": "config.gitlens.keymap == chorded && editorTextFocus && !gitlens:disabled"
  7751. },
  7752. {
  7753. "command": "gitlens.diffWithPrevious",
  7754. "key": "alt+,",
  7755. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && !isInDiffEditor"
  7756. },
  7757. {
  7758. "command": "gitlens.diffWithPrevious",
  7759. "key": "ctrl+shift+g ,",
  7760. "mac": "cmd+alt+g ,",
  7761. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && !isInDiffEditor"
  7762. },
  7763. {
  7764. "command": "gitlens.diffWithPreviousInDiffLeft",
  7765. "key": "alt+,",
  7766. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffEditor && !isInDiffRightEditor"
  7767. },
  7768. {
  7769. "command": "gitlens.diffWithPreviousInDiffLeft",
  7770. "key": "ctrl+shift+g ,",
  7771. "mac": "cmd+alt+g ,",
  7772. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffEditor && !isInDiffRightEditor"
  7773. },
  7774. {
  7775. "command": "gitlens.diffWithPreviousInDiffRight",
  7776. "key": "alt+,",
  7777. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffRightEditor"
  7778. },
  7779. {
  7780. "command": "gitlens.diffWithPreviousInDiffRight",
  7781. "key": "ctrl+shift+g ,",
  7782. "mac": "cmd+alt+g ,",
  7783. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && isInDiffRightEditor"
  7784. },
  7785. {
  7786. "command": "gitlens.diffWithNext",
  7787. "key": "alt+.",
  7788. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor"
  7789. },
  7790. {
  7791. "command": "gitlens.diffWithNext",
  7792. "key": "ctrl+shift+g .",
  7793. "mac": "cmd+alt+g .",
  7794. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && !isInDiffEditor"
  7795. },
  7796. {
  7797. "command": "gitlens.diffWithNextInDiffLeft",
  7798. "key": "alt+.",
  7799. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor"
  7800. },
  7801. {
  7802. "command": "gitlens.diffWithNextInDiffLeft",
  7803. "key": "ctrl+shift+g .",
  7804. "mac": "cmd+alt+g .",
  7805. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffEditor && !isInDiffRightEditor"
  7806. },
  7807. {
  7808. "command": "gitlens.diffWithNextInDiffRight",
  7809. "key": "alt+.",
  7810. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor"
  7811. },
  7812. {
  7813. "command": "gitlens.diffWithNextInDiffRight",
  7814. "key": "ctrl+shift+g .",
  7815. "mac": "cmd+alt+g .",
  7816. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/ && isInDiffRightEditor"
  7817. },
  7818. {
  7819. "command": "gitlens.diffWithWorking",
  7820. "key": "shift+alt+.",
  7821. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /revision/"
  7822. },
  7823. {
  7824. "command": "gitlens.diffWithWorking",
  7825. "key": "ctrl+shift+g shift+.",
  7826. "mac": "cmd+alt+g shift+.",
  7827. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /revision/"
  7828. },
  7829. {
  7830. "command": "gitlens.diffLineWithPrevious",
  7831. "key": "shift+alt+,",
  7832. "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  7833. },
  7834. {
  7835. "command": "gitlens.diffLineWithPrevious",
  7836. "key": "ctrl+shift+g shift+,",
  7837. "mac": "cmd+alt+g shift+,",
  7838. "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  7839. },
  7840. {
  7841. "command": "workbench.view.scm",
  7842. "key": "ctrl+shift+g g",
  7843. "mac": "ctrl+shift+g",
  7844. "when": "config.gitlens.keymap == chorded && !gitlens:disabled"
  7845. },
  7846. {
  7847. "command": "gitlens.views.branches.copy",
  7848. "key": "ctrl+c",
  7849. "mac": "cmd+c",
  7850. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.branches/"
  7851. },
  7852. {
  7853. "command": "gitlens.views.commits.copy",
  7854. "key": "ctrl+c",
  7855. "mac": "cmd+c",
  7856. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.commits/"
  7857. },
  7858. {
  7859. "command": "gitlens.views.contributors.copy",
  7860. "key": "ctrl+c",
  7861. "mac": "cmd+c",
  7862. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.contributors/"
  7863. },
  7864. {
  7865. "command": "gitlens.views.fileHistory.copy",
  7866. "key": "ctrl+c",
  7867. "mac": "cmd+c",
  7868. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.fileHistory/"
  7869. },
  7870. {
  7871. "command": "gitlens.views.lineHistory.copy",
  7872. "key": "ctrl+c",
  7873. "mac": "cmd+c",
  7874. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.lineHistory/"
  7875. },
  7876. {
  7877. "command": "gitlens.views.remotes.copy",
  7878. "key": "ctrl+c",
  7879. "mac": "cmd+c",
  7880. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.remotes/"
  7881. },
  7882. {
  7883. "command": "gitlens.views.repositories.copy",
  7884. "key": "ctrl+c",
  7885. "mac": "cmd+c",
  7886. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.repositories/"
  7887. },
  7888. {
  7889. "command": "gitlens.views.stashes.copy",
  7890. "key": "ctrl+c",
  7891. "mac": "cmd+c",
  7892. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.stashes/"
  7893. },
  7894. {
  7895. "command": "gitlens.views.searchAndCompare.copy",
  7896. "key": "ctrl+c",
  7897. "mac": "cmd+c",
  7898. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.searchAndCompare\\b/"
  7899. },
  7900. {
  7901. "command": "gitlens.views.tags.copy",
  7902. "key": "ctrl+c",
  7903. "mac": "cmd+c",
  7904. "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.tags/"
  7905. }
  7906. ],
  7907. "customEditors": [
  7908. {
  7909. "viewType": "gitlens.rebase",
  7910. "displayName": "Interactive Rebase Editor",
  7911. "selector": [
  7912. {
  7913. "filenamePattern": "git-rebase-todo"
  7914. }
  7915. ]
  7916. }
  7917. ],
  7918. "resourceLabelFormatters": [
  7919. {
  7920. "scheme": "gitlens",
  7921. "authority": "*",
  7922. "formatting": {
  7923. "label": "${path} (${authority})",
  7924. "separator": "/"
  7925. }
  7926. }
  7927. ],
  7928. "viewsContainers": {
  7929. "activitybar": [
  7930. {
  7931. "id": "gitlens",
  7932. "title": "GitLens",
  7933. "icon": "images/gitlens-activitybar.svg"
  7934. }
  7935. ]
  7936. },
  7937. "viewsWelcome": [
  7938. {
  7939. "view": "gitlens.views.welcome",
  7940. "contents": "GitLens 11 is powerful, feature rich, and highly customizable to meet your needs. You can use the GitLens Welcome experience to get setup quickly.\n\n[Welcome (Quick Setup)](command:gitlens.showWelcomePage \"Opens the GitLens Welcome (Quick Setup)\")\n\nFor more options, run [GitLens: Open Settings](command:gitlens.showSettingsPage \"Opens the GitLens Interactive Settings\") from the Command Palette to open the interactive GitLens settings editor."
  7941. },
  7942. {
  7943. "view": "gitlens.views.welcome",
  7944. "contents": "[GitLens views](command:gitlens.showSettingsPage%23views) are shown on the Source Control side bar, by default. Run [GitLens: Set Views Layout](command:gitlens.setViewsLayout \"Changes the GitLens Views Layout\") from the Command Palette to switch to an alternate side bar layout, or drag & drop them."
  7945. },
  7946. {
  7947. "view": "gitlens.views.welcome",
  7948. "contents": "[Sponsor GitLens ❤](command:gitlens.supportGitLens)\n\nIf you find GitLens useful, please consider sponsoring it."
  7949. },
  7950. {
  7951. "view": "gitlens.views.welcome",
  7952. "contents": "[Close](command:gitlens.closeWelcomeView \"Closes the Welcome view\")"
  7953. },
  7954. {
  7955. "view": "gitlens.views.updates",
  7956. "contents": "[GitLens views](command:gitlens.showSettingsPage%23views) have moved to the Source Control side bar.\nRun [GitLens: Set Views Layout](command:gitlens.setViewsLayout \"Changes the GitLens Views Layout\") from the Command Palette to switch to an alternate side bar layout, or drag & drop them."
  7957. },
  7958. {
  7959. "view": "gitlens.views.updates",
  7960. "contents": "★ [Repositories](command:gitlens.showSettingsPage%23repositories-view) — replaced by [Commits](command:gitlens.showSettingsPage%23commits-view), [Branches](command:gitlens.showSettingsPage%23branches-view), [Remotes](command:gitlens.showSettingsPage%23remotes-view), [Stashes](command:gitlens.showSettingsPage%23stashes-view), [Tags](command:gitlens.showSettingsPage%23tags-view), and [Contributors](command:gitlens.showSettingsPage%23contributors-view) views. If you want it back, [click here](command:gitlens.showRepositoriesView)."
  7961. },
  7962. {
  7963. "view": "gitlens.views.updates",
  7964. "contents": "★ [File History](command:gitlens.showSettingsPage%23file-history-view) — combines file and line history into a single view"
  7965. },
  7966. {
  7967. "view": "gitlens.views.updates",
  7968. "contents": "★ [Search & Compare](command:gitlens.showSettingsPage%23search-compare-view) — combines Search Commits and Compare Commits into a single view"
  7969. },
  7970. {
  7971. "view": "gitlens.views.updates",
  7972. "contents": "[Close](command:gitlens.closeUpdatesView)"
  7973. }
  7974. ],
  7975. "views": {
  7976. "gitlens": [
  7977. {
  7978. "id": "gitlens.views.updates",
  7979. "name": "Where did my views go?",
  7980. "when": "gitlens:views:updates:visible != false",
  7981. "contextualTitle": "GitLens",
  7982. "icon": "images/gitlens-activitybar.svg"
  7983. },
  7984. {
  7985. "id": "gitlens.views.welcome",
  7986. "name": "Welcome",
  7987. "when": "gitlens:views:welcome:visible != false",
  7988. "contextualTitle": "GitLens",
  7989. "icon": "images/gitlens-activitybar.svg"
  7990. }
  7991. ],
  7992. "scm": [
  7993. {
  7994. "id": "gitlens.views.repositories",
  7995. "name": "Repositories",
  7996. "when": "!gitlens:disabled && config.gitlens.views.repositories.enabled",
  7997. "contextualTitle": "GitLens",
  7998. "icon": "images/views/repositories.svg"
  7999. },
  8000. {
  8001. "id": "gitlens.views.commits",
  8002. "name": "Commits",
  8003. "when": "!gitlens:disabled",
  8004. "contextualTitle": "GitLens",
  8005. "icon": "images/views/commits.svg",
  8006. "visibility": "visible"
  8007. },
  8008. {
  8009. "id": "gitlens.views.fileHistory",
  8010. "name": "File History",
  8011. "when": "!gitlens:disabled",
  8012. "contextualTitle": "GitLens",
  8013. "icon": "images/views/history.svg",
  8014. "visibility": "visible"
  8015. },
  8016. {
  8017. "id": "gitlens.views.lineHistory",
  8018. "name": "Line History",
  8019. "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled",
  8020. "contextualTitle": "GitLens",
  8021. "icon": "images/views/history.svg",
  8022. "visibility": "hidden"
  8023. },
  8024. {
  8025. "id": "gitlens.views.branches",
  8026. "name": "Branches",
  8027. "when": "!gitlens:disabled",
  8028. "contextualTitle": "GitLens",
  8029. "icon": "images/views/branches.svg",
  8030. "visibility": "collapsed"
  8031. },
  8032. {
  8033. "id": "gitlens.views.remotes",
  8034. "name": "Remotes",
  8035. "when": "!gitlens:disabled",
  8036. "contextualTitle": "GitLens",
  8037. "icon": "images/views/remotes.svg",
  8038. "visibility": "collapsed"
  8039. },
  8040. {
  8041. "id": "gitlens.views.stashes",
  8042. "name": "Stashes",
  8043. "when": "!gitlens:disabled",
  8044. "contextualTitle": "GitLens",
  8045. "icon": "images/views/stashes.svg",
  8046. "visibility": "collapsed"
  8047. },
  8048. {
  8049. "id": "gitlens.views.tags",
  8050. "name": "Tags",
  8051. "when": "!gitlens:disabled",
  8052. "contextualTitle": "GitLens",
  8053. "icon": "images/views/tags.svg",
  8054. "visibility": "collapsed"
  8055. },
  8056. {
  8057. "id": "gitlens.views.contributors",
  8058. "name": "Contributors",
  8059. "when": "!gitlens:disabled",
  8060. "contextualTitle": "GitLens",
  8061. "icon": "images/views/contributors.svg",
  8062. "visibility": "hidden"
  8063. },
  8064. {
  8065. "id": "gitlens.views.searchAndCompare",
  8066. "name": "Search & Compare",
  8067. "when": "!gitlens:disabled",
  8068. "contextualTitle": "GitLens",
  8069. "icon": "images/views/search.svg",
  8070. "visibility": "hidden"
  8071. }
  8072. ]
  8073. }
  8074. },
  8075. "scripts": {
  8076. "analyze:bundle": "webpack --env.analyzeBundle",
  8077. "analyze:deps": "webpack --env.analyzeDeps",
  8078. "build": "webpack --mode development",
  8079. "build:extension": "webpack --mode development --config-name extension",
  8080. "build:webviews": "webpack --mode development --config-name webviews",
  8081. "bundle": "webpack --mode production",
  8082. "clean": "git clean -Xdf -e !node_modules -e !node_modules/**/*",
  8083. "lint": "eslint src/**/*.ts --fix --cache",
  8084. "optimize:webviews": "webpack --config-name webviews --env.optimizeImages",
  8085. "pack": "vsce package --yarn",
  8086. "pretty": "prettier --config .prettierrc --loglevel warn --write .",
  8087. "pub": "vsce publish --yarn",
  8088. "rebuild": "yarn run reset && yarn run build",
  8089. "reset": "yarn run clean && yarn --frozen-lockfile",
  8090. "watch": "webpack --watch --mode development",
  8091. "watch:extension": "webpack --watch --mode development --config-name extension",
  8092. "watch:webviews": "webpack --watch --mode development --config-name webviews",
  8093. "update-dts": "pushd \"src/@types\" && npx vscode-dts dev && popd",
  8094. "update-dts:master": "pushd \"src/@types\" && npx vscode-dts master && popd",
  8095. "update-emoji": "node ./generateEmojiShortcodeMap.js",
  8096. "vscode:prepublish": "yarn run bundle"
  8097. },
  8098. "dependencies": {
  8099. "@octokit/graphql": "4.5.7",
  8100. "chroma-js": "2.1.0",
  8101. "dayjs": "1.9.6",
  8102. "iconv-lite": "0.6.2",
  8103. "lodash-es": "4.17.15",
  8104. "sortablejs": "1.12.0",
  8105. "vsls": "1.0.3015"
  8106. },
  8107. "devDependencies": {
  8108. "@types/chroma-js": "2.1.1",
  8109. "@types/lodash-es": "4.17.3",
  8110. "@types/node": "12.12.70",
  8111. "@types/sortablejs": "1.10.6",
  8112. "@types/vscode": "1.51.0",
  8113. "@typescript-eslint/eslint-plugin": "4.7.0",
  8114. "@typescript-eslint/parser": "4.7.0",
  8115. "circular-dependency-plugin": "5.2.2",
  8116. "clean-webpack-plugin": "3.0.0",
  8117. "copy-webpack-plugin": "6.3.0",
  8118. "csp-html-webpack-plugin": "4.0.0",
  8119. "css-loader": "5.0.1",
  8120. "eslint": "7.13.0",
  8121. "eslint-cli": "1.1.1",
  8122. "eslint-config-prettier": "6.15.0",
  8123. "eslint-plugin-import": "2.22.1",
  8124. "fork-ts-checker-webpack-plugin": "6.0.1",
  8125. "html-loader": "1.3.2",
  8126. "html-webpack-plugin": "5.0.0-alpha.14",
  8127. "html-webpack-skip-assets-plugin": "0.0.2",
  8128. "image-minimizer-webpack-plugin": "1.0.0",
  8129. "imagemin-pngquant": "9.0.1",
  8130. "imagemin-webp": "6.0.0",
  8131. "mini-css-extract-plugin": "1.3.0",
  8132. "node-sass": "5.0.0",
  8133. "prettier": "2.1.2",
  8134. "sass-loader": "10.0.5",
  8135. "terser-webpack-plugin": "5.0.3",
  8136. "ts-loader": "8.0.11",
  8137. "typescript": "4.0.5",
  8138. "vsce": "1.81.1",
  8139. "webpack": "5.4.0",
  8140. "webpack-bundle-analyzer": "4.1.0",
  8141. "webpack-cli": "4.2.0"
  8142. }
  8143. }