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

3347 lines
151 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "version": "7.5.9",
  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.externalDiff",
  1721. "when": "gitlens:enabled"
  1722. },
  1723. {
  1724. "command": "gitlens.externalDiffAll",
  1725. "when": "gitlens:enabled"
  1726. },
  1727. {
  1728. "command": "gitlens.showFileBlame",
  1729. "when": "gitlens:activeIsBlameable"
  1730. },
  1731. {
  1732. "command": "gitlens.showLineBlame",
  1733. "when": "gitlens:activeIsBlameable"
  1734. },
  1735. {
  1736. "command": "gitlens.toggleFileBlame",
  1737. "when": "gitlens:activeIsBlameable"
  1738. },
  1739. {
  1740. "command": "gitlens.clearFileAnnotations",
  1741. "when": "gitlens:annotationStatus == computed"
  1742. },
  1743. {
  1744. "command": "gitlens.computingFileAnnotations",
  1745. "when": "false"
  1746. },
  1747. {
  1748. "command": "gitlens.toggleFileHeatmap",
  1749. "when": "gitlens:activeIsBlameable"
  1750. },
  1751. {
  1752. "command": "gitlens.toggleFileRecentChanges",
  1753. "when": "gitlens:activeIsBlameable"
  1754. },
  1755. {
  1756. "command": "gitlens.toggleLineBlame",
  1757. "when": "gitlens:activeIsBlameable"
  1758. },
  1759. {
  1760. "command": "gitlens.toggleCodeLens",
  1761. "when": "gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  1762. },
  1763. {
  1764. "command": "gitlens.showLastQuickPick",
  1765. "when": "gitlens:enabled"
  1766. },
  1767. {
  1768. "command": "gitlens.showCommitSearch",
  1769. "when": "gitlens:enabled"
  1770. },
  1771. {
  1772. "command": "gitlens.showQuickCommitDetails",
  1773. "when": "gitlens:activeIsBlameable"
  1774. },
  1775. {
  1776. "command": "gitlens.showQuickCommitFileDetails",
  1777. "when": "gitlens:activeIsBlameable"
  1778. },
  1779. {
  1780. "command": "gitlens.showQuickFileHistory",
  1781. "when": "gitlens:activeIsTracked"
  1782. },
  1783. {
  1784. "command": "gitlens.showQuickBranchHistory",
  1785. "when": "gitlens:enabled"
  1786. },
  1787. {
  1788. "command": "gitlens.showQuickRepoHistory",
  1789. "when": "gitlens:enabled"
  1790. },
  1791. {
  1792. "command": "gitlens.showQuickRepoStatus",
  1793. "when": "gitlens:enabled"
  1794. },
  1795. {
  1796. "command": "gitlens.showQuickStashList",
  1797. "when": "gitlens:enabled"
  1798. },
  1799. {
  1800. "command": "gitlens.copyShaToClipboard",
  1801. "when": "gitlens:activeIsBlameable"
  1802. },
  1803. {
  1804. "command": "gitlens.copyMessageToClipboard",
  1805. "when": "gitlens:activeIsBlameable"
  1806. },
  1807. {
  1808. "command": "gitlens.closeUnchangedFiles",
  1809. "when": "gitlens:enabled"
  1810. },
  1811. {
  1812. "command": "gitlens.openChangedFiles",
  1813. "when": "gitlens:enabled"
  1814. },
  1815. {
  1816. "command": "gitlens.openBranchesInRemote",
  1817. "when": "gitlens:activeHasRemote"
  1818. },
  1819. {
  1820. "command": "gitlens.openBranchInRemote",
  1821. "when": "gitlens:activeHasRemote"
  1822. },
  1823. {
  1824. "command": "gitlens.openCommitInRemote",
  1825. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1826. },
  1827. {
  1828. "command": "gitlens.openFileInRemote",
  1829. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1830. },
  1831. {
  1832. "command": "gitlens.openFileRevision",
  1833. "when": "gitlens:activeIsTracked"
  1834. },
  1835. {
  1836. "command": "gitlens.openRepoInRemote",
  1837. "when": "gitlens:activeHasRemote"
  1838. },
  1839. {
  1840. "command": "gitlens.openWorkingFile",
  1841. "when": "gitlens:activeIsRevision"
  1842. },
  1843. {
  1844. "command": "gitlens.stashApply",
  1845. "when": "gitlens:enabled"
  1846. },
  1847. {
  1848. "command": "gitlens.stashDelete",
  1849. "when": "false"
  1850. },
  1851. {
  1852. "command": "gitlens.stashSave",
  1853. "when": "gitlens:enabled"
  1854. },
  1855. {
  1856. "command": "gitlens.resetSuppressedWarnings",
  1857. "when": "gitlens:enabled"
  1858. },
  1859. {
  1860. "command": "gitlens.explorers.openChanges",
  1861. "when": "false"
  1862. },
  1863. {
  1864. "command": "gitlens.explorers.openDirectoryDiff",
  1865. "when": "false"
  1866. },
  1867. {
  1868. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1869. "when": "false"
  1870. },
  1871. {
  1872. "command": "gitlens.explorers.openChangesWithWorking",
  1873. "when": "false"
  1874. },
  1875. {
  1876. "command": "gitlens.explorers.openFile",
  1877. "when": "false"
  1878. },
  1879. {
  1880. "command": "gitlens.explorers.openFileRevision",
  1881. "when": "false"
  1882. },
  1883. {
  1884. "command": "gitlens.explorers.openFileRevisionInRemote",
  1885. "when": "false"
  1886. },
  1887. {
  1888. "command": "gitlens.explorers.openChangedFiles",
  1889. "when": "false"
  1890. },
  1891. {
  1892. "command": "gitlens.explorers.openChangedFileChanges",
  1893. "when": "false"
  1894. },
  1895. {
  1896. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1897. "when": "false"
  1898. },
  1899. {
  1900. "command": "gitlens.explorers.openChangedFileRevisions",
  1901. "when": "false"
  1902. },
  1903. {
  1904. "command": "gitlens.explorers.applyChanges",
  1905. "when": "false"
  1906. },
  1907. {
  1908. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1909. "when": "false"
  1910. },
  1911. {
  1912. "command": "gitlens.explorers.compareWithHead",
  1913. "when": "false"
  1914. },
  1915. {
  1916. "command": "gitlens.explorers.compareWithRemote",
  1917. "when": "false"
  1918. },
  1919. {
  1920. "command": "gitlens.explorers.compareWithSelected",
  1921. "when": "false"
  1922. },
  1923. {
  1924. "command": "gitlens.explorers.compareWithWorking",
  1925. "when": "false"
  1926. },
  1927. {
  1928. "command": "gitlens.explorers.selectForCompare",
  1929. "when": "false"
  1930. },
  1931. {
  1932. "command": "gitlens.explorers.terminalCheckoutBranch",
  1933. "when": "false"
  1934. },
  1935. {
  1936. "command": "gitlens.explorers.terminalCreateBranch",
  1937. "when": "false"
  1938. },
  1939. {
  1940. "command": "gitlens.explorers.terminalDeleteBranch",
  1941. "when": "false"
  1942. },
  1943. {
  1944. "command": "gitlens.explorers.terminalMergeBranch",
  1945. "when": "false"
  1946. },
  1947. {
  1948. "command": "gitlens.explorers.terminalRebaseBranch",
  1949. "when": "false"
  1950. },
  1951. {
  1952. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1953. "when": "false"
  1954. },
  1955. {
  1956. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1957. "when": "false"
  1958. },
  1959. {
  1960. "command": "gitlens.explorers.terminalCherryPickCommit",
  1961. "when": "false"
  1962. },
  1963. {
  1964. "command": "gitlens.explorers.terminalRebaseCommit",
  1965. "when": "false"
  1966. },
  1967. {
  1968. "command": "gitlens.explorers.terminalResetCommit",
  1969. "when": "false"
  1970. },
  1971. {
  1972. "command": "gitlens.explorers.terminalRevertCommit",
  1973. "when": "false"
  1974. },
  1975. {
  1976. "command": "gitlens.explorers.terminalRemoveRemote",
  1977. "when": "false"
  1978. },
  1979. {
  1980. "command": "gitlens.explorers.terminalCreateTag",
  1981. "when": "false"
  1982. },
  1983. {
  1984. "command": "gitlens.explorers.terminalDeleteTag",
  1985. "when": "false"
  1986. },
  1987. {
  1988. "command": "gitlens.gitExplorer.refresh",
  1989. "when": "false"
  1990. },
  1991. {
  1992. "command": "gitlens.gitExplorer.refreshNode",
  1993. "when": "false"
  1994. },
  1995. {
  1996. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1997. "when": "false"
  1998. },
  1999. {
  2000. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2001. "when": "false"
  2002. },
  2003. {
  2004. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2005. "when": "false"
  2006. },
  2007. {
  2008. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2009. "when": "false"
  2010. },
  2011. {
  2012. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2013. "when": "false"
  2014. },
  2015. {
  2016. "command": "gitlens.gitExplorer.switchToHistoryView",
  2017. "when": "gitlens:enabled && gitlens:gitExplorer:view == repository"
  2018. },
  2019. {
  2020. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2021. "when": "gitlens:enabled && gitlens:gitExplorer:view == history"
  2022. },
  2023. {
  2024. "command": "gitlens.resultsExplorer.clearResultsNode",
  2025. "when": "false"
  2026. },
  2027. {
  2028. "command": "gitlens.resultsExplorer.close",
  2029. "when": "false"
  2030. },
  2031. {
  2032. "command": "gitlens.resultsExplorer.refresh",
  2033. "when": "false"
  2034. },
  2035. {
  2036. "command": "gitlens.resultsExplorer.refreshNode",
  2037. "when": "false"
  2038. },
  2039. {
  2040. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2041. "when": "false"
  2042. },
  2043. {
  2044. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2045. "when": "false"
  2046. },
  2047. {
  2048. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2049. "when": "false"
  2050. },
  2051. {
  2052. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2053. "when": "false"
  2054. },
  2055. {
  2056. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2057. "when": "false"
  2058. }
  2059. ],
  2060. "editor/context": [
  2061. {
  2062. "command": "gitlens.openFileInRemote",
  2063. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  2064. "group": "navigation@100"
  2065. },
  2066. {
  2067. "command": "gitlens.diffLineWithPrevious",
  2068. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2069. "group": "1_gitlens@1"
  2070. },
  2071. {
  2072. "command": "gitlens.diffLineWithWorking",
  2073. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2074. "group": "1_gitlens@2"
  2075. },
  2076. {
  2077. "command": "gitlens.showQuickCommitFileDetails",
  2078. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2079. "group": "1_gitlens@3"
  2080. },
  2081. {
  2082. "command": "gitlens.diffWithPrevious",
  2083. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2084. "group": "1_gitlens_1@1"
  2085. },
  2086. {
  2087. "command": "gitlens.diffWithWorking",
  2088. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2089. "group": "1_gitlens_1@2"
  2090. },
  2091. {
  2092. "command": "gitlens.showQuickFileHistory",
  2093. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2094. "group": "3_gitlens@1"
  2095. },
  2096. {
  2097. "command": "gitlens.toggleFileBlame",
  2098. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2099. "group": "3_gitlens@2"
  2100. },
  2101. {
  2102. "command": "gitlens.copyShaToClipboard",
  2103. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2104. "group": "9_gitlens@1"
  2105. },
  2106. {
  2107. "command": "gitlens.copyMessageToClipboard",
  2108. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2109. "group": "9_gitlens@2"
  2110. }
  2111. ],
  2112. "editor/title": [
  2113. {
  2114. "command": "gitlens.openWorkingFile",
  2115. "when": "gitlens:activeIsRevision",
  2116. "group": "navigation@1"
  2117. },
  2118. {
  2119. "command": "gitlens.toggleFileBlame",
  2120. "alt": "gitlens.toggleFileRecentChanges",
  2121. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2122. "group": "navigation@100"
  2123. },
  2124. {
  2125. "command": "gitlens.computingFileAnnotations",
  2126. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2127. "group": "navigation@100"
  2128. },
  2129. {
  2130. "command": "gitlens.clearFileAnnotations",
  2131. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2132. "group": "navigation@100"
  2133. },
  2134. {
  2135. "command": "gitlens.openFileInRemote",
  2136. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2137. "group": "2_gitlens"
  2138. },
  2139. {
  2140. "command": "gitlens.openRepoInRemote",
  2141. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2142. "group": "2_gitlens"
  2143. },
  2144. {
  2145. "command": "gitlens.diffWithPrevious",
  2146. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2147. "group": "2_gitlens_1"
  2148. },
  2149. {
  2150. "command": "gitlens.diffWithWorking",
  2151. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2152. "group": "2_gitlens_1"
  2153. },
  2154. {
  2155. "command": "gitlens.showQuickFileHistory",
  2156. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2157. "group": "2_gitlens_2"
  2158. },
  2159. {
  2160. "command": "gitlens.showQuickRepoHistory",
  2161. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2162. "group": "2_gitlens_2"
  2163. },
  2164. {
  2165. "command": "gitlens.showQuickRepoStatus",
  2166. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2167. "group": "2_gitlens_2"
  2168. }
  2169. ],
  2170. "editor/title/context": [
  2171. {
  2172. "command": "gitlens.openFileInRemote",
  2173. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2174. "group": "1_gitlens"
  2175. },
  2176. {
  2177. "command": "gitlens.diffWithPrevious",
  2178. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2179. "group": "1_gitlens_1@1"
  2180. },
  2181. {
  2182. "command": "gitlens.diffWithWorking",
  2183. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2184. "group": "1_gitlens_1@2"
  2185. },
  2186. {
  2187. "command": "gitlens.showQuickFileHistory",
  2188. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2189. "group": "1_gitlens_2@1"
  2190. },
  2191. {
  2192. "command": "gitlens.toggleFileBlame",
  2193. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2194. "group": "1_gitlens_2@2"
  2195. }
  2196. ],
  2197. "explorer/context": [
  2198. {
  2199. "command": "gitlens.openFileInRemote",
  2200. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2201. "group": "navigation@100"
  2202. },
  2203. {
  2204. "command": "gitlens.diffWithPrevious",
  2205. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2206. "group": "1_gitlens@1"
  2207. },
  2208. {
  2209. "command": "gitlens.diffWithWorking",
  2210. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2211. "group": "1_gitlens@2"
  2212. },
  2213. {
  2214. "command": "gitlens.showQuickFileHistory",
  2215. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2216. "group": "1_gitlens_1@1"
  2217. }
  2218. ],
  2219. "scm/resourceGroup/context": [
  2220. {
  2221. "command": "gitlens.openChangedFiles",
  2222. "when": "gitlens:enabled",
  2223. "group": "2_gitlens@1"
  2224. },
  2225. {
  2226. "command": "gitlens.closeUnchangedFiles",
  2227. "when": "gitlens:enabled",
  2228. "group": "2_gitlens@2"
  2229. },
  2230. {
  2231. "command": "gitlens.externalDiff",
  2232. "when": "gitlens:enabled",
  2233. "group": "2_gitlens@3"
  2234. },
  2235. {
  2236. "command": "gitlens.externalDiffAll",
  2237. "when": "gitlens:enabled",
  2238. "group": "2_gitlens@4"
  2239. },
  2240. {
  2241. "command": "gitlens.stashSave",
  2242. "when": "gitlens:enabled",
  2243. "group": "3_gitlens@1"
  2244. }
  2245. ],
  2246. "scm/resourceState/context": [
  2247. {
  2248. "command": "gitlens.openFileInRemote",
  2249. "when": "gitlens:enabled && gitlens:hasRemotes",
  2250. "group": "navigation"
  2251. },
  2252. {
  2253. "command": "gitlens.externalDiff",
  2254. "when": "gitlens:enabled",
  2255. "group": "navigation"
  2256. },
  2257. {
  2258. "command": "gitlens.diffWithRevision",
  2259. "when": "gitlens:enabled",
  2260. "group": "1_gitlens@1"
  2261. },
  2262. {
  2263. "command": "gitlens.diffWithBranch",
  2264. "when": "gitlens:enabled",
  2265. "group": "1_gitlens@2"
  2266. },
  2267. {
  2268. "command": "gitlens.showQuickFileHistory",
  2269. "when": "gitlens:enabled",
  2270. "group": "1_gitlens_1@1"
  2271. },
  2272. {
  2273. "command": "gitlens.stashSave",
  2274. "when": "gitlens:enabled",
  2275. "group": "2_gitlens@1"
  2276. }
  2277. ],
  2278. "view/title": [
  2279. {
  2280. "command": "gitlens.showCommitSearch",
  2281. "when": "view == gitlens.gitExplorer",
  2282. "group": "navigation@1"
  2283. },
  2284. {
  2285. "command": "gitlens.gitExplorer.switchToHistoryView",
  2286. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2287. "group": "navigation@2"
  2288. },
  2289. {
  2290. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2291. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2292. "group": "navigation@3"
  2293. },
  2294. {
  2295. "command": "gitlens.gitExplorer.refresh",
  2296. "when": "view == gitlens.gitExplorer",
  2297. "group": "navigation@4"
  2298. },
  2299. {
  2300. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2301. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2302. "group": "1_gitlens"
  2303. },
  2304. {
  2305. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2306. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2307. "group": "1_gitlens"
  2308. },
  2309. {
  2310. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2311. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2312. "group": "1_gitlens"
  2313. },
  2314. {
  2315. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2316. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2317. "group": "2_gitlens"
  2318. },
  2319. {
  2320. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2321. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2322. "group": "2_gitlens"
  2323. },
  2324. {
  2325. "command": "gitlens.showCommitSearch",
  2326. "when": "view == gitlens.resultsExplorer",
  2327. "group": "navigation@1"
  2328. },
  2329. {
  2330. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2331. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2332. "group": "navigation@2"
  2333. },
  2334. {
  2335. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2336. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2337. "group": "navigation@2"
  2338. },
  2339. {
  2340. "command": "gitlens.resultsExplorer.refresh",
  2341. "when": "view == gitlens.resultsExplorer",
  2342. "group": "navigation@3"
  2343. },
  2344. {
  2345. "command": "gitlens.resultsExplorer.close",
  2346. "when": "view == gitlens.resultsExplorer",
  2347. "group": "navigation@9"
  2348. },
  2349. {
  2350. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2351. "when": "view == gitlens.resultsExplorer",
  2352. "group": "1_gitlens"
  2353. },
  2354. {
  2355. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2356. "when": "view == gitlens.resultsExplorer",
  2357. "group": "1_gitlens"
  2358. },
  2359. {
  2360. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2361. "when": "view == gitlens.resultsExplorer",
  2362. "group": "1_gitlens"
  2363. }
  2364. ],
  2365. "view/item/context": [
  2366. {
  2367. "command": "gitlens.openBranchesInRemote",
  2368. "when": "viewItem == gitlens:branches:remotes",
  2369. "group": "1_gitlens@1"
  2370. },
  2371. {
  2372. "command": "gitlens.explorers.compareWithHead",
  2373. "when": "viewItem == gitlens:branch",
  2374. "group": "7_gitlens@1"
  2375. },
  2376. {
  2377. "command": "gitlens.explorers.compareWithWorking",
  2378. "when": "viewItem == gitlens:branch",
  2379. "group": "7_gitlens@2"
  2380. },
  2381. {
  2382. "command": "gitlens.explorers.compareWithSelected",
  2383. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare",
  2384. "group": "7_gitlens_@1"
  2385. },
  2386. {
  2387. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2388. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare == branch",
  2389. "group": "7_gitlens_@2"
  2390. },
  2391. {
  2392. "command": "gitlens.explorers.selectForCompare",
  2393. "when": "viewItem == gitlens:branch",
  2394. "group": "7_gitlens_@3"
  2395. },
  2396. {
  2397. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2398. "when": "viewItem == gitlens:branch",
  2399. "group": "7_gitlens_diff@1"
  2400. },
  2401. {
  2402. "command": "gitlens.explorers.terminalCheckoutBranch",
  2403. "when": "viewItem == gitlens:branch",
  2404. "group": "8_gitlens@1"
  2405. },
  2406. {
  2407. "command": "gitlens.explorers.terminalMergeBranch",
  2408. "when": "viewItem == gitlens:branch",
  2409. "group": "8_gitlens@2"
  2410. },
  2411. {
  2412. "command": "gitlens.explorers.terminalRebaseBranch",
  2413. "when": "viewItem == gitlens:branch",
  2414. "group": "8_gitlens@3"
  2415. },
  2416. {
  2417. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2418. "when": "viewItem == gitlens:branch",
  2419. "group": "8_gitlens@4"
  2420. },
  2421. {
  2422. "command": "gitlens.explorers.terminalCreateBranch",
  2423. "when": "viewItem == gitlens:branch",
  2424. "group": "8_gitlens@5"
  2425. },
  2426. {
  2427. "command": "gitlens.explorers.terminalDeleteBranch",
  2428. "when": "viewItem == gitlens:branch",
  2429. "group": "8_gitlens@6"
  2430. },
  2431. {
  2432. "command": "gitlens.explorers.terminalCreateTag",
  2433. "when": "viewItem == gitlens:branch",
  2434. "group": "8_gitlens@7"
  2435. },
  2436. {
  2437. "command": "gitlens.openBranchInRemote",
  2438. "when": "viewItem == gitlens:branch:tracking",
  2439. "group": "1_gitlens@1"
  2440. },
  2441. {
  2442. "command": "gitlens.explorers.compareWithRemote",
  2443. "when": "viewItem == gitlens:branch:tracking",
  2444. "group": "7_gitlens@1"
  2445. },
  2446. {
  2447. "command": "gitlens.explorers.compareWithHead",
  2448. "when": "viewItem == gitlens:branch:tracking",
  2449. "group": "7_gitlens@2"
  2450. },
  2451. {
  2452. "command": "gitlens.explorers.compareWithWorking",
  2453. "when": "viewItem == gitlens:branch:tracking",
  2454. "group": "7_gitlens@3"
  2455. },
  2456. {
  2457. "command": "gitlens.explorers.compareWithSelected",
  2458. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare",
  2459. "group": "7_gitlens_@1"
  2460. },
  2461. {
  2462. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2463. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare == branch",
  2464. "group": "7_gitlens_@2"
  2465. },
  2466. {
  2467. "command": "gitlens.explorers.selectForCompare",
  2468. "when": "viewItem == gitlens:branch:tracking",
  2469. "group": "7_gitlens_@3"
  2470. },
  2471. {
  2472. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2473. "when": "viewItem == gitlens:branch:tracking",
  2474. "group": "7_gitlens_diff@1"
  2475. },
  2476. {
  2477. "command": "gitlens.explorers.terminalCheckoutBranch",
  2478. "when": "viewItem == gitlens:branch:tracking",
  2479. "group": "8_gitlens@1"
  2480. },
  2481. {
  2482. "command": "gitlens.explorers.terminalMergeBranch",
  2483. "when": "viewItem == gitlens:branch:tracking",
  2484. "group": "8_gitlens@2"
  2485. },
  2486. {
  2487. "command": "gitlens.explorers.terminalRebaseBranch",
  2488. "when": "viewItem == gitlens:branch:tracking",
  2489. "group": "8_gitlens@3"
  2490. },
  2491. {
  2492. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2493. "when": "viewItem == gitlens:branch:tracking",
  2494. "group": "8_gitlens@4"
  2495. },
  2496. {
  2497. "command": "gitlens.explorers.terminalCreateBranch",
  2498. "when": "viewItem == gitlens:branch:tracking",
  2499. "group": "8_gitlens@5"
  2500. },
  2501. {
  2502. "command": "gitlens.explorers.terminalDeleteBranch",
  2503. "when": "viewItem == gitlens:branch:tracking",
  2504. "group": "8_gitlens@6"
  2505. },
  2506. {
  2507. "command": "gitlens.explorers.terminalCreateTag",
  2508. "when": "viewItem == gitlens:branch:tracking",
  2509. "group": "8_gitlens@7"
  2510. },
  2511. {
  2512. "command": "gitlens.explorers.compareWithHead",
  2513. "when": "viewItem == gitlens:current-branch",
  2514. "group": "7_gitlens@1"
  2515. },
  2516. {
  2517. "command": "gitlens.explorers.compareWithWorking",
  2518. "when": "viewItem == gitlens:current-branch",
  2519. "group": "7_gitlens@2"
  2520. },
  2521. {
  2522. "command": "gitlens.explorers.compareWithSelected",
  2523. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare",
  2524. "group": "7_gitlens_@1"
  2525. },
  2526. {
  2527. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2528. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare == branch",
  2529. "group": "7_gitlens_@2"
  2530. },
  2531. {
  2532. "command": "gitlens.explorers.selectForCompare",
  2533. "when": "viewItem == gitlens:current-branch",
  2534. "group": "7_gitlens_@3"
  2535. },
  2536. {
  2537. "command": "gitlens.explorers.terminalCreateBranch",
  2538. "when": "viewItem == gitlens:current-branch",
  2539. "group": "8_gitlens@1"
  2540. },
  2541. {
  2542. "command": "gitlens.explorers.terminalCreateTag",
  2543. "when": "viewItem == gitlens:current-branch",
  2544. "group": "8_gitlens@2"
  2545. },
  2546. {
  2547. "command": "gitlens.openBranchInRemote",
  2548. "when": "viewItem == gitlens:current-branch:tracking",
  2549. "group": "1_gitlens@1"
  2550. },
  2551. {
  2552. "command": "gitlens.explorers.compareWithRemote",
  2553. "when": "viewItem == gitlens:current-branch:tracking",
  2554. "group": "7_gitlens@1"
  2555. },
  2556. {
  2557. "command": "gitlens.explorers.compareWithHead",
  2558. "when": "viewItem == gitlens:current-branch:tracking",
  2559. "group": "7_gitlens@2"
  2560. },
  2561. {
  2562. "command": "gitlens.explorers.compareWithWorking",
  2563. "when": "viewItem == gitlens:current-branch:tracking",
  2564. "group": "7_gitlens@3"
  2565. },
  2566. {
  2567. "command": "gitlens.explorers.compareWithSelected",
  2568. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare",
  2569. "group": "7_gitlens_@1"
  2570. },
  2571. {
  2572. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2573. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare == branch",
  2574. "group": "7_gitlens_@2"
  2575. },
  2576. {
  2577. "command": "gitlens.explorers.selectForCompare",
  2578. "when": "viewItem == gitlens:current-branch:tracking",
  2579. "group": "7_gitlens_@3"
  2580. },
  2581. {
  2582. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2583. "when": "viewItem == gitlens:current-branch:tracking",
  2584. "group": "8_gitlens@1"
  2585. },
  2586. {
  2587. "command": "gitlens.explorers.terminalCreateBranch",
  2588. "when": "viewItem == gitlens:current-branch:tracking",
  2589. "group": "8_gitlens@2"
  2590. },
  2591. {
  2592. "command": "gitlens.explorers.terminalCreateTag",
  2593. "when": "viewItem == gitlens:current-branch:tracking",
  2594. "group": "8_gitlens@3"
  2595. },
  2596. {
  2597. "command": "gitlens.openBranchInRemote",
  2598. "when": "viewItem == gitlens:remote-branch",
  2599. "group": "1_gitlens@1"
  2600. },
  2601. {
  2602. "command": "gitlens.explorers.compareWithHead",
  2603. "when": "viewItem == gitlens:remote-branch",
  2604. "group": "7_gitlens@1"
  2605. },
  2606. {
  2607. "command": "gitlens.explorers.compareWithWorking",
  2608. "when": "viewItem == gitlens:remote-branch",
  2609. "group": "7_gitlens@2"
  2610. },
  2611. {
  2612. "command": "gitlens.explorers.compareWithSelected",
  2613. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare",
  2614. "group": "7_gitlens_@1"
  2615. },
  2616. {
  2617. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2618. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare == branch",
  2619. "group": "7_gitlens_@2"
  2620. },
  2621. {
  2622. "command": "gitlens.explorers.selectForCompare",
  2623. "when": "viewItem == gitlens:remote-branch",
  2624. "group": "7_gitlens_@3"
  2625. },
  2626. {
  2627. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2628. "when": "viewItem == gitlens:remote-branch",
  2629. "group": "7_gitlens_diff@1"
  2630. },
  2631. {
  2632. "command": "gitlens.explorers.terminalCheckoutBranch",
  2633. "when": "viewItem == gitlens:remote-branch",
  2634. "group": "8_gitlens@1"
  2635. },
  2636. {
  2637. "command": "gitlens.explorers.terminalMergeBranch",
  2638. "when": "viewItem == gitlens:remote-branch",
  2639. "group": "8_gitlens@2"
  2640. },
  2641. {
  2642. "command": "gitlens.explorers.terminalRebaseBranch",
  2643. "when": "viewItem == gitlens:remote-branch",
  2644. "group": "8_gitlens@3"
  2645. },
  2646. {
  2647. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2648. "when": "viewItem == gitlens:remote-branch",
  2649. "group": "8_gitlens@4"
  2650. },
  2651. {
  2652. "command": "gitlens.explorers.terminalCreateBranch",
  2653. "when": "viewItem == gitlens:remote-branch",
  2654. "group": "8_gitlens@5"
  2655. },
  2656. {
  2657. "command": "gitlens.explorers.terminalDeleteBranch",
  2658. "when": "viewItem == gitlens:remote-branch",
  2659. "group": "8_gitlens@6"
  2660. },
  2661. {
  2662. "command": "gitlens.explorers.terminalCreateTag",
  2663. "when": "viewItem == gitlens:remote-branch",
  2664. "group": "8_gitlens@7"
  2665. },
  2666. {
  2667. "command": "gitlens.openCommitInRemote",
  2668. "when": "viewItem == gitlens:commit && gitlens:hasRemotes",
  2669. "group": "1_gitlens@1"
  2670. },
  2671. {
  2672. "command": "gitlens.explorers.openChangedFileChanges",
  2673. "when": "viewItem == gitlens:commit",
  2674. "group": "2_gitlens@1"
  2675. },
  2676. {
  2677. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2678. "when": "viewItem == gitlens:commit",
  2679. "group": "2_gitlens@1"
  2680. },
  2681. {
  2682. "command": "gitlens.explorers.openChangedFiles",
  2683. "when": "viewItem == gitlens:commit",
  2684. "group": "3_gitlens@1"
  2685. },
  2686. {
  2687. "command": "gitlens.explorers.openChangedFileRevisions",
  2688. "when": "viewItem == gitlens:commit",
  2689. "group": "3_gitlens@2"
  2690. },
  2691. {
  2692. "command": "gitlens.copyShaToClipboard",
  2693. "when": "viewItem == gitlens:commit",
  2694. "group": "4_gitlens@1"
  2695. },
  2696. {
  2697. "command": "gitlens.copyMessageToClipboard",
  2698. "when": "viewItem == gitlens:commit",
  2699. "group": "4_gitlens@2"
  2700. },
  2701. {
  2702. "command": "gitlens.showQuickCommitDetails",
  2703. "when": "viewItem == gitlens:commit",
  2704. "group": "5_gitlens@1"
  2705. },
  2706. {
  2707. "command": "gitlens.explorers.compareWithHead",
  2708. "when": "viewItem == gitlens:commit",
  2709. "group": "7_gitlens@1"
  2710. },
  2711. {
  2712. "command": "gitlens.explorers.compareWithWorking",
  2713. "when": "viewItem == gitlens:commit",
  2714. "group": "7_gitlens@2"
  2715. },
  2716. {
  2717. "command": "gitlens.explorers.compareWithSelected",
  2718. "when": "viewItem == gitlens:commit && gitlens:explorers:canCompare",
  2719. "group": "7_gitlens_@1"
  2720. },
  2721. {
  2722. "command": "gitlens.explorers.selectForCompare",
  2723. "when": "viewItem == gitlens:commit",
  2724. "group": "7_gitlens_@2"
  2725. },
  2726. {
  2727. "command": "gitlens.explorers.terminalCherryPickCommit",
  2728. "when": "viewItem == gitlens:commit",
  2729. "group": "8_gitlens@1"
  2730. },
  2731. {
  2732. "command": "gitlens.explorers.terminalCreateBranch",
  2733. "when": "viewItem == gitlens:commit",
  2734. "group": "8_gitlens@2"
  2735. },
  2736. {
  2737. "command": "gitlens.explorers.terminalCreateTag",
  2738. "when": "viewItem == gitlens:commit",
  2739. "group": "8_gitlens@3"
  2740. },
  2741. {
  2742. "command": "gitlens.openCommitInRemote",
  2743. "when": "viewItem == gitlens:commit:current && gitlens:hasRemotes",
  2744. "group": "1_gitlens@1"
  2745. },
  2746. {
  2747. "command": "gitlens.explorers.openChangedFileChanges",
  2748. "when": "viewItem == gitlens:commit:current",
  2749. "group": "2_gitlens@1"
  2750. },
  2751. {
  2752. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2753. "when": "viewItem == gitlens:commit:current",
  2754. "group": "2_gitlens@1"
  2755. },
  2756. {
  2757. "command": "gitlens.explorers.openChangedFiles",
  2758. "when": "viewItem == gitlens:commit:current",
  2759. "group": "3_gitlens@1"
  2760. },
  2761. {
  2762. "command": "gitlens.explorers.openChangedFileRevisions",
  2763. "when": "viewItem == gitlens:commit:current",
  2764. "group": "3_gitlens@2"
  2765. },
  2766. {
  2767. "command": "gitlens.copyShaToClipboard",
  2768. "when": "viewItem == gitlens:commit:current",
  2769. "group": "4_gitlens@1"
  2770. },
  2771. {
  2772. "command": "gitlens.copyMessageToClipboard",
  2773. "when": "viewItem == gitlens:commit:current",
  2774. "group": "4_gitlens@2"
  2775. },
  2776. {
  2777. "command": "gitlens.showQuickCommitDetails",
  2778. "when": "viewItem == gitlens:commit:current",
  2779. "group": "5_gitlens@1"
  2780. },
  2781. {
  2782. "command": "gitlens.explorers.compareWithHead",
  2783. "when": "viewItem == gitlens:commit:current",
  2784. "group": "7_gitlens@1"
  2785. },
  2786. {
  2787. "command": "gitlens.explorers.compareWithWorking",
  2788. "when": "viewItem == gitlens:commit:current",
  2789. "group": "7_gitlens@2"
  2790. },
  2791. {
  2792. "command": "gitlens.explorers.compareWithSelected",
  2793. "when": "viewItem == gitlens:commit:current && gitlens:explorers:canCompare",
  2794. "group": "7_gitlens_@1"
  2795. },
  2796. {
  2797. "command": "gitlens.explorers.selectForCompare",
  2798. "when": "viewItem == gitlens:commit:current",
  2799. "group": "7_gitlens_@2"
  2800. },
  2801. {
  2802. "command": "gitlens.explorers.terminalRevertCommit",
  2803. "when": "viewItem == gitlens:commit:current",
  2804. "group": "8_gitlens@1"
  2805. },
  2806. {
  2807. "command": "gitlens.explorers.terminalRebaseCommit",
  2808. "when": "viewItem == gitlens:commit:current",
  2809. "group": "8_gitlens@2"
  2810. },
  2811. {
  2812. "command": "gitlens.explorers.terminalResetCommit",
  2813. "when": "viewItem == gitlens:commit:current",
  2814. "group": "8_gitlens@3"
  2815. },
  2816. {
  2817. "command": "gitlens.explorers.terminalCreateBranch",
  2818. "when": "viewItem == gitlens:commit:current",
  2819. "group": "8_gitlens@4"
  2820. },
  2821. {
  2822. "command": "gitlens.explorers.terminalCreateTag",
  2823. "when": "viewItem == gitlens:commit:current",
  2824. "group": "8_gitlens@5"
  2825. },
  2826. {
  2827. "command": "gitlens.explorers.openChanges",
  2828. "when": "viewItem == gitlens:commit-file",
  2829. "group": "1_gitlens@1"
  2830. },
  2831. {
  2832. "command": "gitlens.explorers.openChangesWithWorking",
  2833. "when": "viewItem == gitlens:commit-file",
  2834. "group": "1_gitlens@2"
  2835. },
  2836. {
  2837. "command": "gitlens.explorers.openFile",
  2838. "when": "viewItem == gitlens:commit-file",
  2839. "group": "2_gitlens@1"
  2840. },
  2841. {
  2842. "command": "gitlens.explorers.openFileRevision",
  2843. "when": "viewItem == gitlens:commit-file",
  2844. "group": "2_gitlens@2"
  2845. },
  2846. {
  2847. "command": "gitlens.openFileInRemote",
  2848. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2849. "group": "3_gitlens@1"
  2850. },
  2851. {
  2852. "command": "gitlens.explorers.openFileRevisionInRemote",
  2853. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2854. "group": "3_gitlens@2"
  2855. },
  2856. {
  2857. "command": "gitlens.explorers.applyChanges",
  2858. "when": "viewItem == gitlens:commit-file",
  2859. "group": "4_gitlens@1"
  2860. },
  2861. {
  2862. "command": "gitlens.showQuickFileHistory",
  2863. "when": "viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  2864. "group": "5_gitlens@1"
  2865. },
  2866. {
  2867. "command": "gitlens.showQuickCommitFileDetails",
  2868. "when": "viewItem == gitlens:commit-file",
  2869. "group": "5_gitlens@2"
  2870. },
  2871. {
  2872. "command": "gitlens.explorers.openFile",
  2873. "when": "viewItem == gitlens:file-history",
  2874. "group": "1_gitlens@1"
  2875. },
  2876. {
  2877. "command": "gitlens.openFileInRemote",
  2878. "when": "viewItem == gitlens:file-history && gitlens:hasRemotes",
  2879. "group": "1_gitlens@2"
  2880. },
  2881. {
  2882. "command": "gitlens.openBranchesInRemote",
  2883. "when": "viewItem == gitlens:remote",
  2884. "group": "1_gitlens@1"
  2885. },
  2886. {
  2887. "command": "gitlens.openRepoInRemote",
  2888. "when": "viewItem == gitlens:remote",
  2889. "group": "1_gitlens@2"
  2890. },
  2891. {
  2892. "command": "gitlens.explorers.terminalRemoveRemote",
  2893. "when": "viewItem == gitlens:remote",
  2894. "group": "8_gitlens@1"
  2895. },
  2896. {
  2897. "command": "gitlens.openRepoInRemote",
  2898. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2899. "group": "1_gitlens@1"
  2900. },
  2901. {
  2902. "command": "gitlens.resultsExplorer.clearResultsNode",
  2903. "when": "viewItem == gitlens:comparison-results",
  2904. "group": "1_gitlens@1"
  2905. },
  2906. {
  2907. "command": "gitlens.explorers.openDirectoryDiff",
  2908. "when": "viewItem == gitlens:comparison-results",
  2909. "group": "7_gitlens@1"
  2910. },
  2911. {
  2912. "command": "gitlens.resultsExplorer.clearResultsNode",
  2913. "when": "viewItem == gitlens:search-results",
  2914. "group": "1_gitlens@1"
  2915. },
  2916. {
  2917. "command": "gitlens.stashSave",
  2918. "when": "viewItem == gitlens:stashes",
  2919. "group": "1_gitlens@1"
  2920. },
  2921. {
  2922. "command": "gitlens.stashApply",
  2923. "when": "viewItem == gitlens:stash",
  2924. "group": "1_gitlens@1"
  2925. },
  2926. {
  2927. "command": "gitlens.stashDelete",
  2928. "when": "viewItem == gitlens:stash",
  2929. "group": "1_gitlens@2"
  2930. },
  2931. {
  2932. "command": "gitlens.explorers.openChangedFileChanges",
  2933. "when": "viewItem == gitlens:stash",
  2934. "group": "2_gitlens@1"
  2935. },
  2936. {
  2937. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2938. "when": "viewItem == gitlens:stash",
  2939. "group": "2_gitlens@1"
  2940. },
  2941. {
  2942. "command": "gitlens.explorers.openChangedFiles",
  2943. "when": "viewItem == gitlens:stash",
  2944. "group": "3_gitlens@1"
  2945. },
  2946. {
  2947. "command": "gitlens.explorers.openChangedFileRevisions",
  2948. "when": "viewItem == gitlens:stash",
  2949. "group": "3_gitlens@2"
  2950. },
  2951. {
  2952. "command": "gitlens.copyMessageToClipboard",
  2953. "when": "viewItem == gitlens:stash",
  2954. "group": "4_gitlens@1"
  2955. },
  2956. {
  2957. "command": "gitlens.explorers.compareWithHead",
  2958. "when": "viewItem == gitlens:stash",
  2959. "group": "7_gitlens@1"
  2960. },
  2961. {
  2962. "command": "gitlens.explorers.compareWithWorking",
  2963. "when": "viewItem == gitlens:stash",
  2964. "group": "7_gitlens@2"
  2965. },
  2966. {
  2967. "command": "gitlens.explorers.compareWithSelected",
  2968. "when": "viewItem == gitlens:stash && gitlens:explorers:canCompare",
  2969. "group": "7_gitlens_@1"
  2970. },
  2971. {
  2972. "command": "gitlens.explorers.selectForCompare",
  2973. "when": "viewItem == gitlens:stash",
  2974. "group": "7_gitlens_@2"
  2975. },
  2976. {
  2977. "command": "gitlens.explorers.applyChanges",
  2978. "when": "viewItem == gitlens:stash-file",
  2979. "group": "1_gitlens@1"
  2980. },
  2981. {
  2982. "command": "gitlens.explorers.openChanges",
  2983. "when": "viewItem == gitlens:stash-file",
  2984. "group": "2_gitlens@1"
  2985. },
  2986. {
  2987. "command": "gitlens.explorers.openChangesWithWorking",
  2988. "when": "viewItem == gitlens:stash-file",
  2989. "group": "2_gitlens@2"
  2990. },
  2991. {
  2992. "command": "gitlens.explorers.openFile",
  2993. "when": "viewItem == gitlens:stash-file",
  2994. "group": "3_gitlens@1"
  2995. },
  2996. {
  2997. "command": "gitlens.explorers.openFileRevision",
  2998. "when": "viewItem == gitlens:stash-file",
  2999. "group": "3_gitlens@2"
  3000. },
  3001. {
  3002. "command": "gitlens.openFileInRemote",
  3003. "when": "viewItem == gitlens:stash-file && gitlens:hasRemotes",
  3004. "group": "4_gitlens@1"
  3005. },
  3006. {
  3007. "command": "gitlens.showQuickFileHistory",
  3008. "when": "viewItem == gitlens:stash-file",
  3009. "group": "5_gitlens@1"
  3010. },
  3011. {
  3012. "command": "gitlens.openRepoInRemote",
  3013. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  3014. "group": "1_gitlens@1"
  3015. },
  3016. {
  3017. "command": "gitlens.explorers.openChanges",
  3018. "when": "viewItem == gitlens:status-file",
  3019. "group": "1_gitlens@1"
  3020. },
  3021. {
  3022. "command": "gitlens.explorers.openChangesWithWorking",
  3023. "when": "viewItem == gitlens:status-file",
  3024. "group": "1_gitlens@2"
  3025. },
  3026. {
  3027. "command": "gitlens.explorers.openFile",
  3028. "when": "viewItem == gitlens:status-file",
  3029. "group": "2_gitlens@1"
  3030. },
  3031. {
  3032. "command": "gitlens.explorers.openFileRevision",
  3033. "when": "viewItem == gitlens:status-file",
  3034. "group": "2_gitlens@2"
  3035. },
  3036. {
  3037. "command": "gitlens.openFileInRemote",
  3038. "when": "viewItem == gitlens:status-file && gitlens:hasRemotes",
  3039. "group": "3_gitlens@1"
  3040. },
  3041. {
  3042. "command": "gitlens.showQuickFileHistory",
  3043. "when": "viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  3044. "group": "5_gitlens@1"
  3045. },
  3046. {
  3047. "command": "gitlens.showQuickCommitFileDetails",
  3048. "when": "viewItem == gitlens:status-file",
  3049. "group": "5_gitlens@2"
  3050. },
  3051. {
  3052. "command": "gitlens.explorers.openFile",
  3053. "when": "viewItem == gitlens:status-file-commits",
  3054. "group": "1_gitlens@1"
  3055. },
  3056. {
  3057. "command": "gitlens.openFileInRemote",
  3058. "when": "viewItem == gitlens:status-file-commits && gitlens:hasRemotes",
  3059. "group": "1_gitlens@2"
  3060. },
  3061. {
  3062. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  3063. "when": "viewItem == gitlens:status-upstream",
  3064. "group": "8_gitlens@1"
  3065. },
  3066. {
  3067. "command": "gitlens.explorers.terminalCreateBranch",
  3068. "when": "viewItem == gitlens:status-upstream",
  3069. "group": "8_gitlens@2"
  3070. },
  3071. {
  3072. "command": "gitlens.explorers.terminalCreateTag",
  3073. "when": "viewItem == gitlens:status-upstream",
  3074. "group": "8_gitlens@3"
  3075. },
  3076. {
  3077. "command": "gitlens.explorers.compareWithHead",
  3078. "when": "viewItem == gitlens:tag",
  3079. "group": "7_gitlens@1"
  3080. },
  3081. {
  3082. "command": "gitlens.explorers.compareWithWorking",
  3083. "when": "viewItem == gitlens:tag",
  3084. "group": "7_gitlens@2"
  3085. },
  3086. {
  3087. "command": "gitlens.explorers.compareWithSelected",
  3088. "when": "viewItem == gitlens:tag && gitlens:explorers:canCompare",
  3089. "group": "7_gitlens_@1"
  3090. },
  3091. {
  3092. "command": "gitlens.explorers.selectForCompare",
  3093. "when": "viewItem == gitlens:tag",
  3094. "group": "7_gitlens_@2"
  3095. },
  3096. {
  3097. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3098. "when": "viewItem == gitlens:tag",
  3099. "group": "7_gitlens_diff@1"
  3100. },
  3101. {
  3102. "command": "gitlens.explorers.terminalDeleteTag",
  3103. "when": "viewItem == gitlens:tag",
  3104. "group": "8_gitlens"
  3105. },
  3106. {
  3107. "command": "gitlens.gitExplorer.refreshNode",
  3108. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3109. "group": "9_gitlens@1"
  3110. },
  3111. {
  3112. "command": "gitlens.resultsExplorer.refreshNode",
  3113. "when": "view == gitlens.resultsExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3114. "group": "9_gitlens@1"
  3115. }
  3116. ]
  3117. },
  3118. "keybindings": [
  3119. {
  3120. "command": "gitlens.key.left",
  3121. "key": "alt+left",
  3122. "when": "gitlens:key:left"
  3123. },
  3124. {
  3125. "command": "gitlens.key.right",
  3126. "key": "alt+right",
  3127. "when": "gitlens:key:right"
  3128. },
  3129. {
  3130. "command": "gitlens.key.,",
  3131. "key": "alt+,",
  3132. "when": "gitlens:key:,"
  3133. },
  3134. {
  3135. "command": "gitlens.key..",
  3136. "key": "alt+.",
  3137. "when": "gitlens:key:."
  3138. },
  3139. {
  3140. "command": "gitlens.key.escape",
  3141. "key": "escape",
  3142. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3143. },
  3144. {
  3145. "command": "gitlens.toggleFileBlame",
  3146. "key": "ctrl+shift+g b",
  3147. "mac": "cmd+alt+g b",
  3148. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  3149. },
  3150. {
  3151. "command": "gitlens.toggleCodeLens",
  3152. "key": "ctrl+shift+g shift+b",
  3153. "mac": "cmd+alt+g shift+b",
  3154. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  3155. },
  3156. {
  3157. "command": "gitlens.showLastQuickPick",
  3158. "key": "ctrl+shift+g -",
  3159. "mac": "cmd+alt+g -",
  3160. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3161. },
  3162. {
  3163. "command": "gitlens.showCommitSearch",
  3164. "key": "ctrl+shift+g /",
  3165. "mac": "cmd+alt+g /",
  3166. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3167. },
  3168. {
  3169. "command": "gitlens.showQuickFileHistory",
  3170. "key": "ctrl+shift+g h",
  3171. "mac": "cmd+alt+g h",
  3172. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3173. },
  3174. {
  3175. "command": "gitlens.showQuickRepoHistory",
  3176. "key": "ctrl+shift+g shift+h",
  3177. "mac": "cmd+alt+g shift+h",
  3178. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3179. },
  3180. {
  3181. "command": "gitlens.showQuickRepoStatus",
  3182. "key": "ctrl+shift+g s",
  3183. "mac": "cmd+alt+g s",
  3184. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3185. },
  3186. {
  3187. "command": "gitlens.showQuickCommitFileDetails",
  3188. "key": "ctrl+shift+g c",
  3189. "mac": "cmd+alt+g c",
  3190. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3191. },
  3192. {
  3193. "command": "gitlens.diffWithNext",
  3194. "key": "ctrl+shift+g .",
  3195. "mac": "cmd+alt+g .",
  3196. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3197. },
  3198. {
  3199. "command": "gitlens.diffLineWithPrevious",
  3200. "key": "ctrl+shift+g shift+,",
  3201. "mac": "cmd+alt+g shift+,",
  3202. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3203. },
  3204. {
  3205. "command": "gitlens.diffWithPrevious",
  3206. "key": "ctrl+shift+g ,",
  3207. "mac": "cmd+alt+g ,",
  3208. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3209. },
  3210. {
  3211. "command": "gitlens.diffLineWithWorking",
  3212. "key": "ctrl+shift+g w",
  3213. "mac": "cmd+alt+g w",
  3214. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3215. },
  3216. {
  3217. "command": "gitlens.diffWithWorking",
  3218. "key": "ctrl+shift+g shift+w",
  3219. "mac": "cmd+alt+g shift+w",
  3220. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3221. },
  3222. {
  3223. "command": "gitlens.toggleFileBlame",
  3224. "key": "alt+b",
  3225. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  3226. },
  3227. {
  3228. "command": "gitlens.toggleCodeLens",
  3229. "key": "shift+alt+b",
  3230. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  3231. },
  3232. {
  3233. "command": "gitlens.showLastQuickPick",
  3234. "key": "alt+-",
  3235. "when": "gitlens:keymap == standard && gitlens:enabled"
  3236. },
  3237. {
  3238. "command": "gitlens.showCommitSearch",
  3239. "key": "alt+/",
  3240. "when": "gitlens:keymap == standard && gitlens:enabled"
  3241. },
  3242. {
  3243. "command": "gitlens.showQuickFileHistory",
  3244. "key": "alt+h",
  3245. "when": "gitlens:keymap == standard && gitlens:enabled"
  3246. },
  3247. {
  3248. "command": "gitlens.showQuickRepoHistory",
  3249. "key": "shift+alt+h",
  3250. "when": "gitlens:keymap == standard && gitlens:enabled"
  3251. },
  3252. {
  3253. "command": "gitlens.showQuickRepoStatus",
  3254. "key": "alt+s",
  3255. "when": "gitlens:keymap == standard && gitlens:enabled"
  3256. },
  3257. {
  3258. "command": "gitlens.showQuickCommitFileDetails",
  3259. "key": "alt+c",
  3260. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  3261. },
  3262. {
  3263. "command": "gitlens.diffWithNext",
  3264. "key": "alt+.",
  3265. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3266. },
  3267. {
  3268. "command": "gitlens.diffLineWithPrevious",
  3269. "key": "shift+alt+,",
  3270. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3271. },
  3272. {
  3273. "command": "gitlens.diffWithPrevious",
  3274. "key": "alt+,",
  3275. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3276. },
  3277. {
  3278. "command": "gitlens.diffLineWithWorking",
  3279. "key": "alt+w",
  3280. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3281. },
  3282. {
  3283. "command": "gitlens.diffWithWorking",
  3284. "key": "shift+alt+w",
  3285. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3286. },
  3287. {
  3288. "command": "workbench.view.scm",
  3289. "key": "ctrl+shift+g g",
  3290. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3291. }
  3292. ],
  3293. "views": {
  3294. "explorer": [
  3295. {
  3296. "id": "gitlens.gitExplorer",
  3297. "name": "GitLens",
  3298. "when": "gitlens:enabled && gitlens:gitExplorer"
  3299. },
  3300. {
  3301. "id": "gitlens.resultsExplorer",
  3302. "name": "GitLens Results",
  3303. "when": "gitlens:enabled && gitlens:resultsExplorer"
  3304. }
  3305. ]
  3306. }
  3307. },
  3308. "activationEvents": [
  3309. "*"
  3310. ],
  3311. "scripts": {
  3312. "bundle": "npm run lint && webpack --env.production",
  3313. "clean": "git clean -xdf",
  3314. "compile": "npm run lint && tsc -m commonjs -p ./",
  3315. "watch": "tsc -watch -p ./",
  3316. "lint": "tslint --project tslint.json",
  3317. "pack": "npm run clean && vsce package",
  3318. "postinstall": "node ./node_modules/vscode/bin/install",
  3319. "pub": "npm run clean && vsce publish",
  3320. "reset": "npm run clean && npm install",
  3321. "vscode:prepublish": "npm install --no-save && npm run bundle",
  3322. "prepush": "npm run compile"
  3323. },
  3324. "dependencies": {
  3325. "copy-paste": "1.3.0",
  3326. "date-fns": "1.29.0",
  3327. "iconv-lite": "0.4.19",
  3328. "lodash.debounce": "4.0.8",
  3329. "lodash.once": "4.1.1",
  3330. "tmp": "0.0.33",
  3331. "tslib": "1.9.0"
  3332. },
  3333. "devDependencies": {
  3334. "@types/copy-paste": "1.1.30",
  3335. "@types/node": "9.3.0",
  3336. "@types/tmp": "0.0.33",
  3337. "husky": "0.14.3",
  3338. "ts-loader": "3.3.1",
  3339. "tslint": "5.9.1",
  3340. "typescript": "2.6.2",
  3341. "uglify-es": "3.3.8",
  3342. "uglifyjs-webpack-plugin": "1.1.6",
  3343. "vscode": "1.1.10",
  3344. "webpack": "3.10.0",
  3345. "webpack-node-externals": "1.6.0"
  3346. }
  3347. }