Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

9185 linhas
290 KiB

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