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.

3927 lines
171 KiB

6 years ago
6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
  5. "version": "9.0.0-alpha",
  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.27.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. "description": "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. "description": "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. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee 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. "description": "Specifies the format of the gutter blame annotations\nAvailable 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`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  78. "scope": "window"
  79. },
  80. "gitlens.blame.heatmap.enabled": {
  81. "type": "boolean",
  82. "default": true,
  83. "description": "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. "description": "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. "description": "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. "description": "Specifies where the associated line highlights will be shown",
  130. "scope": "window"
  131. },
  132. "gitlens.blame.ignoreWhitespace": {
  133. "type": "boolean",
  134. "default": false,
  135. "description": "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. "description": "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. "description": "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. "description": "Specifies the command to be executed when the `authors` code lens is clicked",
  178. "scope": "window"
  179. },
  180. "gitlens.codeLens.authors.enabled": {
  181. "type": "boolean",
  182. "default": true,
  183. "description": "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. "description": "Specifies whether to provide any Git code lens, by default\nUse 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. "description": "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. "description": "Specifies the command to be executed when the `recent change` code lens is clicked",
  218. "scope": "window"
  219. },
  220. "gitlens.codeLens.recentChange.enabled": {
  221. "type": "boolean",
  222. "default": true,
  223. "description": "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. "description": "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": "css",
  256. "scopes": [
  257. "document"
  258. ]
  259. },
  260. {
  261. "language": "html",
  262. "scopes": [
  263. "document"
  264. ]
  265. },
  266. {
  267. "language": "json",
  268. "scopes": [
  269. "document"
  270. ]
  271. },
  272. {
  273. "language": "jsonc",
  274. "scopes": [
  275. "document"
  276. ]
  277. },
  278. {
  279. "language": "less",
  280. "scopes": [
  281. "document"
  282. ]
  283. },
  284. {
  285. "language": "postcss",
  286. "scopes": [
  287. "document"
  288. ]
  289. },
  290. {
  291. "language": "python",
  292. "symbolScopes": [
  293. "!Module"
  294. ]
  295. },
  296. {
  297. "language": "scss",
  298. "scopes": [
  299. "document"
  300. ]
  301. },
  302. {
  303. "language": "stylus",
  304. "scopes": [
  305. "document"
  306. ]
  307. },
  308. {
  309. "language": "vue",
  310. "scopes": [
  311. "document"
  312. ]
  313. }
  314. ],
  315. "items": {
  316. "type": "object",
  317. "required": [
  318. "language"
  319. ],
  320. "properties": {
  321. "language": {
  322. "type": "string",
  323. "description": "Specifies the language to which this code lens override applies"
  324. },
  325. "scopes": {
  326. "type": "array",
  327. "default": [
  328. "document",
  329. "containers"
  330. ],
  331. "items": {
  332. "type": "string",
  333. "enum": [
  334. "document",
  335. "containers",
  336. "blocks",
  337. "custom"
  338. ],
  339. "enumDescriptions": [
  340. "Adds code lens at the top of the document",
  341. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  342. "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
  343. "Adds code lens at the start of symbols contained in `symbolScopes`"
  344. ]
  345. },
  346. "minItems": 1,
  347. "maxItems": 4,
  348. "uniqueItems": true,
  349. "description": "Specifies where Git code lens will be shown in the document for the specified language"
  350. },
  351. "symbolScopes": {
  352. "type": "array",
  353. "items": {
  354. "type": "string"
  355. },
  356. "uniqueItems": true,
  357. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language\nMust be a member of `SymbolKind`"
  358. }
  359. }
  360. },
  361. "uniqueItems": true,
  362. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  363. "scope": "resource"
  364. },
  365. "gitlens.codeLens.symbolScopes": {
  366. "type": "array",
  367. "items": {
  368. "type": "string"
  369. },
  370. "uniqueItems": true,
  371. "description": "Specifies a set of document symbols where Git code lens will or will not be shown in the document\nPrefix with `!` to avoid providing a Git code lens for the symbol\nMust be a member of `SymbolKind`",
  372. "scope": "resource"
  373. },
  374. "gitlens.currentLine.dateFormat": {
  375. "type": "string",
  376. "default": null,
  377. "description": "Specifies how to format absolute dates (using the `${date}` token) for the current line blame annotation\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  378. "scope": "window"
  379. },
  380. "gitlens.currentLine.enabled": {
  381. "type": "boolean",
  382. "default": true,
  383. "description": "Specifies whether to provide a blame annotation for the current line, by default\nUse the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
  384. "scope": "window"
  385. },
  386. "gitlens.currentLine.format": {
  387. "type": "string",
  388. "default": "${authorAgoOrDate} • ${message}",
  389. "description": "Specifies the format of the current line blame annotation\nAvailable 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`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  390. "scope": "window"
  391. },
  392. "gitlens.currentLine.scrollable": {
  393. "type": "boolean",
  394. "default": true,
  395. "description": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  396. "scope": "window"
  397. },
  398. "gitlens.debug": {
  399. "type": "boolean",
  400. "default": false,
  401. "description": "Specifies debug mode",
  402. "scope": "window"
  403. },
  404. "gitlens.defaultDateFormat": {
  405. "type": "string",
  406. "default": null,
  407. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  408. "scope": "window"
  409. },
  410. "gitlens.defaultDateStyle": {
  411. "type": "string",
  412. "default": "relative",
  413. "enum": [
  414. "relative",
  415. "absolute"
  416. ],
  417. "enumDescriptions": [
  418. "e.g. 1 day ago",
  419. "e.g. July 25th, 2018 7:18pm"
  420. ],
  421. "description": "Specifies how dates will be displayed by default",
  422. "scope": "window"
  423. },
  424. "gitlens.defaultGravatarsStyle": {
  425. "type": "string",
  426. "default": "robohash",
  427. "enum": [
  428. "identicon",
  429. "mp",
  430. "monsterid",
  431. "retro",
  432. "robohash",
  433. "wavatar"
  434. ],
  435. "enumDescriptions": [
  436. "A geometric pattern",
  437. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  438. "A monster with different colors, faces, etc",
  439. "8-bit arcade-style pixelated faces",
  440. "A robot with different colors, faces, etc",
  441. "A face with differing features and backgrounds"
  442. ],
  443. "description": "Specifies the style of the gravatar default (fallback) images",
  444. "scope": "window"
  445. },
  446. "gitlens.heatmap.ageThreshold": {
  447. "type": "string",
  448. "default": "90",
  449. "description": "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#`)",
  450. "scope": "window"
  451. },
  452. "gitlens.heatmap.coldColor": {
  453. "type": "string",
  454. "default": "#0a60f6",
  455. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  456. "scope": "window"
  457. },
  458. "gitlens.heatmap.hotColor": {
  459. "type": "string",
  460. "default": "#f66a0a",
  461. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  462. "scope": "window"
  463. },
  464. "gitlens.heatmap.toggleMode": {
  465. "type": "string",
  466. "default": "file",
  467. "enum": [
  468. "file",
  469. "window"
  470. ],
  471. "enumDescriptions": [
  472. "Toggles each file individually",
  473. "Toggles the window, i.e. all files at once"
  474. ],
  475. "description": "Specifies how the gutter heatmap annotations will be toggled",
  476. "scope": "window"
  477. },
  478. "gitlens.hovers.annotations.changes": {
  479. "type": "boolean",
  480. "default": true,
  481. "description": "Specifies whether to provide a changes (diff) hover for all lines when showing blame annotations",
  482. "scope": "window"
  483. },
  484. "gitlens.hovers.annotations.details": {
  485. "type": "boolean",
  486. "default": true,
  487. "description": "Specifies whether to provide a commit details hover for all lines when showing blame annotations",
  488. "scope": "window"
  489. },
  490. "gitlens.hovers.annotations.enabled": {
  491. "type": "boolean",
  492. "default": true,
  493. "description": "Specifies whether to provide any hovers when showing blame annotations",
  494. "scope": "window"
  495. },
  496. "gitlens.hovers.annotations.over": {
  497. "type": "string",
  498. "default": "line",
  499. "enum": [
  500. "annotation",
  501. "line"
  502. ],
  503. "enumDescriptions": [
  504. "Only shown when hovering over the line annotation",
  505. "Shown when hovering anywhere over the line"
  506. ],
  507. "description": "Specifies when to trigger hovers when showing blame annotations",
  508. "scope": "window"
  509. },
  510. "gitlens.hovers.currentLine.changes": {
  511. "type": "boolean",
  512. "default": true,
  513. "description": "Specifies whether to provide a changes (diff) hover for the current line",
  514. "scope": "window"
  515. },
  516. "gitlens.hovers.currentLine.details": {
  517. "type": "boolean",
  518. "default": true,
  519. "description": "Specifies whether to provide a commit details hover for the current line",
  520. "scope": "window"
  521. },
  522. "gitlens.hovers.currentLine.enabled": {
  523. "type": "boolean",
  524. "default": true,
  525. "description": "Specifies whether to provide any hovers for the current line",
  526. "scope": "window"
  527. },
  528. "gitlens.hovers.currentLine.over": {
  529. "type": "string",
  530. "default": "annotation",
  531. "enum": [
  532. "annotation",
  533. "line"
  534. ],
  535. "enumDescriptions": [
  536. "Only shown when hovering over the line annotation",
  537. "Shown when hovering anywhere over the line"
  538. ],
  539. "description": "Specifies when to trigger hovers for the current line",
  540. "scope": "window"
  541. },
  542. "gitlens.hovers.avatars": {
  543. "type": "boolean",
  544. "default": true,
  545. "description": "Specifies whether to show avatar images in hovers",
  546. "scope": "window"
  547. },
  548. "gitlens.hovers.enabled": {
  549. "type": "boolean",
  550. "default": true,
  551. "description": "Specifies whether to provide any hovers",
  552. "scope": "window"
  553. },
  554. "gitlens.insiders": {
  555. "type": "boolean",
  556. "default": false,
  557. "description": "Specifies whether to enable experimental features",
  558. "scope": "window"
  559. },
  560. "gitlens.keymap": {
  561. "type": "string",
  562. "default": "chorded",
  563. "enum": [
  564. "alternate",
  565. "chorded",
  566. "none"
  567. ],
  568. "enumDescriptions": [
  569. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  570. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  571. "No shortcut keys will be added"
  572. ],
  573. "description": "Specifies the keymap to use for GitLens shortcut keys",
  574. "scope": "window"
  575. },
  576. "gitlens.menus": {
  577. "anyOf": [
  578. {
  579. "enum": [
  580. false
  581. ]
  582. },
  583. {
  584. "type": "object",
  585. "properties": {
  586. "editor": {
  587. "anyOf": [
  588. {
  589. "enum": [
  590. false
  591. ]
  592. },
  593. {
  594. "type": "object",
  595. "properties": {
  596. "blame": {
  597. "type": "boolean"
  598. },
  599. "clipboard": {
  600. "type": "boolean"
  601. },
  602. "compare": {
  603. "type": "boolean"
  604. },
  605. "details": {
  606. "type": "boolean"
  607. },
  608. "history": {
  609. "type": "boolean"
  610. },
  611. "remote": {
  612. "type": "boolean"
  613. }
  614. }
  615. }
  616. ]
  617. },
  618. "editorGroup": {
  619. "anyOf": [
  620. {
  621. "enum": [
  622. false
  623. ]
  624. },
  625. {
  626. "type": "object",
  627. "properties": {
  628. "blame": {
  629. "type": "boolean"
  630. },
  631. "compare": {
  632. "type": "boolean"
  633. },
  634. "history": {
  635. "type": "boolean"
  636. },
  637. "remote": {
  638. "type": "boolean"
  639. }
  640. }
  641. }
  642. ]
  643. },
  644. "editorTab": {
  645. "anyOf": [
  646. {
  647. "enum": [
  648. false
  649. ]
  650. },
  651. {
  652. "type": "object",
  653. "properties": {
  654. "compare": {
  655. "type": "boolean"
  656. },
  657. "history": {
  658. "type": "boolean"
  659. },
  660. "remote": {
  661. "type": "boolean"
  662. }
  663. }
  664. }
  665. ]
  666. },
  667. "explorer": {
  668. "anyOf": [
  669. {
  670. "enum": [
  671. false
  672. ]
  673. },
  674. {
  675. "type": "object",
  676. "properties": {
  677. "compare": {
  678. "type": "boolean"
  679. },
  680. "history": {
  681. "type": "boolean"
  682. },
  683. "remote": {
  684. "type": "boolean"
  685. }
  686. }
  687. }
  688. ]
  689. }
  690. }
  691. }
  692. ],
  693. "default": {
  694. "editor": {
  695. "blame": false,
  696. "clipboard": true,
  697. "compare": true,
  698. "details": true,
  699. "history": false,
  700. "remote": true
  701. },
  702. "editorGroup": {
  703. "blame": true,
  704. "compare": true,
  705. "history": false,
  706. "remote": false
  707. },
  708. "editorTab": {
  709. "compare": false,
  710. "history": false,
  711. "remote": true
  712. },
  713. "explorer": {
  714. "compare": true,
  715. "history": true,
  716. "remote": true
  717. }
  718. },
  719. "description": "Specifies which commands will be added to which menus",
  720. "scope": "window"
  721. },
  722. "gitlens.mode.active": {
  723. "type": "string",
  724. "description": "Specifies the active GitLens mode, if any",
  725. "scope": "window"
  726. },
  727. "gitlens.mode.statusBar.enabled": {
  728. "type": "boolean",
  729. "default": true,
  730. "description": "Specifies whether to provide the active GitLens mode in the status bar",
  731. "scope": "window"
  732. },
  733. "gitlens.mode.statusBar.alignment": {
  734. "type": "string",
  735. "default": "right",
  736. "enum": [
  737. "left",
  738. "right"
  739. ],
  740. "enumDescriptions": [
  741. "Aligns to the left",
  742. "Aligns to the right"
  743. ],
  744. "description": "Specifies the active GitLens mode alignment in the status bar",
  745. "scope": "window"
  746. },
  747. "gitlens.modes": {
  748. "type": "object",
  749. "properties": {
  750. "zen": {
  751. "type": "object",
  752. "required": [
  753. "name"
  754. ],
  755. "properties": {
  756. "name": {
  757. "type": "string"
  758. },
  759. "statusBarItemName": {
  760. "type": "string"
  761. },
  762. "description": {
  763. "type": "string"
  764. },
  765. "codeLens": {
  766. "type": "boolean"
  767. },
  768. "currentLine": {
  769. "type": "boolean"
  770. },
  771. "hovers": {
  772. "type": "boolean"
  773. },
  774. "statusBar": {
  775. "type": "boolean"
  776. },
  777. "views": {
  778. "type": "boolean"
  779. }
  780. }
  781. },
  782. "review": {
  783. "type": "object",
  784. "required": [
  785. "name"
  786. ],
  787. "properties": {
  788. "name": {
  789. "type": "string"
  790. },
  791. "statusBarItemName": {
  792. "type": "string"
  793. },
  794. "description": {
  795. "type": "string"
  796. },
  797. "codeLens": {
  798. "type": "boolean"
  799. },
  800. "currentLine": {
  801. "type": "boolean"
  802. },
  803. "hovers": {
  804. "type": "boolean"
  805. },
  806. "statusBar": {
  807. "type": "boolean"
  808. },
  809. "views": {
  810. "type": "boolean"
  811. }
  812. }
  813. }
  814. },
  815. "additionalProperties": {
  816. "type": "object",
  817. "required": [
  818. "name"
  819. ],
  820. "properties": {
  821. "name": {
  822. "type": "string"
  823. },
  824. "statusBarItemName": {
  825. "type": "string"
  826. },
  827. "description": {
  828. "type": "string"
  829. },
  830. "codeLens": {
  831. "type": "boolean"
  832. },
  833. "currentLine": {
  834. "type": "boolean"
  835. },
  836. "hovers": {
  837. "type": "boolean"
  838. },
  839. "statusBar": {
  840. "type": "boolean"
  841. },
  842. "views": {
  843. "type": "boolean"
  844. }
  845. }
  846. },
  847. "default": {
  848. "zen": {
  849. "name": "Zen",
  850. "statusBarItemName": "Zen",
  851. "description": "for a zen-like experience, disables many visual features",
  852. "codeLens": false,
  853. "currentLine": false,
  854. "hovers": false,
  855. "statusBar": false
  856. },
  857. "review": {
  858. "name": "Review",
  859. "statusBarItemName": "Reviewing",
  860. "description": "for reviewing code, enables many visual features",
  861. "codeLens": true,
  862. "currentLine": true,
  863. "hovers": true
  864. }
  865. },
  866. "description": "Specifies the user-defined GitLens modes",
  867. "scope": "window"
  868. },
  869. "gitlens.outputLevel": {
  870. "type": "string",
  871. "default": "silent",
  872. "enum": [
  873. "silent",
  874. "errors",
  875. "verbose",
  876. "debug"
  877. ],
  878. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  879. "scope": "window"
  880. },
  881. "gitlens.recentChanges.highlight.locations": {
  882. "type": "array",
  883. "default": [
  884. "gutter",
  885. "line",
  886. "overview"
  887. ],
  888. "items": {
  889. "type": "string",
  890. "enum": [
  891. "gutter",
  892. "line",
  893. "overview"
  894. ],
  895. "enumDescriptions": [
  896. "Adds a gutter glyph",
  897. "Adds a full-line highlight background color",
  898. "Adds a decoration to the overview ruler (scroll bar)"
  899. ]
  900. },
  901. "minItems": 1,
  902. "maxItems": 3,
  903. "uniqueItems": true,
  904. "description": "Specifies where the highlights of the recently changed lines will be shown",
  905. "scope": "window"
  906. },
  907. "gitlens.recentChanges.toggleMode": {
  908. "type": "string",
  909. "default": "file",
  910. "enum": [
  911. "file",
  912. "window"
  913. ],
  914. "enumDescriptions": [
  915. "Toggles each file individually",
  916. "Toggles the window, i.e. all files at once"
  917. ],
  918. "description": "Specifies how the recently changed lines annotations will be toggled",
  919. "scope": "window"
  920. },
  921. "gitlens.remotes": {
  922. "type": "array",
  923. "default": null,
  924. "items": {
  925. "type": "object",
  926. "required": [
  927. "type",
  928. "domain"
  929. ],
  930. "properties": {
  931. "type": {
  932. "type": "string",
  933. "enum": [
  934. "Bitbucket",
  935. "BitbucketServer",
  936. "Custom",
  937. "GitHub",
  938. "GitLab"
  939. ],
  940. "description": "Specifies the type of the custom remote service"
  941. },
  942. "domain": {
  943. "type": "string",
  944. "description": "Specifies the domain name of the custom remote service"
  945. },
  946. "name": {
  947. "type": "string",
  948. "description": "Specifies an optional friendly name for the custom remote service"
  949. },
  950. "protocol": {
  951. "type": "string",
  952. "default": "https",
  953. "description": "Specifies an optional url protocol for the custom remote service"
  954. },
  955. "urls": {
  956. "type": "object",
  957. "required": [
  958. "repository",
  959. "branches",
  960. "branch",
  961. "commit",
  962. "file",
  963. "fileInCommit",
  964. "fileInBranch",
  965. "fileLine",
  966. "fileRange"
  967. ],
  968. "properties": {
  969. "repository": {
  970. "type": "string",
  971. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  972. },
  973. "branches": {
  974. "type": "string",
  975. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  976. },
  977. "branch": {
  978. "type": "string",
  979. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  980. },
  981. "commit": {
  982. "type": "string",
  983. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  984. },
  985. "file": {
  986. "type": "string",
  987. "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"
  988. },
  989. "fileInBranch": {
  990. "type": "string",
  991. "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"
  992. },
  993. "fileInCommit": {
  994. "type": "string",
  995. "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"
  996. },
  997. "fileLine": {
  998. "type": "string",
  999. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  1000. },
  1001. "fileRange": {
  1002. "type": "string",
  1003. "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"
  1004. }
  1005. }
  1006. },
  1007. "description": "Specifies the url formats of the custom remote service"
  1008. }
  1009. },
  1010. "uniqueItems": true,
  1011. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1012. "scope": "resource"
  1013. },
  1014. "gitlens.settings.mode": {
  1015. "type": "string",
  1016. "default": "simple",
  1017. "enum": [
  1018. "simple",
  1019. "advanced"
  1020. ],
  1021. "enumDescriptions": [
  1022. "Only displays common settings",
  1023. "Displays all settings"
  1024. ],
  1025. "description": "Specifies the display mode of the interactive settings editor",
  1026. "scope": "window"
  1027. },
  1028. "gitlens.showWhatsNewAfterUpgrades": {
  1029. "type": "boolean",
  1030. "default": true,
  1031. "description": "Specifies whether to show What's New after upgrading to new feature releases",
  1032. "scope": "window"
  1033. },
  1034. "gitlens.statusBar.alignment": {
  1035. "type": "string",
  1036. "default": "right",
  1037. "enum": [
  1038. "left",
  1039. "right"
  1040. ],
  1041. "enumDescriptions": [
  1042. "Aligns to the left",
  1043. "Aligns to the right"
  1044. ],
  1045. "description": "Specifies the blame alignment in the status bar",
  1046. "scope": "window"
  1047. },
  1048. "gitlens.statusBar.command": {
  1049. "type": "string",
  1050. "default": "gitlens.showQuickCommitDetails",
  1051. "enum": [
  1052. "gitlens.toggleFileBlame",
  1053. "gitlens.diffWithPrevious",
  1054. "gitlens.diffWithWorking",
  1055. "gitlens.toggleCodeLens",
  1056. "gitlens.showQuickCommitDetails",
  1057. "gitlens.showQuickCommitFileDetails",
  1058. "gitlens.showQuickFileHistory",
  1059. "gitlens.showQuickRepoHistory"
  1060. ],
  1061. "enumDescriptions": [
  1062. "Toggles file blame annotations",
  1063. "Compares the current line commit with the previous",
  1064. "Compares the current line commit with the working tree",
  1065. "Toggles Git code lens",
  1066. "Shows a commit details quick pick",
  1067. "Shows a commit file details quick pick",
  1068. "Shows a file history quick pick",
  1069. "Shows a branch history quick pick"
  1070. ],
  1071. "description": "Specifies the command to be executed when the blame status bar item is clicked",
  1072. "scope": "window"
  1073. },
  1074. "gitlens.statusBar.dateFormat": {
  1075. "type": "string",
  1076. "default": null,
  1077. "description": "Specifies the date format of absolute dates shown in the blame information in the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats",
  1078. "scope": "window"
  1079. },
  1080. "gitlens.statusBar.enabled": {
  1081. "type": "boolean",
  1082. "default": true,
  1083. "description": "Specifies whether to provide blame information in the status bar",
  1084. "scope": "window"
  1085. },
  1086. "gitlens.statusBar.format": {
  1087. "type": "string",
  1088. "default": "${authorAgoOrDate}",
  1089. "description": "Specifies the format of the status bar blame information\nAvailable 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`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1090. "scope": "window"
  1091. },
  1092. "gitlens.statusBar.reduceFlicker": {
  1093. "type": "boolean",
  1094. "default": false,
  1095. "description": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1096. "scope": "window"
  1097. },
  1098. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1099. "type": "string",
  1100. "default": "Unsaved changes (cannot determine recent change or authors)",
  1101. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  1102. "scope": "window"
  1103. },
  1104. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1105. "type": "string",
  1106. "default": "Unsaved changes (cannot determine recent change)",
  1107. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  1108. "scope": "window"
  1109. },
  1110. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1111. "type": "string",
  1112. "default": "Unsaved changes (cannot determine authors)",
  1113. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  1114. "scope": "window"
  1115. },
  1116. "gitlens.views.avatars": {
  1117. "type": "boolean",
  1118. "default": true,
  1119. "description": "Specifies whether to show avatar images instead of commit (or status) icons in the `Repositories` and `Results` views",
  1120. "scope": "window"
  1121. },
  1122. "gitlens.views.commitFileFormat": {
  1123. "type": "string",
  1124. "default": "${filePath}",
  1125. "description": "Specifies the format of a committed file in the `Repositories` and `Results` views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  1126. "scope": "window"
  1127. },
  1128. "gitlens.views.commitFormat": {
  1129. "type": "string",
  1130. "default": "${message} • ${authorAgoOrDate}${ • changes}${ (id)}",
  1131. "description": "Specifies the format of committed changes in the `Repositories` and `Results` views\nAvailable 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`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1132. "scope": "window"
  1133. },
  1134. "gitlens.views.defaultItemLimit": {
  1135. "type": "number",
  1136. "default": 10,
  1137. "description": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
  1138. "scope": "window"
  1139. },
  1140. "gitlens.views.fileHistory.avatars": {
  1141. "type": "boolean",
  1142. "default": true,
  1143. "description": "Specifies whether to show avatar images instead of status icons in the `File History` view",
  1144. "scope": "window"
  1145. },
  1146. "gitlens.views.fileHistory.enabled": {
  1147. "type": "boolean",
  1148. "default": true,
  1149. "description": "Specifies whether to show the `File History` view",
  1150. "scope": "window"
  1151. },
  1152. "gitlens.views.fileHistory.location": {
  1153. "type": "string",
  1154. "default": "gitlens",
  1155. "enum": [
  1156. "gitlens",
  1157. "explorer",
  1158. "scm"
  1159. ],
  1160. "enumDescriptions": [
  1161. "Adds to the GitLens view",
  1162. "Adds to the Explorer view",
  1163. "Adds to the Source Control view"
  1164. ],
  1165. "description": "Specifies where to show the `File History` view",
  1166. "scope": "window"
  1167. },
  1168. "gitlens.views.lineHistory.avatars": {
  1169. "type": "boolean",
  1170. "default": true,
  1171. "description": "Specifies whether to show avatar images instead of status icons in the `Line History` view",
  1172. "scope": "window"
  1173. },
  1174. "gitlens.views.lineHistory.enabled": {
  1175. "type": "boolean",
  1176. "default": true,
  1177. "description": "Specifies whether to show the `Line History` view",
  1178. "scope": "window"
  1179. },
  1180. "gitlens.views.lineHistory.location": {
  1181. "type": "string",
  1182. "default": "gitlens",
  1183. "enum": [
  1184. "gitlens",
  1185. "explorer",
  1186. "scm"
  1187. ],
  1188. "enumDescriptions": [
  1189. "Adds to the GitLens view",
  1190. "Adds to the Explorer view",
  1191. "Adds to the Source Control view"
  1192. ],
  1193. "description": "Specifies where to show the `Line History` view",
  1194. "scope": "window"
  1195. },
  1196. "gitlens.views.repositories.autoRefresh": {
  1197. "type": "boolean",
  1198. "default": true,
  1199. "description": "Specifies whether to automatically refresh the `Repositories` view when the repository or the file system changes",
  1200. "scope": "window"
  1201. },
  1202. "gitlens.views.repositories.autoReveal": {
  1203. "type": "boolean",
  1204. "default": true,
  1205. "description": "Specifies whether to automatically reveal repositories in the `Repositories` view when opening files",
  1206. "scope": "window"
  1207. },
  1208. "gitlens.views.repositories.branches.layout": {
  1209. "type": "string",
  1210. "default": "tree",
  1211. "enum": [
  1212. "list",
  1213. "tree"
  1214. ],
  1215. "enumDescriptions": [
  1216. "Displays branches as a list",
  1217. "Displays branches as a tree when branch names contain slashes `/`"
  1218. ],
  1219. "description": "Specifies how the `Repositories` view will display branches",
  1220. "scope": "window"
  1221. },
  1222. "gitlens.views.repositories.enabled": {
  1223. "type": "boolean",
  1224. "default": true,
  1225. "description": "Specifies whether to show the `Repositories` view",
  1226. "scope": "window"
  1227. },
  1228. "gitlens.views.repositories.files.compact": {
  1229. "type": "boolean",
  1230. "default": true,
  1231. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `Repositories` view\nOnly applies when `#gitlens.views.repositories.files.layout#` is set to `tree` or `auto`",
  1232. "scope": "window"
  1233. },
  1234. "gitlens.views.repositories.files.layout": {
  1235. "type": "string",
  1236. "default": "auto",
  1237. "enum": [
  1238. "auto",
  1239. "list",
  1240. "tree"
  1241. ],
  1242. "enumDescriptions": [
  1243. "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",
  1244. "Displays files as a list",
  1245. "Displays files as a tree"
  1246. ],
  1247. "description": "Specifies how the `Repositories` view will display files",
  1248. "scope": "window"
  1249. },
  1250. "gitlens.views.repositories.files.threshold": {
  1251. "type": "number",
  1252. "default": 5,
  1253. "description": "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\nOnly applies when `#gitlens.views.repositories.files.layout#` is set to `auto`",
  1254. "scope": "window"
  1255. },
  1256. "gitlens.views.repositories.includeWorkingTree": {
  1257. "type": "boolean",
  1258. "default": true,
  1259. "description": "Specifies whether to include working tree files inside the `Repository Status` node of the `Repositories` view",
  1260. "scope": "window"
  1261. },
  1262. "gitlens.views.repositories.location": {
  1263. "type": "string",
  1264. "default": "gitlens",
  1265. "enum": [
  1266. "gitlens",
  1267. "explorer",
  1268. "scm"
  1269. ],
  1270. "enumDescriptions": [
  1271. "Adds to the GitLens view",
  1272. "Adds to the Explorer view",
  1273. "Adds to the Source Control view"
  1274. ],
  1275. "description": "Specifies where to show the `Repositories` view",
  1276. "scope": "window"
  1277. },
  1278. "gitlens.views.repositories.showTrackingBranch": {
  1279. "type": "boolean",
  1280. "default": true,
  1281. "description": "Specifies whether to show the tracking branch when displaying local branches in the `Repositories` view",
  1282. "scope": "window"
  1283. },
  1284. "gitlens.views.results.files.compact": {
  1285. "type": "boolean",
  1286. "default": true,
  1287. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `Results` view\nOnly applies when `#gitlens.views.results.files.layout#` is set to `tree` or `auto`",
  1288. "scope": "window"
  1289. },
  1290. "gitlens.views.results.files.layout": {
  1291. "type": "string",
  1292. "default": "auto",
  1293. "enum": [
  1294. "auto",
  1295. "list",
  1296. "tree"
  1297. ],
  1298. "enumDescriptions": [
  1299. "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",
  1300. "Displays files as a list",
  1301. "Displays files as a tree"
  1302. ],
  1303. "description": "Specifies how the `Results` view will display files",
  1304. "scope": "window"
  1305. },
  1306. "gitlens.views.results.files.threshold": {
  1307. "type": "number",
  1308. "default": 5,
  1309. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `Results` view\nOnly applies when `#gitlens.views.results.files.layout#` is set to `auto`",
  1310. "scope": "window"
  1311. },
  1312. "gitlens.views.results.location": {
  1313. "type": "string",
  1314. "default": "gitlens",
  1315. "enum": [
  1316. "gitlens",
  1317. "explorer",
  1318. "scm"
  1319. ],
  1320. "enumDescriptions": [
  1321. "Adds to the GitLens view",
  1322. "Adds to the Explorer view",
  1323. "Adds to the Source Control view"
  1324. ],
  1325. "description": "Specifies where to show the `Results` view",
  1326. "scope": "window"
  1327. },
  1328. "gitlens.views.stashFileFormat": {
  1329. "type": "string",
  1330. "default": "${filePath}",
  1331. "description": "Specifies the format of a stashed file in the `Repositories` and `Results` views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  1332. "scope": "window"
  1333. },
  1334. "gitlens.views.stashFormat": {
  1335. "type": "string",
  1336. "default": "${message}",
  1337. "description": "Specifies the format of stashed changes in the `Repositories` and `Results` views\nAvailable 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`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1338. "scope": "window"
  1339. },
  1340. "gitlens.views.statusFileFormat": {
  1341. "type": "string",
  1342. "default": "${working }${filePath}",
  1343. "description": "Specifies the format of the status of a working or committed file in the `Repositories` view\nAvailable 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",
  1344. "scope": "window"
  1345. },
  1346. "gitlens.advanced.blame.customArguments": {
  1347. "type": "array",
  1348. "default": null,
  1349. "items": {
  1350. "type": "string"
  1351. },
  1352. "description": "Specifies additional arguments to pass to the `git blame` command",
  1353. "scope": "resource"
  1354. },
  1355. "gitlens.advanced.blame.delayAfterEdit": {
  1356. "type": "number",
  1357. "default": 5000,
  1358. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1359. "scope": "window"
  1360. },
  1361. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1362. "type": "number",
  1363. "default": 5000,
  1364. "description": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  1365. "scope": "window"
  1366. },
  1367. "gitlens.advanced.caching.enabled": {
  1368. "type": "boolean",
  1369. "default": true,
  1370. "description": "Specifies whether git output will be cached — changing the default is not recommended",
  1371. "scope": "window"
  1372. },
  1373. "gitlens.advanced.fileHistoryFollowsRenames": {
  1374. "type": "boolean",
  1375. "default": true,
  1376. "description": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  1377. "scope": "window"
  1378. },
  1379. "gitlens.advanced.maxListItems": {
  1380. "type": "number",
  1381. "default": 200,
  1382. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  1383. "scope": "window"
  1384. },
  1385. "gitlens.advanced.messages": {
  1386. "type": "object",
  1387. "default": {
  1388. "suppressCommitHasNoPreviousCommitWarning": false,
  1389. "suppressCommitNotFoundWarning": false,
  1390. "suppressFileNotUnderSourceControlWarning": false,
  1391. "suppressGitDisabledWarning": false,
  1392. "suppressGitVersionWarning": false,
  1393. "suppressLineUncommittedWarning": false,
  1394. "suppressNoRepositoryWarning": false,
  1395. "suppressShowKeyBindingsNotice": false
  1396. },
  1397. "properties": {
  1398. "suppressCommitHasNoPreviousCommitWarning": {
  1399. "type": "boolean",
  1400. "default": false
  1401. },
  1402. "suppressCommitNotFoundWarning": {
  1403. "type": "boolean",
  1404. "default": false
  1405. },
  1406. "suppressFileNotUnderSourceControlWarning": {
  1407. "type": "boolean",
  1408. "default": false
  1409. },
  1410. "suppressGitDisabledWarning": {
  1411. "type": "boolean",
  1412. "default": false
  1413. },
  1414. "suppressGitVersionWarning": {
  1415. "type": "boolean",
  1416. "default": false
  1417. },
  1418. "suppressLineUncommittedWarning": {
  1419. "type": "boolean",
  1420. "default": false
  1421. },
  1422. "suppressNoRepositoryWarning": {
  1423. "type": "boolean",
  1424. "default": false
  1425. },
  1426. "suppressShowKeyBindingsNotice": {
  1427. "type": "boolean",
  1428. "default": false
  1429. }
  1430. },
  1431. "description": "Specifies which messages should be suppressed",
  1432. "scope": "window"
  1433. },
  1434. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1435. "type": "boolean",
  1436. "default": true,
  1437. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1438. "scope": "window"
  1439. },
  1440. "gitlens.advanced.repositorySearchDepth": {
  1441. "type": "number",
  1442. "default": 1,
  1443. "description": "Specifies how many folders deep to search for repositories",
  1444. "scope": "resource"
  1445. },
  1446. "gitlens.advanced.telemetry.enabled": {
  1447. "type": "boolean",
  1448. "default": true,
  1449. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1450. "scope": "window"
  1451. }
  1452. }
  1453. },
  1454. "colors": [
  1455. {
  1456. "id": "gitlens.gutterBackgroundColor",
  1457. "description": "Specifies the background color of the gutter blame annotations",
  1458. "defaults": {
  1459. "dark": "#FFFFFF13",
  1460. "light": "#0000000C",
  1461. "highContrast": "#FFFFFF13"
  1462. }
  1463. },
  1464. {
  1465. "id": "gitlens.gutterForegroundColor",
  1466. "description": "Specifies the foreground color of the gutter blame annotations",
  1467. "defaults": {
  1468. "dark": "#BEBEBE",
  1469. "light": "#747474",
  1470. "highContrast": "#BEBEBE"
  1471. }
  1472. },
  1473. {
  1474. "id": "gitlens.gutterUncommittedForegroundColor",
  1475. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1476. "defaults": {
  1477. "dark": "#00BCF299",
  1478. "light": "#00BCF299",
  1479. "highContrast": "#00BCF2FF"
  1480. }
  1481. },
  1482. {
  1483. "id": "gitlens.trailingLineBackgroundColor",
  1484. "description": "Specifies the background color of the blame annotation for the current line",
  1485. "defaults": {
  1486. "dark": "#00000000",
  1487. "light": "#00000000",
  1488. "highContrast": "#00000000"
  1489. }
  1490. },
  1491. {
  1492. "id": "gitlens.trailingLineForegroundColor",
  1493. "description": "Specifies the foreground color of the blame annotation for the current line",
  1494. "defaults": {
  1495. "dark": "#99999959",
  1496. "light": "#99999959",
  1497. "highContrast": "#99999999"
  1498. }
  1499. },
  1500. {
  1501. "id": "gitlens.lineHighlightBackgroundColor",
  1502. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1503. "defaults": {
  1504. "dark": "#00BCF233",
  1505. "light": "#00BCF233",
  1506. "highContrast": "#00BCF233"
  1507. }
  1508. },
  1509. {
  1510. "id": "gitlens.lineHighlightOverviewRulerColor",
  1511. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1512. "defaults": {
  1513. "dark": "#00BCF299",
  1514. "light": "#00BCF299",
  1515. "highContrast": "#00BCF299"
  1516. }
  1517. }
  1518. ],
  1519. "commands": [
  1520. {
  1521. "command": "gitlens.showSettingsPage",
  1522. "title": "Open Settings",
  1523. "category": "GitLens"
  1524. },
  1525. {
  1526. "command": "gitlens.showWelcomePage",
  1527. "title": "Welcome",
  1528. "category": "GitLens"
  1529. },
  1530. {
  1531. "command": "gitlens.showFileHistoryView",
  1532. "title": "Show File History View",
  1533. "category": "GitLens"
  1534. },
  1535. {
  1536. "command": "gitlens.showLineHistoryView",
  1537. "title": "Show Line History View",
  1538. "category": "GitLens"
  1539. },
  1540. {
  1541. "command": "gitlens.showRepositoriesView",
  1542. "title": "Show Repositories View",
  1543. "category": "GitLens"
  1544. },
  1545. {
  1546. "command": "gitlens.showResultsView",
  1547. "title": "Show Results View",
  1548. "category": "GitLens"
  1549. },
  1550. {
  1551. "command": "gitlens.diffDirectory",
  1552. "title": "Directory Compare Working Tree with...",
  1553. "category": "GitLens"
  1554. },
  1555. {
  1556. "command": "gitlens.diffHeadWithBranch",
  1557. "title": "Compare HEAD with Branch or Tag...",
  1558. "category": "GitLens"
  1559. },
  1560. {
  1561. "command": "gitlens.diffWorkingWithBranch",
  1562. "title": "Compare Working Tree with Branch or Tag...",
  1563. "category": "GitLens"
  1564. },
  1565. {
  1566. "command": "gitlens.diffWithBranch",
  1567. "title": "Open Changes with Branch or Tag...",
  1568. "category": "GitLens"
  1569. },
  1570. {
  1571. "command": "gitlens.diffWithNext",
  1572. "title": "Open Changes with Next Revision",
  1573. "category": "GitLens",
  1574. "icon": {
  1575. "dark": "images/dark/icon-next-commit.svg",
  1576. "light": "images/light/icon-next-commit.svg"
  1577. }
  1578. },
  1579. {
  1580. "command": "gitlens.diffWithPrevious",
  1581. "title": "Open Changes with Previous Revision",
  1582. "category": "GitLens",
  1583. "icon": {
  1584. "dark": "images/dark/icon-prev-commit.svg",
  1585. "light": "images/light/icon-prev-commit.svg"
  1586. }
  1587. },
  1588. {
  1589. "command": "gitlens.diffWithPreviousInDiff",
  1590. "title": "Open Changes with Previous Revision",
  1591. "category": "GitLens",
  1592. "icon": {
  1593. "dark": "images/dark/icon-prev-commit.svg",
  1594. "light": "images/light/icon-prev-commit.svg"
  1595. }
  1596. },
  1597. {
  1598. "command": "gitlens.diffLineWithPrevious",
  1599. "title": "Open Line Changes with Previous Revision",
  1600. "category": "GitLens"
  1601. },
  1602. {
  1603. "command": "gitlens.diffWithRevision",
  1604. "title": "Open Changes with Revision...",
  1605. "category": "GitLens",
  1606. "icon": {
  1607. "dark": "images/dark/icon-prev-commit-menu.svg",
  1608. "light": "images/light/icon-prev-commit-menu.svg"
  1609. }
  1610. },
  1611. {
  1612. "command": "gitlens.diffWithWorking",
  1613. "title": "Open Changes with Working File",
  1614. "category": "GitLens",
  1615. "icon": {
  1616. "dark": "images/dark/icon-compare.svg",
  1617. "light": "images/light/icon-compare.svg"
  1618. }
  1619. },
  1620. {
  1621. "command": "gitlens.diffLineWithWorking",
  1622. "title": "Open Line Changes with Working File",
  1623. "category": "GitLens"
  1624. },
  1625. {
  1626. "command": "gitlens.toggleFileBlame",
  1627. "title": "Toggle File Blame Annotations",
  1628. "category": "GitLens",
  1629. "icon": {
  1630. "dark": "images/dark/icon-git.svg",
  1631. "light": "images/light/icon-git.svg"
  1632. }
  1633. },
  1634. {
  1635. "command": "gitlens.clearFileAnnotations",
  1636. "title": "Clear File Annotations",
  1637. "category": "GitLens",
  1638. "icon": {
  1639. "dark": "images/dark/icon-git-orange.svg",
  1640. "light": "images/light/icon-git-orange.svg"
  1641. }
  1642. },
  1643. {
  1644. "command": "gitlens.computingFileAnnotations",
  1645. "title": "Computing File Annotations...",
  1646. "category": "GitLens",
  1647. "icon": {
  1648. "dark": "images/dark/icon-git-progress.svg",
  1649. "light": "images/light/icon-git-progress.svg"
  1650. }
  1651. },
  1652. {
  1653. "command": "gitlens.toggleFileHeatmap",
  1654. "title": "Toggle File Heatmap Annotations",
  1655. "category": "GitLens"
  1656. },
  1657. {
  1658. "command": "gitlens.toggleFileRecentChanges",
  1659. "title": "Toggle Recent File Changes Annotations",
  1660. "category": "GitLens",
  1661. "icon": {
  1662. "dark": "images/dark/icon-git.svg",
  1663. "light": "images/light/icon-git.svg"
  1664. }
  1665. },
  1666. {
  1667. "command": "gitlens.toggleLineBlame",
  1668. "title": "Toggle Line Blame Annotations",
  1669. "category": "GitLens"
  1670. },
  1671. {
  1672. "command": "gitlens.toggleCodeLens",
  1673. "title": "Toggle Git Code Lens",
  1674. "category": "GitLens"
  1675. },
  1676. {
  1677. "command": "gitlens.switchMode",
  1678. "title": "Switch Mode",
  1679. "category": "GitLens"
  1680. },
  1681. {
  1682. "command": "gitlens.toggleReviewMode",
  1683. "title": "Toggle Review Mode",
  1684. "category": "GitLens"
  1685. },
  1686. {
  1687. "command": "gitlens.toggleZenMode",
  1688. "title": "Toggle Zen Mode",
  1689. "category": "GitLens"
  1690. },
  1691. {
  1692. "command": "gitlens.showCommitSearch",
  1693. "title": "Search Commits",
  1694. "category": "GitLens",
  1695. "icon": {
  1696. "dark": "images/dark/icon-search.svg",
  1697. "light": "images/light/icon-search.svg"
  1698. }
  1699. },
  1700. {
  1701. "command": "gitlens.showLastQuickPick",
  1702. "title": "Show Last Opened Quick Pick",
  1703. "category": "GitLens"
  1704. },
  1705. {
  1706. "command": "gitlens.showCommitInResults",
  1707. "title": "Show Commit in Results",
  1708. "category": "GitLens"
  1709. },
  1710. {
  1711. "command": "gitlens.showFileHistoryInResults",
  1712. "title": "Show File History in Results",
  1713. "category": "GitLens"
  1714. },
  1715. {
  1716. "command": "gitlens.showQuickCommitDetails",
  1717. "title": "Show Commit Details",
  1718. "category": "GitLens"
  1719. },
  1720. {
  1721. "command": "gitlens.showQuickCommitFileDetails",
  1722. "title": "Show Commit Details",
  1723. "category": "GitLens"
  1724. },
  1725. {
  1726. "command": "gitlens.showQuickRevisionDetails",
  1727. "title": "Show Revision Details",
  1728. "category": "GitLens",
  1729. "icon": {
  1730. "dark": "images/dark/icon-commit.svg",
  1731. "light": "images/light/icon-commit.svg"
  1732. }
  1733. },
  1734. {
  1735. "command": "gitlens.showQuickFileHistory",
  1736. "title": "Show File History",
  1737. "category": "GitLens"
  1738. },
  1739. {
  1740. "command": "gitlens.showQuickBranchHistory",
  1741. "title": "Show Branch History",
  1742. "category": "GitLens"
  1743. },
  1744. {
  1745. "command": "gitlens.showQuickRepoHistory",
  1746. "title": "Show Current Branch History",
  1747. "category": "GitLens"
  1748. },
  1749. {
  1750. "command": "gitlens.showQuickRepoStatus",
  1751. "title": "Show Repository Status",
  1752. "category": "GitLens"
  1753. },
  1754. {
  1755. "command": "gitlens.showQuickStashList",
  1756. "title": "Show Stashed Changes",
  1757. "category": "GitLens"
  1758. },
  1759. {
  1760. "command": "gitlens.copyMessageToClipboard",
  1761. "title": "Copy Commit Message to Clipboard",
  1762. "category": "GitLens"
  1763. },
  1764. {
  1765. "command": "gitlens.copyRemoteFileUrlToClipboard",
  1766. "title": "Copy Remote File Url to Clipboard",
  1767. "category": "GitLens"
  1768. },
  1769. {
  1770. "command": "gitlens.copyShaToClipboard",
  1771. "title": "Copy Commit ID to Clipboard",
  1772. "category": "GitLens"
  1773. },
  1774. {
  1775. "command": "gitlens.closeUnchangedFiles",
  1776. "title": "Close Unchanged Files",
  1777. "category": "GitLens"
  1778. },
  1779. {
  1780. "command": "gitlens.openChangedFiles",
  1781. "title": "Open Changed Files",
  1782. "category": "GitLens"
  1783. },
  1784. {
  1785. "command": "gitlens.openBranchesInRemote",
  1786. "title": "Open Branches on Remote",
  1787. "category": "GitLens"
  1788. },
  1789. {
  1790. "command": "gitlens.openBranchInRemote",
  1791. "title": "Open Branch on Remote",
  1792. "category": "GitLens"
  1793. },
  1794. {
  1795. "command": "gitlens.openCommitInRemote",
  1796. "title": "Open Commit on Remote",
  1797. "category": "GitLens"
  1798. },
  1799. {
  1800. "command": "gitlens.openFileInRemote",
  1801. "title": "Open File on Remote",
  1802. "category": "GitLens"
  1803. },
  1804. {
  1805. "command": "gitlens.openFileRevision",
  1806. "title": "Open Revision...",
  1807. "category": "GitLens"
  1808. },
  1809. {
  1810. "command": "gitlens.openRepoInRemote",
  1811. "title": "Open Repository on Remote",
  1812. "category": "GitLens"
  1813. },
  1814. {
  1815. "command": "gitlens.openWorkingFile",
  1816. "title": "Open Working File",
  1817. "category": "GitLens",
  1818. "icon": {
  1819. "dark": "images/dark/icon-open-working-file.svg",
  1820. "light": "images/light/icon-open-working-file.svg"
  1821. }
  1822. },
  1823. {
  1824. "command": "gitlens.stashApply",
  1825. "title": "Apply Stashed Changes",
  1826. "category": "GitLens",
  1827. "icon": {
  1828. "dark": "images/dark/icon-stash-pop.svg",
  1829. "light": "images/light/icon-stash-pop.svg"
  1830. }
  1831. },
  1832. {
  1833. "command": "gitlens.stashDelete",
  1834. "title": "Delete Stashed Changes",
  1835. "category": "GitLens"
  1836. },
  1837. {
  1838. "command": "gitlens.stashSave",
  1839. "title": "Stash Changes",
  1840. "category": "GitLens",
  1841. "icon": {
  1842. "dark": "images/dark/icon-stash-save.svg",
  1843. "light": "images/light/icon-stash-save.svg"
  1844. }
  1845. },
  1846. {
  1847. "command": "gitlens.externalDiff",
  1848. "title": "Open Changes (with difftool)",
  1849. "category": "GitLens"
  1850. },
  1851. {
  1852. "command": "gitlens.externalDiffAll",
  1853. "title": "Open All Changes (with difftool)",
  1854. "category": "GitLens"
  1855. },
  1856. {
  1857. "command": "gitlens.resetSuppressedWarnings",
  1858. "title": "Reset Suppressed Warnings",
  1859. "category": "GitLens"
  1860. },
  1861. {
  1862. "command": "gitlens.views.exploreRepoRevision",
  1863. "title": "Explore the Repository from Here",
  1864. "category": "GitLens"
  1865. },
  1866. {
  1867. "command": "gitlens.views.repositories.fetchAll",
  1868. "title": "Fetch Repositories",
  1869. "category": "GitLens",
  1870. "icon": {
  1871. "dark": "images/dark/icon-sync.svg",
  1872. "light": "images/light/icon-sync.svg"
  1873. }
  1874. },
  1875. {
  1876. "command": "gitlens.views.repositories.pullAll",
  1877. "title": "Pull Repositories",
  1878. "category": "GitLens",
  1879. "icon": {
  1880. "dark": "images/dark/icon-download.svg",
  1881. "light": "images/light/icon-download.svg"
  1882. }
  1883. },
  1884. {
  1885. "command": "gitlens.views.fetch",
  1886. "title": "Fetch Repository",
  1887. "category": "GitLens",
  1888. "icon": {
  1889. "dark": "images/dark/icon-sync.svg",
  1890. "light": "images/light/icon-sync.svg"
  1891. }
  1892. },
  1893. {
  1894. "command": "gitlens.views.pull",
  1895. "title": "Pull Repository",
  1896. "category": "GitLens",
  1897. "icon": {
  1898. "dark": "images/dark/icon-download.svg",
  1899. "light": "images/light/icon-download.svg"
  1900. }
  1901. },
  1902. {
  1903. "command": "gitlens.views.push",
  1904. "title": "Push Repository",
  1905. "category": "GitLens",
  1906. "icon": {
  1907. "dark": "images/dark/icon-upload.svg",
  1908. "light": "images/light/icon-upload.svg"
  1909. }
  1910. },
  1911. {
  1912. "command": "gitlens.views.stageFile",
  1913. "title": "Stage Changes",
  1914. "category": "GitLens",
  1915. "icon": {
  1916. "dark": "images/dark/icon-add.svg",
  1917. "light": "images/light/icon-add.svg"
  1918. }
  1919. },
  1920. {
  1921. "command": "gitlens.views.unstageFile",
  1922. "title": "Unstage Changes",
  1923. "category": "GitLens",
  1924. "icon": {
  1925. "dark": "images/dark/icon-minus.svg",
  1926. "light": "images/light/icon-minus.svg"
  1927. }
  1928. },
  1929. {
  1930. "command": "gitlens.views.openDirectoryDiff",
  1931. "title": "Open Directory Compare",
  1932. "category": "GitLens"
  1933. },
  1934. {
  1935. "command": "gitlens.views.openDirectoryDiffWithWorking",
  1936. "title": "Open Directory Compare with Working Tree",
  1937. "category": "GitLens"
  1938. },
  1939. {
  1940. "command": "gitlens.views.openChanges",
  1941. "title": "Open Changes",
  1942. "category": "GitLens"
  1943. },
  1944. {
  1945. "command": "gitlens.views.openChangesWithWorking",
  1946. "title": "Open Changes with Working File",
  1947. "category": "GitLens"
  1948. },
  1949. {
  1950. "command": "gitlens.views.openFile",
  1951. "title": "Open File",
  1952. "category": "GitLens",
  1953. "icon": {
  1954. "dark": "images/dark/icon-open-file.svg",
  1955. "light": "images/light/icon-open-file.svg"
  1956. }
  1957. },
  1958. {
  1959. "command": "gitlens.views.openFileRevision",
  1960. "title": "Open Revision",
  1961. "category": "GitLens"
  1962. },
  1963. {
  1964. "command": "gitlens.views.openFileRevisionInRemote",
  1965. "title": "Open Revision on Remote",
  1966. "category": "GitLens"
  1967. },
  1968. {
  1969. "command": "gitlens.views.openChangedFiles",
  1970. "title": "Open Files",
  1971. "category": "GitLens"
  1972. },
  1973. {
  1974. "command": "gitlens.views.openChangedFileChanges",
  1975. "title": "Open All Changes",
  1976. "category": "GitLens"
  1977. },
  1978. {
  1979. "command": "gitlens.views.openChangedFileChangesWithWorking",
  1980. "title": "Open All Changes with Working Tree",
  1981. "category": "GitLens"
  1982. },
  1983. {
  1984. "command": "gitlens.views.openChangedFileRevisions",
  1985. "title": "Open Revisions",
  1986. "category": "GitLens"
  1987. },
  1988. {
  1989. "command": "gitlens.views.applyChanges",
  1990. "title": "Apply Changes",
  1991. "category": "GitLens"
  1992. },
  1993. {
  1994. "command": "gitlens.views.closeRepository",
  1995. "title": "Close Repository",
  1996. "category": "GitLens"
  1997. },
  1998. {
  1999. "command": "gitlens.views.compareAncestryWithWorking",
  2000. "title": "Compare Ancestry with Working Tree",
  2001. "category": "GitLens"
  2002. },
  2003. {
  2004. "command": "gitlens.views.compareWithHead",
  2005. "title": "Compare with HEAD",
  2006. "category": "GitLens"
  2007. },
  2008. {
  2009. "command": "gitlens.views.compareWithRemote",
  2010. "title": "Compare with Remote",
  2011. "category": "GitLens"
  2012. },
  2013. {
  2014. "command": "gitlens.views.compareWithSelected",
  2015. "title": "Compare with Selected",
  2016. "category": "GitLens"
  2017. },
  2018. {
  2019. "command": "gitlens.views.compareWithWorking",
  2020. "title": "Compare with Working Tree",
  2021. "category": "GitLens"
  2022. },
  2023. {
  2024. "command": "gitlens.views.selectForCompare",
  2025. "title": "Select for Compare",
  2026. "category": "GitLens"
  2027. },
  2028. {
  2029. "command": "gitlens.views.terminalCheckoutBranch",
  2030. "title": "Checkout Branch (via Terminal)",
  2031. "category": "GitLens"
  2032. },
  2033. {
  2034. "command": "gitlens.views.terminalCreateBranch",
  2035. "title": "Create Branch (via Terminal)...",
  2036. "category": "GitLens"
  2037. },
  2038. {
  2039. "command": "gitlens.views.terminalDeleteBranch",
  2040. "title": "Delete Branch (via Terminal)",
  2041. "category": "GitLens"
  2042. },
  2043. {
  2044. "command": "gitlens.views.terminalMergeBranch",
  2045. "title": "Merge Branch (via Terminal)",
  2046. "category": "GitLens"
  2047. },
  2048. {
  2049. "command": "gitlens.views.terminalRebaseBranch",
  2050. "title": "Rebase (Interactive) Branch (via Terminal)",
  2051. "category": "GitLens"
  2052. },
  2053. {
  2054. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2055. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2056. "category": "GitLens"
  2057. },
  2058. {
  2059. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2060. "title": "Squash Branch into Commit (via Terminal)",
  2061. "category": "GitLens"
  2062. },
  2063. {
  2064. "command": "gitlens.views.terminalCheckoutCommit",
  2065. "title": "Checkout Commit (via Terminal)",
  2066. "category": "GitLens"
  2067. },
  2068. {
  2069. "command": "gitlens.views.terminalCherryPickCommit",
  2070. "title": "Cherry Pick Commit (via Terminal)",
  2071. "category": "GitLens"
  2072. },
  2073. {
  2074. "command": "gitlens.views.terminalPushCommit",
  2075. "title": "Push to Commit (via Terminal)",
  2076. "category": "GitLens"
  2077. },
  2078. {
  2079. "command": "gitlens.views.terminalRebaseCommit",
  2080. "title": "Rebase to Commit (via Terminal)",
  2081. "category": "GitLens"
  2082. },
  2083. {
  2084. "command": "gitlens.views.terminalResetCommit",
  2085. "title": "Reset to Commit (via Terminal)",
  2086. "category": "GitLens"
  2087. },
  2088. {
  2089. "command": "gitlens.views.terminalRevertCommit",
  2090. "title": "Revert Commit (via Terminal)",
  2091. "category": "GitLens"
  2092. },
  2093. {
  2094. "command": "gitlens.views.terminalRemoveRemote",
  2095. "title": "Remove Remote (via Terminal)",
  2096. "category": "GitLens"
  2097. },
  2098. {
  2099. "command": "gitlens.views.terminalCreateTag",
  2100. "title": "Create Tag (via Terminal)...",
  2101. "category": "GitLens"
  2102. },
  2103. {
  2104. "command": "gitlens.views.terminalDeleteTag",
  2105. "title": "Delete Tag (via Terminal)",
  2106. "category": "GitLens"
  2107. },
  2108. {
  2109. "command": "gitlens.views.repositories.refresh",
  2110. "title": "Refresh",
  2111. "category": "GitLens",
  2112. "icon": {
  2113. "dark": "images/dark/icon-refresh.svg",
  2114. "light": "images/light/icon-refresh.svg"
  2115. }
  2116. },
  2117. {
  2118. "command": "gitlens.views.repositories.refreshNode",
  2119. "title": "Refresh",
  2120. "category": "GitLens"
  2121. },
  2122. {
  2123. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2124. "title": "Automatic Layout",
  2125. "category": "GitLens"
  2126. },
  2127. {
  2128. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2129. "title": "List Layout",
  2130. "category": "GitLens"
  2131. },
  2132. {
  2133. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2134. "title": "Tree Layout",
  2135. "category": "GitLens"
  2136. },
  2137. {
  2138. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2139. "title": "Enable Automatic Refresh",
  2140. "category": "GitLens"
  2141. },
  2142. {
  2143. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2144. "title": "Disable Automatic Refresh",
  2145. "category": "GitLens"
  2146. },
  2147. {
  2148. "command": "gitlens.views.fileHistory.refresh",
  2149. "title": "Refresh",
  2150. "category": "GitLens",
  2151. "icon": {
  2152. "dark": "images/dark/icon-refresh.svg",
  2153. "light": "images/light/icon-refresh.svg"
  2154. }
  2155. },
  2156. {
  2157. "command": "gitlens.views.fileHistory.refreshNode",
  2158. "title": "Refresh",
  2159. "category": "GitLens"
  2160. },
  2161. {
  2162. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2163. "title": "Resume File Tracking",
  2164. "category": "GitLens",
  2165. "icon": {
  2166. "dark": "images/dark/icon-location.svg",
  2167. "light": "images/light/icon-location.svg"
  2168. }
  2169. },
  2170. {
  2171. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2172. "title": "Pause File Tracking",
  2173. "category": "GitLens",
  2174. "icon": {
  2175. "dark": "images/dark/icon-location-filled.svg",
  2176. "light": "images/light/icon-location-filled.svg"
  2177. }
  2178. },
  2179. {
  2180. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2181. "title": "Follow Renames",
  2182. "category": "GitLens"
  2183. },
  2184. {
  2185. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2186. "title": "Don't Follow Renames",
  2187. "category": "GitLens"
  2188. },
  2189. {
  2190. "command": "gitlens.views.lineHistory.refresh",
  2191. "title": "Refresh",
  2192. "category": "GitLens",
  2193. "icon": {
  2194. "dark": "images/dark/icon-refresh.svg",
  2195. "light": "images/light/icon-refresh.svg"
  2196. }
  2197. },
  2198. {
  2199. "command": "gitlens.views.lineHistory.refreshNode",
  2200. "title": "Refresh",
  2201. "category": "GitLens"
  2202. },
  2203. {
  2204. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2205. "title": "Resume Line Tracking",
  2206. "category": "GitLens",
  2207. "icon": {
  2208. "dark": "images/dark/icon-location.svg",
  2209. "light": "images/light/icon-location.svg"
  2210. }
  2211. },
  2212. {
  2213. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2214. "title": "Pause Line Tracking",
  2215. "category": "GitLens",
  2216. "icon": {
  2217. "dark": "images/dark/icon-location-filled.svg",
  2218. "light": "images/light/icon-location-filled.svg"
  2219. }
  2220. },
  2221. {
  2222. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2223. "title": "Follow Renames",
  2224. "category": "GitLens"
  2225. },
  2226. {
  2227. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2228. "title": "Don't Follow Renames",
  2229. "category": "GitLens"
  2230. },
  2231. {
  2232. "command": "gitlens.views.results.close",
  2233. "title": "Close",
  2234. "category": "GitLens",
  2235. "icon": {
  2236. "dark": "images/dark/icon-close.svg",
  2237. "light": "images/light/icon-close.svg"
  2238. }
  2239. },
  2240. {
  2241. "command": "gitlens.views.results.dismissNode",
  2242. "title": "Dismiss",
  2243. "category": "GitLens",
  2244. "icon": {
  2245. "dark": "images/dark/icon-close-small.svg",
  2246. "light": "images/light/icon-close-small.svg"
  2247. }
  2248. },
  2249. {
  2250. "command": "gitlens.views.results.refresh",
  2251. "title": "Refresh",
  2252. "category": "GitLens",
  2253. "icon": {
  2254. "dark": "images/dark/icon-refresh.svg",
  2255. "light": "images/light/icon-refresh.svg"
  2256. }
  2257. },
  2258. {
  2259. "command": "gitlens.views.results.refreshNode",
  2260. "title": "Refresh",
  2261. "category": "GitLens"
  2262. },
  2263. {
  2264. "command": "gitlens.views.results.setFilesLayoutToAuto",
  2265. "title": "Automatic Layout",
  2266. "category": "GitLens"
  2267. },
  2268. {
  2269. "command": "gitlens.views.results.setFilesLayoutToList",
  2270. "title": "List Layout",
  2271. "category": "GitLens"
  2272. },
  2273. {
  2274. "command": "gitlens.views.results.setFilesLayoutToTree",
  2275. "title": "Tree Layout",
  2276. "category": "GitLens"
  2277. },
  2278. {
  2279. "command": "gitlens.views.results.setKeepResultsToOn",
  2280. "title": "Keep Results",
  2281. "category": "GitLens",
  2282. "icon": {
  2283. "dark": "images/dark/icon-lock.svg",
  2284. "light": "images/light/icon-lock.svg"
  2285. }
  2286. },
  2287. {
  2288. "command": "gitlens.views.results.setKeepResultsToOff",
  2289. "title": "Keep Results",
  2290. "category": "GitLens",
  2291. "icon": {
  2292. "dark": "images/dark/icon-locked.svg",
  2293. "light": "images/light/icon-locked.svg"
  2294. }
  2295. },
  2296. {
  2297. "command": "gitlens.views.results.swapComparision",
  2298. "title": "Swap Comparision",
  2299. "category": "GitLens",
  2300. "icon": {
  2301. "dark": "images/dark/icon-swap.svg",
  2302. "light": "images/light/icon-swap.svg"
  2303. }
  2304. }
  2305. ],
  2306. "menus": {
  2307. "commandPalette": [
  2308. {
  2309. "command": "gitlens.showRepositoriesView",
  2310. "when": "gitlens:enabled && gitlens:views:repositories"
  2311. },
  2312. {
  2313. "command": "gitlens.showFileHistoryView",
  2314. "when": "gitlens:enabled && gitlens:views:fileHistory"
  2315. },
  2316. {
  2317. "command": "gitlens.showLineHistoryView",
  2318. "when": "gitlens:enabled && gitlens:views:lineHistory"
  2319. },
  2320. {
  2321. "command": "gitlens.showResultsView",
  2322. "when": "gitlens:enabled && gitlens:views:results"
  2323. },
  2324. {
  2325. "command": "gitlens.diffDirectory",
  2326. "when": "gitlens:enabled"
  2327. },
  2328. {
  2329. "command": "gitlens.diffHeadWithBranch",
  2330. "when": "gitlens:enabled"
  2331. },
  2332. {
  2333. "command": "gitlens.diffWorkingWithBranch",
  2334. "when": "gitlens:enabled"
  2335. },
  2336. {
  2337. "command": "gitlens.diffWithBranch",
  2338. "when": "gitlens:activeFileStatus =~ /tracked/"
  2339. },
  2340. {
  2341. "command": "gitlens.diffWithNext",
  2342. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2343. },
  2344. {
  2345. "command": "gitlens.diffWithPrevious",
  2346. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2347. },
  2348. {
  2349. "command": "gitlens.diffWithPreviousInDiff",
  2350. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2351. },
  2352. {
  2353. "command": "gitlens.diffLineWithPrevious",
  2354. "when": "gitlens:activeFileStatus =~ /blameable/"
  2355. },
  2356. {
  2357. "command": "gitlens.diffWithRevision",
  2358. "when": "gitlens:activeFileStatus =~ /tracked/"
  2359. },
  2360. {
  2361. "command": "gitlens.diffWithWorking",
  2362. "when": "gitlens:activeFileStatus =~ /tracked/"
  2363. },
  2364. {
  2365. "command": "gitlens.diffLineWithWorking",
  2366. "when": "gitlens:activeFileStatus =~ /blameable/"
  2367. },
  2368. {
  2369. "command": "gitlens.externalDiff",
  2370. "when": "gitlens:activeFileStatus =~ /tracked/"
  2371. },
  2372. {
  2373. "command": "gitlens.externalDiffAll",
  2374. "when": "gitlens:enabled"
  2375. },
  2376. {
  2377. "command": "gitlens.toggleFileBlame",
  2378. "when": "gitlens:activeFileStatus =~ /blameable/"
  2379. },
  2380. {
  2381. "command": "gitlens.clearFileAnnotations",
  2382. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2383. },
  2384. {
  2385. "command": "gitlens.computingFileAnnotations",
  2386. "when": "false"
  2387. },
  2388. {
  2389. "command": "gitlens.toggleFileHeatmap",
  2390. "when": "gitlens:activeFileStatus =~ /blameable/"
  2391. },
  2392. {
  2393. "command": "gitlens.toggleFileRecentChanges",
  2394. "when": "gitlens:activeFileStatus =~ /blameable/"
  2395. },
  2396. {
  2397. "command": "gitlens.toggleLineBlame",
  2398. "when": "gitlens:enabled"
  2399. },
  2400. {
  2401. "command": "gitlens.toggleCodeLens",
  2402. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2403. },
  2404. {
  2405. "command": "gitlens.switchMode",
  2406. "when": "gitlens:enabled"
  2407. },
  2408. {
  2409. "command": "gitlens.toggleReviewMode",
  2410. "when": "gitlens:enabled"
  2411. },
  2412. {
  2413. "command": "gitlens.toggleZenMode",
  2414. "when": "gitlens:enabled"
  2415. },
  2416. {
  2417. "command": "gitlens.showCommitSearch",
  2418. "when": "gitlens:enabled"
  2419. },
  2420. {
  2421. "command": "gitlens.showLastQuickPick",
  2422. "when": "gitlens:enabled"
  2423. },
  2424. {
  2425. "command": "gitlens.showCommitInResults",
  2426. "when": "gitlens:activeFileStatus =~ /blameable/"
  2427. },
  2428. {
  2429. "command": "gitlens.showFileHistoryInResults",
  2430. "when": "gitlens:activeFileStatus =~ /tracked/"
  2431. },
  2432. {
  2433. "command": "gitlens.showQuickCommitDetails",
  2434. "when": "gitlens:activeFileStatus =~ /blameable/"
  2435. },
  2436. {
  2437. "command": "gitlens.showQuickCommitFileDetails",
  2438. "when": "gitlens:activeFileStatus =~ /blameable/"
  2439. },
  2440. {
  2441. "command": "gitlens.showQuickRevisionDetails",
  2442. "when": "gitlens:activeFileStatus =~ /revision/"
  2443. },
  2444. {
  2445. "command": "gitlens.showQuickFileHistory",
  2446. "when": "gitlens:activeFileStatus =~ /tracked/"
  2447. },
  2448. {
  2449. "command": "gitlens.showQuickBranchHistory",
  2450. "when": "gitlens:enabled"
  2451. },
  2452. {
  2453. "command": "gitlens.showQuickRepoHistory",
  2454. "when": "gitlens:enabled"
  2455. },
  2456. {
  2457. "command": "gitlens.showQuickRepoStatus",
  2458. "when": "gitlens:enabled"
  2459. },
  2460. {
  2461. "command": "gitlens.showQuickStashList",
  2462. "when": "gitlens:enabled"
  2463. },
  2464. {
  2465. "command": "gitlens.copyMessageToClipboard",
  2466. "when": "gitlens:activeFileStatus =~ /blameable/"
  2467. },
  2468. {
  2469. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2470. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2471. },
  2472. {
  2473. "command": "gitlens.copyShaToClipboard",
  2474. "when": "gitlens:activeFileStatus =~ /blameable/"
  2475. },
  2476. {
  2477. "command": "gitlens.closeUnchangedFiles",
  2478. "when": "gitlens:enabled"
  2479. },
  2480. {
  2481. "command": "gitlens.openChangedFiles",
  2482. "when": "gitlens:enabled"
  2483. },
  2484. {
  2485. "command": "gitlens.openBranchesInRemote",
  2486. "when": "gitlens:hasRemotes"
  2487. },
  2488. {
  2489. "command": "gitlens.openBranchInRemote",
  2490. "when": "gitlens:hasRemotes"
  2491. },
  2492. {
  2493. "command": "gitlens.openCommitInRemote",
  2494. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2495. },
  2496. {
  2497. "command": "gitlens.openFileInRemote",
  2498. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2499. },
  2500. {
  2501. "command": "gitlens.openFileRevision",
  2502. "when": "gitlens:activeFileStatus =~ /tracked/"
  2503. },
  2504. {
  2505. "command": "gitlens.openRepoInRemote",
  2506. "when": "gitlens:hasRemotes"
  2507. },
  2508. {
  2509. "command": "gitlens.openWorkingFile",
  2510. "when": "gitlens:activeFileStatus =~ /revision/"
  2511. },
  2512. {
  2513. "command": "gitlens.stashApply",
  2514. "when": "gitlens:enabled"
  2515. },
  2516. {
  2517. "command": "gitlens.stashDelete",
  2518. "when": "false"
  2519. },
  2520. {
  2521. "command": "gitlens.stashSave",
  2522. "when": "gitlens:enabled"
  2523. },
  2524. {
  2525. "command": "gitlens.resetSuppressedWarnings",
  2526. "when": "gitlens:enabled"
  2527. },
  2528. {
  2529. "command": "gitlens.views.exploreRepoRevision",
  2530. "when": "false"
  2531. },
  2532. {
  2533. "command": "gitlens.views.repositories.fetchAll",
  2534. "when": "false"
  2535. },
  2536. {
  2537. "command": "gitlens.views.repositories.pullAll",
  2538. "when": "false"
  2539. },
  2540. {
  2541. "command": "gitlens.views.fetch",
  2542. "when": "false"
  2543. },
  2544. {
  2545. "command": "gitlens.views.pull",
  2546. "when": "false"
  2547. },
  2548. {
  2549. "command": "gitlens.views.push",
  2550. "when": "false"
  2551. },
  2552. {
  2553. "command": "gitlens.views.stageFile",
  2554. "when": "false"
  2555. },
  2556. {
  2557. "command": "gitlens.views.unstageFile",
  2558. "when": "false"
  2559. },
  2560. {
  2561. "command": "gitlens.views.openChanges",
  2562. "when": "false"
  2563. },
  2564. {
  2565. "command": "gitlens.views.openDirectoryDiff",
  2566. "when": "false"
  2567. },
  2568. {
  2569. "command": "gitlens.views.openDirectoryDiffWithWorking",
  2570. "when": "false"
  2571. },
  2572. {
  2573. "command": "gitlens.views.openChangesWithWorking",
  2574. "when": "false"
  2575. },
  2576. {
  2577. "command": "gitlens.views.openFile",
  2578. "when": "false"
  2579. },
  2580. {
  2581. "command": "gitlens.views.openFileRevision",
  2582. "when": "false"
  2583. },
  2584. {
  2585. "command": "gitlens.views.openFileRevisionInRemote",
  2586. "when": "false"
  2587. },
  2588. {
  2589. "command": "gitlens.views.openChangedFiles",
  2590. "when": "false"
  2591. },
  2592. {
  2593. "command": "gitlens.views.openChangedFileChanges",
  2594. "when": "false"
  2595. },
  2596. {
  2597. "command": "gitlens.views.openChangedFileChangesWithWorking",
  2598. "when": "false"
  2599. },
  2600. {
  2601. "command": "gitlens.views.openChangedFileRevisions",
  2602. "when": "false"
  2603. },
  2604. {
  2605. "command": "gitlens.views.applyChanges",
  2606. "when": "false"
  2607. },
  2608. {
  2609. "command": "gitlens.views.closeRepository",
  2610. "when": "false"
  2611. },
  2612. {
  2613. "command": "gitlens.views.compareAncestryWithWorking",
  2614. "when": "false"
  2615. },
  2616. {
  2617. "command": "gitlens.views.compareWithHead",
  2618. "when": "false"
  2619. },
  2620. {
  2621. "command": "gitlens.views.compareWithRemote",
  2622. "when": "false"
  2623. },
  2624. {
  2625. "command": "gitlens.views.compareWithSelected",
  2626. "when": "false"
  2627. },
  2628. {
  2629. "command": "gitlens.views.compareWithWorking",
  2630. "when": "false"
  2631. },
  2632. {
  2633. "command": "gitlens.views.selectForCompare",
  2634. "when": "false"
  2635. },
  2636. {
  2637. "command": "gitlens.views.terminalCheckoutBranch",
  2638. "when": "false"
  2639. },
  2640. {
  2641. "command": "gitlens.views.terminalCreateBranch",
  2642. "when": "false"
  2643. },
  2644. {
  2645. "command": "gitlens.views.terminalDeleteBranch",
  2646. "when": "false"
  2647. },
  2648. {
  2649. "command": "gitlens.views.terminalMergeBranch",
  2650. "when": "false"
  2651. },
  2652. {
  2653. "command": "gitlens.views.terminalRebaseBranch",
  2654. "when": "false"
  2655. },
  2656. {
  2657. "command": "gitlens.views.terminalRebaseBranchToRemote",
  2658. "when": "false"
  2659. },
  2660. {
  2661. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  2662. "when": "false"
  2663. },
  2664. {
  2665. "command": "gitlens.views.terminalCheckoutCommit",
  2666. "when": "false"
  2667. },
  2668. {
  2669. "command": "gitlens.views.terminalCherryPickCommit",
  2670. "when": "false"
  2671. },
  2672. {
  2673. "command": "gitlens.views.terminalPushCommit",
  2674. "when": "false"
  2675. },
  2676. {
  2677. "command": "gitlens.views.terminalRebaseCommit",
  2678. "when": "false"
  2679. },
  2680. {
  2681. "command": "gitlens.views.terminalResetCommit",
  2682. "when": "false"
  2683. },
  2684. {
  2685. "command": "gitlens.views.terminalRevertCommit",
  2686. "when": "false"
  2687. },
  2688. {
  2689. "command": "gitlens.views.terminalRemoveRemote",
  2690. "when": "false"
  2691. },
  2692. {
  2693. "command": "gitlens.views.terminalCreateTag",
  2694. "when": "false"
  2695. },
  2696. {
  2697. "command": "gitlens.views.terminalDeleteTag",
  2698. "when": "false"
  2699. },
  2700. {
  2701. "command": "gitlens.views.repositories.refresh",
  2702. "when": "false"
  2703. },
  2704. {
  2705. "command": "gitlens.views.repositories.refreshNode",
  2706. "when": "false"
  2707. },
  2708. {
  2709. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  2710. "when": "false"
  2711. },
  2712. {
  2713. "command": "gitlens.views.repositories.setFilesLayoutToList",
  2714. "when": "false"
  2715. },
  2716. {
  2717. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  2718. "when": "false"
  2719. },
  2720. {
  2721. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  2722. "when": "false"
  2723. },
  2724. {
  2725. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  2726. "when": "false"
  2727. },
  2728. {
  2729. "command": "gitlens.views.fileHistory.refresh",
  2730. "when": "false"
  2731. },
  2732. {
  2733. "command": "gitlens.views.fileHistory.refreshNode",
  2734. "when": "false"
  2735. },
  2736. {
  2737. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  2738. "when": "false"
  2739. },
  2740. {
  2741. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  2742. "when": "false"
  2743. },
  2744. {
  2745. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  2746. "when": "false"
  2747. },
  2748. {
  2749. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  2750. "when": "false"
  2751. },
  2752. {
  2753. "command": "gitlens.views.lineHistory.refresh",
  2754. "when": "false"
  2755. },
  2756. {
  2757. "command": "gitlens.views.lineHistory.refreshNode",
  2758. "when": "false"
  2759. },
  2760. {
  2761. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  2762. "when": "false"
  2763. },
  2764. {
  2765. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  2766. "when": "false"
  2767. },
  2768. {
  2769. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  2770. "when": "false"
  2771. },
  2772. {
  2773. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  2774. "when": "false"
  2775. },
  2776. {
  2777. "command": "gitlens.views.results.close",
  2778. "when": "false"
  2779. },
  2780. {
  2781. "command": "gitlens.views.results.dismissNode",
  2782. "when": "false"
  2783. },
  2784. {
  2785. "command": "gitlens.views.results.refresh",
  2786. "when": "false"
  2787. },
  2788. {
  2789. "command": "gitlens.views.results.refreshNode",
  2790. "when": "false"
  2791. },
  2792. {
  2793. "command": "gitlens.views.results.setFilesLayoutToAuto",
  2794. "when": "false"
  2795. },
  2796. {
  2797. "command": "gitlens.views.results.setFilesLayoutToList",
  2798. "when": "false"
  2799. },
  2800. {
  2801. "command": "gitlens.views.results.setFilesLayoutToTree",
  2802. "when": "false"
  2803. },
  2804. {
  2805. "command": "gitlens.views.results.setKeepResultsToOn",
  2806. "when": "false"
  2807. },
  2808. {
  2809. "command": "gitlens.views.results.setKeepResultsToOff",
  2810. "when": "false"
  2811. },
  2812. {
  2813. "command": "gitlens.views.results.swapComparision",
  2814. "when": "false"
  2815. }
  2816. ],
  2817. "editor/context": [
  2818. {
  2819. "command": "gitlens.diffLineWithPrevious",
  2820. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2821. "group": "1_gitlens@1"
  2822. },
  2823. {
  2824. "command": "gitlens.diffLineWithWorking",
  2825. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2826. "group": "1_gitlens@2"
  2827. },
  2828. {
  2829. "command": "gitlens.openFileInRemote",
  2830. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2831. "group": "1_gitlens_1@1"
  2832. },
  2833. {
  2834. "command": "gitlens.openCommitInRemote",
  2835. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2836. "group": "1_gitlens_1@2"
  2837. },
  2838. {
  2839. "command": "gitlens.showQuickCommitFileDetails",
  2840. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  2841. "group": "1_gitlens_1@3"
  2842. },
  2843. {
  2844. "command": "gitlens.showQuickFileHistory",
  2845. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  2846. "group": "3_gitlens@1"
  2847. },
  2848. {
  2849. "command": "gitlens.toggleFileBlame",
  2850. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  2851. "group": "3_gitlens@2"
  2852. },
  2853. {
  2854. "command": "gitlens.copyShaToClipboard",
  2855. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2856. "group": "9_gitlens@1"
  2857. },
  2858. {
  2859. "command": "gitlens.copyMessageToClipboard",
  2860. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2861. "group": "9_gitlens@2"
  2862. },
  2863. {
  2864. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2865. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  2866. "group": "9_gitlens@3"
  2867. }
  2868. ],
  2869. "editor/title": [
  2870. {
  2871. "command": "gitlens.diffWithWorking",
  2872. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  2873. "group": "navigation@0"
  2874. },
  2875. {
  2876. "command": "gitlens.openWorkingFile",
  2877. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  2878. "group": "navigation@0"
  2879. },
  2880. {
  2881. "command": "gitlens.openWorkingFile",
  2882. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  2883. "group": "navigation@0"
  2884. },
  2885. {
  2886. "command": "gitlens.openWorkingFile",
  2887. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  2888. "group": "navigation@0"
  2889. },
  2890. {
  2891. "command": "gitlens.diffWithPrevious",
  2892. "alt": "gitlens.diffWithRevision",
  2893. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2894. "group": "navigation@97"
  2895. },
  2896. {
  2897. "command": "gitlens.diffWithPreviousInDiff",
  2898. "alt": "gitlens.diffWithRevision",
  2899. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2900. "group": "navigation@97"
  2901. },
  2902. {
  2903. "command": "gitlens.showQuickRevisionDetails",
  2904. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  2905. "group": "navigation@98"
  2906. },
  2907. {
  2908. "command": "gitlens.diffWithNext",
  2909. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  2910. "group": "navigation@99"
  2911. },
  2912. {
  2913. "command": "gitlens.toggleFileBlame",
  2914. "alt": "gitlens.toggleFileRecentChanges",
  2915. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  2916. "group": "navigation@100"
  2917. },
  2918. {
  2919. "command": "gitlens.computingFileAnnotations",
  2920. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  2921. "group": "navigation@100"
  2922. },
  2923. {
  2924. "command": "gitlens.clearFileAnnotations",
  2925. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  2926. "group": "navigation@100"
  2927. },
  2928. {
  2929. "command": "gitlens.openFileInRemote",
  2930. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  2931. "group": "4_gitlens"
  2932. },
  2933. {
  2934. "command": "gitlens.showQuickFileHistory",
  2935. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  2936. "group": "4_gitlens"
  2937. }
  2938. ],
  2939. "editor/title/context": [
  2940. {
  2941. "command": "gitlens.openFileInRemote",
  2942. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2943. "group": "2_files@100"
  2944. },
  2945. {
  2946. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2947. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2948. "group": "2_files@101"
  2949. },
  2950. {
  2951. "command": "gitlens.diffWithPrevious",
  2952. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2953. "group": "1_gitlens_1@1"
  2954. },
  2955. {
  2956. "command": "gitlens.diffWithWorking",
  2957. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2958. "group": "1_gitlens_1@2"
  2959. },
  2960. {
  2961. "command": "gitlens.showQuickFileHistory",
  2962. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  2963. "group": "1_gitlens_2@1"
  2964. }
  2965. ],
  2966. "explorer/context": [
  2967. {
  2968. "command": "gitlens.openFileInRemote",
  2969. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2970. "group": "navigation@100"
  2971. },
  2972. {
  2973. "command": "gitlens.showQuickFileHistory",
  2974. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  2975. "group": "1_gitlens_1@1"
  2976. },
  2977. {
  2978. "command": "gitlens.diffWithPrevious",
  2979. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  2980. "group": "3_compare@1"
  2981. },
  2982. {
  2983. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2984. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2985. "group": "9_gitlens@1"
  2986. }
  2987. ],
  2988. "scm/resourceGroup/context": [
  2989. {
  2990. "command": "gitlens.openChangedFiles",
  2991. "when": "gitlens:enabled",
  2992. "group": "2_gitlens@1"
  2993. },
  2994. {
  2995. "command": "gitlens.closeUnchangedFiles",
  2996. "when": "gitlens:enabled",
  2997. "group": "2_gitlens@2"
  2998. },
  2999. {
  3000. "command": "gitlens.externalDiff",
  3001. "when": "gitlens:enabled",
  3002. "group": "2_gitlens@3"
  3003. },
  3004. {
  3005. "command": "gitlens.stashSave",
  3006. "when": "gitlens:enabled",
  3007. "group": "3_gitlens@1"
  3008. }
  3009. ],
  3010. "scm/resourceState/context": [
  3011. {
  3012. "command": "gitlens.openFileInRemote",
  3013. "when": "gitlens:enabled && gitlens:hasRemotes",
  3014. "group": "navigation"
  3015. },
  3016. {
  3017. "command": "gitlens.externalDiff",
  3018. "when": "gitlens:enabled",
  3019. "group": "navigation"
  3020. },
  3021. {
  3022. "command": "gitlens.diffWithRevision",
  3023. "when": "gitlens:enabled",
  3024. "group": "1_gitlens@1"
  3025. },
  3026. {
  3027. "command": "gitlens.diffWithBranch",
  3028. "when": "gitlens:enabled",
  3029. "group": "1_gitlens@2"
  3030. },
  3031. {
  3032. "command": "gitlens.showQuickFileHistory",
  3033. "when": "gitlens:enabled",
  3034. "group": "1_gitlens_1@1"
  3035. },
  3036. {
  3037. "command": "gitlens.stashSave",
  3038. "when": "gitlens:enabled",
  3039. "group": "2_gitlens@1"
  3040. },
  3041. {
  3042. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3043. "when": "gitlens:enabled && gitlens:hasRemotes",
  3044. "group": "9_gitlens@1"
  3045. }
  3046. ],
  3047. "view/title": [
  3048. {
  3049. "command": "gitlens.showCommitSearch",
  3050. "when": "view =~ /^gitlens.views.repositories:/",
  3051. "group": "navigation@1"
  3052. },
  3053. {
  3054. "command": "gitlens.views.repositories.pullAll",
  3055. "when": "view =~ /^gitlens.views.repositories:/",
  3056. "group": "navigation@7"
  3057. },
  3058. {
  3059. "command": "gitlens.views.repositories.fetchAll",
  3060. "when": "view =~ /^gitlens.views.repositories:/",
  3061. "group": "navigation@8"
  3062. },
  3063. {
  3064. "command": "gitlens.views.repositories.refresh",
  3065. "when": "view =~ /^gitlens.views.repositories:/",
  3066. "group": "navigation@9"
  3067. },
  3068. {
  3069. "command": "gitlens.views.repositories.setFilesLayoutToAuto",
  3070. "when": "view =~ /^gitlens.views.repositories:/",
  3071. "group": "1_gitlens"
  3072. },
  3073. {
  3074. "command": "gitlens.views.repositories.setFilesLayoutToList",
  3075. "when": "view =~ /^gitlens.views.repositories:/",
  3076. "group": "1_gitlens"
  3077. },
  3078. {
  3079. "command": "gitlens.views.repositories.setFilesLayoutToTree",
  3080. "when": "view =~ /^gitlens.views.repositories:/",
  3081. "group": "1_gitlens"
  3082. },
  3083. {
  3084. "command": "gitlens.views.repositories.setAutoRefreshToOn",
  3085. "when": "view =~ /^gitlens.views.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
  3086. "group": "2_gitlens"
  3087. },
  3088. {
  3089. "command": "gitlens.views.repositories.setAutoRefreshToOff",
  3090. "when": "view =~ /^gitlens.views.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
  3091. "group": "2_gitlens"
  3092. },
  3093. {
  3094. "command": "gitlens.views.fileHistory.setEditorFollowingOn",
  3095. "when": "view =~ /^gitlens.views.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
  3096. "group": "navigation@1"
  3097. },
  3098. {
  3099. "command": "gitlens.views.fileHistory.setEditorFollowingOff",
  3100. "when": "view =~ /^gitlens.views.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
  3101. "group": "navigation@1"
  3102. },
  3103. {
  3104. "command": "gitlens.views.fileHistory.refresh",
  3105. "when": "view =~ /^gitlens.views.fileHistory:/",
  3106. "group": "navigation@2"
  3107. },
  3108. {
  3109. "command": "gitlens.views.fileHistory.setRenameFollowingOn",
  3110. "when": "view =~ /^gitlens.views.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3111. "group": "1_gitlens"
  3112. },
  3113. {
  3114. "command": "gitlens.views.fileHistory.setRenameFollowingOff",
  3115. "when": "view =~ /^gitlens.views.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3116. "group": "1_gitlens"
  3117. },
  3118. {
  3119. "command": "gitlens.views.lineHistory.setEditorFollowingOn",
  3120. "when": "view =~ /^gitlens.views.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
  3121. "group": "navigation@1"
  3122. },
  3123. {
  3124. "command": "gitlens.views.lineHistory.setEditorFollowingOff",
  3125. "when": "view =~ /^gitlens.views.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
  3126. "group": "navigation@1"
  3127. },
  3128. {
  3129. "command": "gitlens.views.lineHistory.refresh",
  3130. "when": "view =~ /^gitlens.views.lineHistory:/",
  3131. "group": "navigation@2"
  3132. },
  3133. {
  3134. "command": "gitlens.views.lineHistory.setRenameFollowingOn",
  3135. "when": "view =~ /^gitlens.views.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3136. "group": "1_gitlens"
  3137. },
  3138. {
  3139. "command": "gitlens.views.lineHistory.setRenameFollowingOff",
  3140. "when": "view =~ /^gitlens.views.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3141. "group": "1_gitlens"
  3142. },
  3143. {
  3144. "command": "gitlens.showCommitSearch",
  3145. "when": "view =~ /^gitlens.views.results:/",
  3146. "group": "navigation@1"
  3147. },
  3148. {
  3149. "command": "gitlens.views.results.setKeepResultsToOn",
  3150. "when": "view =~ /^gitlens.views.results:/ && !gitlens:views:results:keepResults",
  3151. "group": "navigation@2"
  3152. },
  3153. {
  3154. "command": "gitlens.views.results.setKeepResultsToOff",
  3155. "when": "view =~ /^gitlens.views.results:/ && gitlens:views:results:keepResults",
  3156. "group": "navigation@2"
  3157. },
  3158. {
  3159. "command": "gitlens.views.results.refresh",
  3160. "when": "view =~ /^gitlens.views.results:/",
  3161. "group": "navigation@3"
  3162. },
  3163. {
  3164. "command": "gitlens.views.results.close",
  3165. "when": "view =~ /^gitlens.views.results:/",
  3166. "group": "navigation@9"
  3167. },
  3168. {
  3169. "command": "gitlens.views.results.setFilesLayoutToAuto",
  3170. "when": "view =~ /^gitlens.views.results:/",
  3171. "group": "1_gitlens"
  3172. },
  3173. {
  3174. "command": "gitlens.views.results.setFilesLayoutToList",
  3175. "when": "view =~ /^gitlens.views.results:/",
  3176. "group": "1_gitlens"
  3177. },
  3178. {
  3179. "command": "gitlens.views.results.setFilesLayoutToTree",
  3180. "when": "view =~ /^gitlens.views.results:/",
  3181. "group": "1_gitlens"
  3182. }
  3183. ],
  3184. "view/item/context": [
  3185. {
  3186. "command": "gitlens.openBranchesInRemote",
  3187. "when": "viewItem == gitlens:branches:remotes",
  3188. "group": "1_gitlens@1"
  3189. },
  3190. {
  3191. "command": "gitlens.openBranchInRemote",
  3192. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  3193. "group": "1_gitlens@1"
  3194. },
  3195. {
  3196. "command": "gitlens.views.compareWithRemote",
  3197. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3198. "group": "7_gitlens@1"
  3199. },
  3200. {
  3201. "command": "gitlens.views.compareWithHead",
  3202. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3203. "group": "7_gitlens@2"
  3204. },
  3205. {
  3206. "command": "gitlens.views.compareWithWorking",
  3207. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3208. "group": "7_gitlens@3"
  3209. },
  3210. {
  3211. "command": "gitlens.views.compareAncestryWithWorking",
  3212. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3213. "group": "7_gitlens@4"
  3214. },
  3215. {
  3216. "command": "gitlens.views.compareWithSelected",
  3217. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/ && gitlens:views:canCompare",
  3218. "group": "7_gitlens_@1"
  3219. },
  3220. {
  3221. "command": "gitlens.views.selectForCompare",
  3222. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/",
  3223. "group": "7_gitlens_@2"
  3224. },
  3225. {
  3226. "command": "gitlens.views.openDirectoryDiffWithWorking",
  3227. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3228. "group": "7_gitlens_more@2"
  3229. },
  3230. {
  3231. "command": "gitlens.views.terminalCheckoutBranch",
  3232. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3233. "group": "8_gitlens@1"
  3234. },
  3235. {
  3236. "command": "gitlens.views.terminalRebaseBranchToRemote",
  3237. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  3238. "group": "8_gitlens@1"
  3239. },
  3240. {
  3241. "command": "gitlens.views.terminalMergeBranch",
  3242. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3243. "group": "8_gitlens@2"
  3244. },
  3245. {
  3246. "command": "gitlens.views.terminalRebaseBranch",
  3247. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3248. "group": "8_gitlens@3"
  3249. },
  3250. {
  3251. "command": "gitlens.views.terminalSquashBranchIntoCommit",
  3252. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3253. "group": "8_gitlens@4"
  3254. },
  3255. {
  3256. "command": "gitlens.views.terminalCreateBranch",
  3257. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  3258. "group": "8_gitlens@5"
  3259. },
  3260. {
  3261. "command": "gitlens.views.terminalDeleteBranch",
  3262. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3263. "group": "8_gitlens@6"
  3264. },
  3265. {
  3266. "command": "gitlens.views.terminalCreateTag",
  3267. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  3268. "group": "8_gitlens@7"
  3269. },
  3270. {
  3271. "command": "gitlens.openCommitInRemote",
  3272. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3273. "group": "1_gitlens@1"
  3274. },
  3275. {
  3276. "command": "gitlens.views.openChangedFileChanges",
  3277. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3278. "group": "2_gitlens@1"
  3279. },
  3280. {
  3281. "command": "gitlens.views.openChangedFileChangesWithWorking",
  3282. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3283. "group": "2_gitlens@2"
  3284. },
  3285. {
  3286. "command": "gitlens.views.openChangedFiles",
  3287. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3288. "group": "3_gitlens@1"
  3289. },
  3290. {
  3291. "command": "gitlens.views.openChangedFileRevisions",
  3292. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3293. "group": "3_gitlens@2"
  3294. },
  3295. {
  3296. "command": "gitlens.copyShaToClipboard",
  3297. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3298. "group": "5_gitlens@1"
  3299. },
  3300. {
  3301. "command": "gitlens.copyMessageToClipboard",
  3302. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3303. "group": "5_gitlens@2"
  3304. },
  3305. {
  3306. "command": "gitlens.showQuickCommitDetails",
  3307. "when": "viewItem =~ /gitlens:commit\\b/",
  3308. "group": "5_gitlens_1@1"
  3309. },
  3310. {
  3311. "command": "gitlens.showCommitInResults",
  3312. "when": "viewItem =~ /gitlens:commit\\b/",
  3313. "group": "5_gitlens_1@2"
  3314. },
  3315. {
  3316. "command": "gitlens.views.terminalCherryPickCommit",
  3317. "when": "viewItem == gitlens:commit",
  3318. "group": "8_gitlens@1"
  3319. },
  3320. {
  3321. "command": "gitlens.views.terminalPushCommit",
  3322. "when": "viewItem == gitlens:commit:current",
  3323. "group": "8_gitlens@2"
  3324. },
  3325. {
  3326. "command": "gitlens.views.terminalRevertCommit",
  3327. "when": "viewItem == gitlens:commit:current",
  3328. "group": "8_gitlens@3"
  3329. },
  3330. {
  3331. "command": "gitlens.views.terminalCheckoutCommit",
  3332. "when": "viewItem =~ /gitlens:commit\\b/",
  3333. "group": "8_gitlens@4"
  3334. },
  3335. {
  3336. "command": "gitlens.views.terminalRebaseCommit",
  3337. "when": "viewItem =~ /gitlens:commit\\b/",
  3338. "group": "8_gitlens@5"
  3339. },
  3340. {
  3341. "command": "gitlens.views.terminalResetCommit",
  3342. "when": "viewItem =~ /gitlens:commit\\b/",
  3343. "group": "8_gitlens@6"
  3344. },
  3345. {
  3346. "command": "gitlens.views.openFile",
  3347. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  3348. "group": "inline"
  3349. },
  3350. {
  3351. "command": "gitlens.views.stageFile",
  3352. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3353. "group": "inline"
  3354. },
  3355. {
  3356. "command": "gitlens.views.unstageFile",
  3357. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3358. "group": "inline"
  3359. },
  3360. {
  3361. "command": "gitlens.views.stageFile",
  3362. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3363. "group": "1_gitlens@1"
  3364. },
  3365. {
  3366. "command": "gitlens.views.unstageFile",
  3367. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3368. "group": "1_gitlens@1"
  3369. },
  3370. {
  3371. "command": "gitlens.stashSave",
  3372. "when": "viewItem =~ /gitlens:file\\b.*:(un)?staged\\b/",
  3373. "group": "1_gitlens@2"
  3374. },
  3375. {
  3376. "command": "gitlens.views.openChanges",
  3377. "when": "viewItem =~ /gitlens:file\\b/",
  3378. "group": "2_gitlens@1"
  3379. },
  3380. {
  3381. "command": "gitlens.externalDiff",
  3382. "when": "viewItem =~ /gitlens:file\\b/",
  3383. "group": "2_gitlens@2"
  3384. },
  3385. {
  3386. "command": "gitlens.views.openChangesWithWorking",
  3387. "when": "viewItem =~ /gitlens:file\\b/",
  3388. "group": "2_gitlens@3"
  3389. },
  3390. {
  3391. "command": "gitlens.views.openFile",
  3392. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  3393. "group": "3_gitlens@1"
  3394. },
  3395. {
  3396. "command": "gitlens.views.openFileRevision",
  3397. "when": "viewItem =~ /gitlens:file\\b/",
  3398. "group": "3_gitlens@2"
  3399. },
  3400. {
  3401. "command": "gitlens.openFileInRemote",
  3402. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3403. "group": "4_gitlens@1"
  3404. },
  3405. {
  3406. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3407. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3408. "group": "5_gitlens@3"
  3409. },
  3410. {
  3411. "command": "gitlens.views.openFileRevisionInRemote",
  3412. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3413. "group": "4_gitlens@2"
  3414. },
  3415. {
  3416. "command": "gitlens.openFileInRemote",
  3417. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3418. "group": "3_gitlens@2"
  3419. },
  3420. {
  3421. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3422. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3423. "group": "5_gitlens@3"
  3424. },
  3425. {
  3426. "command": "gitlens.views.applyChanges",
  3427. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  3428. "group": "5_gitlens_1@1"
  3429. },
  3430. {
  3431. "command": "gitlens.views.applyChanges",
  3432. "when": "viewItem == gitlens:file:stash",
  3433. "group": "1_gitlens@1"
  3434. },
  3435. {
  3436. "command": "gitlens.showQuickCommitDetails",
  3437. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3438. "group": "5_gitlens_2@2"
  3439. },
  3440. {
  3441. "command": "gitlens.showCommitInResults",
  3442. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3443. "group": "5_gitlens_2@3"
  3444. },
  3445. {
  3446. "command": "gitlens.showQuickFileHistory",
  3447. "when": "viewItem =~ /gitlens:file\\b/",
  3448. "group": "8_gitlens@1"
  3449. },
  3450. {
  3451. "command": "gitlens.showFileHistoryInResults",
  3452. "when": "viewItem =~ /gitlens:file\\b/",
  3453. "group": "8_gitlens@2"
  3454. },
  3455. {
  3456. "command": "gitlens.openBranchesInRemote",
  3457. "when": "viewItem == gitlens:remote",
  3458. "group": "1_gitlens@1"
  3459. },
  3460. {
  3461. "command": "gitlens.openRepoInRemote",
  3462. "when": "viewItem == gitlens:remote",
  3463. "group": "1_gitlens@2"
  3464. },
  3465. {
  3466. "command": "gitlens.views.terminalRemoveRemote",
  3467. "when": "viewItem == gitlens:remote",
  3468. "group": "8_gitlens@1"
  3469. },
  3470. {
  3471. "command": "gitlens.views.exploreRepoRevision",
  3472. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  3473. "group": "7_gitlens_more@1"
  3474. },
  3475. {
  3476. "command": "gitlens.views.push",
  3477. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3478. "group": "inline@97"
  3479. },
  3480. {
  3481. "command": "gitlens.views.pull",
  3482. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3483. "group": "inline@98"
  3484. },
  3485. {
  3486. "command": "gitlens.views.fetch",
  3487. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3488. "group": "inline@99"
  3489. },
  3490. {
  3491. "command": "gitlens.views.fetch",
  3492. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3493. "group": "1_gitlens@1"
  3494. },
  3495. {
  3496. "command": "gitlens.views.pull",
  3497. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3498. "group": "1_gitlens@2"
  3499. },
  3500. {
  3501. "command": "gitlens.views.push",
  3502. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3503. "group": "1_gitlens@3"
  3504. },
  3505. {
  3506. "command": "gitlens.showCommitSearch",
  3507. "when": "viewItem == gitlens:repository",
  3508. "group": "2_gitlens@1"
  3509. },
  3510. {
  3511. "command": "gitlens.stashSave",
  3512. "when": "viewItem == gitlens:repository",
  3513. "group": "3_gitlens@1"
  3514. },
  3515. {
  3516. "command": "gitlens.stashApply",
  3517. "when": "viewItem == gitlens:repository",
  3518. "group": "3_gitlens@2"
  3519. },
  3520. {
  3521. "command": "gitlens.openRepoInRemote",
  3522. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3523. "group": "4_gitlens@1"
  3524. },
  3525. {
  3526. "command": "gitlens.views.closeRepository",
  3527. "when": "viewItem == gitlens:repository",
  3528. "group": "8_gitlens@1"
  3529. },
  3530. {
  3531. "command": "gitlens.views.results.swapComparision",
  3532. "when": "viewItem == gitlens:results:comparison",
  3533. "group": "inline@1"
  3534. },
  3535. {
  3536. "command": "gitlens.views.results.dismissNode",
  3537. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3538. "group": "inline@2"
  3539. },
  3540. {
  3541. "command": "gitlens.views.results.dismissNode",
  3542. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3543. "group": "1_gitlens@1"
  3544. },
  3545. {
  3546. "command": "gitlens.views.results.swapComparision",
  3547. "when": "viewItem == gitlens:results:comparison",
  3548. "group": "2_gitlens@1"
  3549. },
  3550. {
  3551. "command": "gitlens.views.openDirectoryDiff",
  3552. "when": "viewItem == gitlens:results:comparison",
  3553. "group": "7_gitlens@1"
  3554. },
  3555. {
  3556. "command": "gitlens.stashSave",
  3557. "when": "viewItem == gitlens:stashes",
  3558. "group": "inline@1"
  3559. },
  3560. {
  3561. "command": "gitlens.stashSave",
  3562. "when": "viewItem == gitlens:stashes",
  3563. "group": "1_gitlens@1"
  3564. },
  3565. {
  3566. "command": "gitlens.stashApply",
  3567. "when": "viewItem == gitlens:stashes",
  3568. "group": "1_gitlens@2"
  3569. },
  3570. {
  3571. "command": "gitlens.stashApply",
  3572. "when": "viewItem == gitlens:stash",
  3573. "group": "inline@1"
  3574. },
  3575. {
  3576. "command": "gitlens.stashApply",
  3577. "when": "viewItem == gitlens:stash",
  3578. "group": "1_gitlens@1"
  3579. },
  3580. {
  3581. "command": "gitlens.stashDelete",
  3582. "when": "viewItem == gitlens:stash",
  3583. "group": "1_gitlens@2"
  3584. },
  3585. {
  3586. "command": "gitlens.views.terminalDeleteTag",
  3587. "when": "viewItem == gitlens:tag",
  3588. "group": "8_gitlens"
  3589. },
  3590. {
  3591. "command": "gitlens.views.repositories.refreshNode",
  3592. "when": "view =~ /^gitlens.views.repositories:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3593. "group": "9_gitlens@1"
  3594. },
  3595. {
  3596. "command": "gitlens.views.results.refreshNode",
  3597. "when": "view =~ /^gitlens.views.results:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3598. "group": "9_gitlens@1"
  3599. },
  3600. {
  3601. "command": "gitlens.views.fileHistory.refreshNode",
  3602. "when": "view =~ /^gitlens.views.fileHistory:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3603. "group": "9_gitlens@1"
  3604. },
  3605. {
  3606. "command": "gitlens.views.lineHistory.refreshNode",
  3607. "when": "view =~ /^gitlens.views.lineHistory:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3608. "group": "9_gitlens@1"
  3609. }
  3610. ]
  3611. },
  3612. "keybindings": [
  3613. {
  3614. "command": "gitlens.key.left",
  3615. "key": "alt+left",
  3616. "when": "gitlens:key:left"
  3617. },
  3618. {
  3619. "command": "gitlens.key.right",
  3620. "key": "alt+right",
  3621. "when": "gitlens:key:right"
  3622. },
  3623. {
  3624. "command": "gitlens.key.,",
  3625. "key": "alt+,",
  3626. "when": "gitlens:key:,"
  3627. },
  3628. {
  3629. "command": "gitlens.key..",
  3630. "key": "alt+.",
  3631. "when": "gitlens:key:."
  3632. },
  3633. {
  3634. "command": "gitlens.key.escape",
  3635. "key": "escape",
  3636. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3637. },
  3638. {
  3639. "command": "gitlens.toggleFileBlame",
  3640. "key": "alt+b",
  3641. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3642. },
  3643. {
  3644. "command": "gitlens.toggleCodeLens",
  3645. "key": "shift+alt+b",
  3646. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3647. },
  3648. {
  3649. "command": "gitlens.showLastQuickPick",
  3650. "key": "alt+-",
  3651. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3652. },
  3653. {
  3654. "command": "gitlens.showCommitSearch",
  3655. "key": "alt+/",
  3656. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3657. },
  3658. {
  3659. "command": "gitlens.showQuickFileHistory",
  3660. "key": "alt+h",
  3661. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3662. },
  3663. {
  3664. "command": "gitlens.showQuickRepoHistory",
  3665. "key": "shift+alt+h",
  3666. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3667. },
  3668. {
  3669. "command": "gitlens.showQuickRepoStatus",
  3670. "key": "alt+s",
  3671. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3672. },
  3673. {
  3674. "command": "gitlens.showQuickCommitFileDetails",
  3675. "key": "alt+c",
  3676. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  3677. },
  3678. {
  3679. "command": "gitlens.diffWithNext",
  3680. "key": "alt+.",
  3681. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3682. },
  3683. {
  3684. "command": "gitlens.diffLineWithPrevious",
  3685. "key": "shift+alt+,",
  3686. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3687. },
  3688. {
  3689. "command": "gitlens.diffWithPrevious",
  3690. "key": "alt+,",
  3691. "when": "gitlens:keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3692. },
  3693. {
  3694. "command": "gitlens.diffWithPreviousInDiff",
  3695. "key": "alt+,",
  3696. "when": "gitlens:keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3697. },
  3698. {
  3699. "command": "gitlens.diffLineWithWorking",
  3700. "key": "alt+w",
  3701. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3702. },
  3703. {
  3704. "command": "gitlens.diffWithWorking",
  3705. "key": "shift+alt+w",
  3706. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3707. },
  3708. {
  3709. "command": "gitlens.toggleFileBlame",
  3710. "key": "ctrl+shift+g b",
  3711. "mac": "cmd+alt+g b",
  3712. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3713. },
  3714. {
  3715. "command": "gitlens.toggleCodeLens",
  3716. "key": "ctrl+shift+g shift+b",
  3717. "mac": "cmd+alt+g shift+b",
  3718. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3719. },
  3720. {
  3721. "command": "gitlens.showLastQuickPick",
  3722. "key": "ctrl+shift+g -",
  3723. "mac": "cmd+alt+g -",
  3724. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3725. },
  3726. {
  3727. "command": "gitlens.showCommitSearch",
  3728. "key": "ctrl+shift+g /",
  3729. "mac": "cmd+alt+g /",
  3730. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3731. },
  3732. {
  3733. "command": "gitlens.showQuickFileHistory",
  3734. "key": "ctrl+shift+g h",
  3735. "mac": "cmd+alt+g h",
  3736. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3737. },
  3738. {
  3739. "command": "gitlens.showQuickRepoHistory",
  3740. "key": "ctrl+shift+g shift+h",
  3741. "mac": "cmd+alt+g shift+h",
  3742. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3743. },
  3744. {
  3745. "command": "gitlens.showQuickRepoStatus",
  3746. "key": "ctrl+shift+g s",
  3747. "mac": "cmd+alt+g s",
  3748. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3749. },
  3750. {
  3751. "command": "gitlens.showQuickCommitFileDetails",
  3752. "key": "ctrl+shift+g c",
  3753. "mac": "cmd+alt+g c",
  3754. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3755. },
  3756. {
  3757. "command": "gitlens.diffWithNext",
  3758. "key": "ctrl+shift+g .",
  3759. "mac": "cmd+alt+g .",
  3760. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3761. },
  3762. {
  3763. "command": "gitlens.diffLineWithPrevious",
  3764. "key": "ctrl+shift+g shift+,",
  3765. "mac": "cmd+alt+g shift+,",
  3766. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3767. },
  3768. {
  3769. "command": "gitlens.diffWithPrevious",
  3770. "key": "ctrl+shift+g ,",
  3771. "mac": "cmd+alt+g ,",
  3772. "when": "gitlens:keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3773. },
  3774. {
  3775. "command": "gitlens.diffWithPreviousInDiff",
  3776. "key": "ctrl+shift+g ,",
  3777. "mac": "cmd+alt+g ,",
  3778. "when": "gitlens:keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3779. },
  3780. {
  3781. "command": "gitlens.diffLineWithWorking",
  3782. "key": "ctrl+shift+g w",
  3783. "mac": "cmd+alt+g w",
  3784. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3785. },
  3786. {
  3787. "command": "gitlens.diffWithWorking",
  3788. "key": "ctrl+shift+g shift+w",
  3789. "mac": "cmd+alt+g shift+w",
  3790. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3791. },
  3792. {
  3793. "command": "workbench.view.scm",
  3794. "key": "ctrl+shift+g g",
  3795. "mac": "ctrl+shift+g",
  3796. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3797. }
  3798. ],
  3799. "viewsContainers": {
  3800. "activitybar": [
  3801. {
  3802. "id": "gitlens",
  3803. "title": "GitLens",
  3804. "icon": "images/gitlens-activitybar.svg"
  3805. }
  3806. ]
  3807. },
  3808. "views": {
  3809. "gitlens": [
  3810. {
  3811. "id": "gitlens.views.repositories:gitlens",
  3812. "name": "Repositories",
  3813. "when": "gitlens:enabled && gitlens:views:repositories == gitlens"
  3814. },
  3815. {
  3816. "id": "gitlens.views.fileHistory:gitlens",
  3817. "name": "File History",
  3818. "when": "gitlens:enabled && gitlens:views:fileHistory == gitlens"
  3819. },
  3820. {
  3821. "id": "gitlens.views.lineHistory:gitlens",
  3822. "name": "Line History",
  3823. "when": "gitlens:enabled && gitlens:views:lineHistory == gitlens"
  3824. },
  3825. {
  3826. "id": "gitlens.views.results:gitlens",
  3827. "name": "Results",
  3828. "when": "gitlens:enabled && gitlens:views:results == gitlens"
  3829. }
  3830. ],
  3831. "explorer": [
  3832. {
  3833. "id": "gitlens.views.repositories:explorer",
  3834. "name": "GitLens: Repositories",
  3835. "when": "gitlens:enabled && gitlens:views:repositories == explorer"
  3836. },
  3837. {
  3838. "id": "gitlens.views.fileHistory:explorer",
  3839. "name": "GitLens: File History",
  3840. "when": "gitlens:enabled && gitlens:views:fileHistory == explorer"
  3841. },
  3842. {
  3843. "id": "gitlens.views.lineHistory:explorer",
  3844. "name": "GitLens: Line History",
  3845. "when": "gitlens:enabled && gitlens:views:lineHistory == explorer"
  3846. },
  3847. {
  3848. "id": "gitlens.views.results:explorer",
  3849. "name": "GitLens: Results",
  3850. "when": "gitlens:enabled && gitlens:views:results == explorer"
  3851. }
  3852. ],
  3853. "scm": [
  3854. {
  3855. "id": "gitlens.views.repositories:scm",
  3856. "name": "GitLens: Repositories",
  3857. "when": "gitlens:enabled && gitlens:views:repositories == scm"
  3858. },
  3859. {
  3860. "id": "gitlens.views.fileHistory:scm",
  3861. "name": "GitLens: File History",
  3862. "when": "gitlens:enabled && gitlens:views:fileHistory == scm"
  3863. },
  3864. {
  3865. "id": "gitlens.views.lineHistory:scm",
  3866. "name": "GitLens: Line History",
  3867. "when": "gitlens:enabled && gitlens:views:lineHistory == scm"
  3868. },
  3869. {
  3870. "id": "gitlens.views.results:scm",
  3871. "name": "GitLens: Results",
  3872. "when": "gitlens:enabled && gitlens:views:results == scm"
  3873. }
  3874. ]
  3875. }
  3876. },
  3877. "scripts": {
  3878. "build": "webpack --env.development",
  3879. "bundle": "webpack --env.production",
  3880. "clean": "git clean -Xdf -e !.cache-images",
  3881. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  3882. "pack": "vsce package",
  3883. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  3884. "pub": "vsce publish",
  3885. "rebuild": "npm run reset && npm run build",
  3886. "reset": "npm run clean && npm install --no-save",
  3887. "watch": "webpack --watch --env.development --info-verbosity verbose",
  3888. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  3889. "ui:watch": "webpack --watch --config-name ui --env.development --info-verbosity verbose",
  3890. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  3891. "postinstall": "node ./node_modules/vscode/bin/install",
  3892. "vscode:prepublish": "npm run reset && npm run bundle"
  3893. },
  3894. "dependencies": {
  3895. "clipboardy": "1.2.3",
  3896. "date-fns": "1.29.0",
  3897. "iconv-lite": "0.4.24",
  3898. "lodash.debounce": "4.0.8",
  3899. "lodash.once": "4.1.1",
  3900. "tslib": "1.9.3"
  3901. },
  3902. "devDependencies": {
  3903. "@types/clipboardy": "1.1.0",
  3904. "@types/node": "8.10.36",
  3905. "clean-webpack-plugin": "0.1.19",
  3906. "css-loader": "1.0.0",
  3907. "filemanager-webpack-plugin": "2.0.5",
  3908. "html-webpack-inline-source-plugin": "0.0.10",
  3909. "html-webpack-plugin": "3.2.0",
  3910. "imagemin-webpack-plugin": "2.3.0",
  3911. "mini-css-extract-plugin": "0.4.4",
  3912. "node-sass": "4.9.4",
  3913. "prettier": "1.14.3",
  3914. "prettier-tslint": "0.4.0",
  3915. "sass-loader": "7.1.0",
  3916. "size-plugin": "1.0.1",
  3917. "tslint": "5.11.0",
  3918. "tslint-loader": "3.5.4",
  3919. "tslint-prettiest": "0.0.1",
  3920. "ts-loader": "5.2.2",
  3921. "typescript": "3.1.3",
  3922. "vscode": "1.1.21",
  3923. "webpack": "4.21.0",
  3924. "webpack-cli": "3.1.2",
  3925. "webpack-deep-scope-plugin": "1.6.0"
  3926. }
  3927. }