Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

3283 Zeilen
146 KiB

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