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.

2881 lines
131 KiB

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