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

3282 lines
146 KiB

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