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

4906 lines
223 KiB

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