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.

2965 Zeilen
135 KiB

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