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.

4890 regels
221 KiB

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