Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

5158 rindas
229 KiB

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