Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

3273 rader
145 KiB

7 år sedan
7 år sedan
7 år sedan
6 år sedan
6 år sedan
  1. {
  2. "name": "gitlens",
  3. "version": "8.0.0-beta3",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.19.0"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "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.showWhatsNewAfterUpgrades": {
  681. "type": "boolean",
  682. "default": true,
  683. "description": "Specifies whether or not to show What's New after upgrading to new feature releases",
  684. "scope": "window"
  685. },
  686. "gitlens.statusBar.alignment": {
  687. "type": "string",
  688. "default": "right",
  689. "enum": [
  690. "left",
  691. "right"
  692. ],
  693. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right",
  694. "scope": "window"
  695. },
  696. "gitlens.statusBar.command": {
  697. "type": "string",
  698. "default": "gitlens.showQuickCommitDetails",
  699. "enum": [
  700. "gitlens.toggleFileBlame",
  701. "gitlens.diffWithPrevious",
  702. "gitlens.diffWithWorking",
  703. "gitlens.toggleCodeLens",
  704. "gitlens.showQuickCommitDetails",
  705. "gitlens.showQuickCommitFileDetails",
  706. "gitlens.showQuickFileHistory",
  707. "gitlens.showQuickRepoHistory"
  708. ],
  709. "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",
  710. "scope": "window"
  711. },
  712. "gitlens.statusBar.dateFormat": {
  713. "type": "string",
  714. "default": null,
  715. "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",
  716. "scope": "window"
  717. },
  718. "gitlens.statusBar.enabled": {
  719. "type": "boolean",
  720. "default": true,
  721. "description": "Specifies whether or not to provide blame information on the status bar",
  722. "scope": "window"
  723. },
  724. "gitlens.statusBar.format": {
  725. "type": "string",
  726. "default": "${authorAgo}",
  727. "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",
  728. "scope": "window"
  729. },
  730. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  731. "type": "string",
  732. "default": "Unsaved changes (cannot determine recent change or authors)",
  733. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  734. "scope": "window"
  735. },
  736. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  737. "type": "string",
  738. "default": "Unsaved changes (cannot determine recent change)",
  739. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  740. "scope": "window"
  741. },
  742. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  743. "type": "string",
  744. "default": "Unsaved changes (cannot determine authors)",
  745. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  746. "scope": "window"
  747. },
  748. "gitlens.advanced.blame.delayAfterEdit": {
  749. "type": "number",
  750. "default": 5000,
  751. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  752. "scope": "window"
  753. },
  754. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  755. "type": "number",
  756. "default": 5000,
  757. "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",
  758. "scope": "window"
  759. },
  760. "gitlens.advanced.caching.enabled": {
  761. "type": "boolean",
  762. "default": true,
  763. "description": "Specifies whether git output will be cached -- changing the default is not recommended",
  764. "scope": "window"
  765. },
  766. "gitlens.advanced.git": {
  767. "type": "string",
  768. "default": null,
  769. "description": "Specifies the git path to use",
  770. "scope": "window"
  771. },
  772. "gitlens.advanced.maxListItems": {
  773. "type": "number",
  774. "default": 200,
  775. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  776. "scope": "window"
  777. },
  778. "gitlens.advanced.menus": {
  779. "type": "object",
  780. "default": {
  781. "editorContext": {
  782. "blame": true,
  783. "copy": true,
  784. "details": true,
  785. "fileDiff": true,
  786. "history": true,
  787. "lineDiff": true,
  788. "remote": true
  789. },
  790. "editorTitle": {
  791. "blame": true,
  792. "fileDiff": false,
  793. "history": false,
  794. "remote": false,
  795. "status": false
  796. },
  797. "editorTitleContext": {
  798. "blame": false,
  799. "fileDiff": false,
  800. "history": false,
  801. "remote": false
  802. },
  803. "explorerContext": {
  804. "fileDiff": true,
  805. "history": true,
  806. "remote": true
  807. }
  808. },
  809. "properties": {
  810. "editorContext": {
  811. "type": "object",
  812. "default": {
  813. "blame": true,
  814. "copy": true,
  815. "details": true,
  816. "fileDiff": true,
  817. "history": true,
  818. "lineDiff": true,
  819. "remote": true
  820. },
  821. "properties": {
  822. "blame": {
  823. "type": "boolean",
  824. "default": true
  825. },
  826. "copy": {
  827. "type": "boolean",
  828. "default": true
  829. },
  830. "details": {
  831. "type": "boolean",
  832. "default": true
  833. },
  834. "fileDiff": {
  835. "type": "boolean",
  836. "default": true
  837. },
  838. "history": {
  839. "type": "boolean",
  840. "default": true
  841. },
  842. "lineDiff": {
  843. "type": "boolean",
  844. "default": true
  845. },
  846. "remote": {
  847. "type": "boolean",
  848. "default": true
  849. }
  850. }
  851. },
  852. "editorTitle": {
  853. "type": "object",
  854. "default": {
  855. "blame": true,
  856. "fileDiff": true,
  857. "history": true,
  858. "remote": true,
  859. "status": true
  860. },
  861. "properties": {
  862. "blame": {
  863. "type": "boolean",
  864. "default": true
  865. },
  866. "fileDiff": {
  867. "type": "boolean",
  868. "default": true
  869. },
  870. "history": {
  871. "type": "boolean",
  872. "default": true
  873. },
  874. "remote": {
  875. "type": "boolean",
  876. "default": true
  877. },
  878. "status": {
  879. "type": "boolean",
  880. "default": true
  881. }
  882. }
  883. },
  884. "editorTitleContext": {
  885. "type": "object",
  886. "default": {
  887. "blame": true,
  888. "fileDiff": true,
  889. "history": true,
  890. "remote": true
  891. },
  892. "properties": {
  893. "blame": {
  894. "type": "boolean",
  895. "default": true
  896. },
  897. "fileDiff": {
  898. "type": "boolean",
  899. "default": true
  900. },
  901. "history": {
  902. "type": "boolean",
  903. "default": true
  904. },
  905. "remote": {
  906. "type": "boolean",
  907. "default": true
  908. }
  909. }
  910. },
  911. "explorerContext": {
  912. "type": "object",
  913. "default": {
  914. "fileDiff": true,
  915. "history": true,
  916. "remote": true
  917. },
  918. "properties": {
  919. "fileDiff": {
  920. "type": "boolean",
  921. "default": true
  922. },
  923. "history": {
  924. "type": "boolean",
  925. "default": true
  926. },
  927. "remote": {
  928. "type": "boolean",
  929. "default": true
  930. }
  931. }
  932. }
  933. },
  934. "description": "Specifies which commands will be added to which menus",
  935. "scope": "window"
  936. },
  937. "gitlens.advanced.messages": {
  938. "type": "object",
  939. "default": {
  940. "suppressCommitHasNoPreviousCommitWarning": false,
  941. "suppressCommitNotFoundWarning": false,
  942. "suppressFileNotUnderSourceControlWarning": false,
  943. "suppressGitVersionWarning": false,
  944. "suppressLineUncommittedWarning": false,
  945. "suppressNoRepositoryWarning": false,
  946. "suppressResultsExplorerNotice": false
  947. },
  948. "properties": {
  949. "suppressCommitHasNoPreviousCommitWarning": {
  950. "type": "boolean",
  951. "default": false
  952. },
  953. "suppressCommitNotFoundWarning": {
  954. "type": "boolean",
  955. "default": false
  956. },
  957. "suppressFileNotUnderSourceControlWarning": {
  958. "type": "boolean",
  959. "default": false
  960. },
  961. "suppressGitVersionWarning": {
  962. "type": "boolean",
  963. "default": false
  964. },
  965. "suppressLineUncommittedWarning": {
  966. "type": "boolean",
  967. "default": false
  968. },
  969. "suppressNoRepositoryWarning": {
  970. "type": "boolean",
  971. "default": false
  972. },
  973. "suppressResultsExplorerNotice": {
  974. "type": "boolean",
  975. "default": false
  976. }
  977. },
  978. "description": "Specifies which messages should be suppressed",
  979. "scope": "window"
  980. },
  981. "gitlens.advanced.quickPick.closeOnFocusOut": {
  982. "type": "boolean",
  983. "default": true,
  984. "description": "Specifies whether or not to close QuickPick menus when focus is lost",
  985. "scope": "window"
  986. },
  987. "gitlens.advanced.repositorySearchDepth": {
  988. "type": "number",
  989. "default": 1,
  990. "description": "Specifies how many folders deep to search for repositories",
  991. "scope": "resource"
  992. },
  993. "gitlens.advanced.telemetry.enabled": {
  994. "type": "boolean",
  995. "default": true,
  996. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  997. "scope": "window"
  998. }
  999. }
  1000. },
  1001. "colors": [
  1002. {
  1003. "id": "gitlens.gutterBackgroundColor",
  1004. "description": "Specifies the background color of the gutter blame annotations",
  1005. "defaults": {
  1006. "dark": "#FFFFFF13",
  1007. "light": "#0000000C",
  1008. "highContrast": "#FFFFFF13"
  1009. }
  1010. },
  1011. {
  1012. "id": "gitlens.gutterForegroundColor",
  1013. "description": "Specifies the foreground color of the gutter blame annotations",
  1014. "defaults": {
  1015. "dark": "#BEBEBE",
  1016. "light": "#747474",
  1017. "highContrast": "#BEBEBE"
  1018. }
  1019. },
  1020. {
  1021. "id": "gitlens.gutterUncommittedForegroundColor",
  1022. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1023. "defaults": {
  1024. "dark": "#00BCF299",
  1025. "light": "#00BCF299",
  1026. "highContrast": "#00BCF2FF"
  1027. }
  1028. },
  1029. {
  1030. "id": "gitlens.trailingLineBackgroundColor",
  1031. "description": "Specifies the background color of the trailing blame annotation",
  1032. "defaults": {
  1033. "dark": "#00000000",
  1034. "light": "#00000000",
  1035. "highContrast": "#00000000"
  1036. }
  1037. },
  1038. {
  1039. "id": "gitlens.trailingLineForegroundColor",
  1040. "description": "Specifies the foreground color of the trailing blame annotation",
  1041. "defaults": {
  1042. "dark": "#99999959",
  1043. "light": "#99999959",
  1044. "highContrast": "#99999999"
  1045. }
  1046. },
  1047. {
  1048. "id": "gitlens.lineHighlightBackgroundColor",
  1049. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1050. "defaults": {
  1051. "dark": "#00BCF233",
  1052. "light": "#00BCF233",
  1053. "highContrast": "#00BCF233"
  1054. }
  1055. },
  1056. {
  1057. "id": "gitlens.lineHighlightOverviewRulerColor",
  1058. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1059. "defaults": {
  1060. "dark": "#00BCF299",
  1061. "light": "#00BCF299",
  1062. "highContrast": "#00BCF299"
  1063. }
  1064. }
  1065. ],
  1066. "commands": [
  1067. {
  1068. "command": "gitlens.showSettingsPage",
  1069. "title": "Open Settings",
  1070. "category": "GitLens"
  1071. },
  1072. {
  1073. "command": "gitlens.showWelcomePage",
  1074. "title": "Welcome",
  1075. "category": "GitLens"
  1076. },
  1077. {
  1078. "command": "gitlens.diffDirectory",
  1079. "title": "Directory Compare Working Tree with...",
  1080. "category": "GitLens"
  1081. },
  1082. {
  1083. "command": "gitlens.diffWith",
  1084. "title": "Compare File Revisions",
  1085. "category": "GitLens"
  1086. },
  1087. {
  1088. "command": "gitlens.diffWithBranch",
  1089. "title": "Compare File with Branch or Tag...",
  1090. "category": "GitLens"
  1091. },
  1092. {
  1093. "command": "gitlens.diffWithNext",
  1094. "title": "Compare File with Next Revision",
  1095. "category": "GitLens"
  1096. },
  1097. {
  1098. "command": "gitlens.diffWithPrevious",
  1099. "title": "Compare File with Previous Revision",
  1100. "category": "GitLens"
  1101. },
  1102. {
  1103. "command": "gitlens.diffLineWithPrevious",
  1104. "title": "Compare Line Revision with Previous",
  1105. "category": "GitLens"
  1106. },
  1107. {
  1108. "command": "gitlens.diffWithRevision",
  1109. "title": "Compare File with Revision...",
  1110. "category": "GitLens"
  1111. },
  1112. {
  1113. "command": "gitlens.diffWithWorking",
  1114. "title": "Compare File with Working Revision",
  1115. "category": "GitLens"
  1116. },
  1117. {
  1118. "command": "gitlens.diffLineWithWorking",
  1119. "title": "Compare Line Revision with Working File",
  1120. "category": "GitLens"
  1121. },
  1122. {
  1123. "command": "gitlens.showFileBlame",
  1124. "title": "Show File Blame Annotations",
  1125. "category": "GitLens"
  1126. },
  1127. {
  1128. "command": "gitlens.showLineBlame",
  1129. "title": "Show Line Blame Annotations",
  1130. "category": "GitLens"
  1131. },
  1132. {
  1133. "command": "gitlens.toggleFileBlame",
  1134. "title": "Toggle File Blame Annotations",
  1135. "category": "GitLens",
  1136. "icon": {
  1137. "dark": "images/dark/git-icon.svg",
  1138. "light": "images/light/git-icon.svg"
  1139. }
  1140. },
  1141. {
  1142. "command": "gitlens.clearFileAnnotations",
  1143. "title": "Clear File Annotations",
  1144. "category": "GitLens",
  1145. "icon": {
  1146. "dark": "images/dark/git-icon-orange.svg",
  1147. "light": "images/light/git-icon-orange.svg"
  1148. }
  1149. },
  1150. {
  1151. "command": "gitlens.computingFileAnnotations",
  1152. "title": "Computing File Annotations...",
  1153. "category": "GitLens",
  1154. "icon": {
  1155. "dark": "images/dark/git-icon-progress.svg",
  1156. "light": "images/light/git-icon-progress.svg"
  1157. }
  1158. },
  1159. {
  1160. "command": "gitlens.toggleFileHeatmap",
  1161. "title": "Toggle File Heatmap Annotations",
  1162. "category": "GitLens"
  1163. },
  1164. {
  1165. "command": "gitlens.toggleFileRecentChanges",
  1166. "title": "Toggle Recent File Changes Annotations",
  1167. "category": "GitLens",
  1168. "icon": {
  1169. "dark": "images/dark/git-icon.svg",
  1170. "light": "images/light/git-icon.svg"
  1171. }
  1172. },
  1173. {
  1174. "command": "gitlens.toggleLineBlame",
  1175. "title": "Toggle Line Blame Annotations",
  1176. "category": "GitLens"
  1177. },
  1178. {
  1179. "command": "gitlens.toggleCodeLens",
  1180. "title": "Toggle Git Code Lens",
  1181. "category": "GitLens"
  1182. },
  1183. {
  1184. "command": "gitlens.showCommitSearch",
  1185. "title": "Search Commits",
  1186. "category": "GitLens",
  1187. "icon": {
  1188. "dark": "images/dark/icon-search.svg",
  1189. "light": "images/light/icon-search.svg"
  1190. }
  1191. },
  1192. {
  1193. "command": "gitlens.showLastQuickPick",
  1194. "title": "Show Last Opened Quick Pick",
  1195. "category": "GitLens"
  1196. },
  1197. {
  1198. "command": "gitlens.showQuickCommitDetails",
  1199. "title": "Show Commit Details",
  1200. "category": "GitLens"
  1201. },
  1202. {
  1203. "command": "gitlens.showQuickCommitFileDetails",
  1204. "title": "Show Commit File Details",
  1205. "category": "GitLens"
  1206. },
  1207. {
  1208. "command": "gitlens.showQuickFileHistory",
  1209. "title": "Show File History",
  1210. "category": "GitLens"
  1211. },
  1212. {
  1213. "command": "gitlens.showQuickBranchHistory",
  1214. "title": "Show Branch History",
  1215. "category": "GitLens"
  1216. },
  1217. {
  1218. "command": "gitlens.showQuickRepoHistory",
  1219. "title": "Show Current Branch History",
  1220. "category": "GitLens"
  1221. },
  1222. {
  1223. "command": "gitlens.showQuickRepoStatus",
  1224. "title": "Show Repository Status",
  1225. "category": "GitLens"
  1226. },
  1227. {
  1228. "command": "gitlens.showQuickStashList",
  1229. "title": "Show Stashed Changes",
  1230. "category": "GitLens"
  1231. },
  1232. {
  1233. "command": "gitlens.copyShaToClipboard",
  1234. "title": "Copy Commit ID to Clipboard",
  1235. "category": "GitLens"
  1236. },
  1237. {
  1238. "command": "gitlens.copyMessageToClipboard",
  1239. "title": "Copy Commit Message to Clipboard",
  1240. "category": "GitLens"
  1241. },
  1242. {
  1243. "command": "gitlens.closeUnchangedFiles",
  1244. "title": "Close Unchanged Files",
  1245. "category": "GitLens"
  1246. },
  1247. {
  1248. "command": "gitlens.openChangedFiles",
  1249. "title": "Open Changed Files",
  1250. "category": "GitLens"
  1251. },
  1252. {
  1253. "command": "gitlens.openBranchesInRemote",
  1254. "title": "Open Branches in Remote",
  1255. "category": "GitLens"
  1256. },
  1257. {
  1258. "command": "gitlens.openBranchInRemote",
  1259. "title": "Open Branch in Remote",
  1260. "category": "GitLens"
  1261. },
  1262. {
  1263. "command": "gitlens.openCommitInRemote",
  1264. "title": "Open Commit in Remote",
  1265. "category": "GitLens"
  1266. },
  1267. {
  1268. "command": "gitlens.openFileInRemote",
  1269. "title": "Open File in Remote",
  1270. "category": "GitLens"
  1271. },
  1272. {
  1273. "command": "gitlens.openFileRevision",
  1274. "title": "Open Revision...",
  1275. "category": "GitLens"
  1276. },
  1277. {
  1278. "command": "gitlens.openRepoInRemote",
  1279. "title": "Open Repository in Remote",
  1280. "category": "GitLens"
  1281. },
  1282. {
  1283. "command": "gitlens.openWorkingFile",
  1284. "title": "Open Working File",
  1285. "category": "GitLens",
  1286. "icon": {
  1287. "dark": "images/dark/open-file.svg",
  1288. "light": "images/light/open-file.svg"
  1289. }
  1290. },
  1291. {
  1292. "command": "gitlens.stashApply",
  1293. "title": "Apply Stashed Changes",
  1294. "category": "GitLens"
  1295. },
  1296. {
  1297. "command": "gitlens.stashDelete",
  1298. "title": "Delete Stashed Changes",
  1299. "category": "GitLens"
  1300. },
  1301. {
  1302. "command": "gitlens.stashSave",
  1303. "title": "Stash Changes",
  1304. "category": "GitLens",
  1305. "icon": {
  1306. "dark": "images/dark/icon-add.svg",
  1307. "light": "images/light/icon-add.svg"
  1308. }
  1309. },
  1310. {
  1311. "command": "gitlens.externalDiff",
  1312. "title": "Open Changes (with difftool)",
  1313. "category": "GitLens"
  1314. },
  1315. {
  1316. "command": "gitlens.externalDiffAll",
  1317. "title": "Open All Changes (with difftool)",
  1318. "category": "GitLens"
  1319. },
  1320. {
  1321. "command": "gitlens.resetSuppressedWarnings",
  1322. "title": "Reset Suppressed Warnings",
  1323. "category": "GitLens"
  1324. },
  1325. {
  1326. "command": "gitlens.explorers.openDirectoryDiff",
  1327. "title": "Open Directory Compare",
  1328. "category": "GitLens"
  1329. },
  1330. {
  1331. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1332. "title": "Open Directory Compare with Working Tree",
  1333. "category": "GitLens"
  1334. },
  1335. {
  1336. "command": "gitlens.explorers.openChanges",
  1337. "title": "Open Changes",
  1338. "category": "GitLens"
  1339. },
  1340. {
  1341. "command": "gitlens.explorers.openChangesWithWorking",
  1342. "title": "Open Changes with Working File",
  1343. "category": "GitLens"
  1344. },
  1345. {
  1346. "command": "gitlens.explorers.openFile",
  1347. "title": "Open File",
  1348. "category": "GitLens"
  1349. },
  1350. {
  1351. "command": "gitlens.explorers.openFileRevision",
  1352. "title": "Open Revision",
  1353. "category": "GitLens"
  1354. },
  1355. {
  1356. "command": "gitlens.explorers.openFileRevisionInRemote",
  1357. "title": "Open Revision in Remote",
  1358. "category": "GitLens"
  1359. },
  1360. {
  1361. "command": "gitlens.explorers.openChangedFiles",
  1362. "title": "Open Files",
  1363. "category": "GitLens"
  1364. },
  1365. {
  1366. "command": "gitlens.explorers.openChangedFileChanges",
  1367. "title": "Open All Changes",
  1368. "category": "GitLens"
  1369. },
  1370. {
  1371. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1372. "title": "Open All Changes with Working Tree",
  1373. "category": "GitLens"
  1374. },
  1375. {
  1376. "command": "gitlens.explorers.openChangedFileRevisions",
  1377. "title": "Open Revisions",
  1378. "category": "GitLens"
  1379. },
  1380. {
  1381. "command": "gitlens.explorers.applyChanges",
  1382. "title": "Apply Changes",
  1383. "category": "GitLens"
  1384. },
  1385. {
  1386. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1387. "title": "Compare Selected Ancestor with Working Tree",
  1388. "category": "GitLens"
  1389. },
  1390. {
  1391. "command": "gitlens.explorers.compareWithHead",
  1392. "title": "Compare with Index (HEAD)",
  1393. "category": "GitLens"
  1394. },
  1395. {
  1396. "command": "gitlens.explorers.compareWithRemote",
  1397. "title": "Compare with Remote",
  1398. "category": "GitLens"
  1399. },
  1400. {
  1401. "command": "gitlens.explorers.compareWithSelected",
  1402. "title": "Compare with Selected",
  1403. "category": "GitLens"
  1404. },
  1405. {
  1406. "command": "gitlens.explorers.compareWithWorking",
  1407. "title": "Compare with Working Tree",
  1408. "category": "GitLens"
  1409. },
  1410. {
  1411. "command": "gitlens.explorers.selectForCompare",
  1412. "title": "Select for Compare",
  1413. "category": "GitLens"
  1414. },
  1415. {
  1416. "command": "gitlens.explorers.terminalCheckoutBranch",
  1417. "title": "Checkout Branch (via Terminal)",
  1418. "category": "GitLens"
  1419. },
  1420. {
  1421. "command": "gitlens.explorers.terminalCreateBranch",
  1422. "title": "Create Branch (via Terminal)...",
  1423. "category": "GitLens"
  1424. },
  1425. {
  1426. "command": "gitlens.explorers.terminalDeleteBranch",
  1427. "title": "Delete Branch (via Terminal)",
  1428. "category": "GitLens"
  1429. },
  1430. {
  1431. "command": "gitlens.explorers.terminalMergeBranch",
  1432. "title": "Merge Branch (via Terminal)",
  1433. "category": "GitLens"
  1434. },
  1435. {
  1436. "command": "gitlens.explorers.terminalRebaseBranch",
  1437. "title": "Rebase (Interactive) Branch (via Terminal)",
  1438. "category": "GitLens"
  1439. },
  1440. {
  1441. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1442. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1443. "category": "GitLens"
  1444. },
  1445. {
  1446. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1447. "title": "Squash Branch into Commit (via Terminal)",
  1448. "category": "GitLens"
  1449. },
  1450. {
  1451. "command": "gitlens.explorers.terminalCherryPickCommit",
  1452. "title": "Cherry Pick Commit (via Terminal)",
  1453. "category": "GitLens"
  1454. },
  1455. {
  1456. "command": "gitlens.explorers.terminalRebaseCommit",
  1457. "title": "Rebase to Commit (via Terminal)",
  1458. "category": "GitLens"
  1459. },
  1460. {
  1461. "command": "gitlens.explorers.terminalResetCommit",
  1462. "title": "Reset to Commit (via Terminal)",
  1463. "category": "GitLens"
  1464. },
  1465. {
  1466. "command": "gitlens.explorers.terminalRevertCommit",
  1467. "title": "Revert Commit (via Terminal)",
  1468. "category": "GitLens"
  1469. },
  1470. {
  1471. "command": "gitlens.explorers.terminalRemoveRemote",
  1472. "title": "Remove Remote (via Terminal)",
  1473. "category": "GitLens"
  1474. },
  1475. {
  1476. "command": "gitlens.explorers.terminalCreateTag",
  1477. "title": "Create Tag (via Terminal)...",
  1478. "category": "GitLens"
  1479. },
  1480. {
  1481. "command": "gitlens.explorers.terminalDeleteTag",
  1482. "title": "Delete Tag (via Terminal)",
  1483. "category": "GitLens"
  1484. },
  1485. {
  1486. "command": "gitlens.gitExplorer.refresh",
  1487. "title": "Refresh",
  1488. "category": "GitLens",
  1489. "icon": {
  1490. "dark": "images/dark/icon-refresh.svg",
  1491. "light": "images/light/icon-refresh.svg"
  1492. }
  1493. },
  1494. {
  1495. "command": "gitlens.gitExplorer.refreshNode",
  1496. "title": "Refresh",
  1497. "category": "GitLens"
  1498. },
  1499. {
  1500. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1501. "title": "Automatic Layout",
  1502. "category": "GitLens"
  1503. },
  1504. {
  1505. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1506. "title": "List Layout",
  1507. "category": "GitLens"
  1508. },
  1509. {
  1510. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1511. "title": "Tree Layout",
  1512. "category": "GitLens"
  1513. },
  1514. {
  1515. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1516. "title": "Enable Automatic Refresh",
  1517. "category": "GitLens"
  1518. },
  1519. {
  1520. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1521. "title": "Disable Automatic Refresh",
  1522. "category": "GitLens"
  1523. },
  1524. {
  1525. "command": "gitlens.gitExplorer.switchToHistoryView",
  1526. "title": "Switch to History View",
  1527. "category": "GitLens",
  1528. "icon": {
  1529. "dark": "images/dark/icon-history.svg",
  1530. "light": "images/light/icon-history.svg"
  1531. }
  1532. },
  1533. {
  1534. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1535. "title": "Switch to Repository View",
  1536. "category": "GitLens",
  1537. "icon": {
  1538. "dark": "images/dark/icon-repo.svg",
  1539. "light": "images/light/icon-repo.svg"
  1540. }
  1541. },
  1542. {
  1543. "command": "gitlens.resultsExplorer.clearResultsNode",
  1544. "title": "Clear Results",
  1545. "category": "GitLens"
  1546. },
  1547. {
  1548. "command": "gitlens.resultsExplorer.close",
  1549. "title": "Close",
  1550. "category": "GitLens",
  1551. "icon": {
  1552. "dark": "images/dark/icon-close.svg",
  1553. "light": "images/light/icon-close.svg"
  1554. }
  1555. },
  1556. {
  1557. "command": "gitlens.resultsExplorer.refresh",
  1558. "title": "Refresh",
  1559. "category": "GitLens",
  1560. "icon": {
  1561. "dark": "images/dark/icon-refresh.svg",
  1562. "light": "images/light/icon-refresh.svg"
  1563. }
  1564. },
  1565. {
  1566. "command": "gitlens.resultsExplorer.refreshNode",
  1567. "title": "Refresh",
  1568. "category": "GitLens"
  1569. },
  1570. {
  1571. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1572. "title": "Automatic Layout",
  1573. "category": "GitLens"
  1574. },
  1575. {
  1576. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1577. "title": "List Layout",
  1578. "category": "GitLens"
  1579. },
  1580. {
  1581. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1582. "title": "Tree Layout",
  1583. "category": "GitLens"
  1584. },
  1585. {
  1586. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1587. "title": "Keep Results",
  1588. "category": "GitLens",
  1589. "icon": {
  1590. "dark": "images/dark/icon-lock.svg",
  1591. "light": "images/light/icon-lock.svg"
  1592. }
  1593. },
  1594. {
  1595. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1596. "title": "Keep Results",
  1597. "category": "GitLens",
  1598. "icon": {
  1599. "dark": "images/dark/icon-locked.svg",
  1600. "light": "images/light/icon-locked.svg"
  1601. }
  1602. }
  1603. ],
  1604. "menus": {
  1605. "commandPalette": [
  1606. {
  1607. "command": "gitlens.diffDirectory",
  1608. "when": "gitlens:enabled"
  1609. },
  1610. {
  1611. "command": "gitlens.diffWith",
  1612. "when": "false"
  1613. },
  1614. {
  1615. "command": "gitlens.diffWithBranch",
  1616. "when": "gitlens:activeIsTracked"
  1617. },
  1618. {
  1619. "command": "gitlens.diffWithNext",
  1620. "when": "gitlens:activeIsTracked"
  1621. },
  1622. {
  1623. "command": "gitlens.diffWithPrevious",
  1624. "when": "gitlens:activeIsTracked"
  1625. },
  1626. {
  1627. "command": "gitlens.diffLineWithPrevious",
  1628. "when": "gitlens:activeIsBlameable"
  1629. },
  1630. {
  1631. "command": "gitlens.diffWithRevision",
  1632. "when": "gitlens:activeIsTracked"
  1633. },
  1634. {
  1635. "command": "gitlens.diffWithWorking",
  1636. "when": "gitlens:activeIsTracked"
  1637. },
  1638. {
  1639. "command": "gitlens.diffLineWithWorking",
  1640. "when": "gitlens:activeIsBlameable"
  1641. },
  1642. {
  1643. "command": "gitlens.externalDiff",
  1644. "when": "gitlens:enabled"
  1645. },
  1646. {
  1647. "command": "gitlens.externalDiffAll",
  1648. "when": "gitlens:enabled"
  1649. },
  1650. {
  1651. "command": "gitlens.showFileBlame",
  1652. "when": "gitlens:activeIsBlameable"
  1653. },
  1654. {
  1655. "command": "gitlens.showLineBlame",
  1656. "when": "gitlens:activeIsBlameable"
  1657. },
  1658. {
  1659. "command": "gitlens.toggleFileBlame",
  1660. "when": "gitlens:activeIsBlameable"
  1661. },
  1662. {
  1663. "command": "gitlens.clearFileAnnotations",
  1664. "when": "gitlens:annotationStatus == computed"
  1665. },
  1666. {
  1667. "command": "gitlens.computingFileAnnotations",
  1668. "when": "false"
  1669. },
  1670. {
  1671. "command": "gitlens.toggleFileHeatmap",
  1672. "when": "gitlens:activeIsBlameable"
  1673. },
  1674. {
  1675. "command": "gitlens.toggleFileRecentChanges",
  1676. "when": "gitlens:activeIsBlameable"
  1677. },
  1678. {
  1679. "command": "gitlens.toggleLineBlame",
  1680. "when": "gitlens:enabled"
  1681. },
  1682. {
  1683. "command": "gitlens.toggleCodeLens",
  1684. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  1685. },
  1686. {
  1687. "command": "gitlens.showLastQuickPick",
  1688. "when": "gitlens:enabled"
  1689. },
  1690. {
  1691. "command": "gitlens.showCommitSearch",
  1692. "when": "gitlens:enabled"
  1693. },
  1694. {
  1695. "command": "gitlens.showQuickCommitDetails",
  1696. "when": "gitlens:activeIsBlameable"
  1697. },
  1698. {
  1699. "command": "gitlens.showQuickCommitFileDetails",
  1700. "when": "gitlens:activeIsBlameable"
  1701. },
  1702. {
  1703. "command": "gitlens.showQuickFileHistory",
  1704. "when": "gitlens:activeIsTracked"
  1705. },
  1706. {
  1707. "command": "gitlens.showQuickBranchHistory",
  1708. "when": "gitlens:enabled"
  1709. },
  1710. {
  1711. "command": "gitlens.showQuickRepoHistory",
  1712. "when": "gitlens:enabled"
  1713. },
  1714. {
  1715. "command": "gitlens.showQuickRepoStatus",
  1716. "when": "gitlens:enabled"
  1717. },
  1718. {
  1719. "command": "gitlens.showQuickStashList",
  1720. "when": "gitlens:enabled"
  1721. },
  1722. {
  1723. "command": "gitlens.copyShaToClipboard",
  1724. "when": "gitlens:activeIsBlameable"
  1725. },
  1726. {
  1727. "command": "gitlens.copyMessageToClipboard",
  1728. "when": "gitlens:activeIsBlameable"
  1729. },
  1730. {
  1731. "command": "gitlens.closeUnchangedFiles",
  1732. "when": "gitlens:enabled"
  1733. },
  1734. {
  1735. "command": "gitlens.openChangedFiles",
  1736. "when": "gitlens:enabled"
  1737. },
  1738. {
  1739. "command": "gitlens.openBranchesInRemote",
  1740. "when": "gitlens:activeHasRemote"
  1741. },
  1742. {
  1743. "command": "gitlens.openBranchInRemote",
  1744. "when": "gitlens:activeHasRemote"
  1745. },
  1746. {
  1747. "command": "gitlens.openCommitInRemote",
  1748. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1749. },
  1750. {
  1751. "command": "gitlens.openFileInRemote",
  1752. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1753. },
  1754. {
  1755. "command": "gitlens.openFileRevision",
  1756. "when": "gitlens:activeIsTracked"
  1757. },
  1758. {
  1759. "command": "gitlens.openRepoInRemote",
  1760. "when": "gitlens:activeHasRemote"
  1761. },
  1762. {
  1763. "command": "gitlens.openWorkingFile",
  1764. "when": "gitlens:activeIsRevision"
  1765. },
  1766. {
  1767. "command": "gitlens.stashApply",
  1768. "when": "gitlens:enabled"
  1769. },
  1770. {
  1771. "command": "gitlens.stashDelete",
  1772. "when": "false"
  1773. },
  1774. {
  1775. "command": "gitlens.stashSave",
  1776. "when": "gitlens:enabled"
  1777. },
  1778. {
  1779. "command": "gitlens.resetSuppressedWarnings",
  1780. "when": "gitlens:enabled"
  1781. },
  1782. {
  1783. "command": "gitlens.explorers.openChanges",
  1784. "when": "false"
  1785. },
  1786. {
  1787. "command": "gitlens.explorers.openDirectoryDiff",
  1788. "when": "false"
  1789. },
  1790. {
  1791. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1792. "when": "false"
  1793. },
  1794. {
  1795. "command": "gitlens.explorers.openChangesWithWorking",
  1796. "when": "false"
  1797. },
  1798. {
  1799. "command": "gitlens.explorers.openFile",
  1800. "when": "false"
  1801. },
  1802. {
  1803. "command": "gitlens.explorers.openFileRevision",
  1804. "when": "false"
  1805. },
  1806. {
  1807. "command": "gitlens.explorers.openFileRevisionInRemote",
  1808. "when": "false"
  1809. },
  1810. {
  1811. "command": "gitlens.explorers.openChangedFiles",
  1812. "when": "false"
  1813. },
  1814. {
  1815. "command": "gitlens.explorers.openChangedFileChanges",
  1816. "when": "false"
  1817. },
  1818. {
  1819. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1820. "when": "false"
  1821. },
  1822. {
  1823. "command": "gitlens.explorers.openChangedFileRevisions",
  1824. "when": "false"
  1825. },
  1826. {
  1827. "command": "gitlens.explorers.applyChanges",
  1828. "when": "false"
  1829. },
  1830. {
  1831. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1832. "when": "false"
  1833. },
  1834. {
  1835. "command": "gitlens.explorers.compareWithHead",
  1836. "when": "false"
  1837. },
  1838. {
  1839. "command": "gitlens.explorers.compareWithRemote",
  1840. "when": "false"
  1841. },
  1842. {
  1843. "command": "gitlens.explorers.compareWithSelected",
  1844. "when": "false"
  1845. },
  1846. {
  1847. "command": "gitlens.explorers.compareWithWorking",
  1848. "when": "false"
  1849. },
  1850. {
  1851. "command": "gitlens.explorers.selectForCompare",
  1852. "when": "false"
  1853. },
  1854. {
  1855. "command": "gitlens.explorers.terminalCheckoutBranch",
  1856. "when": "false"
  1857. },
  1858. {
  1859. "command": "gitlens.explorers.terminalCreateBranch",
  1860. "when": "false"
  1861. },
  1862. {
  1863. "command": "gitlens.explorers.terminalDeleteBranch",
  1864. "when": "false"
  1865. },
  1866. {
  1867. "command": "gitlens.explorers.terminalMergeBranch",
  1868. "when": "false"
  1869. },
  1870. {
  1871. "command": "gitlens.explorers.terminalRebaseBranch",
  1872. "when": "false"
  1873. },
  1874. {
  1875. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1876. "when": "false"
  1877. },
  1878. {
  1879. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1880. "when": "false"
  1881. },
  1882. {
  1883. "command": "gitlens.explorers.terminalCherryPickCommit",
  1884. "when": "false"
  1885. },
  1886. {
  1887. "command": "gitlens.explorers.terminalRebaseCommit",
  1888. "when": "false"
  1889. },
  1890. {
  1891. "command": "gitlens.explorers.terminalResetCommit",
  1892. "when": "false"
  1893. },
  1894. {
  1895. "command": "gitlens.explorers.terminalRevertCommit",
  1896. "when": "false"
  1897. },
  1898. {
  1899. "command": "gitlens.explorers.terminalRemoveRemote",
  1900. "when": "false"
  1901. },
  1902. {
  1903. "command": "gitlens.explorers.terminalCreateTag",
  1904. "when": "false"
  1905. },
  1906. {
  1907. "command": "gitlens.explorers.terminalDeleteTag",
  1908. "when": "false"
  1909. },
  1910. {
  1911. "command": "gitlens.gitExplorer.refresh",
  1912. "when": "false"
  1913. },
  1914. {
  1915. "command": "gitlens.gitExplorer.refreshNode",
  1916. "when": "false"
  1917. },
  1918. {
  1919. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1920. "when": "false"
  1921. },
  1922. {
  1923. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1924. "when": "false"
  1925. },
  1926. {
  1927. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1928. "when": "false"
  1929. },
  1930. {
  1931. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1932. "when": "false"
  1933. },
  1934. {
  1935. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1936. "when": "false"
  1937. },
  1938. {
  1939. "command": "gitlens.gitExplorer.switchToHistoryView",
  1940. "when": "gitlens:enabled && gitlens:gitExplorer:view == repository"
  1941. },
  1942. {
  1943. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1944. "when": "gitlens:enabled && gitlens:gitExplorer:view == history"
  1945. },
  1946. {
  1947. "command": "gitlens.resultsExplorer.clearResultsNode",
  1948. "when": "false"
  1949. },
  1950. {
  1951. "command": "gitlens.resultsExplorer.close",
  1952. "when": "false"
  1953. },
  1954. {
  1955. "command": "gitlens.resultsExplorer.refresh",
  1956. "when": "false"
  1957. },
  1958. {
  1959. "command": "gitlens.resultsExplorer.refreshNode",
  1960. "when": "false"
  1961. },
  1962. {
  1963. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1964. "when": "false"
  1965. },
  1966. {
  1967. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1968. "when": "false"
  1969. },
  1970. {
  1971. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1972. "when": "false"
  1973. },
  1974. {
  1975. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1976. "when": "false"
  1977. },
  1978. {
  1979. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1980. "when": "false"
  1981. }
  1982. ],
  1983. "editor/context": [
  1984. {
  1985. "command": "gitlens.openFileInRemote",
  1986. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  1987. "group": "navigation@100"
  1988. },
  1989. {
  1990. "command": "gitlens.diffLineWithPrevious",
  1991. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1992. "group": "1_gitlens@1"
  1993. },
  1994. {
  1995. "command": "gitlens.diffLineWithWorking",
  1996. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1997. "group": "1_gitlens@2"
  1998. },
  1999. {
  2000. "command": "gitlens.showQuickCommitFileDetails",
  2001. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2002. "group": "1_gitlens@3"
  2003. },
  2004. {
  2005. "command": "gitlens.diffWithPrevious",
  2006. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2007. "group": "1_gitlens_1@1"
  2008. },
  2009. {
  2010. "command": "gitlens.diffWithWorking",
  2011. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2012. "group": "1_gitlens_1@2"
  2013. },
  2014. {
  2015. "command": "gitlens.showQuickFileHistory",
  2016. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2017. "group": "3_gitlens@1"
  2018. },
  2019. {
  2020. "command": "gitlens.toggleFileBlame",
  2021. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2022. "group": "3_gitlens@2"
  2023. },
  2024. {
  2025. "command": "gitlens.copyShaToClipboard",
  2026. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2027. "group": "9_gitlens@1"
  2028. },
  2029. {
  2030. "command": "gitlens.copyMessageToClipboard",
  2031. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2032. "group": "9_gitlens@2"
  2033. }
  2034. ],
  2035. "editor/title": [
  2036. {
  2037. "command": "gitlens.openWorkingFile",
  2038. "when": "gitlens:activeIsRevision",
  2039. "group": "navigation@1"
  2040. },
  2041. {
  2042. "command": "gitlens.toggleFileBlame",
  2043. "alt": "gitlens.toggleFileRecentChanges",
  2044. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2045. "group": "navigation@100"
  2046. },
  2047. {
  2048. "command": "gitlens.computingFileAnnotations",
  2049. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2050. "group": "navigation@100"
  2051. },
  2052. {
  2053. "command": "gitlens.clearFileAnnotations",
  2054. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2055. "group": "navigation@100"
  2056. },
  2057. {
  2058. "command": "gitlens.openFileInRemote",
  2059. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2060. "group": "2_gitlens"
  2061. },
  2062. {
  2063. "command": "gitlens.openRepoInRemote",
  2064. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2065. "group": "2_gitlens"
  2066. },
  2067. {
  2068. "command": "gitlens.diffWithPrevious",
  2069. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2070. "group": "2_gitlens_1"
  2071. },
  2072. {
  2073. "command": "gitlens.diffWithWorking",
  2074. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2075. "group": "2_gitlens_1"
  2076. },
  2077. {
  2078. "command": "gitlens.showQuickFileHistory",
  2079. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2080. "group": "2_gitlens_2"
  2081. },
  2082. {
  2083. "command": "gitlens.showQuickRepoHistory",
  2084. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2085. "group": "2_gitlens_2"
  2086. },
  2087. {
  2088. "command": "gitlens.showQuickRepoStatus",
  2089. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2090. "group": "2_gitlens_2"
  2091. }
  2092. ],
  2093. "editor/title/context": [
  2094. {
  2095. "command": "gitlens.openFileInRemote",
  2096. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2097. "group": "1_gitlens"
  2098. },
  2099. {
  2100. "command": "gitlens.diffWithPrevious",
  2101. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2102. "group": "1_gitlens_1@1"
  2103. },
  2104. {
  2105. "command": "gitlens.diffWithWorking",
  2106. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2107. "group": "1_gitlens_1@2"
  2108. },
  2109. {
  2110. "command": "gitlens.showQuickFileHistory",
  2111. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2112. "group": "1_gitlens_2@1"
  2113. },
  2114. {
  2115. "command": "gitlens.toggleFileBlame",
  2116. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2117. "group": "1_gitlens_2@2"
  2118. }
  2119. ],
  2120. "explorer/context": [
  2121. {
  2122. "command": "gitlens.openFileInRemote",
  2123. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2124. "group": "navigation@100"
  2125. },
  2126. {
  2127. "command": "gitlens.diffWithPrevious",
  2128. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2129. "group": "1_gitlens@1"
  2130. },
  2131. {
  2132. "command": "gitlens.diffWithWorking",
  2133. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2134. "group": "1_gitlens@2"
  2135. },
  2136. {
  2137. "command": "gitlens.showQuickFileHistory",
  2138. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2139. "group": "1_gitlens_1@1"
  2140. }
  2141. ],
  2142. "scm/resourceGroup/context": [
  2143. {
  2144. "command": "gitlens.openChangedFiles",
  2145. "when": "gitlens:enabled",
  2146. "group": "2_gitlens@1"
  2147. },
  2148. {
  2149. "command": "gitlens.closeUnchangedFiles",
  2150. "when": "gitlens:enabled",
  2151. "group": "2_gitlens@2"
  2152. },
  2153. {
  2154. "command": "gitlens.externalDiff",
  2155. "when": "gitlens:enabled",
  2156. "group": "2_gitlens@3"
  2157. },
  2158. {
  2159. "command": "gitlens.externalDiffAll",
  2160. "when": "gitlens:enabled",
  2161. "group": "2_gitlens@4"
  2162. },
  2163. {
  2164. "command": "gitlens.stashSave",
  2165. "when": "gitlens:enabled",
  2166. "group": "3_gitlens@1"
  2167. }
  2168. ],
  2169. "scm/resourceState/context": [
  2170. {
  2171. "command": "gitlens.openFileInRemote",
  2172. "when": "gitlens:enabled && gitlens:hasRemotes",
  2173. "group": "navigation"
  2174. },
  2175. {
  2176. "command": "gitlens.externalDiff",
  2177. "when": "gitlens:enabled",
  2178. "group": "navigation"
  2179. },
  2180. {
  2181. "command": "gitlens.diffWithRevision",
  2182. "when": "gitlens:enabled",
  2183. "group": "1_gitlens@1"
  2184. },
  2185. {
  2186. "command": "gitlens.diffWithBranch",
  2187. "when": "gitlens:enabled",
  2188. "group": "1_gitlens@2"
  2189. },
  2190. {
  2191. "command": "gitlens.showQuickFileHistory",
  2192. "when": "gitlens:enabled",
  2193. "group": "1_gitlens_1@1"
  2194. },
  2195. {
  2196. "command": "gitlens.stashSave",
  2197. "when": "gitlens:enabled",
  2198. "group": "2_gitlens@1"
  2199. }
  2200. ],
  2201. "view/title": [
  2202. {
  2203. "command": "gitlens.showCommitSearch",
  2204. "when": "view == gitlens.gitExplorer",
  2205. "group": "navigation@1"
  2206. },
  2207. {
  2208. "command": "gitlens.gitExplorer.switchToHistoryView",
  2209. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2210. "group": "navigation@2"
  2211. },
  2212. {
  2213. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2214. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2215. "group": "navigation@3"
  2216. },
  2217. {
  2218. "command": "gitlens.gitExplorer.refresh",
  2219. "when": "view == gitlens.gitExplorer",
  2220. "group": "navigation@4"
  2221. },
  2222. {
  2223. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2224. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2225. "group": "1_gitlens"
  2226. },
  2227. {
  2228. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2229. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2230. "group": "1_gitlens"
  2231. },
  2232. {
  2233. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2234. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2235. "group": "1_gitlens"
  2236. },
  2237. {
  2238. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2239. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2240. "group": "2_gitlens"
  2241. },
  2242. {
  2243. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2244. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2245. "group": "2_gitlens"
  2246. },
  2247. {
  2248. "command": "gitlens.showCommitSearch",
  2249. "when": "view == gitlens.resultsExplorer",
  2250. "group": "navigation@1"
  2251. },
  2252. {
  2253. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2254. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2255. "group": "navigation@2"
  2256. },
  2257. {
  2258. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2259. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2260. "group": "navigation@2"
  2261. },
  2262. {
  2263. "command": "gitlens.resultsExplorer.refresh",
  2264. "when": "view == gitlens.resultsExplorer",
  2265. "group": "navigation@3"
  2266. },
  2267. {
  2268. "command": "gitlens.resultsExplorer.close",
  2269. "when": "view == gitlens.resultsExplorer",
  2270. "group": "navigation@9"
  2271. },
  2272. {
  2273. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2274. "when": "view == gitlens.resultsExplorer",
  2275. "group": "1_gitlens"
  2276. },
  2277. {
  2278. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2279. "when": "view == gitlens.resultsExplorer",
  2280. "group": "1_gitlens"
  2281. },
  2282. {
  2283. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2284. "when": "view == gitlens.resultsExplorer",
  2285. "group": "1_gitlens"
  2286. }
  2287. ],
  2288. "view/item/context": [
  2289. {
  2290. "command": "gitlens.openBranchesInRemote",
  2291. "when": "viewItem == gitlens:branches:remotes",
  2292. "group": "1_gitlens@1"
  2293. },
  2294. {
  2295. "command": "gitlens.explorers.compareWithHead",
  2296. "when": "viewItem == gitlens:branch",
  2297. "group": "7_gitlens@1"
  2298. },
  2299. {
  2300. "command": "gitlens.explorers.compareWithWorking",
  2301. "when": "viewItem == gitlens:branch",
  2302. "group": "7_gitlens@2"
  2303. },
  2304. {
  2305. "command": "gitlens.explorers.compareWithSelected",
  2306. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare",
  2307. "group": "7_gitlens_@1"
  2308. },
  2309. {
  2310. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2311. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare == branch",
  2312. "group": "7_gitlens_@2"
  2313. },
  2314. {
  2315. "command": "gitlens.explorers.selectForCompare",
  2316. "when": "viewItem == gitlens:branch",
  2317. "group": "7_gitlens_@3"
  2318. },
  2319. {
  2320. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2321. "when": "viewItem == gitlens:branch",
  2322. "group": "7_gitlens_diff@1"
  2323. },
  2324. {
  2325. "command": "gitlens.explorers.terminalCheckoutBranch",
  2326. "when": "viewItem == gitlens:branch",
  2327. "group": "8_gitlens@1"
  2328. },
  2329. {
  2330. "command": "gitlens.explorers.terminalMergeBranch",
  2331. "when": "viewItem == gitlens:branch",
  2332. "group": "8_gitlens@2"
  2333. },
  2334. {
  2335. "command": "gitlens.explorers.terminalRebaseBranch",
  2336. "when": "viewItem == gitlens:branch",
  2337. "group": "8_gitlens@3"
  2338. },
  2339. {
  2340. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2341. "when": "viewItem == gitlens:branch",
  2342. "group": "8_gitlens@4"
  2343. },
  2344. {
  2345. "command": "gitlens.explorers.terminalCreateBranch",
  2346. "when": "viewItem == gitlens:branch",
  2347. "group": "8_gitlens@5"
  2348. },
  2349. {
  2350. "command": "gitlens.explorers.terminalDeleteBranch",
  2351. "when": "viewItem == gitlens:branch",
  2352. "group": "8_gitlens@6"
  2353. },
  2354. {
  2355. "command": "gitlens.explorers.terminalCreateTag",
  2356. "when": "viewItem == gitlens:branch",
  2357. "group": "8_gitlens@7"
  2358. },
  2359. {
  2360. "command": "gitlens.openBranchInRemote",
  2361. "when": "viewItem == gitlens:branch:tracking",
  2362. "group": "1_gitlens@1"
  2363. },
  2364. {
  2365. "command": "gitlens.explorers.compareWithRemote",
  2366. "when": "viewItem == gitlens:branch:tracking",
  2367. "group": "7_gitlens@1"
  2368. },
  2369. {
  2370. "command": "gitlens.explorers.compareWithHead",
  2371. "when": "viewItem == gitlens:branch:tracking",
  2372. "group": "7_gitlens@2"
  2373. },
  2374. {
  2375. "command": "gitlens.explorers.compareWithWorking",
  2376. "when": "viewItem == gitlens:branch:tracking",
  2377. "group": "7_gitlens@3"
  2378. },
  2379. {
  2380. "command": "gitlens.explorers.compareWithSelected",
  2381. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare",
  2382. "group": "7_gitlens_@1"
  2383. },
  2384. {
  2385. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2386. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare == branch",
  2387. "group": "7_gitlens_@2"
  2388. },
  2389. {
  2390. "command": "gitlens.explorers.selectForCompare",
  2391. "when": "viewItem == gitlens:branch:tracking",
  2392. "group": "7_gitlens_@3"
  2393. },
  2394. {
  2395. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2396. "when": "viewItem == gitlens:branch:tracking",
  2397. "group": "7_gitlens_diff@1"
  2398. },
  2399. {
  2400. "command": "gitlens.explorers.terminalCheckoutBranch",
  2401. "when": "viewItem == gitlens:branch:tracking",
  2402. "group": "8_gitlens@1"
  2403. },
  2404. {
  2405. "command": "gitlens.explorers.terminalMergeBranch",
  2406. "when": "viewItem == gitlens:branch:tracking",
  2407. "group": "8_gitlens@2"
  2408. },
  2409. {
  2410. "command": "gitlens.explorers.terminalRebaseBranch",
  2411. "when": "viewItem == gitlens:branch:tracking",
  2412. "group": "8_gitlens@3"
  2413. },
  2414. {
  2415. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2416. "when": "viewItem == gitlens:branch:tracking",
  2417. "group": "8_gitlens@4"
  2418. },
  2419. {
  2420. "command": "gitlens.explorers.terminalCreateBranch",
  2421. "when": "viewItem == gitlens:branch:tracking",
  2422. "group": "8_gitlens@5"
  2423. },
  2424. {
  2425. "command": "gitlens.explorers.terminalDeleteBranch",
  2426. "when": "viewItem == gitlens:branch:tracking",
  2427. "group": "8_gitlens@6"
  2428. },
  2429. {
  2430. "command": "gitlens.explorers.terminalCreateTag",
  2431. "when": "viewItem == gitlens:branch:tracking",
  2432. "group": "8_gitlens@7"
  2433. },
  2434. {
  2435. "command": "gitlens.explorers.compareWithHead",
  2436. "when": "viewItem == gitlens:current-branch",
  2437. "group": "7_gitlens@1"
  2438. },
  2439. {
  2440. "command": "gitlens.explorers.compareWithWorking",
  2441. "when": "viewItem == gitlens:current-branch",
  2442. "group": "7_gitlens@2"
  2443. },
  2444. {
  2445. "command": "gitlens.explorers.compareWithSelected",
  2446. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare",
  2447. "group": "7_gitlens_@1"
  2448. },
  2449. {
  2450. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2451. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare == branch",
  2452. "group": "7_gitlens_@2"
  2453. },
  2454. {
  2455. "command": "gitlens.explorers.selectForCompare",
  2456. "when": "viewItem == gitlens:current-branch",
  2457. "group": "7_gitlens_@3"
  2458. },
  2459. {
  2460. "command": "gitlens.explorers.terminalCreateBranch",
  2461. "when": "viewItem == gitlens:current-branch",
  2462. "group": "8_gitlens@1"
  2463. },
  2464. {
  2465. "command": "gitlens.explorers.terminalCreateTag",
  2466. "when": "viewItem == gitlens:current-branch",
  2467. "group": "8_gitlens@2"
  2468. },
  2469. {
  2470. "command": "gitlens.openBranchInRemote",
  2471. "when": "viewItem == gitlens:current-branch:tracking",
  2472. "group": "1_gitlens@1"
  2473. },
  2474. {
  2475. "command": "gitlens.explorers.compareWithRemote",
  2476. "when": "viewItem == gitlens:current-branch:tracking",
  2477. "group": "7_gitlens@1"
  2478. },
  2479. {
  2480. "command": "gitlens.explorers.compareWithHead",
  2481. "when": "viewItem == gitlens:current-branch:tracking",
  2482. "group": "7_gitlens@2"
  2483. },
  2484. {
  2485. "command": "gitlens.explorers.compareWithWorking",
  2486. "when": "viewItem == gitlens:current-branch:tracking",
  2487. "group": "7_gitlens@3"
  2488. },
  2489. {
  2490. "command": "gitlens.explorers.compareWithSelected",
  2491. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare",
  2492. "group": "7_gitlens_@1"
  2493. },
  2494. {
  2495. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2496. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare == branch",
  2497. "group": "7_gitlens_@2"
  2498. },
  2499. {
  2500. "command": "gitlens.explorers.selectForCompare",
  2501. "when": "viewItem == gitlens:current-branch:tracking",
  2502. "group": "7_gitlens_@3"
  2503. },
  2504. {
  2505. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2506. "when": "viewItem == gitlens:current-branch:tracking",
  2507. "group": "8_gitlens@1"
  2508. },
  2509. {
  2510. "command": "gitlens.explorers.terminalCreateBranch",
  2511. "when": "viewItem == gitlens:current-branch:tracking",
  2512. "group": "8_gitlens@2"
  2513. },
  2514. {
  2515. "command": "gitlens.explorers.terminalCreateTag",
  2516. "when": "viewItem == gitlens:current-branch:tracking",
  2517. "group": "8_gitlens@3"
  2518. },
  2519. {
  2520. "command": "gitlens.openBranchInRemote",
  2521. "when": "viewItem == gitlens:remote-branch",
  2522. "group": "1_gitlens@1"
  2523. },
  2524. {
  2525. "command": "gitlens.explorers.compareWithHead",
  2526. "when": "viewItem == gitlens:remote-branch",
  2527. "group": "7_gitlens@1"
  2528. },
  2529. {
  2530. "command": "gitlens.explorers.compareWithWorking",
  2531. "when": "viewItem == gitlens:remote-branch",
  2532. "group": "7_gitlens@2"
  2533. },
  2534. {
  2535. "command": "gitlens.explorers.compareWithSelected",
  2536. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare",
  2537. "group": "7_gitlens_@1"
  2538. },
  2539. {
  2540. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2541. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare == branch",
  2542. "group": "7_gitlens_@2"
  2543. },
  2544. {
  2545. "command": "gitlens.explorers.selectForCompare",
  2546. "when": "viewItem == gitlens:remote-branch",
  2547. "group": "7_gitlens_@3"
  2548. },
  2549. {
  2550. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2551. "when": "viewItem == gitlens:remote-branch",
  2552. "group": "7_gitlens_diff@1"
  2553. },
  2554. {
  2555. "command": "gitlens.explorers.terminalCheckoutBranch",
  2556. "when": "viewItem == gitlens:remote-branch",
  2557. "group": "8_gitlens@1"
  2558. },
  2559. {
  2560. "command": "gitlens.explorers.terminalMergeBranch",
  2561. "when": "viewItem == gitlens:remote-branch",
  2562. "group": "8_gitlens@2"
  2563. },
  2564. {
  2565. "command": "gitlens.explorers.terminalRebaseBranch",
  2566. "when": "viewItem == gitlens:remote-branch",
  2567. "group": "8_gitlens@3"
  2568. },
  2569. {
  2570. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2571. "when": "viewItem == gitlens:remote-branch",
  2572. "group": "8_gitlens@4"
  2573. },
  2574. {
  2575. "command": "gitlens.explorers.terminalCreateBranch",
  2576. "when": "viewItem == gitlens:remote-branch",
  2577. "group": "8_gitlens@5"
  2578. },
  2579. {
  2580. "command": "gitlens.explorers.terminalDeleteBranch",
  2581. "when": "viewItem == gitlens:remote-branch",
  2582. "group": "8_gitlens@6"
  2583. },
  2584. {
  2585. "command": "gitlens.explorers.terminalCreateTag",
  2586. "when": "viewItem == gitlens:remote-branch",
  2587. "group": "8_gitlens@7"
  2588. },
  2589. {
  2590. "command": "gitlens.openCommitInRemote",
  2591. "when": "viewItem == gitlens:commit && gitlens:hasRemotes",
  2592. "group": "1_gitlens@1"
  2593. },
  2594. {
  2595. "command": "gitlens.explorers.openChangedFileChanges",
  2596. "when": "viewItem == gitlens:commit",
  2597. "group": "2_gitlens@1"
  2598. },
  2599. {
  2600. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2601. "when": "viewItem == gitlens:commit",
  2602. "group": "2_gitlens@1"
  2603. },
  2604. {
  2605. "command": "gitlens.explorers.openChangedFiles",
  2606. "when": "viewItem == gitlens:commit",
  2607. "group": "3_gitlens@1"
  2608. },
  2609. {
  2610. "command": "gitlens.explorers.openChangedFileRevisions",
  2611. "when": "viewItem == gitlens:commit",
  2612. "group": "3_gitlens@2"
  2613. },
  2614. {
  2615. "command": "gitlens.copyShaToClipboard",
  2616. "when": "viewItem == gitlens:commit",
  2617. "group": "4_gitlens@1"
  2618. },
  2619. {
  2620. "command": "gitlens.copyMessageToClipboard",
  2621. "when": "viewItem == gitlens:commit",
  2622. "group": "4_gitlens@2"
  2623. },
  2624. {
  2625. "command": "gitlens.showQuickCommitDetails",
  2626. "when": "viewItem == gitlens:commit",
  2627. "group": "5_gitlens@1"
  2628. },
  2629. {
  2630. "command": "gitlens.explorers.compareWithHead",
  2631. "when": "viewItem == gitlens:commit",
  2632. "group": "7_gitlens@1"
  2633. },
  2634. {
  2635. "command": "gitlens.explorers.compareWithWorking",
  2636. "when": "viewItem == gitlens:commit",
  2637. "group": "7_gitlens@2"
  2638. },
  2639. {
  2640. "command": "gitlens.explorers.compareWithSelected",
  2641. "when": "viewItem == gitlens:commit && gitlens:explorers:canCompare",
  2642. "group": "7_gitlens_@1"
  2643. },
  2644. {
  2645. "command": "gitlens.explorers.selectForCompare",
  2646. "when": "viewItem == gitlens:commit",
  2647. "group": "7_gitlens_@2"
  2648. },
  2649. {
  2650. "command": "gitlens.explorers.terminalCherryPickCommit",
  2651. "when": "viewItem == gitlens:commit",
  2652. "group": "8_gitlens@1"
  2653. },
  2654. {
  2655. "command": "gitlens.explorers.terminalCreateBranch",
  2656. "when": "viewItem == gitlens:commit",
  2657. "group": "8_gitlens@2"
  2658. },
  2659. {
  2660. "command": "gitlens.explorers.terminalCreateTag",
  2661. "when": "viewItem == gitlens:commit",
  2662. "group": "8_gitlens@3"
  2663. },
  2664. {
  2665. "command": "gitlens.openCommitInRemote",
  2666. "when": "viewItem == gitlens:commit:current && gitlens:hasRemotes",
  2667. "group": "1_gitlens@1"
  2668. },
  2669. {
  2670. "command": "gitlens.explorers.openChangedFileChanges",
  2671. "when": "viewItem == gitlens:commit:current",
  2672. "group": "2_gitlens@1"
  2673. },
  2674. {
  2675. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2676. "when": "viewItem == gitlens:commit:current",
  2677. "group": "2_gitlens@1"
  2678. },
  2679. {
  2680. "command": "gitlens.explorers.openChangedFiles",
  2681. "when": "viewItem == gitlens:commit:current",
  2682. "group": "3_gitlens@1"
  2683. },
  2684. {
  2685. "command": "gitlens.explorers.openChangedFileRevisions",
  2686. "when": "viewItem == gitlens:commit:current",
  2687. "group": "3_gitlens@2"
  2688. },
  2689. {
  2690. "command": "gitlens.copyShaToClipboard",
  2691. "when": "viewItem == gitlens:commit:current",
  2692. "group": "4_gitlens@1"
  2693. },
  2694. {
  2695. "command": "gitlens.copyMessageToClipboard",
  2696. "when": "viewItem == gitlens:commit:current",
  2697. "group": "4_gitlens@2"
  2698. },
  2699. {
  2700. "command": "gitlens.showQuickCommitDetails",
  2701. "when": "viewItem == gitlens:commit:current",
  2702. "group": "5_gitlens@1"
  2703. },
  2704. {
  2705. "command": "gitlens.explorers.compareWithHead",
  2706. "when": "viewItem == gitlens:commit:current",
  2707. "group": "7_gitlens@1"
  2708. },
  2709. {
  2710. "command": "gitlens.explorers.compareWithWorking",
  2711. "when": "viewItem == gitlens:commit:current",
  2712. "group": "7_gitlens@2"
  2713. },
  2714. {
  2715. "command": "gitlens.explorers.compareWithSelected",
  2716. "when": "viewItem == gitlens:commit:current && gitlens:explorers:canCompare",
  2717. "group": "7_gitlens_@1"
  2718. },
  2719. {
  2720. "command": "gitlens.explorers.selectForCompare",
  2721. "when": "viewItem == gitlens:commit:current",
  2722. "group": "7_gitlens_@2"
  2723. },
  2724. {
  2725. "command": "gitlens.explorers.terminalRevertCommit",
  2726. "when": "viewItem == gitlens:commit:current",
  2727. "group": "8_gitlens@1"
  2728. },
  2729. {
  2730. "command": "gitlens.explorers.terminalRebaseCommit",
  2731. "when": "viewItem == gitlens:commit:current",
  2732. "group": "8_gitlens@2"
  2733. },
  2734. {
  2735. "command": "gitlens.explorers.terminalResetCommit",
  2736. "when": "viewItem == gitlens:commit:current",
  2737. "group": "8_gitlens@3"
  2738. },
  2739. {
  2740. "command": "gitlens.explorers.terminalCreateBranch",
  2741. "when": "viewItem == gitlens:commit:current",
  2742. "group": "8_gitlens@4"
  2743. },
  2744. {
  2745. "command": "gitlens.explorers.terminalCreateTag",
  2746. "when": "viewItem == gitlens:commit:current",
  2747. "group": "8_gitlens@5"
  2748. },
  2749. {
  2750. "command": "gitlens.explorers.openChanges",
  2751. "when": "viewItem == gitlens:commit-file",
  2752. "group": "1_gitlens@1"
  2753. },
  2754. {
  2755. "command": "gitlens.explorers.openChangesWithWorking",
  2756. "when": "viewItem == gitlens:commit-file",
  2757. "group": "1_gitlens@2"
  2758. },
  2759. {
  2760. "command": "gitlens.explorers.openFile",
  2761. "when": "viewItem == gitlens:commit-file",
  2762. "group": "2_gitlens@1"
  2763. },
  2764. {
  2765. "command": "gitlens.explorers.openFileRevision",
  2766. "when": "viewItem == gitlens:commit-file",
  2767. "group": "2_gitlens@2"
  2768. },
  2769. {
  2770. "command": "gitlens.openFileInRemote",
  2771. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2772. "group": "3_gitlens@1"
  2773. },
  2774. {
  2775. "command": "gitlens.explorers.openFileRevisionInRemote",
  2776. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2777. "group": "3_gitlens@2"
  2778. },
  2779. {
  2780. "command": "gitlens.explorers.applyChanges",
  2781. "when": "viewItem == gitlens:commit-file",
  2782. "group": "4_gitlens@1"
  2783. },
  2784. {
  2785. "command": "gitlens.showQuickFileHistory",
  2786. "when": "viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  2787. "group": "5_gitlens@1"
  2788. },
  2789. {
  2790. "command": "gitlens.showQuickCommitFileDetails",
  2791. "when": "viewItem == gitlens:commit-file",
  2792. "group": "5_gitlens@2"
  2793. },
  2794. {
  2795. "command": "gitlens.explorers.openFile",
  2796. "when": "viewItem == gitlens:file-history",
  2797. "group": "1_gitlens@1"
  2798. },
  2799. {
  2800. "command": "gitlens.openFileInRemote",
  2801. "when": "viewItem == gitlens:file-history && gitlens:hasRemotes",
  2802. "group": "1_gitlens@2"
  2803. },
  2804. {
  2805. "command": "gitlens.openBranchesInRemote",
  2806. "when": "viewItem == gitlens:remote",
  2807. "group": "1_gitlens@1"
  2808. },
  2809. {
  2810. "command": "gitlens.openRepoInRemote",
  2811. "when": "viewItem == gitlens:remote",
  2812. "group": "1_gitlens@2"
  2813. },
  2814. {
  2815. "command": "gitlens.explorers.terminalRemoveRemote",
  2816. "when": "viewItem == gitlens:remote",
  2817. "group": "8_gitlens@1"
  2818. },
  2819. {
  2820. "command": "gitlens.openRepoInRemote",
  2821. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2822. "group": "1_gitlens@1"
  2823. },
  2824. {
  2825. "command": "gitlens.resultsExplorer.clearResultsNode",
  2826. "when": "viewItem == gitlens:comparison-results",
  2827. "group": "1_gitlens@1"
  2828. },
  2829. {
  2830. "command": "gitlens.explorers.openDirectoryDiff",
  2831. "when": "viewItem == gitlens:comparison-results",
  2832. "group": "7_gitlens@1"
  2833. },
  2834. {
  2835. "command": "gitlens.resultsExplorer.clearResultsNode",
  2836. "when": "viewItem == gitlens:search-results",
  2837. "group": "1_gitlens@1"
  2838. },
  2839. {
  2840. "command": "gitlens.stashSave",
  2841. "when": "viewItem == gitlens:stashes",
  2842. "group": "1_gitlens@1"
  2843. },
  2844. {
  2845. "command": "gitlens.stashApply",
  2846. "when": "viewItem == gitlens:stash",
  2847. "group": "1_gitlens@1"
  2848. },
  2849. {
  2850. "command": "gitlens.stashDelete",
  2851. "when": "viewItem == gitlens:stash",
  2852. "group": "1_gitlens@2"
  2853. },
  2854. {
  2855. "command": "gitlens.explorers.openChangedFileChanges",
  2856. "when": "viewItem == gitlens:stash",
  2857. "group": "2_gitlens@1"
  2858. },
  2859. {
  2860. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2861. "when": "viewItem == gitlens:stash",
  2862. "group": "2_gitlens@1"
  2863. },
  2864. {
  2865. "command": "gitlens.explorers.openChangedFiles",
  2866. "when": "viewItem == gitlens:stash",
  2867. "group": "3_gitlens@1"
  2868. },
  2869. {
  2870. "command": "gitlens.explorers.openChangedFileRevisions",
  2871. "when": "viewItem == gitlens:stash",
  2872. "group": "3_gitlens@2"
  2873. },
  2874. {
  2875. "command": "gitlens.copyMessageToClipboard",
  2876. "when": "viewItem == gitlens:stash",
  2877. "group": "4_gitlens@1"
  2878. },
  2879. {
  2880. "command": "gitlens.explorers.compareWithHead",
  2881. "when": "viewItem == gitlens:stash",
  2882. "group": "7_gitlens@1"
  2883. },
  2884. {
  2885. "command": "gitlens.explorers.compareWithWorking",
  2886. "when": "viewItem == gitlens:stash",
  2887. "group": "7_gitlens@2"
  2888. },
  2889. {
  2890. "command": "gitlens.explorers.compareWithSelected",
  2891. "when": "viewItem == gitlens:stash && gitlens:explorers:canCompare",
  2892. "group": "7_gitlens_@1"
  2893. },
  2894. {
  2895. "command": "gitlens.explorers.selectForCompare",
  2896. "when": "viewItem == gitlens:stash",
  2897. "group": "7_gitlens_@2"
  2898. },
  2899. {
  2900. "command": "gitlens.explorers.applyChanges",
  2901. "when": "viewItem == gitlens:stash-file",
  2902. "group": "1_gitlens@1"
  2903. },
  2904. {
  2905. "command": "gitlens.explorers.openChanges",
  2906. "when": "viewItem == gitlens:stash-file",
  2907. "group": "2_gitlens@1"
  2908. },
  2909. {
  2910. "command": "gitlens.explorers.openChangesWithWorking",
  2911. "when": "viewItem == gitlens:stash-file",
  2912. "group": "2_gitlens@2"
  2913. },
  2914. {
  2915. "command": "gitlens.explorers.openFile",
  2916. "when": "viewItem == gitlens:stash-file",
  2917. "group": "3_gitlens@1"
  2918. },
  2919. {
  2920. "command": "gitlens.explorers.openFileRevision",
  2921. "when": "viewItem == gitlens:stash-file",
  2922. "group": "3_gitlens@2"
  2923. },
  2924. {
  2925. "command": "gitlens.openFileInRemote",
  2926. "when": "viewItem == gitlens:stash-file && gitlens:hasRemotes",
  2927. "group": "4_gitlens@1"
  2928. },
  2929. {
  2930. "command": "gitlens.showQuickFileHistory",
  2931. "when": "viewItem == gitlens:stash-file",
  2932. "group": "5_gitlens@1"
  2933. },
  2934. {
  2935. "command": "gitlens.openRepoInRemote",
  2936. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2937. "group": "1_gitlens@1"
  2938. },
  2939. {
  2940. "command": "gitlens.explorers.openChanges",
  2941. "when": "viewItem == gitlens:status-file",
  2942. "group": "1_gitlens@1"
  2943. },
  2944. {
  2945. "command": "gitlens.explorers.openChangesWithWorking",
  2946. "when": "viewItem == gitlens:status-file",
  2947. "group": "1_gitlens@2"
  2948. },
  2949. {
  2950. "command": "gitlens.explorers.openFile",
  2951. "when": "viewItem == gitlens:status-file",
  2952. "group": "2_gitlens@1"
  2953. },
  2954. {
  2955. "command": "gitlens.explorers.openFileRevision",
  2956. "when": "viewItem == gitlens:status-file",
  2957. "group": "2_gitlens@2"
  2958. },
  2959. {
  2960. "command": "gitlens.openFileInRemote",
  2961. "when": "viewItem == gitlens:status-file && gitlens:hasRemotes",
  2962. "group": "3_gitlens@1"
  2963. },
  2964. {
  2965. "command": "gitlens.showQuickFileHistory",
  2966. "when": "viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  2967. "group": "5_gitlens@1"
  2968. },
  2969. {
  2970. "command": "gitlens.showQuickCommitFileDetails",
  2971. "when": "viewItem == gitlens:status-file",
  2972. "group": "5_gitlens@2"
  2973. },
  2974. {
  2975. "command": "gitlens.explorers.openFile",
  2976. "when": "viewItem == gitlens:status-file-commits",
  2977. "group": "1_gitlens@1"
  2978. },
  2979. {
  2980. "command": "gitlens.openFileInRemote",
  2981. "when": "viewItem == gitlens:status-file-commits && gitlens:hasRemotes",
  2982. "group": "1_gitlens@2"
  2983. },
  2984. {
  2985. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2986. "when": "viewItem == gitlens:status-upstream",
  2987. "group": "8_gitlens@1"
  2988. },
  2989. {
  2990. "command": "gitlens.explorers.terminalCreateBranch",
  2991. "when": "viewItem == gitlens:status-upstream",
  2992. "group": "8_gitlens@2"
  2993. },
  2994. {
  2995. "command": "gitlens.explorers.terminalCreateTag",
  2996. "when": "viewItem == gitlens:status-upstream",
  2997. "group": "8_gitlens@3"
  2998. },
  2999. {
  3000. "command": "gitlens.explorers.compareWithHead",
  3001. "when": "viewItem == gitlens:tag",
  3002. "group": "7_gitlens@1"
  3003. },
  3004. {
  3005. "command": "gitlens.explorers.compareWithWorking",
  3006. "when": "viewItem == gitlens:tag",
  3007. "group": "7_gitlens@2"
  3008. },
  3009. {
  3010. "command": "gitlens.explorers.compareWithSelected",
  3011. "when": "viewItem == gitlens:tag && gitlens:explorers:canCompare",
  3012. "group": "7_gitlens_@1"
  3013. },
  3014. {
  3015. "command": "gitlens.explorers.selectForCompare",
  3016. "when": "viewItem == gitlens:tag",
  3017. "group": "7_gitlens_@2"
  3018. },
  3019. {
  3020. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3021. "when": "viewItem == gitlens:tag",
  3022. "group": "7_gitlens_diff@1"
  3023. },
  3024. {
  3025. "command": "gitlens.explorers.terminalDeleteTag",
  3026. "when": "viewItem == gitlens:tag",
  3027. "group": "8_gitlens"
  3028. },
  3029. {
  3030. "command": "gitlens.gitExplorer.refreshNode",
  3031. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3032. "group": "9_gitlens@1"
  3033. },
  3034. {
  3035. "command": "gitlens.resultsExplorer.refreshNode",
  3036. "when": "view == gitlens.resultsExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3037. "group": "9_gitlens@1"
  3038. }
  3039. ]
  3040. },
  3041. "keybindings": [
  3042. {
  3043. "command": "gitlens.key.left",
  3044. "key": "alt+left",
  3045. "when": "gitlens:key:left"
  3046. },
  3047. {
  3048. "command": "gitlens.key.right",
  3049. "key": "alt+right",
  3050. "when": "gitlens:key:right"
  3051. },
  3052. {
  3053. "command": "gitlens.key.,",
  3054. "key": "alt+,",
  3055. "when": "gitlens:key:,"
  3056. },
  3057. {
  3058. "command": "gitlens.key..",
  3059. "key": "alt+.",
  3060. "when": "gitlens:key:."
  3061. },
  3062. {
  3063. "command": "gitlens.key.escape",
  3064. "key": "escape",
  3065. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3066. },
  3067. {
  3068. "command": "gitlens.toggleFileBlame",
  3069. "key": "ctrl+shift+g b",
  3070. "mac": "cmd+alt+g b",
  3071. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  3072. },
  3073. {
  3074. "command": "gitlens.toggleCodeLens",
  3075. "key": "ctrl+shift+g shift+b",
  3076. "mac": "cmd+alt+g shift+b",
  3077. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3078. },
  3079. {
  3080. "command": "gitlens.showLastQuickPick",
  3081. "key": "ctrl+shift+g -",
  3082. "mac": "cmd+alt+g -",
  3083. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3084. },
  3085. {
  3086. "command": "gitlens.showCommitSearch",
  3087. "key": "ctrl+shift+g /",
  3088. "mac": "cmd+alt+g /",
  3089. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3090. },
  3091. {
  3092. "command": "gitlens.showQuickFileHistory",
  3093. "key": "ctrl+shift+g h",
  3094. "mac": "cmd+alt+g h",
  3095. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3096. },
  3097. {
  3098. "command": "gitlens.showQuickRepoHistory",
  3099. "key": "ctrl+shift+g shift+h",
  3100. "mac": "cmd+alt+g shift+h",
  3101. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3102. },
  3103. {
  3104. "command": "gitlens.showQuickRepoStatus",
  3105. "key": "ctrl+shift+g s",
  3106. "mac": "cmd+alt+g s",
  3107. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3108. },
  3109. {
  3110. "command": "gitlens.showQuickCommitFileDetails",
  3111. "key": "ctrl+shift+g c",
  3112. "mac": "cmd+alt+g c",
  3113. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3114. },
  3115. {
  3116. "command": "gitlens.diffWithNext",
  3117. "key": "ctrl+shift+g .",
  3118. "mac": "cmd+alt+g .",
  3119. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3120. },
  3121. {
  3122. "command": "gitlens.diffLineWithPrevious",
  3123. "key": "ctrl+shift+g shift+,",
  3124. "mac": "cmd+alt+g shift+,",
  3125. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3126. },
  3127. {
  3128. "command": "gitlens.diffWithPrevious",
  3129. "key": "ctrl+shift+g ,",
  3130. "mac": "cmd+alt+g ,",
  3131. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3132. },
  3133. {
  3134. "command": "gitlens.diffLineWithWorking",
  3135. "key": "ctrl+shift+g w",
  3136. "mac": "cmd+alt+g w",
  3137. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3138. },
  3139. {
  3140. "command": "gitlens.diffWithWorking",
  3141. "key": "ctrl+shift+g shift+w",
  3142. "mac": "cmd+alt+g shift+w",
  3143. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3144. },
  3145. {
  3146. "command": "gitlens.toggleFileBlame",
  3147. "key": "alt+b",
  3148. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  3149. },
  3150. {
  3151. "command": "gitlens.toggleCodeLens",
  3152. "key": "shift+alt+b",
  3153. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3154. },
  3155. {
  3156. "command": "gitlens.showLastQuickPick",
  3157. "key": "alt+-",
  3158. "when": "gitlens:keymap == standard && gitlens:enabled"
  3159. },
  3160. {
  3161. "command": "gitlens.showCommitSearch",
  3162. "key": "alt+/",
  3163. "when": "gitlens:keymap == standard && gitlens:enabled"
  3164. },
  3165. {
  3166. "command": "gitlens.showQuickFileHistory",
  3167. "key": "alt+h",
  3168. "when": "gitlens:keymap == standard && gitlens:enabled"
  3169. },
  3170. {
  3171. "command": "gitlens.showQuickRepoHistory",
  3172. "key": "shift+alt+h",
  3173. "when": "gitlens:keymap == standard && gitlens:enabled"
  3174. },
  3175. {
  3176. "command": "gitlens.showQuickRepoStatus",
  3177. "key": "alt+s",
  3178. "when": "gitlens:keymap == standard && gitlens:enabled"
  3179. },
  3180. {
  3181. "command": "gitlens.showQuickCommitFileDetails",
  3182. "key": "alt+c",
  3183. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  3184. },
  3185. {
  3186. "command": "gitlens.diffWithNext",
  3187. "key": "alt+.",
  3188. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3189. },
  3190. {
  3191. "command": "gitlens.diffLineWithPrevious",
  3192. "key": "shift+alt+,",
  3193. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3194. },
  3195. {
  3196. "command": "gitlens.diffWithPrevious",
  3197. "key": "alt+,",
  3198. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3199. },
  3200. {
  3201. "command": "gitlens.diffLineWithWorking",
  3202. "key": "alt+w",
  3203. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3204. },
  3205. {
  3206. "command": "gitlens.diffWithWorking",
  3207. "key": "shift+alt+w",
  3208. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3209. },
  3210. {
  3211. "command": "workbench.view.scm",
  3212. "key": "ctrl+shift+g g",
  3213. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3214. }
  3215. ],
  3216. "views": {
  3217. "explorer": [
  3218. {
  3219. "id": "gitlens.gitExplorer",
  3220. "name": "GitLens",
  3221. "when": "gitlens:enabled && gitlens:gitExplorer"
  3222. },
  3223. {
  3224. "id": "gitlens.resultsExplorer",
  3225. "name": "GitLens Results",
  3226. "when": "gitlens:enabled && gitlens:resultsExplorer"
  3227. }
  3228. ]
  3229. }
  3230. },
  3231. "activationEvents": [
  3232. "*"
  3233. ],
  3234. "scripts": {
  3235. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  3236. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  3237. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  3238. "clean": "git clean -Xdf",
  3239. "lint": "tslint --project tslint.json",
  3240. "pack": "vsce package",
  3241. "pub": "vsce publish",
  3242. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  3243. "reset": "npm run clean && npm install --no-save",
  3244. "watch": "tsc -watch -p ./",
  3245. "postinstall": "node ./node_modules/vscode/bin/install && pushd \"./src/ui\" && npm install --no-save && popd",
  3246. "prepush": "npm run build",
  3247. "vscode:prepublish": "npm run reset && npm run bundle"
  3248. },
  3249. "dependencies": {
  3250. "copy-paste": "1.3.0",
  3251. "date-fns": "1.29.0",
  3252. "iconv-lite": "0.4.19",
  3253. "lodash.debounce": "4.0.8",
  3254. "lodash.once": "4.1.1",
  3255. "tmp": "0.0.33",
  3256. "tslib": "1.9.0"
  3257. },
  3258. "devDependencies": {
  3259. "@types/copy-paste": "1.1.30",
  3260. "@types/node": "9.4.0",
  3261. "@types/tmp": "0.0.33",
  3262. "husky": "0.14.3",
  3263. "ts-loader": "3.4.0",
  3264. "tslint": "5.9.1",
  3265. "typescript": "2.7.1",
  3266. "uglify-es": "3.3.9",
  3267. "uglifyjs-webpack-plugin": "1.1.8",
  3268. "vscode": "1.1.10",
  3269. "webpack": "3.10.0",
  3270. "webpack-node-externals": "1.6.0"
  3271. }
  3272. }