Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

3334 linhas
150 KiB

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