您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

4553 行
202 KiB

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