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.

2909 lines
133 KiB

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