Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

3277 lignes
145 KiB

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