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

2992 lines
136 KiB

7 years ago
7 years ago
7 years ago
  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.openFileRevision",
  1327. "title": "Open Revision...",
  1328. "category": "GitLens"
  1329. },
  1330. {
  1331. "command": "gitlens.openRepoInRemote",
  1332. "title": "Open Repository in Remote",
  1333. "category": "GitLens"
  1334. },
  1335. {
  1336. "command": "gitlens.openWorkingFile",
  1337. "title": "Open Working File",
  1338. "category": "GitLens",
  1339. "icon": {
  1340. "dark": "images/dark/open-file.svg",
  1341. "light": "images/light/open-file.svg"
  1342. }
  1343. },
  1344. {
  1345. "command": "gitlens.stashApply",
  1346. "title": "Apply Stashed Changes",
  1347. "category": "GitLens"
  1348. },
  1349. {
  1350. "command": "gitlens.stashDelete",
  1351. "title": "Delete Stashed Changes",
  1352. "category": "GitLens"
  1353. },
  1354. {
  1355. "command": "gitlens.stashSave",
  1356. "title": "Stash Changes",
  1357. "category": "GitLens",
  1358. "icon": {
  1359. "dark": "images/dark/icon-add.svg",
  1360. "light": "images/light/icon-add.svg"
  1361. }
  1362. },
  1363. {
  1364. "command": "gitlens.externalDiff",
  1365. "title": "Open Changes (with difftool)",
  1366. "category": "GitLens"
  1367. },
  1368. {
  1369. "command": "gitlens.externalDiffAll",
  1370. "title": "Open All Changes (with difftool)",
  1371. "category": "GitLens"
  1372. },
  1373. {
  1374. "command": "gitlens.resetSuppressedWarnings",
  1375. "title": "Reset Suppressed Warnings",
  1376. "category": "GitLens"
  1377. },
  1378. {
  1379. "command": "gitlens.explorers.openDirectoryDiff",
  1380. "title": "Open Directory Compare",
  1381. "category": "GitLens"
  1382. },
  1383. {
  1384. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1385. "title": "Open Directory Compare with Working Tree",
  1386. "category": "GitLens"
  1387. },
  1388. {
  1389. "command": "gitlens.explorers.openChanges",
  1390. "title": "Open Changes",
  1391. "category": "GitLens"
  1392. },
  1393. {
  1394. "command": "gitlens.explorers.openChangesWithWorking",
  1395. "title": "Open Changes with Working Tree",
  1396. "category": "GitLens"
  1397. },
  1398. {
  1399. "command": "gitlens.explorers.openFile",
  1400. "title": "Open File",
  1401. "category": "GitLens"
  1402. },
  1403. {
  1404. "command": "gitlens.explorers.openFileRevision",
  1405. "title": "Open Revision",
  1406. "category": "GitLens"
  1407. },
  1408. {
  1409. "command": "gitlens.explorers.openFileRevisionInRemote",
  1410. "title": "Open Revision in Remote",
  1411. "category": "GitLens"
  1412. },
  1413. {
  1414. "command": "gitlens.explorers.openChangedFiles",
  1415. "title": "Open Files",
  1416. "category": "GitLens"
  1417. },
  1418. {
  1419. "command": "gitlens.explorers.openChangedFileChanges",
  1420. "title": "Open All Changes",
  1421. "category": "GitLens"
  1422. },
  1423. {
  1424. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1425. "title": "Open All Changes with Working Tree",
  1426. "category": "GitLens"
  1427. },
  1428. {
  1429. "command": "gitlens.explorers.openChangedFileRevisions",
  1430. "title": "Open Revisions",
  1431. "category": "GitLens"
  1432. },
  1433. {
  1434. "command": "gitlens.explorers.applyChanges",
  1435. "title": "Apply Changes",
  1436. "category": "GitLens"
  1437. },
  1438. {
  1439. "command": "gitlens.explorers.compareWithSelected",
  1440. "title": "Compare with Selected",
  1441. "category": "GitLens"
  1442. },
  1443. {
  1444. "command": "gitlens.explorers.selectForCompare",
  1445. "title": "Select for Compare",
  1446. "category": "GitLens"
  1447. },
  1448. {
  1449. "command": "gitlens.explorers.terminalCheckoutBranch",
  1450. "title": "Checkout Branch (via Terminal)",
  1451. "category": "GitLens"
  1452. },
  1453. {
  1454. "command": "gitlens.explorers.terminalCreateBranch",
  1455. "title": "Create Branch (via Terminal)...",
  1456. "category": "GitLens"
  1457. },
  1458. {
  1459. "command": "gitlens.explorers.terminalDeleteBranch",
  1460. "title": "Delete Branch (via Terminal)",
  1461. "category": "GitLens"
  1462. },
  1463. {
  1464. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1465. "title": "Rebase Branch to Remote (via Terminal)",
  1466. "category": "GitLens"
  1467. },
  1468. {
  1469. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1470. "title": "Squash Branch into Commit (via Terminal)",
  1471. "category": "GitLens"
  1472. },
  1473. {
  1474. "command": "gitlens.explorers.terminalRebaseCommit",
  1475. "title": "Rebase Commit (via Terminal)",
  1476. "category": "GitLens"
  1477. },
  1478. {
  1479. "command": "gitlens.explorers.terminalResetCommit",
  1480. "title": "Reset Commit (via Terminal)",
  1481. "category": "GitLens"
  1482. },
  1483. {
  1484. "command": "gitlens.explorers.terminalRemoveRemote",
  1485. "title": "Remove Remote (via Terminal)",
  1486. "category": "GitLens"
  1487. },
  1488. {
  1489. "command": "gitlens.gitExplorer.refresh",
  1490. "title": "Refresh",
  1491. "category": "GitLens",
  1492. "icon": {
  1493. "dark": "images/dark/icon-refresh.svg",
  1494. "light": "images/light/icon-refresh.svg"
  1495. }
  1496. },
  1497. {
  1498. "command": "gitlens.gitExplorer.refreshNode",
  1499. "title": "Refresh",
  1500. "category": "GitLens"
  1501. },
  1502. {
  1503. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1504. "title": "Show Files in Automatic View",
  1505. "category": "GitLens"
  1506. },
  1507. {
  1508. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1509. "title": "Show Files in List View",
  1510. "category": "GitLens"
  1511. },
  1512. {
  1513. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1514. "title": "Show Files in Tree View",
  1515. "category": "GitLens"
  1516. },
  1517. {
  1518. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1519. "title": "Enable Automatic Refresh",
  1520. "category": "GitLens"
  1521. },
  1522. {
  1523. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1524. "title": "Disable Automatic Refresh",
  1525. "category": "GitLens"
  1526. },
  1527. {
  1528. "command": "gitlens.gitExplorer.switchToHistoryView",
  1529. "title": "Switch to History View",
  1530. "category": "GitLens",
  1531. "icon": {
  1532. "dark": "images/dark/icon-history.svg",
  1533. "light": "images/light/icon-history.svg"
  1534. }
  1535. },
  1536. {
  1537. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1538. "title": "Switch to Repository View",
  1539. "category": "GitLens",
  1540. "icon": {
  1541. "dark": "images/dark/icon-repo.svg",
  1542. "light": "images/light/icon-repo.svg"
  1543. }
  1544. },
  1545. {
  1546. "command": "gitlens.resultsExplorer.clearResultsNode",
  1547. "title": "Clear Results",
  1548. "category": "GitLens"
  1549. },
  1550. {
  1551. "command": "gitlens.resultsExplorer.close",
  1552. "title": "Close",
  1553. "category": "GitLens",
  1554. "icon": {
  1555. "dark": "images/dark/icon-close.svg",
  1556. "light": "images/light/icon-close.svg"
  1557. }
  1558. },
  1559. {
  1560. "command": "gitlens.resultsExplorer.refresh",
  1561. "title": "Refresh",
  1562. "category": "GitLens",
  1563. "icon": {
  1564. "dark": "images/dark/icon-refresh.svg",
  1565. "light": "images/light/icon-refresh.svg"
  1566. }
  1567. },
  1568. {
  1569. "command": "gitlens.resultsExplorer.refreshNode",
  1570. "title": "Refresh",
  1571. "category": "GitLens"
  1572. },
  1573. {
  1574. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1575. "title": "Show Files in Automatic View",
  1576. "category": "GitLens"
  1577. },
  1578. {
  1579. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1580. "title": "Show Files in List View",
  1581. "category": "GitLens"
  1582. },
  1583. {
  1584. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1585. "title": "Show Files in Tree View",
  1586. "category": "GitLens"
  1587. },
  1588. {
  1589. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1590. "title": "Keep Results",
  1591. "category": "GitLens",
  1592. "icon": {
  1593. "dark": "images/dark/icon-lock.svg",
  1594. "light": "images/light/icon-lock.svg"
  1595. }
  1596. },
  1597. {
  1598. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1599. "title": "Keep Results",
  1600. "category": "GitLens",
  1601. "icon": {
  1602. "dark": "images/dark/icon-locked.svg",
  1603. "light": "images/light/icon-locked.svg"
  1604. }
  1605. }
  1606. ],
  1607. "menus": {
  1608. "commandPalette": [
  1609. {
  1610. "command": "gitlens.diffDirectory",
  1611. "when": "gitlens:enabled"
  1612. },
  1613. {
  1614. "command": "gitlens.diffWith",
  1615. "when": "false"
  1616. },
  1617. {
  1618. "command": "gitlens.diffWithBranch",
  1619. "when": "gitlens:activeIsTracked"
  1620. },
  1621. {
  1622. "command": "gitlens.diffWithNext",
  1623. "when": "gitlens:activeIsTracked"
  1624. },
  1625. {
  1626. "command": "gitlens.diffWithPrevious",
  1627. "when": "gitlens:activeIsTracked"
  1628. },
  1629. {
  1630. "command": "gitlens.diffLineWithPrevious",
  1631. "when": "gitlens:activeIsBlameable"
  1632. },
  1633. {
  1634. "command": "gitlens.diffWithRevision",
  1635. "when": "gitlens:activeIsTracked"
  1636. },
  1637. {
  1638. "command": "gitlens.diffWithWorking",
  1639. "when": "gitlens:activeIsTracked"
  1640. },
  1641. {
  1642. "command": "gitlens.diffLineWithWorking",
  1643. "when": "gitlens:activeIsBlameable"
  1644. },
  1645. {
  1646. "command": "gitlens.externalDiffAll",
  1647. "when": "gitlens:enabled"
  1648. },
  1649. {
  1650. "command": "gitlens.showFileBlame",
  1651. "when": "gitlens:activeIsBlameable"
  1652. },
  1653. {
  1654. "command": "gitlens.showLineBlame",
  1655. "when": "gitlens:activeIsBlameable"
  1656. },
  1657. {
  1658. "command": "gitlens.toggleFileBlame",
  1659. "when": "gitlens:activeIsBlameable"
  1660. },
  1661. {
  1662. "command": "gitlens.clearFileAnnotations",
  1663. "when": "gitlens:annotationStatus == computed"
  1664. },
  1665. {
  1666. "command": "gitlens.computingFileAnnotations",
  1667. "when": "false"
  1668. },
  1669. {
  1670. "command": "gitlens.toggleFileRecentChanges",
  1671. "when": "gitlens:activeIsTracked"
  1672. },
  1673. {
  1674. "command": "gitlens.toggleLineBlame",
  1675. "when": "gitlens:activeIsBlameable"
  1676. },
  1677. {
  1678. "command": "gitlens.toggleCodeLens",
  1679. "when": "gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  1680. },
  1681. {
  1682. "command": "gitlens.showLastQuickPick",
  1683. "when": "gitlens:enabled"
  1684. },
  1685. {
  1686. "command": "gitlens.showQuickCommitDetails",
  1687. "when": "gitlens:activeIsBlameable"
  1688. },
  1689. {
  1690. "command": "gitlens.showQuickCommitFileDetails",
  1691. "when": "gitlens:activeIsBlameable"
  1692. },
  1693. {
  1694. "command": "gitlens.showQuickFileHistory",
  1695. "when": "gitlens:activeIsTracked"
  1696. },
  1697. {
  1698. "command": "gitlens.showQuickBranchHistory",
  1699. "when": "gitlens:enabled"
  1700. },
  1701. {
  1702. "command": "gitlens.showQuickRepoHistory",
  1703. "when": "gitlens:enabled"
  1704. },
  1705. {
  1706. "command": "gitlens.showQuickRepoStatus",
  1707. "when": "gitlens:enabled"
  1708. },
  1709. {
  1710. "command": "gitlens.showQuickStashList",
  1711. "when": "gitlens:enabled"
  1712. },
  1713. {
  1714. "command": "gitlens.copyShaToClipboard",
  1715. "when": "gitlens:activeIsBlameable"
  1716. },
  1717. {
  1718. "command": "gitlens.copyMessageToClipboard",
  1719. "when": "gitlens:activeIsBlameable"
  1720. },
  1721. {
  1722. "command": "gitlens.closeUnchangedFiles",
  1723. "when": "gitlens:enabled"
  1724. },
  1725. {
  1726. "command": "gitlens.openChangedFiles",
  1727. "when": "gitlens:enabled"
  1728. },
  1729. {
  1730. "command": "gitlens.openBranchesInRemote",
  1731. "when": "gitlens:activeHasRemote"
  1732. },
  1733. {
  1734. "command": "gitlens.openBranchInRemote",
  1735. "when": "gitlens:activeHasRemote"
  1736. },
  1737. {
  1738. "command": "gitlens.openCommitInRemote",
  1739. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1740. },
  1741. {
  1742. "command": "gitlens.openFileInRemote",
  1743. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1744. },
  1745. {
  1746. "command": "gitlens.openFileRevision",
  1747. "when": "gitlens:activeIsTracked"
  1748. },
  1749. {
  1750. "command": "gitlens.openRepoInRemote",
  1751. "when": "gitlens:activeHasRemote"
  1752. },
  1753. {
  1754. "command": "gitlens.openWorkingFile",
  1755. "when": "gitlens:activeIsRevision"
  1756. },
  1757. {
  1758. "command": "gitlens.stashApply",
  1759. "when": "gitlens:enabled"
  1760. },
  1761. {
  1762. "command": "gitlens.stashSave",
  1763. "when": "gitlens:enabled"
  1764. },
  1765. {
  1766. "command": "gitlens.resetSuppressedWarnings",
  1767. "when": "gitlens:enabled"
  1768. },
  1769. {
  1770. "command": "gitlens.explorers.openChanges",
  1771. "when": "false"
  1772. },
  1773. {
  1774. "command": "gitlens.explorers.openDirectoryDiff",
  1775. "when": "false"
  1776. },
  1777. {
  1778. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1779. "when": "false"
  1780. },
  1781. {
  1782. "command": "gitlens.explorers.openChangesWithWorking",
  1783. "when": "false"
  1784. },
  1785. {
  1786. "command": "gitlens.explorers.openFile",
  1787. "when": "false"
  1788. },
  1789. {
  1790. "command": "gitlens.explorers.openFileRevision",
  1791. "when": "false"
  1792. },
  1793. {
  1794. "command": "gitlens.explorers.openFileRevisionInRemote",
  1795. "when": "false"
  1796. },
  1797. {
  1798. "command": "gitlens.explorers.openChangedFiles",
  1799. "when": "false"
  1800. },
  1801. {
  1802. "command": "gitlens.explorers.openChangedFileChanges",
  1803. "when": "false"
  1804. },
  1805. {
  1806. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1807. "when": "false"
  1808. },
  1809. {
  1810. "command": "gitlens.explorers.openChangedFileRevisions",
  1811. "when": "false"
  1812. },
  1813. {
  1814. "command": "gitlens.explorers.applyChanges",
  1815. "when": "false"
  1816. },
  1817. {
  1818. "command": "gitlens.explorers.compareWithSelected",
  1819. "when": "false"
  1820. },
  1821. {
  1822. "command": "gitlens.explorers.selectForCompare",
  1823. "when": "false"
  1824. },
  1825. {
  1826. "command": "gitlens.explorers.terminalCheckoutBranch",
  1827. "when": "false"
  1828. },
  1829. {
  1830. "command": "gitlens.explorers.terminalCreateBranch",
  1831. "when": "false"
  1832. },
  1833. {
  1834. "command": "gitlens.explorers.terminalDeleteBranch",
  1835. "when": "false"
  1836. },
  1837. {
  1838. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1839. "when": "false"
  1840. },
  1841. {
  1842. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1843. "when": "false"
  1844. },
  1845. {
  1846. "command": "gitlens.explorers.terminalRebaseCommit",
  1847. "when": "false"
  1848. },
  1849. {
  1850. "command": "gitlens.explorers.terminalResetCommit",
  1851. "when": "false"
  1852. },
  1853. {
  1854. "command": "gitlens.explorers.terminalRemoveRemote",
  1855. "when": "false"
  1856. },
  1857. {
  1858. "command": "gitlens.gitExplorer.refresh",
  1859. "when": "false"
  1860. },
  1861. {
  1862. "command": "gitlens.gitExplorer.refreshNode",
  1863. "when": "false"
  1864. },
  1865. {
  1866. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1867. "when": "false"
  1868. },
  1869. {
  1870. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1871. "when": "false"
  1872. },
  1873. {
  1874. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1875. "when": "false"
  1876. },
  1877. {
  1878. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1879. "when": "false"
  1880. },
  1881. {
  1882. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1883. "when": "false"
  1884. },
  1885. {
  1886. "command": "gitlens.gitExplorer.switchToHistoryView",
  1887. "when": "gitlens:gitExplorer:view == repository"
  1888. },
  1889. {
  1890. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1891. "when": "gitlens:gitExplorer:view == history"
  1892. },
  1893. {
  1894. "command": "gitlens.resultsExplorer.clearResultsNode",
  1895. "when": "false"
  1896. },
  1897. {
  1898. "command": "gitlens.resultsExplorer.close",
  1899. "when": "false"
  1900. },
  1901. {
  1902. "command": "gitlens.resultsExplorer.refresh",
  1903. "when": "false"
  1904. },
  1905. {
  1906. "command": "gitlens.resultsExplorer.refreshNode",
  1907. "when": "false"
  1908. },
  1909. {
  1910. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1911. "when": "false"
  1912. },
  1913. {
  1914. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1915. "when": "false"
  1916. },
  1917. {
  1918. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1919. "when": "false"
  1920. },
  1921. {
  1922. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1923. "when": "false"
  1924. },
  1925. {
  1926. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1927. "when": "false"
  1928. }
  1929. ],
  1930. "editor/context": [
  1931. {
  1932. "command": "gitlens.openFileInRemote",
  1933. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  1934. "group": "navigation@100"
  1935. },
  1936. {
  1937. "command": "gitlens.diffLineWithPrevious",
  1938. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1939. "group": "1_gitlens@1"
  1940. },
  1941. {
  1942. "command": "gitlens.diffLineWithWorking",
  1943. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1944. "group": "1_gitlens@2"
  1945. },
  1946. {
  1947. "command": "gitlens.showQuickCommitFileDetails",
  1948. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  1949. "group": "1_gitlens@3"
  1950. },
  1951. {
  1952. "command": "gitlens.diffWithPrevious",
  1953. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1954. "group": "1_gitlens_1@1"
  1955. },
  1956. {
  1957. "command": "gitlens.diffWithWorking",
  1958. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1959. "group": "1_gitlens_1@2"
  1960. },
  1961. {
  1962. "command": "gitlens.showQuickFileHistory",
  1963. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  1964. "group": "3_gitlens@1"
  1965. },
  1966. {
  1967. "command": "gitlens.toggleFileBlame",
  1968. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1969. "group": "3_gitlens@2"
  1970. },
  1971. {
  1972. "command": "gitlens.copyShaToClipboard",
  1973. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1974. "group": "9_gitlens@1"
  1975. },
  1976. {
  1977. "command": "gitlens.copyMessageToClipboard",
  1978. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1979. "group": "9_gitlens@2"
  1980. }
  1981. ],
  1982. "editor/title": [
  1983. {
  1984. "command": "gitlens.openWorkingFile",
  1985. "when": "gitlens:activeIsRevision",
  1986. "group": "navigation@1"
  1987. },
  1988. {
  1989. "command": "gitlens.toggleFileBlame",
  1990. "alt": "gitlens.toggleFileRecentChanges",
  1991. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1992. "group": "navigation@100"
  1993. },
  1994. {
  1995. "command": "gitlens.computingFileAnnotations",
  1996. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1997. "group": "navigation@100"
  1998. },
  1999. {
  2000. "command": "gitlens.clearFileAnnotations",
  2001. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2002. "group": "navigation@100"
  2003. },
  2004. {
  2005. "command": "gitlens.openFileInRemote",
  2006. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2007. "group": "2_gitlens"
  2008. },
  2009. {
  2010. "command": "gitlens.openRepoInRemote",
  2011. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2012. "group": "2_gitlens"
  2013. },
  2014. {
  2015. "command": "gitlens.diffWithPrevious",
  2016. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2017. "group": "2_gitlens_1"
  2018. },
  2019. {
  2020. "command": "gitlens.diffWithWorking",
  2021. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2022. "group": "2_gitlens_1"
  2023. },
  2024. {
  2025. "command": "gitlens.showQuickFileHistory",
  2026. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2027. "group": "2_gitlens_2"
  2028. },
  2029. {
  2030. "command": "gitlens.showQuickRepoHistory",
  2031. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2032. "group": "2_gitlens_2"
  2033. },
  2034. {
  2035. "command": "gitlens.showQuickRepoStatus",
  2036. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2037. "group": "2_gitlens_2"
  2038. }
  2039. ],
  2040. "editor/title/context": [
  2041. {
  2042. "command": "gitlens.openFileInRemote",
  2043. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2044. "group": "1_gitlens"
  2045. },
  2046. {
  2047. "command": "gitlens.diffWithPrevious",
  2048. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2049. "group": "1_gitlens_1@1"
  2050. },
  2051. {
  2052. "command": "gitlens.diffWithWorking",
  2053. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2054. "group": "1_gitlens_1@2"
  2055. },
  2056. {
  2057. "command": "gitlens.showQuickFileHistory",
  2058. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2059. "group": "1_gitlens_2@1"
  2060. },
  2061. {
  2062. "command": "gitlens.toggleFileBlame",
  2063. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2064. "group": "1_gitlens_2@2"
  2065. }
  2066. ],
  2067. "explorer/context": [
  2068. {
  2069. "command": "gitlens.openFileInRemote",
  2070. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2071. "group": "navigation@100"
  2072. },
  2073. {
  2074. "command": "gitlens.diffWithPrevious",
  2075. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2076. "group": "1_gitlens@1"
  2077. },
  2078. {
  2079. "command": "gitlens.diffWithWorking",
  2080. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2081. "group": "1_gitlens@2"
  2082. },
  2083. {
  2084. "command": "gitlens.showQuickFileHistory",
  2085. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2086. "group": "1_gitlens_1@1"
  2087. }
  2088. ],
  2089. "scm/resourceGroup/context": [
  2090. {
  2091. "command": "gitlens.openChangedFiles",
  2092. "when": "gitlens:enabled",
  2093. "group": "2_gitlens@1"
  2094. },
  2095. {
  2096. "command": "gitlens.closeUnchangedFiles",
  2097. "when": "gitlens:enabled",
  2098. "group": "2_gitlens@2"
  2099. },
  2100. {
  2101. "command": "gitlens.externalDiff",
  2102. "when": "gitlens:enabled",
  2103. "group": "2_gitlens@3"
  2104. },
  2105. {
  2106. "command": "gitlens.externalDiffAll",
  2107. "when": "gitlens:enabled",
  2108. "group": "2_gitlens@4"
  2109. },
  2110. {
  2111. "command": "gitlens.stashSave",
  2112. "when": "gitlens:enabled",
  2113. "group": "3_gitlens@1"
  2114. }
  2115. ],
  2116. "scm/resourceState/context": [
  2117. {
  2118. "command": "gitlens.openFileInRemote",
  2119. "when": "gitlens:enabled && gitlens:hasRemotes",
  2120. "group": "navigation"
  2121. },
  2122. {
  2123. "command": "gitlens.externalDiff",
  2124. "when": "gitlens:enabled",
  2125. "group": "navigation"
  2126. },
  2127. {
  2128. "command": "gitlens.diffWithRevision",
  2129. "when": "gitlens:enabled",
  2130. "group": "1_gitlens@1"
  2131. },
  2132. {
  2133. "command": "gitlens.diffWithBranch",
  2134. "when": "gitlens:enabled",
  2135. "group": "1_gitlens@2"
  2136. },
  2137. {
  2138. "command": "gitlens.showQuickFileHistory",
  2139. "when": "gitlens:enabled",
  2140. "group": "1_gitlens_1@1"
  2141. },
  2142. {
  2143. "command": "gitlens.stashSave",
  2144. "when": "gitlens:enabled",
  2145. "group": "2_gitlens@1"
  2146. }
  2147. ],
  2148. "view/title": [
  2149. {
  2150. "command": "gitlens.showCommitSearch",
  2151. "when": "view == gitlens.gitExplorer",
  2152. "group": "navigation@1"
  2153. },
  2154. {
  2155. "command": "gitlens.gitExplorer.switchToHistoryView",
  2156. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2157. "group": "navigation@2"
  2158. },
  2159. {
  2160. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2161. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2162. "group": "navigation@3"
  2163. },
  2164. {
  2165. "command": "gitlens.gitExplorer.refresh",
  2166. "when": "view == gitlens.gitExplorer",
  2167. "group": "navigation@4"
  2168. },
  2169. {
  2170. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2171. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2172. "group": "1_gitlens"
  2173. },
  2174. {
  2175. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2176. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2177. "group": "1_gitlens"
  2178. },
  2179. {
  2180. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2181. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2182. "group": "1_gitlens"
  2183. },
  2184. {
  2185. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2186. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2187. "group": "2_gitlens"
  2188. },
  2189. {
  2190. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2191. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2192. "group": "2_gitlens"
  2193. },
  2194. {
  2195. "command": "gitlens.showCommitSearch",
  2196. "when": "view == gitlens.resultsExplorer",
  2197. "group": "navigation@1"
  2198. },
  2199. {
  2200. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2201. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2202. "group": "navigation@2"
  2203. },
  2204. {
  2205. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2206. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2207. "group": "navigation@2"
  2208. },
  2209. {
  2210. "command": "gitlens.resultsExplorer.refresh",
  2211. "when": "view == gitlens.resultsExplorer",
  2212. "group": "navigation@3"
  2213. },
  2214. {
  2215. "command": "gitlens.resultsExplorer.close",
  2216. "when": "view == gitlens.resultsExplorer",
  2217. "group": "navigation@9"
  2218. },
  2219. {
  2220. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2221. "when": "view == gitlens.resultsExplorer",
  2222. "group": "1_gitlens"
  2223. },
  2224. {
  2225. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2226. "when": "view == gitlens.resultsExplorer",
  2227. "group": "1_gitlens"
  2228. },
  2229. {
  2230. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2231. "when": "view == gitlens.resultsExplorer",
  2232. "group": "1_gitlens"
  2233. }
  2234. ],
  2235. "view/item/context": [
  2236. {
  2237. "command": "gitlens.openBranchesInRemote",
  2238. "when": "viewItem == gitlens:branches:remotes",
  2239. "group": "1_gitlens@1"
  2240. },
  2241. {
  2242. "command": "gitlens.explorers.compareWithSelected",
  2243. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare",
  2244. "group": "7_gitlens@1"
  2245. },
  2246. {
  2247. "command": "gitlens.explorers.selectForCompare",
  2248. "when": "viewItem == gitlens:branch",
  2249. "group": "7_gitlens@2"
  2250. },
  2251. {
  2252. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2253. "when": "viewItem == gitlens:branch",
  2254. "group": "7_gitlens_diff@1"
  2255. },
  2256. {
  2257. "command": "gitlens.explorers.terminalCheckoutBranch",
  2258. "when": "viewItem == gitlens:branch",
  2259. "group": "8_gitlens@1"
  2260. },
  2261. {
  2262. "command": "gitlens.explorers.terminalCreateBranch",
  2263. "when": "viewItem == gitlens:branch",
  2264. "group": "8_gitlens@2"
  2265. },
  2266. {
  2267. "command": "gitlens.explorers.terminalDeleteBranch",
  2268. "when": "viewItem == gitlens:branch",
  2269. "group": "8_gitlens@3"
  2270. },
  2271. {
  2272. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2273. "when": "viewItem == gitlens:branch",
  2274. "group": "8_gitlens@4"
  2275. },
  2276. {
  2277. "command": "gitlens.openBranchInRemote",
  2278. "when": "viewItem == gitlens:branch:tracking",
  2279. "group": "1_gitlens@1"
  2280. },
  2281. {
  2282. "command": "gitlens.explorers.compareWithSelected",
  2283. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare",
  2284. "group": "7_gitlens@1"
  2285. },
  2286. {
  2287. "command": "gitlens.explorers.selectForCompare",
  2288. "when": "viewItem == gitlens:branch:tracking",
  2289. "group": "7_gitlens@2"
  2290. },
  2291. {
  2292. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2293. "when": "viewItem == gitlens:branch:tracking",
  2294. "group": "7_gitlens_diff@1"
  2295. },
  2296. {
  2297. "command": "gitlens.explorers.terminalCheckoutBranch",
  2298. "when": "viewItem == gitlens:branch:tracking",
  2299. "group": "8_gitlens@1"
  2300. },
  2301. {
  2302. "command": "gitlens.explorers.terminalCreateBranch",
  2303. "when": "viewItem == gitlens:branch:tracking",
  2304. "group": "8_gitlens@2"
  2305. },
  2306. {
  2307. "command": "gitlens.explorers.terminalDeleteBranch",
  2308. "when": "viewItem == gitlens:branch:tracking",
  2309. "group": "8_gitlens@3"
  2310. },
  2311. {
  2312. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2313. "when": "viewItem == gitlens:branch:tracking",
  2314. "group": "8_gitlens@4"
  2315. },
  2316. {
  2317. "command": "gitlens.explorers.compareWithSelected",
  2318. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare",
  2319. "group": "7_gitlens@1"
  2320. },
  2321. {
  2322. "command": "gitlens.explorers.selectForCompare",
  2323. "when": "viewItem == gitlens:current-branch",
  2324. "group": "7_gitlens@2"
  2325. },
  2326. {
  2327. "command": "gitlens.explorers.terminalCreateBranch",
  2328. "when": "viewItem == gitlens:current-branch",
  2329. "group": "8_gitlens@1"
  2330. },
  2331. {
  2332. "command": "gitlens.openBranchInRemote",
  2333. "when": "viewItem == gitlens:current-branch:tracking",
  2334. "group": "1_gitlens@1"
  2335. },
  2336. {
  2337. "command": "gitlens.explorers.compareWithSelected",
  2338. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare",
  2339. "group": "7_gitlens@1"
  2340. },
  2341. {
  2342. "command": "gitlens.explorers.selectForCompare",
  2343. "when": "viewItem == gitlens:current-branch:tracking",
  2344. "group": "7_gitlens@2"
  2345. },
  2346. {
  2347. "command": "gitlens.explorers.terminalCreateBranch",
  2348. "when": "viewItem == gitlens:current-branch:tracking",
  2349. "group": "8_gitlens@1"
  2350. },
  2351. {
  2352. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2353. "when": "viewItem == gitlens:current-branch:tracking",
  2354. "group": "8_gitlens@2"
  2355. },
  2356. {
  2357. "command": "gitlens.openBranchInRemote",
  2358. "when": "viewItem == gitlens:remote-branch",
  2359. "group": "1_gitlens@1"
  2360. },
  2361. {
  2362. "command": "gitlens.explorers.compareWithSelected",
  2363. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare",
  2364. "group": "7_gitlens@1"
  2365. },
  2366. {
  2367. "command": "gitlens.explorers.selectForCompare",
  2368. "when": "viewItem == gitlens:remote-branch",
  2369. "group": "7_gitlens@2"
  2370. },
  2371. {
  2372. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2373. "when": "viewItem == gitlens:remote-branch",
  2374. "group": "7_gitlens_diff@1"
  2375. },
  2376. {
  2377. "command": "gitlens.explorers.terminalCheckoutBranch",
  2378. "when": "viewItem == gitlens:remote-branch",
  2379. "group": "8_gitlens@1"
  2380. },
  2381. {
  2382. "command": "gitlens.explorers.terminalCreateBranch",
  2383. "when": "viewItem == gitlens:remote-branch",
  2384. "group": "8_gitlens@2"
  2385. },
  2386. {
  2387. "command": "gitlens.explorers.terminalDeleteBranch",
  2388. "when": "viewItem == gitlens:remote-branch",
  2389. "group": "8_gitlens@3"
  2390. },
  2391. {
  2392. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2393. "when": "viewItem == gitlens:remote-branch",
  2394. "group": "8_gitlens@4"
  2395. },
  2396. {
  2397. "command": "gitlens.openCommitInRemote",
  2398. "when": "viewItem == gitlens:commit && gitlens:hasRemotes",
  2399. "group": "1_gitlens@1"
  2400. },
  2401. {
  2402. "command": "gitlens.explorers.openChangedFileChanges",
  2403. "when": "viewItem == gitlens:commit",
  2404. "group": "2_gitlens@1"
  2405. },
  2406. {
  2407. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2408. "when": "viewItem == gitlens:commit",
  2409. "group": "2_gitlens@1"
  2410. },
  2411. {
  2412. "command": "gitlens.explorers.openChangedFiles",
  2413. "when": "viewItem == gitlens:commit",
  2414. "group": "3_gitlens@1"
  2415. },
  2416. {
  2417. "command": "gitlens.explorers.openChangedFileRevisions",
  2418. "when": "viewItem == gitlens:commit",
  2419. "group": "3_gitlens@2"
  2420. },
  2421. {
  2422. "command": "gitlens.copyShaToClipboard",
  2423. "when": "viewItem == gitlens:commit",
  2424. "group": "4_gitlens@1"
  2425. },
  2426. {
  2427. "command": "gitlens.copyMessageToClipboard",
  2428. "when": "viewItem == gitlens:commit",
  2429. "group": "4_gitlens@2"
  2430. },
  2431. {
  2432. "command": "gitlens.showQuickCommitDetails",
  2433. "when": "viewItem == gitlens:commit",
  2434. "group": "5_gitlens@1"
  2435. },
  2436. {
  2437. "command": "gitlens.explorers.compareWithSelected",
  2438. "when": "viewItem == gitlens:commit && gitlens:explorers:canCompare",
  2439. "group": "7_gitlens@1"
  2440. },
  2441. {
  2442. "command": "gitlens.explorers.selectForCompare",
  2443. "when": "viewItem == gitlens:commit",
  2444. "group": "7_gitlens@2"
  2445. },
  2446. {
  2447. "command": "gitlens.openCommitInRemote",
  2448. "when": "viewItem == gitlens:commit:current && gitlens:hasRemotes",
  2449. "group": "1_gitlens@1"
  2450. },
  2451. {
  2452. "command": "gitlens.explorers.openChangedFileChanges",
  2453. "when": "viewItem == gitlens:commit:current",
  2454. "group": "2_gitlens@1"
  2455. },
  2456. {
  2457. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2458. "when": "viewItem == gitlens:commit:current",
  2459. "group": "2_gitlens@1"
  2460. },
  2461. {
  2462. "command": "gitlens.explorers.openChangedFiles",
  2463. "when": "viewItem == gitlens:commit:current",
  2464. "group": "3_gitlens@1"
  2465. },
  2466. {
  2467. "command": "gitlens.explorers.openChangedFileRevisions",
  2468. "when": "viewItem == gitlens:commit:current",
  2469. "group": "3_gitlens@2"
  2470. },
  2471. {
  2472. "command": "gitlens.copyShaToClipboard",
  2473. "when": "viewItem == gitlens:commit:current",
  2474. "group": "4_gitlens@1"
  2475. },
  2476. {
  2477. "command": "gitlens.copyMessageToClipboard",
  2478. "when": "viewItem == gitlens:commit:current",
  2479. "group": "4_gitlens@2"
  2480. },
  2481. {
  2482. "command": "gitlens.showQuickCommitDetails",
  2483. "when": "viewItem == gitlens:commit:current",
  2484. "group": "5_gitlens@1"
  2485. },
  2486. {
  2487. "command": "gitlens.explorers.compareWithSelected",
  2488. "when": "viewItem == gitlens:commit:current && gitlens:explorers:canCompare",
  2489. "group": "7_gitlens@1"
  2490. },
  2491. {
  2492. "command": "gitlens.explorers.selectForCompare",
  2493. "when": "viewItem == gitlens:commit:current",
  2494. "group": "7_gitlens@2"
  2495. },
  2496. {
  2497. "command": "gitlens.explorers.terminalRebaseCommit",
  2498. "when": "viewItem == gitlens:commit:current",
  2499. "group": "8_gitlens@1"
  2500. },
  2501. {
  2502. "command": "gitlens.explorers.terminalResetCommit",
  2503. "when": "viewItem == gitlens:commit:current",
  2504. "group": "8_gitlens@2"
  2505. },
  2506. {
  2507. "command": "gitlens.explorers.openChanges",
  2508. "when": "viewItem == gitlens:commit-file",
  2509. "group": "1_gitlens@1"
  2510. },
  2511. {
  2512. "command": "gitlens.explorers.openChangesWithWorking",
  2513. "when": "viewItem == gitlens:commit-file",
  2514. "group": "1_gitlens@2"
  2515. },
  2516. {
  2517. "command": "gitlens.explorers.openFile",
  2518. "when": "viewItem == gitlens:commit-file",
  2519. "group": "2_gitlens@1"
  2520. },
  2521. {
  2522. "command": "gitlens.explorers.openFileRevision",
  2523. "when": "viewItem == gitlens:commit-file",
  2524. "group": "2_gitlens@2"
  2525. },
  2526. {
  2527. "command": "gitlens.openFileInRemote",
  2528. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2529. "group": "3_gitlens@1"
  2530. },
  2531. {
  2532. "command": "gitlens.explorers.openFileRevisionInRemote",
  2533. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2534. "group": "3_gitlens@2"
  2535. },
  2536. {
  2537. "command": "gitlens.explorers.applyChanges",
  2538. "when": "viewItem == gitlens:commit-file",
  2539. "group": "4_gitlens@1"
  2540. },
  2541. {
  2542. "command": "gitlens.showQuickFileHistory",
  2543. "when": "viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  2544. "group": "5_gitlens@1"
  2545. },
  2546. {
  2547. "command": "gitlens.showQuickCommitFileDetails",
  2548. "when": "viewItem == gitlens:commit-file",
  2549. "group": "5_gitlens@2"
  2550. },
  2551. {
  2552. "command": "gitlens.explorers.openFile",
  2553. "when": "viewItem == gitlens:file-history",
  2554. "group": "1_gitlens@1"
  2555. },
  2556. {
  2557. "command": "gitlens.openFileInRemote",
  2558. "when": "viewItem == gitlens:file-history && gitlens:hasRemotes",
  2559. "group": "1_gitlens@2"
  2560. },
  2561. {
  2562. "command": "gitlens.openBranchesInRemote",
  2563. "when": "viewItem == gitlens:remote",
  2564. "group": "1_gitlens@1"
  2565. },
  2566. {
  2567. "command": "gitlens.openRepoInRemote",
  2568. "when": "viewItem == gitlens:remote",
  2569. "group": "1_gitlens@2"
  2570. },
  2571. {
  2572. "command": "gitlens.explorers.terminalRemoveRemote",
  2573. "when": "viewItem == gitlens:remote",
  2574. "group": "8_gitlens@1"
  2575. },
  2576. {
  2577. "command": "gitlens.openRepoInRemote",
  2578. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2579. "group": "1_gitlens@1"
  2580. },
  2581. {
  2582. "command": "gitlens.resultsExplorer.clearResultsNode",
  2583. "when": "viewItem == gitlens:comparison-results",
  2584. "group": "1_gitlens@1"
  2585. },
  2586. {
  2587. "command": "gitlens.explorers.openDirectoryDiff",
  2588. "when": "viewItem == gitlens:comparison-results",
  2589. "group": "7_gitlens@1"
  2590. },
  2591. {
  2592. "command": "gitlens.resultsExplorer.clearResultsNode",
  2593. "when": "viewItem == gitlens:search-results",
  2594. "group": "1_gitlens@1"
  2595. },
  2596. {
  2597. "command": "gitlens.stashSave",
  2598. "when": "viewItem == gitlens:stashes",
  2599. "group": "1_gitlens@1"
  2600. },
  2601. {
  2602. "command": "gitlens.stashApply",
  2603. "when": "viewItem == gitlens:stash",
  2604. "group": "1_gitlens@1"
  2605. },
  2606. {
  2607. "command": "gitlens.stashDelete",
  2608. "when": "viewItem == gitlens:stash",
  2609. "group": "1_gitlens@2"
  2610. },
  2611. {
  2612. "command": "gitlens.explorers.openChangedFileChanges",
  2613. "when": "viewItem == gitlens:stash",
  2614. "group": "2_gitlens@1"
  2615. },
  2616. {
  2617. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2618. "when": "viewItem == gitlens:stash",
  2619. "group": "2_gitlens@1"
  2620. },
  2621. {
  2622. "command": "gitlens.explorers.openChangedFiles",
  2623. "when": "viewItem == gitlens:stash",
  2624. "group": "3_gitlens@1"
  2625. },
  2626. {
  2627. "command": "gitlens.explorers.openChangedFileRevisions",
  2628. "when": "viewItem == gitlens:stash",
  2629. "group": "3_gitlens@2"
  2630. },
  2631. {
  2632. "command": "gitlens.copyMessageToClipboard",
  2633. "when": "viewItem == gitlens:stash",
  2634. "group": "4_gitlens@1"
  2635. },
  2636. {
  2637. "command": "gitlens.explorers.compareWithSelected",
  2638. "when": "viewItem == gitlens:stash && gitlens:explorers:canCompare",
  2639. "group": "7_gitlens@1"
  2640. },
  2641. {
  2642. "command": "gitlens.explorers.selectForCompare",
  2643. "when": "viewItem == gitlens:stash",
  2644. "group": "7_gitlens@2"
  2645. },
  2646. {
  2647. "command": "gitlens.explorers.applyChanges",
  2648. "when": "viewItem == gitlens:stash-file",
  2649. "group": "1_gitlens@1"
  2650. },
  2651. {
  2652. "command": "gitlens.explorers.openChanges",
  2653. "when": "viewItem == gitlens:stash-file",
  2654. "group": "2_gitlens@1"
  2655. },
  2656. {
  2657. "command": "gitlens.explorers.openChangesWithWorking",
  2658. "when": "viewItem == gitlens:stash-file",
  2659. "group": "2_gitlens@2"
  2660. },
  2661. {
  2662. "command": "gitlens.explorers.openFile",
  2663. "when": "viewItem == gitlens:stash-file",
  2664. "group": "3_gitlens@1"
  2665. },
  2666. {
  2667. "command": "gitlens.explorers.openFileRevision",
  2668. "when": "viewItem == gitlens:stash-file",
  2669. "group": "3_gitlens@2"
  2670. },
  2671. {
  2672. "command": "gitlens.openFileInRemote",
  2673. "when": "viewItem == gitlens:stash-file && gitlens:hasRemotes",
  2674. "group": "4_gitlens@1"
  2675. },
  2676. {
  2677. "command": "gitlens.showQuickFileHistory",
  2678. "when": "viewItem == gitlens:stash-file",
  2679. "group": "5_gitlens@1"
  2680. },
  2681. {
  2682. "command": "gitlens.openRepoInRemote",
  2683. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2684. "group": "1_gitlens@1"
  2685. },
  2686. {
  2687. "command": "gitlens.explorers.openChanges",
  2688. "when": "viewItem == gitlens:status-file",
  2689. "group": "1_gitlens@1"
  2690. },
  2691. {
  2692. "command": "gitlens.explorers.openChangesWithWorking",
  2693. "when": "viewItem == gitlens:status-file",
  2694. "group": "1_gitlens@2"
  2695. },
  2696. {
  2697. "command": "gitlens.explorers.openFile",
  2698. "when": "viewItem == gitlens:status-file",
  2699. "group": "2_gitlens@1"
  2700. },
  2701. {
  2702. "command": "gitlens.explorers.openFileRevision",
  2703. "when": "viewItem == gitlens:status-file",
  2704. "group": "2_gitlens@2"
  2705. },
  2706. {
  2707. "command": "gitlens.openFileInRemote",
  2708. "when": "viewItem == gitlens:status-file && gitlens:hasRemotes",
  2709. "group": "3_gitlens@1"
  2710. },
  2711. {
  2712. "command": "gitlens.showQuickFileHistory",
  2713. "when": "viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  2714. "group": "5_gitlens@1"
  2715. },
  2716. {
  2717. "command": "gitlens.showQuickCommitFileDetails",
  2718. "when": "viewItem == gitlens:status-file",
  2719. "group": "5_gitlens@2"
  2720. },
  2721. {
  2722. "command": "gitlens.explorers.openFile",
  2723. "when": "viewItem == gitlens:status-file-commits",
  2724. "group": "1_gitlens@1"
  2725. },
  2726. {
  2727. "command": "gitlens.openFileInRemote",
  2728. "when": "viewItem == gitlens:status-file-commits && gitlens:hasRemotes",
  2729. "group": "1_gitlens@2"
  2730. },
  2731. {
  2732. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2733. "when": "viewItem == gitlens:status-upstream",
  2734. "group": "8_gitlens@1"
  2735. },
  2736. {
  2737. "command": "gitlens.explorers.compareWithSelected",
  2738. "when": "viewItem == gitlens:tag && gitlens:explorers:canCompare",
  2739. "group": "7_gitlens@1"
  2740. },
  2741. {
  2742. "command": "gitlens.explorers.selectForCompare",
  2743. "when": "viewItem == gitlens:tag",
  2744. "group": "7_gitlens@2"
  2745. },
  2746. {
  2747. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2748. "when": "viewItem == gitlens:tag",
  2749. "group": "7_gitlens_diff@1"
  2750. },
  2751. {
  2752. "command": "gitlens.gitExplorer.refreshNode",
  2753. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  2754. "group": "9_gitlens@1"
  2755. },
  2756. {
  2757. "command": "gitlens.resultsExplorer.refreshNode",
  2758. "when": "view == gitlens.resultsExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  2759. "group": "9_gitlens@1"
  2760. }
  2761. ]
  2762. },
  2763. "keybindings": [
  2764. {
  2765. "command": "gitlens.key.left",
  2766. "key": "alt+left",
  2767. "when": "gitlens:key:left"
  2768. },
  2769. {
  2770. "command": "gitlens.key.right",
  2771. "key": "alt+right",
  2772. "when": "gitlens:key:right"
  2773. },
  2774. {
  2775. "command": "gitlens.key.,",
  2776. "key": "alt+,",
  2777. "when": "gitlens:key:,"
  2778. },
  2779. {
  2780. "command": "gitlens.key..",
  2781. "key": "alt+.",
  2782. "when": "gitlens:key:."
  2783. },
  2784. {
  2785. "command": "gitlens.key.escape",
  2786. "key": "escape",
  2787. "when": "gitlens:key:escape"
  2788. },
  2789. {
  2790. "command": "gitlens.toggleFileBlame",
  2791. "key": "ctrl+alt+g b",
  2792. "mac": "cmd+alt+g b",
  2793. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  2794. },
  2795. {
  2796. "command": "gitlens.toggleCodeLens",
  2797. "key": "ctrl+alt+g shift+b",
  2798. "mac": "cmd+alt+g shift+b",
  2799. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  2800. },
  2801. {
  2802. "command": "gitlens.showLastQuickPick",
  2803. "key": "ctrl+alt+g -",
  2804. "mac": "cmd+alt+g -",
  2805. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2806. },
  2807. {
  2808. "command": "gitlens.showCommitSearch",
  2809. "key": "ctrl+alt+g /",
  2810. "mac": "cmd+alt+g /",
  2811. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2812. },
  2813. {
  2814. "command": "gitlens.showQuickFileHistory",
  2815. "key": "ctrl+alt+g h",
  2816. "mac": "cmd+alt+g h",
  2817. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2818. },
  2819. {
  2820. "command": "gitlens.showQuickRepoHistory",
  2821. "key": "ctrl+alt+g shift+h",
  2822. "mac": "cmd+alt+g shift+h",
  2823. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2824. },
  2825. {
  2826. "command": "gitlens.showQuickRepoStatus",
  2827. "key": "ctrl+alt+g s",
  2828. "mac": "cmd+alt+g s",
  2829. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2830. },
  2831. {
  2832. "command": "gitlens.showQuickCommitFileDetails",
  2833. "key": "ctrl+alt+g c",
  2834. "mac": "cmd+alt+g c",
  2835. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  2836. },
  2837. {
  2838. "command": "gitlens.diffWithNext",
  2839. "key": "ctrl+alt+g .",
  2840. "mac": "cmd+alt+g .",
  2841. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2842. },
  2843. {
  2844. "command": "gitlens.diffLineWithPrevious",
  2845. "key": "ctrl+alt+g shift+,",
  2846. "mac": "cmd+alt+g shift+,",
  2847. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2848. },
  2849. {
  2850. "command": "gitlens.diffWithPrevious",
  2851. "key": "ctrl+alt+g ,",
  2852. "mac": "cmd+alt+g ,",
  2853. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2854. },
  2855. {
  2856. "command": "gitlens.diffLineWithWorking",
  2857. "key": "ctrl+alt+g w",
  2858. "mac": "cmd+alt+g w",
  2859. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2860. },
  2861. {
  2862. "command": "gitlens.diffWithWorking",
  2863. "key": "ctrl+alt+g shift+w",
  2864. "mac": "cmd+alt+g shift+w",
  2865. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2866. },
  2867. {
  2868. "command": "gitlens.toggleFileBlame",
  2869. "key": "alt+b",
  2870. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  2871. },
  2872. {
  2873. "command": "gitlens.toggleCodeLens",
  2874. "key": "shift+alt+b",
  2875. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  2876. },
  2877. {
  2878. "command": "gitlens.showLastQuickPick",
  2879. "key": "alt+-",
  2880. "when": "gitlens:keymap == standard && gitlens:enabled"
  2881. },
  2882. {
  2883. "command": "gitlens.showCommitSearch",
  2884. "key": "alt+/",
  2885. "when": "gitlens:keymap == standard && gitlens:enabled"
  2886. },
  2887. {
  2888. "command": "gitlens.showQuickFileHistory",
  2889. "key": "alt+h",
  2890. "when": "gitlens:keymap == standard && gitlens:enabled"
  2891. },
  2892. {
  2893. "command": "gitlens.showQuickRepoHistory",
  2894. "key": "shift+alt+h",
  2895. "when": "gitlens:keymap == standard && gitlens:enabled"
  2896. },
  2897. {
  2898. "command": "gitlens.showQuickRepoStatus",
  2899. "key": "alt+s",
  2900. "when": "gitlens:keymap == standard && gitlens:enabled"
  2901. },
  2902. {
  2903. "command": "gitlens.showQuickCommitFileDetails",
  2904. "key": "alt+c",
  2905. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  2906. },
  2907. {
  2908. "command": "gitlens.diffWithNext",
  2909. "key": "alt+.",
  2910. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2911. },
  2912. {
  2913. "command": "gitlens.diffLineWithPrevious",
  2914. "key": "shift+alt+,",
  2915. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2916. },
  2917. {
  2918. "command": "gitlens.diffWithPrevious",
  2919. "key": "alt+,",
  2920. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2921. },
  2922. {
  2923. "command": "gitlens.diffLineWithWorking",
  2924. "key": "alt+w",
  2925. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2926. },
  2927. {
  2928. "command": "gitlens.diffWithWorking",
  2929. "key": "shift+alt+w",
  2930. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2931. }
  2932. ],
  2933. "views": {
  2934. "explorer": [
  2935. {
  2936. "id": "gitlens.gitExplorer",
  2937. "name": "GitLens",
  2938. "when": "gitlens:enabled && gitlens:gitExplorer && gitlens:hasRepository && config.gitlens.gitExplorer.enabled"
  2939. },
  2940. {
  2941. "id": "gitlens.resultsExplorer",
  2942. "name": "GitLens Results",
  2943. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2944. }
  2945. ]
  2946. }
  2947. },
  2948. "activationEvents": [
  2949. "*"
  2950. ],
  2951. "scripts": {
  2952. "bundle": "npm run lint && webpack --env.production",
  2953. "bundle-rollup": "npm run lint && rollup -c",
  2954. "clean": "git clean -xdf",
  2955. "compile": "npm run lint && tsc -p ./",
  2956. "watch": "tsc -watch -p ./",
  2957. "lint": "tslint --project tslint.json",
  2958. "pack": "npm run clean && vsce package",
  2959. "postinstall": "node ./node_modules/vscode/bin/install",
  2960. "pub": "npm run clean && vsce publish",
  2961. "reset": "npm run clean && npm install",
  2962. "vscode:prepublish": "npm install --no-save && npm run bundle",
  2963. "prepush": "npm run compile"
  2964. },
  2965. "dependencies": {
  2966. "copy-paste": "1.3.0",
  2967. "date-fns": "1.29.0",
  2968. "iconv-lite": "0.4.19",
  2969. "lodash.debounce": "4.0.8",
  2970. "lodash.once": "4.1.1",
  2971. "tmp": "0.0.33",
  2972. "tslib": "^1.8.1"
  2973. },
  2974. "devDependencies": {
  2975. "@types/copy-paste": "1.1.30",
  2976. "@types/iconv-lite": "0.0.1",
  2977. "@types/node": "8.5.2",
  2978. "@types/tmp": "0.0.33",
  2979. "husky": "^0.14.3",
  2980. "rollup": "^0.52.3",
  2981. "rollup-plugin-typescript2": "^0.9.0",
  2982. "rollup-plugin-uglify": "^2.0.1",
  2983. "ts-loader": "^3.2.0",
  2984. "tslint": "5.8.0",
  2985. "typescript": "2.6.2",
  2986. "uglify-es": "3.2.2",
  2987. "uglifyjs-webpack-plugin": "^1.1.4",
  2988. "vscode": "1.1.10",
  2989. "webpack": "^3.10.0",
  2990. "webpack-node-externals": "^1.6.0"
  2991. }
  2992. }