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.

1821 lines
85 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "5.0.0-alpha.2",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.16.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/chat-on%20slack-brightgreen.svg",
  18. "href": "https://join.slack.com/t/vscode-gitlens/shared_invite/MjIxOTgxNDE3NzM0LTE1MDE2Nzk1MTgtMjkwMmZjMzcxNQ",
  19. "description": "Chat at https://vscode-gitlens.slack.com/"
  20. }
  21. ],
  22. "categories": [
  23. "Other"
  24. ],
  25. "keywords": [
  26. "git",
  27. "code lens",
  28. "blame",
  29. "history",
  30. "annotation",
  31. "log",
  32. "inline blame",
  33. "compare",
  34. "diff"
  35. ],
  36. "galleryBanner": {
  37. "color": "#56098c",
  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. },
  61. "gitlens.insiders": {
  62. "type": "boolean",
  63. "default": false,
  64. "description": "Specifies whether or not to enable new experimental features (expect there to be issues)"
  65. },
  66. "gitlens.outputLevel": {
  67. "type": "string",
  68. "default": "silent",
  69. "enum": [
  70. "silent",
  71. "errors",
  72. "verbose"
  73. ],
  74. "description": "Specifies how much (if any) output will be sent to the GitLens output channel"
  75. },
  76. "gitlens.annotations.file.gutter.format": {
  77. "type": "string",
  78. "default": "${message|40?} ${ago|14-}",
  79. "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"
  80. },
  81. "gitlens.annotations.file.gutter.dateFormat": {
  82. "type": "string",
  83. "default": null,
  84. "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"
  85. },
  86. "gitlens.annotations.file.gutter.compact": {
  87. "type": "boolean",
  88. "default": true,
  89. "description": "Specifies whether or not to compact (deduplicate) matching adjacent gutter blame annotations"
  90. },
  91. "gitlens.annotations.file.gutter.heatmap.enabled": {
  92. "type": "boolean",
  93. "default": true,
  94. "description": "Specifies whether or not to provide a heatmap indicator in the gutter blame annotations"
  95. },
  96. "gitlens.annotations.file.gutter.heatmap.location": {
  97. "type": "string",
  98. "default": "right",
  99. "enum": [
  100. "left",
  101. "right"
  102. ],
  103. "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"
  104. },
  105. "gitlens.annotations.file.gutter.hover.details": {
  106. "type": "boolean",
  107. "default": true,
  108. "description": "Specifies whether or not to provide a commit details hover annotation over the gutter blame annotations"
  109. },
  110. "gitlens.annotations.file.gutter.hover.wholeLine": {
  111. "type": "boolean",
  112. "default": false,
  113. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  114. },
  115. "gitlens.annotations.file.hover.heatmap.enabled": {
  116. "type": "boolean",
  117. "default": true,
  118. "description": "Specifies whether or not to provide heatmap indicators on the left edge of each line"
  119. },
  120. "gitlens.annotations.file.hover.wholeLine": {
  121. "type": "boolean",
  122. "default": true,
  123. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  124. },
  125. "gitlens.annotations.file.recentChanges.hover.details": {
  126. "type": "boolean",
  127. "default": true,
  128. "description": "Specifies whether or not to provide a commit details hover annotation"
  129. },
  130. "gitlens.annotations.file.recentChanges.hover.changes": {
  131. "type": "boolean",
  132. "default": true,
  133. "description": "Specifies whether or not to provide a changes (diff) hover annotation"
  134. },
  135. "gitlens.annotations.file.recentChanges.hover.wholeLine": {
  136. "type": "boolean",
  137. "default": true,
  138. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  139. },
  140. "gitlens.annotations.line.hover.details": {
  141. "type": "boolean",
  142. "default": true,
  143. "description": "Specifies whether or not to provide a commit details hover annotation for the current line"
  144. },
  145. "gitlens.annotations.line.hover.changes": {
  146. "type": "boolean",
  147. "default": true,
  148. "description": "Specifies whether or not to provide a changes (diff) hover annotation for the current line"
  149. },
  150. "gitlens.annotations.line.trailing.format": {
  151. "type": "string",
  152. "default": "${authorAgo} \u2022 ${message}",
  153. "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"
  154. },
  155. "gitlens.annotations.line.trailing.dateFormat": {
  156. "type": "string",
  157. "default": null,
  158. "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"
  159. },
  160. "gitlens.annotations.line.trailing.hover.details": {
  161. "type": "boolean",
  162. "default": true,
  163. "description": "Specifies whether or not to provide a commit details hover annotation over the trailing blame annotations"
  164. },
  165. "gitlens.annotations.line.trailing.hover.changes": {
  166. "type": "boolean",
  167. "default": true,
  168. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the trailing blame annotations"
  169. },
  170. "gitlens.annotations.line.trailing.hover.wholeLine": {
  171. "type": "boolean",
  172. "default": false,
  173. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  174. },
  175. "gitlens.blame.file.annotationType": {
  176. "type": "string",
  177. "default": "gutter",
  178. "enum": [
  179. "gutter",
  180. "hover"
  181. ],
  182. "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"
  183. },
  184. "gitlens.blame.file.lineHighlight.enabled": {
  185. "type": "boolean",
  186. "default": true,
  187. "description": "Specifies whether or not to highlight lines associated with the current line"
  188. },
  189. "gitlens.blame.file.lineHighlight.locations": {
  190. "type": "array",
  191. "default": [
  192. "gutter",
  193. "line",
  194. "overviewRuler"
  195. ],
  196. "items": {
  197. "type": "string",
  198. "enum": [
  199. "gutter",
  200. "line",
  201. "overviewRuler"
  202. ]
  203. },
  204. "minItems": 1,
  205. "maxItems": 3,
  206. "uniqueItems": true,
  207. "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)"
  208. },
  209. "gitlens.blame.line.enabled": {
  210. "type": "boolean",
  211. "default": true,
  212. "description": "Specifies whether or not to provide a blame annotation for the current line, by default\nUse the `gitlens.toggleLineBlame` command to toggle the annotations on and off for the current session"
  213. },
  214. "gitlens.blame.line.annotationType": {
  215. "type": "string",
  216. "default": "trailing",
  217. "enum": [
  218. "trailing",
  219. "hover"
  220. ],
  221. "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"
  222. },
  223. "gitlens.recentChanges.file.lineHighlight.locations": {
  224. "type": "array",
  225. "default": [
  226. "gutter",
  227. "line",
  228. "overviewRuler"
  229. ],
  230. "items": {
  231. "type": "string",
  232. "enum": [
  233. "gutter",
  234. "line",
  235. "overviewRuler"
  236. ]
  237. },
  238. "minItems": 1,
  239. "maxItems": 3,
  240. "uniqueItems": true,
  241. "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)"
  242. },
  243. "gitlens.codeLens.enabled": {
  244. "type": "boolean",
  245. "default": true,
  246. "description": "Specifies whether or not to provide any Git code lens, by default\nUse the `gitlens.toggleCodeLens` command to toggle the Git code lens on and off for the current session"
  247. },
  248. "gitlens.codeLens.recentChange.enabled": {
  249. "type": "boolean",
  250. "default": true,
  251. "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"
  252. },
  253. "gitlens.codeLens.recentChange.command": {
  254. "type": "string",
  255. "default": "gitlens.showQuickCommitFileDetails",
  256. "enum": [
  257. "gitlens.toggleFileBlame",
  258. "gitlens.showBlameHistory",
  259. "gitlens.showFileHistory",
  260. "gitlens.diffWithPrevious",
  261. "gitlens.showQuickCommitDetails",
  262. "gitlens.showQuickCommitFileDetails",
  263. "gitlens.showQuickFileHistory",
  264. "gitlens.showQuickRepoHistory"
  265. ],
  266. "description": "Specifies the command to be executed when the `recent change` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.showBlameHistory` - opens the blame history explorer\n `gitlens.showFileHistory` - opens the file history explorer\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"
  267. },
  268. "gitlens.codeLens.authors.enabled": {
  269. "type": "boolean",
  270. "default": true,
  271. "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)"
  272. },
  273. "gitlens.codeLens.authors.command": {
  274. "type": "string",
  275. "default": "gitlens.toggleFileBlame",
  276. "enum": [
  277. "gitlens.toggleFileBlame",
  278. "gitlens.showBlameHistory",
  279. "gitlens.showFileHistory",
  280. "gitlens.diffWithPrevious",
  281. "gitlens.showQuickCommitDetails",
  282. "gitlens.showQuickCommitFileDetails",
  283. "gitlens.showQuickFileHistory",
  284. "gitlens.showQuickRepoHistory"
  285. ],
  286. "description": "Specifies the command to be executed when the `authors` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.showBlameHistory` - opens the blame history explorer\n `gitlens.showFileHistory` - opens the file history explorer\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"
  287. },
  288. "gitlens.codeLens.locations": {
  289. "type": "array",
  290. "default": [
  291. "document",
  292. "containers"
  293. ],
  294. "items": {
  295. "type": "string",
  296. "enum": [
  297. "document",
  298. "containers",
  299. "blocks",
  300. "custom"
  301. ]
  302. },
  303. "minItems": 1,
  304. "maxItems": 4,
  305. "uniqueItems": true,
  306. "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, properties, etc) lines\n `custom` - adds code lens at the start of symbols contained in `gitlens.codeLens.locationCustomSymbols`"
  307. },
  308. "gitlens.codeLens.customLocationSymbols": {
  309. "type": "array",
  310. "items": {
  311. "type": "string"
  312. },
  313. "uniqueItems": true,
  314. "description": "Specifies the set of document symbols where Git code lens will be shown in the document\nMust be a member of `SymbolKind`"
  315. },
  316. "gitlens.codeLens.perLanguageLocations": {
  317. "type": "array",
  318. "default": [
  319. {
  320. "language": "css",
  321. "locations": [
  322. "document"
  323. ]
  324. },
  325. {
  326. "language": "html",
  327. "locations": [
  328. "document"
  329. ]
  330. },
  331. {
  332. "language": "json",
  333. "locations": [
  334. "document"
  335. ]
  336. },
  337. {
  338. "language": "less",
  339. "locations": [
  340. "document"
  341. ]
  342. },
  343. {
  344. "language": "scss",
  345. "locations": [
  346. "document"
  347. ]
  348. },
  349. {
  350. "language": "vue",
  351. "locations": [
  352. "document"
  353. ]
  354. },
  355. {
  356. "language": "stylus",
  357. "locations": [
  358. "document"
  359. ]
  360. }
  361. ],
  362. "items": {
  363. "type": "object",
  364. "required": [
  365. "language",
  366. "locations"
  367. ],
  368. "properties": {
  369. "language": {
  370. "type": "string",
  371. "description": "Specifies the language to which this code lens override applies"
  372. },
  373. "locations": {
  374. "type": "array",
  375. "default": [
  376. "document",
  377. "containers"
  378. ],
  379. "items": {
  380. "type": "string",
  381. "enum": [
  382. "document",
  383. "containers",
  384. "blocks",
  385. "custom"
  386. ]
  387. },
  388. "minItems": 1,
  389. "maxItems": 4,
  390. "uniqueItems": true,
  391. "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`"
  392. },
  393. "customSymbols": {
  394. "type": "array",
  395. "items": {
  396. "type": "string"
  397. },
  398. "uniqueItems": true,
  399. "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`"
  400. }
  401. }
  402. },
  403. "uniqueItems": true,
  404. "description": "Specifies where Git code lens will be shown in the document for the specified languages"
  405. },
  406. "gitlens.codeLens.debug": {
  407. "type": "boolean",
  408. "default": false,
  409. "description": "Specifies whether or not to show debug information in code lens"
  410. },
  411. "gitlens.defaultDateFormat": {
  412. "type": "string",
  413. "default": null,
  414. "description": "Specifies how all absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  415. },
  416. "gitlens.gitExplorer.commitFormat": {
  417. "type": "string",
  418. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0\u2022\u00a0 ${id}",
  419. "description": "Specifies the format of committed changes in the `GitLens` custom 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"
  420. },
  421. "gitlens.gitExplorer.commitFileFormat": {
  422. "type": "string",
  423. "default": "${filePath}",
  424. "description": "Specifies the format of a committed file in the `GitLens` custom view\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
  425. },
  426. "gitlens.gitExplorer.showTrackingBranch": {
  427. "type": "boolean",
  428. "default": true,
  429. "description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` custom view"
  430. },
  431. "gitlens.gitExplorer.stashFormat": {
  432. "type": "string",
  433. "default": "${message}",
  434. "description": "Specifies the format of stashed changes in the `GitLens` custom 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"
  435. },
  436. "gitlens.gitExplorer.stashFileFormat": {
  437. "type": "string",
  438. "default": "${filePath}",
  439. "description": "Specifies the format of a stashed file in the `GitLens` custom view\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
  440. },
  441. "gitlens.gitExplorer.view": {
  442. "type": "string",
  443. "default": "repository",
  444. "enum": [
  445. "history",
  446. "repository"
  447. ],
  448. "description": "Specifies the starting view (mode) of the `GitLens` custom view\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer"
  449. },
  450. "gitlens.statusBar.enabled": {
  451. "type": "boolean",
  452. "default": true,
  453. "description": "Specifies whether or not to provide blame information on the status bar"
  454. },
  455. "gitlens.statusBar.alignment": {
  456. "type": "string",
  457. "default": "right",
  458. "enum": [
  459. "left",
  460. "right"
  461. ],
  462. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  463. },
  464. "gitlens.statusBar.command": {
  465. "type": "string",
  466. "default": "gitlens.showQuickCommitDetails",
  467. "enum": [
  468. "gitlens.toggleFileBlame",
  469. "gitlens.showBlameHistory",
  470. "gitlens.showFileHistory",
  471. "gitlens.diffWithPrevious",
  472. "gitlens.diffWithWorking",
  473. "gitlens.toggleCodeLens",
  474. "gitlens.showQuickCommitDetails",
  475. "gitlens.showQuickCommitFileDetails",
  476. "gitlens.showQuickFileHistory",
  477. "gitlens.showQuickRepoHistory"
  478. ],
  479. "description": "Specifies the command to be executed when the blame status bar item is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.showBlameHistory` - opens the blame history explorer\n `gitlens.showFileHistory` - opens the file history explorer\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"
  480. },
  481. "gitlens.statusBar.format": {
  482. "type": "string",
  483. "default": "${authorAgo}",
  484. "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"
  485. },
  486. "gitlens.statusBar.dateFormat": {
  487. "type": "string",
  488. "default": null,
  489. "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"
  490. },
  491. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  492. "type": "string",
  493. "default": "Cannot determine recent change or authors (unsaved changes)",
  494. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes"
  495. },
  496. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  497. "type": "string",
  498. "default": "Cannot determine recent change (unsaved changes)",
  499. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes"
  500. },
  501. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  502. "type": "string",
  503. "default": "Cannot determine authors (unsaved changes)",
  504. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes"
  505. },
  506. "gitlens.theme.annotations.file.gutter.separateLines": {
  507. "type": "boolean",
  508. "default": true,
  509. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  510. },
  511. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  512. "type": "string",
  513. "default": "rgba(255, 255, 255, 0.075)",
  514. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  515. },
  516. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  517. "type": "string",
  518. "default": "rgba(0, 0, 0, 0.05)",
  519. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  520. },
  521. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  522. "type": "string",
  523. "default": "rgb(190, 190, 190)",
  524. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  525. },
  526. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  527. "type": "string",
  528. "default": "rgb(116, 116, 116)",
  529. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  530. },
  531. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  532. "type": "string",
  533. "default": "rgba(0, 188, 242, 0.6)",
  534. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  535. },
  536. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  537. "type": "string",
  538. "default": "rgba(0, 188, 242, 0.6)",
  539. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  540. },
  541. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  542. "type": "string",
  543. "default": null,
  544. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  545. },
  546. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  547. "type": "string",
  548. "default": null,
  549. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  550. },
  551. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  552. "type": "string",
  553. "default": "rgba(153, 153, 153, 0.35)",
  554. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  555. },
  556. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  557. "type": "string",
  558. "default": "rgba(153, 153, 153, 0.35)",
  559. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  560. },
  561. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  562. "type": "string",
  563. "default": "rgba(0, 188, 242, 0.2)",
  564. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  565. },
  566. "gitlens.theme.lineHighlight.light.backgroundColor": {
  567. "type": "string",
  568. "default": "rgba(0, 188, 242, 0.2)",
  569. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  570. },
  571. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  572. "type": "string",
  573. "default": "rgba(0, 188, 242, 0.6)",
  574. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  575. },
  576. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  577. "type": "string",
  578. "default": "rgba(0, 188, 242, 0.6)",
  579. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  580. },
  581. "gitlens.advanced.caching.enabled": {
  582. "type": "boolean",
  583. "default": true,
  584. "description": "Specifies whether git output will be cached"
  585. },
  586. "gitlens.advanced.caching.maxLines": {
  587. "type": "number",
  588. "default": 0,
  589. "description": "Specifies the threshold for caching larger documents"
  590. },
  591. "gitlens.advanced.git": {
  592. "type": "string",
  593. "default": null,
  594. "description": "Specifies the git path to use"
  595. },
  596. "gitlens.advanced.gitignore.enabled": {
  597. "type": "boolean",
  598. "default": true,
  599. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  600. },
  601. "gitlens.advanced.maxQuickHistory": {
  602. "type": "number",
  603. "default": 200,
  604. "description": "Specifies the maximum number of QuickPick history entries to show"
  605. },
  606. "gitlens.advanced.menus": {
  607. "type": "object",
  608. "default": {
  609. "editorContext": {
  610. "blame": true,
  611. "copy": true,
  612. "details": true,
  613. "fileDiff": true,
  614. "history": true,
  615. "lineDiff": true,
  616. "remote": true
  617. },
  618. "editorTitle": {
  619. "blame": true,
  620. "fileDiff": true,
  621. "history": true,
  622. "remote": true,
  623. "status": true
  624. },
  625. "editorTitleContext": {
  626. "blame": true,
  627. "fileDiff": true,
  628. "history": true,
  629. "remote": true
  630. },
  631. "explorerContext": {
  632. "fileDiff": true,
  633. "history": true,
  634. "remote": true
  635. }
  636. },
  637. "description": "Specifies which commands will be added to which menus",
  638. "properties": {
  639. "editorContext": {
  640. "type": "object",
  641. "default": {
  642. "blame": true,
  643. "copy": true,
  644. "details": true,
  645. "fileDiff": true,
  646. "history": true,
  647. "lineDiff": true,
  648. "remote": true
  649. },
  650. "properties": {
  651. "blame": {
  652. "type": "boolean",
  653. "default": true
  654. },
  655. "copy": {
  656. "type": "boolean",
  657. "default": true
  658. },
  659. "details": {
  660. "type": "boolean",
  661. "default": true
  662. },
  663. "fileDiff": {
  664. "type": "boolean",
  665. "default": true
  666. },
  667. "history": {
  668. "type": "boolean",
  669. "default": true
  670. },
  671. "lineDiff": {
  672. "type": "boolean",
  673. "default": true
  674. },
  675. "remote": {
  676. "type": "boolean",
  677. "default": true
  678. }
  679. }
  680. },
  681. "editorTitle": {
  682. "type": "object",
  683. "default": {
  684. "blame": true,
  685. "fileDiff": true,
  686. "history": true,
  687. "remote": true,
  688. "status": true
  689. },
  690. "properties": {
  691. "blame": {
  692. "type": "boolean",
  693. "default": true
  694. },
  695. "fileDiff": {
  696. "type": "boolean",
  697. "default": true
  698. },
  699. "history": {
  700. "type": "boolean",
  701. "default": true
  702. },
  703. "remote": {
  704. "type": "boolean",
  705. "default": true
  706. },
  707. "status": {
  708. "type": "boolean",
  709. "default": true
  710. }
  711. }
  712. },
  713. "editorTitleContext": {
  714. "type": "object",
  715. "default": {
  716. "blame": true,
  717. "fileDiff": true,
  718. "history": true,
  719. "remote": true
  720. },
  721. "properties": {
  722. "blame": {
  723. "type": "boolean",
  724. "default": true
  725. },
  726. "fileDiff": {
  727. "type": "boolean",
  728. "default": true
  729. },
  730. "history": {
  731. "type": "boolean",
  732. "default": true
  733. },
  734. "remote": {
  735. "type": "boolean",
  736. "default": true
  737. }
  738. }
  739. },
  740. "explorerContext": {
  741. "type": "object",
  742. "default": {
  743. "fileDiff": true,
  744. "history": true,
  745. "remote": true
  746. },
  747. "properties": {
  748. "fileDiff": {
  749. "type": "boolean",
  750. "default": true
  751. },
  752. "history": {
  753. "type": "boolean",
  754. "default": true
  755. },
  756. "remote": {
  757. "type": "boolean",
  758. "default": true
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "gitlens.advanced.quickPick.closeOnFocusOut": {
  765. "type": "boolean",
  766. "default": true,
  767. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  768. },
  769. "gitlens.advanced.telemetry.enabled": {
  770. "type": "boolean",
  771. "default": true,
  772. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting"
  773. },
  774. "gitlens.advanced.toggleWhitespace.enabled": {
  775. "type": "boolean",
  776. "default": false,
  777. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  778. }
  779. }
  780. },
  781. "commands": [
  782. {
  783. "command": "gitlens.diffDirectory",
  784. "title": "Directory Compare",
  785. "category": "GitLens"
  786. },
  787. {
  788. "command": "gitlens.diffWith",
  789. "title": "Compare File Revisions",
  790. "category": "GitLens"
  791. },
  792. {
  793. "command": "gitlens.diffWithBranch",
  794. "title": "Compare File with Branch...",
  795. "category": "GitLens"
  796. },
  797. {
  798. "command": "gitlens.diffWithNext",
  799. "title": "Compare File with Next Revision",
  800. "category": "GitLens"
  801. },
  802. {
  803. "command": "gitlens.diffWithPrevious",
  804. "title": "Compare File with Previous Revision",
  805. "category": "GitLens"
  806. },
  807. {
  808. "command": "gitlens.diffLineWithPrevious",
  809. "title": "Compare Line Revision with Previous",
  810. "category": "GitLens"
  811. },
  812. {
  813. "command": "gitlens.diffWithRevision",
  814. "title": "Compare File with Revision...",
  815. "category": "GitLens"
  816. },
  817. {
  818. "command": "gitlens.diffWithWorking",
  819. "title": "Compare File with Working Revision",
  820. "category": "GitLens"
  821. },
  822. {
  823. "command": "gitlens.diffLineWithWorking",
  824. "title": "Compare Line Revision with Working",
  825. "category": "GitLens"
  826. },
  827. {
  828. "command": "gitlens.showFileBlame",
  829. "title": "Show File Blame Annotations",
  830. "category": "GitLens"
  831. },
  832. {
  833. "command": "gitlens.showLineBlame",
  834. "title": "Show Line Blame Annotations",
  835. "category": "GitLens"
  836. },
  837. {
  838. "command": "gitlens.toggleFileBlame",
  839. "title": "Toggle File Blame Annotations",
  840. "category": "GitLens",
  841. "icon": {
  842. "dark": "images/dark/git-icon.svg",
  843. "light": "images/light/git-icon.svg"
  844. }
  845. },
  846. {
  847. "command": "gitlens.clearFileAnnotations",
  848. "title": "Clear File Annotations",
  849. "category": "GitLens",
  850. "icon": {
  851. "dark": "images/dark/git-icon-orange.svg",
  852. "light": "images/light/git-icon-orange.svg"
  853. }
  854. },
  855. {
  856. "command": "gitlens.computingFileAnnotations",
  857. "title": "Computing File Annotations...",
  858. "category": "GitLens",
  859. "icon": {
  860. "dark": "images/dark/git-icon-progress.svg",
  861. "light": "images/light/git-icon-progress.svg"
  862. }
  863. },
  864. {
  865. "command": "gitlens.toggleFileRecentChanges",
  866. "title": "Toggle Recent File Changes Annotations",
  867. "category": "GitLens",
  868. "icon": {
  869. "dark": "images/dark/git-icon.svg",
  870. "light": "images/light/git-icon.svg"
  871. }
  872. },
  873. {
  874. "command": "gitlens.toggleLineBlame",
  875. "title": "Toggle Line Blame Annotations",
  876. "category": "GitLens"
  877. },
  878. {
  879. "command": "gitlens.toggleCodeLens",
  880. "title": "Toggle Git Code Lens",
  881. "category": "GitLens"
  882. },
  883. {
  884. "command": "gitlens.showBlameHistory",
  885. "title": "Open Blame History Explorer",
  886. "category": "GitLens"
  887. },
  888. {
  889. "command": "gitlens.showCommitSearch",
  890. "title": "Search Commits",
  891. "category": "GitLens",
  892. "icon": {
  893. "dark": "images/dark/icon-search.svg",
  894. "light": "images/light/icon-search.svg"
  895. }
  896. },
  897. {
  898. "command": "gitlens.showFileHistory",
  899. "title": "Open File History Explorer",
  900. "category": "GitLens"
  901. },
  902. {
  903. "command": "gitlens.showLastQuickPick",
  904. "title": "Show Last Opened Quick Pick",
  905. "category": "GitLens"
  906. },
  907. {
  908. "command": "gitlens.showQuickCommitDetails",
  909. "title": "Show Commit Details",
  910. "category": "GitLens"
  911. },
  912. {
  913. "command": "gitlens.showQuickCommitFileDetails",
  914. "title": "Show Commit File Details",
  915. "category": "GitLens"
  916. },
  917. {
  918. "command": "gitlens.showQuickFileHistory",
  919. "title": "Show File History",
  920. "category": "GitLens"
  921. },
  922. {
  923. "command": "gitlens.showQuickBranchHistory",
  924. "title": "Show Branch History",
  925. "category": "GitLens"
  926. },
  927. {
  928. "command": "gitlens.showQuickRepoHistory",
  929. "title": "Show Current Branch History",
  930. "category": "GitLens"
  931. },
  932. {
  933. "command": "gitlens.showQuickRepoStatus",
  934. "title": "Show Repository Status",
  935. "category": "GitLens"
  936. },
  937. {
  938. "command": "gitlens.showQuickStashList",
  939. "title": "Show Stashed Changes",
  940. "category": "GitLens"
  941. },
  942. {
  943. "command": "gitlens.copyShaToClipboard",
  944. "title": "Copy Commit ID to Clipboard",
  945. "category": "GitLens"
  946. },
  947. {
  948. "command": "gitlens.copyMessageToClipboard",
  949. "title": "Copy Commit Message to Clipboard",
  950. "category": "GitLens"
  951. },
  952. {
  953. "command": "gitlens.closeUnchangedFiles",
  954. "title": "Close Unchanged Files",
  955. "category": "GitLens"
  956. },
  957. {
  958. "command": "gitlens.openChangedFiles",
  959. "title": "Open Changed Files",
  960. "category": "GitLens"
  961. },
  962. {
  963. "command": "gitlens.openBranchesInRemote",
  964. "title": "Open Branches in Remote",
  965. "category": "GitLens"
  966. },
  967. {
  968. "command": "gitlens.openBranchInRemote",
  969. "title": "Open Branch in Remote",
  970. "category": "GitLens"
  971. },
  972. {
  973. "command": "gitlens.openCommitInRemote",
  974. "title": "Open Commit in Remote",
  975. "category": "GitLens"
  976. },
  977. {
  978. "command": "gitlens.openFileInRemote",
  979. "title": "Open File in Remote",
  980. "category": "GitLens"
  981. },
  982. {
  983. "command": "gitlens.openRepoInRemote",
  984. "title": "Open Repository in Remote",
  985. "category": "GitLens"
  986. },
  987. {
  988. "command": "gitlens.stashApply",
  989. "title": "Apply Stashed Changes",
  990. "category": "GitLens"
  991. },
  992. {
  993. "command": "gitlens.stashDelete",
  994. "title": "Delete Stashed Changes",
  995. "category": "GitLens"
  996. },
  997. {
  998. "command": "gitlens.stashSave",
  999. "title": "Stash Changes",
  1000. "category": "GitLens",
  1001. "icon": {
  1002. "dark": "images/dark/icon-add.svg",
  1003. "light": "images/light/icon-add.svg"
  1004. }
  1005. },
  1006. {
  1007. "command": "gitlens.resetSuppressedWarnings",
  1008. "title": "Reset Suppressed Warnings",
  1009. "category": "GitLens"
  1010. },
  1011. {
  1012. "command": "gitlens.gitExplorer.refresh",
  1013. "title": "Refresh",
  1014. "category": "GitLens",
  1015. "icon": {
  1016. "dark": "images/dark/icon-refresh.svg",
  1017. "light": "images/light/icon-refresh.svg"
  1018. }
  1019. },
  1020. {
  1021. "command": "gitlens.gitExplorer.switchToHistoryView",
  1022. "title": "Switch to History View",
  1023. "category": "GitLens",
  1024. "icon": {
  1025. "dark": "images/dark/icon-history.svg",
  1026. "light": "images/light/icon-history.svg"
  1027. }
  1028. },
  1029. {
  1030. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1031. "title": "Switch to Repository View",
  1032. "category": "GitLens",
  1033. "icon": {
  1034. "dark": "images/dark/icon-repo.svg",
  1035. "light": "images/light/icon-repo.svg"
  1036. }
  1037. },
  1038. {
  1039. "command": "gitlens.gitExplorer.openChanges",
  1040. "title": "Open Changes",
  1041. "category": "GitLens"
  1042. },
  1043. {
  1044. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1045. "title": "Open Changes with Working Tree",
  1046. "category": "GitLens"
  1047. },
  1048. {
  1049. "command": "gitlens.gitExplorer.openFile",
  1050. "title": "Open File",
  1051. "category": "GitLens"
  1052. },
  1053. {
  1054. "command": "gitlens.gitExplorer.openFileRevision",
  1055. "title": "Open Revision",
  1056. "category": "GitLens"
  1057. },
  1058. {
  1059. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1060. "title": "Open Revision in Remote",
  1061. "category": "GitLens"
  1062. },
  1063. {
  1064. "command": "gitlens.gitExplorer.openChangedFiles",
  1065. "title": "Open Files",
  1066. "category": "GitLens"
  1067. },
  1068. {
  1069. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1070. "title": "Open Revisions",
  1071. "category": "GitLens"
  1072. },
  1073. {
  1074. "command": "gitlens.gitExplorer.applyChanges",
  1075. "title": "Apply Changes",
  1076. "category": "GitLens"
  1077. }
  1078. ],
  1079. "menus": {
  1080. "commandPalette": [
  1081. {
  1082. "command": "gitlens.diffDirectory",
  1083. "when": "gitlens:enabled"
  1084. },
  1085. {
  1086. "command": "gitlens.diffWith",
  1087. "when": "false"
  1088. },
  1089. {
  1090. "command": "gitlens.diffWithBranch",
  1091. "when": "gitlens:isTracked"
  1092. },
  1093. {
  1094. "command": "gitlens.diffWithNext",
  1095. "when": "gitlens:isTracked"
  1096. },
  1097. {
  1098. "command": "gitlens.diffWithPrevious",
  1099. "when": "gitlens:isTracked"
  1100. },
  1101. {
  1102. "command": "gitlens.diffLineWithPrevious",
  1103. "when": "gitlens:isBlameable"
  1104. },
  1105. {
  1106. "command": "gitlens.diffWithRevision",
  1107. "when": "gitlens:isTracked"
  1108. },
  1109. {
  1110. "command": "gitlens.diffWithWorking",
  1111. "when": "gitlens:isTracked"
  1112. },
  1113. {
  1114. "command": "gitlens.diffLineWithWorking",
  1115. "when": "gitlens:isBlameable"
  1116. },
  1117. {
  1118. "command": "gitlens.showFileBlame",
  1119. "when": "gitlens:isBlameable"
  1120. },
  1121. {
  1122. "command": "gitlens.showLineBlame",
  1123. "when": "gitlens:isBlameable"
  1124. },
  1125. {
  1126. "command": "gitlens.toggleFileBlame",
  1127. "when": "gitlens:isBlameable"
  1128. },
  1129. {
  1130. "command": "gitlens.clearFileAnnotations",
  1131. "when": "gitlens:annotationStatus == computed"
  1132. },
  1133. {
  1134. "command": "gitlens.computingFileAnnotations",
  1135. "when": "false"
  1136. },
  1137. {
  1138. "command": "gitlens.toggleFileRecentChanges",
  1139. "when": "gitlens:isTracked"
  1140. },
  1141. {
  1142. "command": "gitlens.toggleLineBlame",
  1143. "when": "gitlens:isBlameable"
  1144. },
  1145. {
  1146. "command": "gitlens.toggleCodeLens",
  1147. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  1148. },
  1149. {
  1150. "command": "gitlens.showBlameHistory",
  1151. "when": "gitlens:isBlameable"
  1152. },
  1153. {
  1154. "command": "gitlens.showFileHistory",
  1155. "when": "gitlens:isTracked"
  1156. },
  1157. {
  1158. "command": "gitlens.showLastQuickPick",
  1159. "when": "gitlens:enabled"
  1160. },
  1161. {
  1162. "command": "gitlens.showQuickCommitDetails",
  1163. "when": "gitlens:isBlameable"
  1164. },
  1165. {
  1166. "command": "gitlens.showQuickCommitFileDetails",
  1167. "when": "gitlens:isBlameable"
  1168. },
  1169. {
  1170. "command": "gitlens.showQuickFileHistory",
  1171. "when": "gitlens:isTracked"
  1172. },
  1173. {
  1174. "command": "gitlens.showQuickBranchHistory",
  1175. "when": "gitlens:enabled"
  1176. },
  1177. {
  1178. "command": "gitlens.showQuickRepoHistory",
  1179. "when": "gitlens:enabled"
  1180. },
  1181. {
  1182. "command": "gitlens.showQuickRepoStatus",
  1183. "when": "gitlens:enabled"
  1184. },
  1185. {
  1186. "command": "gitlens.showQuickStashList",
  1187. "when": "gitlens:enabled"
  1188. },
  1189. {
  1190. "command": "gitlens.copyShaToClipboard",
  1191. "when": "gitlens:isBlameable"
  1192. },
  1193. {
  1194. "command": "gitlens.copyMessageToClipboard",
  1195. "when": "gitlens:isBlameable"
  1196. },
  1197. {
  1198. "command": "gitlens.closeUnchangedFiles",
  1199. "when": "gitlens:enabled"
  1200. },
  1201. {
  1202. "command": "gitlens.openChangedFiles",
  1203. "when": "gitlens:enabled"
  1204. },
  1205. {
  1206. "command": "gitlens.openBranchesInRemote",
  1207. "when": "gitlens:hasRemotes"
  1208. },
  1209. {
  1210. "command": "gitlens.openBranchInRemote",
  1211. "when": "gitlens:hasRemotes"
  1212. },
  1213. {
  1214. "command": "gitlens.openCommitInRemote",
  1215. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  1216. },
  1217. {
  1218. "command": "gitlens.openFileInRemote",
  1219. "when": "gitlens:isTracked && gitlens:hasRemotes"
  1220. },
  1221. {
  1222. "command": "gitlens.openRepoInRemote",
  1223. "when": "gitlens:hasRemotes"
  1224. },
  1225. {
  1226. "command": "gitlens.stashApply",
  1227. "when": "gitlens:enabled"
  1228. },
  1229. {
  1230. "command": "gitlens.stashSave",
  1231. "when": "gitlens:enabled"
  1232. },
  1233. {
  1234. "command": "gitlens.resetSuppressedWarnings",
  1235. "when": "gitlens:enabled"
  1236. },
  1237. {
  1238. "command": "gitlens.gitExplorer.refresh",
  1239. "when": "false"
  1240. },
  1241. {
  1242. "command": "gitlens.gitExplorer.switchToHistoryView",
  1243. "when": "gitlens:gitExplorer:view == repository"
  1244. },
  1245. {
  1246. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1247. "when": "gitlens:gitExplorer:view == history"
  1248. },
  1249. {
  1250. "command": "gitlens.gitExplorer.openChanges",
  1251. "when": "false"
  1252. },
  1253. {
  1254. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1255. "when": "false"
  1256. },
  1257. {
  1258. "command": "gitlens.gitExplorer.openFile",
  1259. "when": "false"
  1260. },
  1261. {
  1262. "command": "gitlens.gitExplorer.openFileRevision",
  1263. "when": "false"
  1264. },
  1265. {
  1266. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1267. "when": "false"
  1268. },
  1269. {
  1270. "command": "gitlens.gitExplorer.openChangedFiles",
  1271. "when": "false"
  1272. },
  1273. {
  1274. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1275. "when": "false"
  1276. },
  1277. {
  1278. "command": "gitlens.gitExplorer.applyChanges",
  1279. "when": "false"
  1280. }
  1281. ],
  1282. "editor/context": [
  1283. {
  1284. "command": "gitlens.openFileInRemote",
  1285. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1286. "group": "navigation@100"
  1287. },
  1288. {
  1289. "command": "gitlens.diffLineWithPrevious",
  1290. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1291. "group": "1_gitlens@1"
  1292. },
  1293. {
  1294. "command": "gitlens.diffLineWithWorking",
  1295. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1296. "group": "1_gitlens@2"
  1297. },
  1298. {
  1299. "command": "gitlens.showQuickCommitFileDetails",
  1300. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1301. "group": "1_gitlens@3"
  1302. },
  1303. {
  1304. "command": "gitlens.diffWithPrevious",
  1305. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1306. "group": "1_gitlens_1@1"
  1307. },
  1308. {
  1309. "command": "gitlens.diffWithWorking",
  1310. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1311. "group": "1_gitlens_1@2"
  1312. },
  1313. {
  1314. "command": "gitlens.showQuickFileHistory",
  1315. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1316. "group": "3_gitlens@1"
  1317. },
  1318. {
  1319. "command": "gitlens.toggleFileBlame",
  1320. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1321. "group": "3_gitlens@2"
  1322. },
  1323. {
  1324. "command": "gitlens.copyShaToClipboard",
  1325. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1326. "group": "9_gitlens@1"
  1327. },
  1328. {
  1329. "command": "gitlens.copyMessageToClipboard",
  1330. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1331. "group": "9_gitlens@2"
  1332. }
  1333. ],
  1334. "editor/title": [
  1335. {
  1336. "command": "gitlens.toggleFileBlame",
  1337. "alt": "gitlens.toggleFileRecentChanges",
  1338. "when": "gitlens:isBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1339. "group": "navigation@100"
  1340. },
  1341. {
  1342. "command": "gitlens.computingFileAnnotations",
  1343. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1344. "group": "navigation@100"
  1345. },
  1346. {
  1347. "command": "gitlens.clearFileAnnotations",
  1348. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1349. "group": "navigation@100"
  1350. },
  1351. {
  1352. "command": "gitlens.openFileInRemote",
  1353. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1354. "group": "1_gitlens"
  1355. },
  1356. {
  1357. "command": "gitlens.openRepoInRemote",
  1358. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1359. "group": "1_gitlens"
  1360. },
  1361. {
  1362. "command": "gitlens.diffWithPrevious",
  1363. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1364. "group": "2_gitlens"
  1365. },
  1366. {
  1367. "command": "gitlens.diffWithWorking",
  1368. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1369. "group": "2_gitlens"
  1370. },
  1371. {
  1372. "command": "gitlens.showQuickFileHistory",
  1373. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1374. "group": "2_gitlens_1"
  1375. },
  1376. {
  1377. "command": "gitlens.showQuickRepoHistory",
  1378. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1379. "group": "2_gitlens_1"
  1380. },
  1381. {
  1382. "command": "gitlens.showQuickRepoStatus",
  1383. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1384. "group": "2_gitlens_1"
  1385. }
  1386. ],
  1387. "editor/title/context": [
  1388. {
  1389. "command": "gitlens.openFileInRemote",
  1390. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1391. "group": "1_gitlens"
  1392. },
  1393. {
  1394. "command": "gitlens.diffWithPrevious",
  1395. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1396. "group": "1_gitlens_1@1"
  1397. },
  1398. {
  1399. "command": "gitlens.diffWithWorking",
  1400. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1401. "group": "1_gitlens_1@2"
  1402. },
  1403. {
  1404. "command": "gitlens.showQuickFileHistory",
  1405. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1406. "group": "1_gitlens_2@1"
  1407. },
  1408. {
  1409. "command": "gitlens.toggleFileBlame",
  1410. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1411. "group": "1_gitlens_2@2"
  1412. }
  1413. ],
  1414. "explorer/context": [
  1415. {
  1416. "command": "gitlens.openFileInRemote",
  1417. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  1418. "group": "navigation@100"
  1419. },
  1420. {
  1421. "command": "gitlens.diffWithPrevious",
  1422. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1423. "group": "1_gitlens@1"
  1424. },
  1425. {
  1426. "command": "gitlens.diffWithWorking",
  1427. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1428. "group": "1_gitlens@2"
  1429. },
  1430. {
  1431. "command": "gitlens.showQuickFileHistory",
  1432. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1433. "group": "1_gitlens_1@1"
  1434. }
  1435. ],
  1436. "scm/resourceGroup/context": [
  1437. {
  1438. "command": "gitlens.openChangedFiles",
  1439. "when": "gitlens:enabled",
  1440. "group": "1_gitlens@1"
  1441. },
  1442. {
  1443. "command": "gitlens.closeUnchangedFiles",
  1444. "when": "gitlens:enabled",
  1445. "group": "1_gitlens@2"
  1446. },
  1447. {
  1448. "command": "gitlens.stashSave",
  1449. "when": "gitlens:enabled",
  1450. "group": "2_gitlens@1"
  1451. }
  1452. ],
  1453. "scm/resourceState/context": [
  1454. {
  1455. "command": "gitlens.openFileInRemote",
  1456. "when": "gitlens:enabled && gitlens:hasRemotes",
  1457. "group": "navigation"
  1458. },
  1459. {
  1460. "command": "gitlens.diffWithRevision",
  1461. "when": "gitlens:enabled",
  1462. "group": "1_gitlens@1"
  1463. },
  1464. {
  1465. "command": "gitlens.showQuickFileHistory",
  1466. "when": "gitlens:enabled",
  1467. "group": "1_gitlens_1@1"
  1468. },
  1469. {
  1470. "command": "gitlens.stashSave",
  1471. "when": "gitlens:enabled",
  1472. "group": "2_gitlens@1"
  1473. }
  1474. ],
  1475. "view/title": [
  1476. {
  1477. "command": "gitlens.showCommitSearch",
  1478. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1479. "group": "navigation@1"
  1480. },
  1481. {
  1482. "command": "gitlens.gitExplorer.switchToHistoryView",
  1483. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1484. "group": "navigation@2"
  1485. },
  1486. {
  1487. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1488. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1489. "group": "navigation@3"
  1490. },
  1491. {
  1492. "command": "gitlens.gitExplorer.refresh",
  1493. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1494. "group": "navigation@4"
  1495. }
  1496. ],
  1497. "view/item/context": [
  1498. {
  1499. "command": "gitlens.openBranchesInRemote",
  1500. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:branches",
  1501. "group": "1_gitlens@1"
  1502. },
  1503. {
  1504. "command": "gitlens.openBranchInRemote",
  1505. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1506. "group": "1_gitlens@1"
  1507. },
  1508. {
  1509. "command": "gitlens.openCommitInRemote",
  1510. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1511. "group": "1_gitlens@1"
  1512. },
  1513. {
  1514. "command": "gitlens.copyShaToClipboard",
  1515. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1516. "group": "2_gitlens@1"
  1517. },
  1518. {
  1519. "command": "gitlens.copyMessageToClipboard",
  1520. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1521. "group": "2_gitlens@2"
  1522. },
  1523. {
  1524. "command": "gitlens.gitExplorer.openChangedFiles",
  1525. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1526. "group": "3_gitlens@1"
  1527. },
  1528. {
  1529. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1530. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1531. "group": "3_gitlens@2"
  1532. },
  1533. {
  1534. "command": "gitlens.showQuickCommitDetails",
  1535. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1536. "group": "4_gitlens@1"
  1537. },
  1538. {
  1539. "command": "gitlens.gitExplorer.openChanges",
  1540. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1541. "group": "1_gitlens@1"
  1542. },
  1543. {
  1544. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1545. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1546. "group": "1_gitlens@2"
  1547. },
  1548. {
  1549. "command": "gitlens.gitExplorer.openFile",
  1550. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1551. "group": "2_gitlens@1"
  1552. },
  1553. {
  1554. "command": "gitlens.gitExplorer.openFileRevision",
  1555. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1556. "group": "2_gitlens@2"
  1557. },
  1558. {
  1559. "command": "gitlens.openFileInRemote",
  1560. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1561. "group": "3_gitlens@1"
  1562. },
  1563. {
  1564. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1565. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1566. "group": "3_gitlens@2"
  1567. },
  1568. {
  1569. "command": "gitlens.gitExplorer.applyChanges",
  1570. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1571. "group": "4_gitlens@1"
  1572. },
  1573. {
  1574. "command": "gitlens.showQuickFileHistory",
  1575. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  1576. "group": "5_gitlens@1"
  1577. },
  1578. {
  1579. "command": "gitlens.showQuickCommitFileDetails",
  1580. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1581. "group": "5_gitlens@2"
  1582. },
  1583. {
  1584. "command": "gitlens.gitExplorer.openFile",
  1585. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1586. "group": "1_gitlens@1"
  1587. },
  1588. {
  1589. "command": "gitlens.openFileInRemote",
  1590. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1591. "group": "1_gitlens@2"
  1592. },
  1593. {
  1594. "command": "gitlens.openBranchesInRemote",
  1595. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1596. "group": "1_gitlens@1"
  1597. },
  1598. {
  1599. "command": "gitlens.openRepoInRemote",
  1600. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1601. "group": "1_gitlens@2"
  1602. },
  1603. {
  1604. "command": "gitlens.stashSave",
  1605. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stashes",
  1606. "group": "1_gitlens@1"
  1607. },
  1608. {
  1609. "command": "gitlens.stashApply",
  1610. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1611. "group": "1_gitlens@1"
  1612. },
  1613. {
  1614. "command": "gitlens.stashDelete",
  1615. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1616. "group": "1_gitlens@2"
  1617. },
  1618. {
  1619. "command": "gitlens.copyMessageToClipboard",
  1620. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1621. "group": "2_gitlens@1"
  1622. },
  1623. {
  1624. "command": "gitlens.gitExplorer.openChangedFiles",
  1625. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1626. "group": "3_gitlens@1"
  1627. },
  1628. {
  1629. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1630. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1631. "group": "3_gitlens@2"
  1632. },
  1633. {
  1634. "command": "gitlens.gitExplorer.openChanges",
  1635. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1636. "group": "1_gitlens@1"
  1637. },
  1638. {
  1639. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1640. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1641. "group": "1_gitlens@2"
  1642. },
  1643. {
  1644. "command": "gitlens.gitExplorer.openFile",
  1645. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1646. "group": "2_gitlens@1"
  1647. },
  1648. {
  1649. "command": "gitlens.gitExplorer.openFileRevision",
  1650. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1651. "group": "2_gitlens@2"
  1652. },
  1653. {
  1654. "command": "gitlens.openFileInRemote",
  1655. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1656. "group": "3_gitlens@1"
  1657. },
  1658. {
  1659. "command": "gitlens.gitExplorer.applyChanges",
  1660. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1661. "group": "4_gitlens@1"
  1662. },
  1663. {
  1664. "command": "gitlens.showQuickFileHistory",
  1665. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1666. "group": "5_gitlens@1"
  1667. },
  1668. {
  1669. "command": "gitlens.openRepoInRemote",
  1670. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status",
  1671. "group": "1_gitlens@1"
  1672. },
  1673. {
  1674. "command": "gitlens.gitExplorer.refresh",
  1675. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file",
  1676. "group": "9_gitlens@1"
  1677. }
  1678. ]
  1679. },
  1680. "keybindings": [
  1681. {
  1682. "command": "gitlens.key.left",
  1683. "key": "alt+left",
  1684. "when": "gitlens:key:left"
  1685. },
  1686. {
  1687. "command": "gitlens.key.right",
  1688. "key": "alt+right",
  1689. "when": "gitlens:key:right"
  1690. },
  1691. {
  1692. "command": "gitlens.key.,",
  1693. "key": "alt+,",
  1694. "when": "gitlens:key:,"
  1695. },
  1696. {
  1697. "command": "gitlens.key..",
  1698. "key": "alt+.",
  1699. "when": "gitlens:key:."
  1700. },
  1701. {
  1702. "command": "gitlens.key.escape",
  1703. "key": "escape",
  1704. "when": "gitlens:key:escape"
  1705. },
  1706. {
  1707. "command": "gitlens.toggleFileBlame",
  1708. "key": "alt+b",
  1709. "when": "editorTextFocus && gitlens:isTracked"
  1710. },
  1711. {
  1712. "command": "gitlens.toggleCodeLens",
  1713. "key": "shift+alt+b",
  1714. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1715. },
  1716. {
  1717. "command": "gitlens.showLastQuickPick",
  1718. "key": "alt+-",
  1719. "when": "gitlens:enabled"
  1720. },
  1721. {
  1722. "command": "gitlens.showCommitSearch",
  1723. "key": "alt+/",
  1724. "when": "gitlens:enabled"
  1725. },
  1726. {
  1727. "command": "gitlens.showQuickFileHistory",
  1728. "key": "alt+h",
  1729. "when": "gitlens:enabled"
  1730. },
  1731. {
  1732. "command": "gitlens.showQuickRepoHistory",
  1733. "key": "shift+alt+h",
  1734. "when": "gitlens:enabled"
  1735. },
  1736. {
  1737. "command": "gitlens.showQuickRepoStatus",
  1738. "key": "alt+s",
  1739. "when": "gitlens:enabled"
  1740. },
  1741. {
  1742. "command": "gitlens.showQuickCommitFileDetails",
  1743. "key": "alt+c",
  1744. "when": "editorTextFocus && gitlens:enabled"
  1745. },
  1746. {
  1747. "command": "gitlens.diffWithNext",
  1748. "key": "alt+.",
  1749. "when": "editorTextFocus && gitlens:isTracked"
  1750. },
  1751. {
  1752. "command": "gitlens.diffLineWithPrevious",
  1753. "key": "shift+alt+,",
  1754. "when": "editorTextFocus && gitlens:isTracked"
  1755. },
  1756. {
  1757. "command": "gitlens.diffWithPrevious",
  1758. "key": "alt+,",
  1759. "when": "editorTextFocus && gitlens:isTracked"
  1760. },
  1761. {
  1762. "command": "gitlens.diffLineWithWorking",
  1763. "key": "alt+w",
  1764. "when": "editorTextFocus && gitlens:isTracked"
  1765. },
  1766. {
  1767. "command": "gitlens.diffWithWorking",
  1768. "key": "shift+alt+w",
  1769. "when": "editorTextFocus && gitlens:isTracked"
  1770. }
  1771. ],
  1772. "views": {
  1773. "explorer": [
  1774. {
  1775. "id": "gitlens.gitExplorer",
  1776. "name": "GitLens",
  1777. "when": "gitlens:enabled"
  1778. }
  1779. ]
  1780. }
  1781. },
  1782. "activationEvents": [
  1783. "*"
  1784. ],
  1785. "scripts": {
  1786. "clean": "git clean -xdf",
  1787. "compile": "tslint --project tslint.json && tsc -p ./",
  1788. "watch": "tsc -watch -p ./",
  1789. "lint": "tslint --project tslint.json",
  1790. "pack": "git clean -xdf && vsce package",
  1791. "postinstall": "node ./node_modules/vscode/bin/install",
  1792. "pub": "git clean -xdf && vsce publish",
  1793. "reset": "git clean -xdf && npm install",
  1794. "vscode:prepublish": "npm install --no-save && npm run compile"
  1795. },
  1796. "dependencies": {
  1797. "applicationinsights": "0.21.0",
  1798. "copy-paste": "1.3.0",
  1799. "iconv-lite": "0.4.18",
  1800. "ignore": "3.3.5",
  1801. "lodash.debounce": "4.0.8",
  1802. "lodash.escaperegexp": "4.1.2",
  1803. "lodash.isequal": "4.5.0",
  1804. "lodash.once": "4.1.1",
  1805. "moment": "2.18.1",
  1806. "spawn-rx": "2.0.11",
  1807. "string-width": "2.1.1",
  1808. "tmp": "0.0.33"
  1809. },
  1810. "devDependencies": {
  1811. "@types/copy-paste": "1.1.30",
  1812. "@types/iconv-lite": "0.0.1",
  1813. "@types/mocha": "2.2.43",
  1814. "@types/node": "8.0.28",
  1815. "@types/tmp": "0.0.33",
  1816. "mocha": "3.5.0",
  1817. "tslint": "5.7.0",
  1818. "typescript": "2.5.2",
  1819. "vscode": "1.1.5"
  1820. }
  1821. }