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

3760 lines
165 KiB

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