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.

3342 lines
151 KiB

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