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.

3587 regels
158 KiB

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