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.

2467 lines
113 KiB

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