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.

1729 lines
80 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "5.0.0-alpha",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.15.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.view": {
  417. "type": "string",
  418. "default": "repository",
  419. "enum": [
  420. "history",
  421. "repository"
  422. ],
  423. "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"
  424. },
  425. "gitlens.gitExplorer.commitFormat": {
  426. "type": "string",
  427. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0\u2022\u00a0 ${id}",
  428. "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"
  429. },
  430. "gitlens.gitExplorer.commitFileFormat": {
  431. "type": "string",
  432. "default": "${filePath}",
  433. "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"
  434. },
  435. "gitlens.gitExplorer.stashFormat": {
  436. "type": "string",
  437. "default": "${message}",
  438. "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"
  439. },
  440. "gitlens.gitExplorer.stashFileFormat": {
  441. "type": "string",
  442. "default": "${filePath}",
  443. "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"
  444. },
  445. "gitlens.statusBar.enabled": {
  446. "type": "boolean",
  447. "default": true,
  448. "description": "Specifies whether or not to provide blame information on the status bar"
  449. },
  450. "gitlens.statusBar.alignment": {
  451. "type": "string",
  452. "default": "right",
  453. "enum": [
  454. "left",
  455. "right"
  456. ],
  457. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  458. },
  459. "gitlens.statusBar.command": {
  460. "type": "string",
  461. "default": "gitlens.showQuickCommitDetails",
  462. "enum": [
  463. "gitlens.toggleFileBlame",
  464. "gitlens.showBlameHistory",
  465. "gitlens.showFileHistory",
  466. "gitlens.diffWithPrevious",
  467. "gitlens.diffWithWorking",
  468. "gitlens.toggleCodeLens",
  469. "gitlens.showQuickCommitDetails",
  470. "gitlens.showQuickCommitFileDetails",
  471. "gitlens.showQuickFileHistory",
  472. "gitlens.showQuickRepoHistory"
  473. ],
  474. "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"
  475. },
  476. "gitlens.statusBar.format": {
  477. "type": "string",
  478. "default": "${authorAgo}",
  479. "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"
  480. },
  481. "gitlens.statusBar.dateFormat": {
  482. "type": "string",
  483. "default": null,
  484. "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"
  485. },
  486. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  487. "type": "string",
  488. "default": "Cannot determine recent change or authors (unsaved changes)",
  489. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes"
  490. },
  491. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  492. "type": "string",
  493. "default": "Cannot determine recent change (unsaved changes)",
  494. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes"
  495. },
  496. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  497. "type": "string",
  498. "default": "Cannot determine authors (unsaved changes)",
  499. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes"
  500. },
  501. "gitlens.theme.annotations.file.gutter.separateLines": {
  502. "type": "boolean",
  503. "default": true,
  504. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  505. },
  506. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  507. "type": "string",
  508. "default": "rgba(255, 255, 255, 0.075)",
  509. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  510. },
  511. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  512. "type": "string",
  513. "default": "rgba(0, 0, 0, 0.05)",
  514. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  515. },
  516. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  517. "type": "string",
  518. "default": "rgb(190, 190, 190)",
  519. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  520. },
  521. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  522. "type": "string",
  523. "default": "rgb(116, 116, 116)",
  524. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  525. },
  526. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  527. "type": "string",
  528. "default": "rgba(0, 188, 242, 0.6)",
  529. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  530. },
  531. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  532. "type": "string",
  533. "default": "rgba(0, 188, 242, 0.6)",
  534. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  535. },
  536. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  537. "type": "string",
  538. "default": null,
  539. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  540. },
  541. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  542. "type": "string",
  543. "default": null,
  544. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  545. },
  546. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  547. "type": "string",
  548. "default": "rgba(153, 153, 153, 0.35)",
  549. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  550. },
  551. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  552. "type": "string",
  553. "default": "rgba(153, 153, 153, 0.35)",
  554. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  555. },
  556. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  557. "type": "string",
  558. "default": "rgba(0, 188, 242, 0.2)",
  559. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  560. },
  561. "gitlens.theme.lineHighlight.light.backgroundColor": {
  562. "type": "string",
  563. "default": "rgba(0, 188, 242, 0.2)",
  564. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  565. },
  566. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  567. "type": "string",
  568. "default": "rgba(0, 188, 242, 0.6)",
  569. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  570. },
  571. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  572. "type": "string",
  573. "default": "rgba(0, 188, 242, 0.6)",
  574. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  575. },
  576. "gitlens.advanced.caching.enabled": {
  577. "type": "boolean",
  578. "default": true,
  579. "description": "Specifies whether git output will be cached"
  580. },
  581. "gitlens.advanced.caching.maxLines": {
  582. "type": "number",
  583. "default": 0,
  584. "description": "Specifies the threshold for caching larger documents"
  585. },
  586. "gitlens.advanced.git": {
  587. "type": "string",
  588. "default": null,
  589. "description": "Specifies the git path to use"
  590. },
  591. "gitlens.advanced.gitignore.enabled": {
  592. "type": "boolean",
  593. "default": true,
  594. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  595. },
  596. "gitlens.advanced.maxQuickHistory": {
  597. "type": "number",
  598. "default": 200,
  599. "description": "Specifies the maximum number of QuickPick history entries to show"
  600. },
  601. "gitlens.advanced.menus": {
  602. "type": "object",
  603. "default": {
  604. "editorContext": {
  605. "blame": true,
  606. "copy": true,
  607. "details": true,
  608. "fileDiff": true,
  609. "history": true,
  610. "lineDiff": true,
  611. "remote": true
  612. },
  613. "editorTitle": {
  614. "blame": true,
  615. "fileDiff": true,
  616. "history": true,
  617. "remote": true,
  618. "status": true
  619. },
  620. "editorTitleContext": {
  621. "blame": true,
  622. "fileDiff": true,
  623. "history": true,
  624. "remote": true
  625. },
  626. "explorerContext": {
  627. "fileDiff": true,
  628. "history": true,
  629. "remote": true
  630. }
  631. },
  632. "description": "Specifies which commands will be added to which menus",
  633. "properties": {
  634. "editorContext": {
  635. "type": "object",
  636. "default": {
  637. "blame": true,
  638. "copy": true,
  639. "details": true,
  640. "fileDiff": true,
  641. "history": true,
  642. "lineDiff": true,
  643. "remote": true
  644. },
  645. "properties": {
  646. "blame": {
  647. "type": "boolean",
  648. "default": true
  649. },
  650. "copy": {
  651. "type": "boolean",
  652. "default": true
  653. },
  654. "details": {
  655. "type": "boolean",
  656. "default": true
  657. },
  658. "fileDiff": {
  659. "type": "boolean",
  660. "default": true
  661. },
  662. "history": {
  663. "type": "boolean",
  664. "default": true
  665. },
  666. "lineDiff": {
  667. "type": "boolean",
  668. "default": true
  669. },
  670. "remote": {
  671. "type": "boolean",
  672. "default": true
  673. }
  674. }
  675. },
  676. "editorTitle": {
  677. "type": "object",
  678. "default": {
  679. "blame": true,
  680. "fileDiff": true,
  681. "history": true,
  682. "remote": true,
  683. "status": true
  684. },
  685. "properties": {
  686. "blame": {
  687. "type": "boolean",
  688. "default": true
  689. },
  690. "fileDiff": {
  691. "type": "boolean",
  692. "default": true
  693. },
  694. "history": {
  695. "type": "boolean",
  696. "default": true
  697. },
  698. "remote": {
  699. "type": "boolean",
  700. "default": true
  701. },
  702. "status": {
  703. "type": "boolean",
  704. "default": true
  705. }
  706. }
  707. },
  708. "editorTitleContext": {
  709. "type": "object",
  710. "default": {
  711. "blame": true,
  712. "fileDiff": true,
  713. "history": true,
  714. "remote": true
  715. },
  716. "properties": {
  717. "blame": {
  718. "type": "boolean",
  719. "default": true
  720. },
  721. "fileDiff": {
  722. "type": "boolean",
  723. "default": true
  724. },
  725. "history": {
  726. "type": "boolean",
  727. "default": true
  728. },
  729. "remote": {
  730. "type": "boolean",
  731. "default": true
  732. }
  733. }
  734. },
  735. "explorerContext": {
  736. "type": "object",
  737. "default": {
  738. "fileDiff": true,
  739. "history": true,
  740. "remote": true
  741. },
  742. "properties": {
  743. "fileDiff": {
  744. "type": "boolean",
  745. "default": true
  746. },
  747. "history": {
  748. "type": "boolean",
  749. "default": true
  750. },
  751. "remote": {
  752. "type": "boolean",
  753. "default": true
  754. }
  755. }
  756. }
  757. }
  758. },
  759. "gitlens.advanced.quickPick.closeOnFocusOut": {
  760. "type": "boolean",
  761. "default": true,
  762. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  763. },
  764. "gitlens.advanced.telemetry.enabled": {
  765. "type": "boolean",
  766. "default": true,
  767. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting"
  768. },
  769. "gitlens.advanced.toggleWhitespace.enabled": {
  770. "type": "boolean",
  771. "default": false,
  772. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  773. }
  774. }
  775. },
  776. "commands": [
  777. {
  778. "command": "gitlens.diffDirectory",
  779. "title": "Directory Compare",
  780. "category": "GitLens"
  781. },
  782. {
  783. "command": "gitlens.diffWithBranch",
  784. "title": "Compare File with Branch...",
  785. "category": "GitLens"
  786. },
  787. {
  788. "command": "gitlens.diffWithNext",
  789. "title": "Compare File with Next Revision",
  790. "category": "GitLens"
  791. },
  792. {
  793. "command": "gitlens.diffWithPrevious",
  794. "title": "Compare File with Previous Revision",
  795. "category": "GitLens"
  796. },
  797. {
  798. "command": "gitlens.diffLineWithPrevious",
  799. "title": "Compare Line Revision with Previous",
  800. "category": "GitLens"
  801. },
  802. {
  803. "command": "gitlens.diffWithRevision",
  804. "title": "Compare File with Revision...",
  805. "category": "GitLens"
  806. },
  807. {
  808. "command": "gitlens.diffWithWorking",
  809. "title": "Compare File with Working Revision",
  810. "category": "GitLens"
  811. },
  812. {
  813. "command": "gitlens.diffLineWithWorking",
  814. "title": "Compare Line Revision with Working",
  815. "category": "GitLens"
  816. },
  817. {
  818. "command": "gitlens.showFileBlame",
  819. "title": "Show File Blame Annotations",
  820. "category": "GitLens"
  821. },
  822. {
  823. "command": "gitlens.showLineBlame",
  824. "title": "Show Line Blame Annotations",
  825. "category": "GitLens"
  826. },
  827. {
  828. "command": "gitlens.toggleFileBlame",
  829. "title": "Toggle File Blame Annotations",
  830. "category": "GitLens",
  831. "icon": {
  832. "dark": "images/dark/git-icon.svg",
  833. "light": "images/light/git-icon.svg"
  834. }
  835. },
  836. {
  837. "command": "gitlens.clearFileAnnotations",
  838. "title": "Clear File Annotations",
  839. "category": "GitLens",
  840. "icon": {
  841. "dark": "images/dark/git-icon-orange.svg",
  842. "light": "images/light/git-icon-orange.svg"
  843. }
  844. },
  845. {
  846. "command": "gitlens.computingFileAnnotations",
  847. "title": "Computing File Annotations...",
  848. "category": "GitLens",
  849. "icon": {
  850. "dark": "images/dark/git-icon-progress.svg",
  851. "light": "images/light/git-icon-progress.svg"
  852. }
  853. },
  854. {
  855. "command": "gitlens.toggleFileRecentChanges",
  856. "title": "Toggle Recent File Changes Annotations",
  857. "category": "GitLens",
  858. "icon": {
  859. "dark": "images/dark/git-icon.svg",
  860. "light": "images/light/git-icon.svg"
  861. }
  862. },
  863. {
  864. "command": "gitlens.toggleLineBlame",
  865. "title": "Toggle Line Blame Annotations",
  866. "category": "GitLens"
  867. },
  868. {
  869. "command": "gitlens.toggleCodeLens",
  870. "title": "Toggle Git Code Lens",
  871. "category": "GitLens"
  872. },
  873. {
  874. "command": "gitlens.showBlameHistory",
  875. "title": "Open Blame History Explorer",
  876. "category": "GitLens"
  877. },
  878. {
  879. "command": "gitlens.showCommitSearch",
  880. "title": "Search Commits",
  881. "category": "GitLens",
  882. "icon": {
  883. "dark": "images/dark/icon-search.svg",
  884. "light": "images/light/icon-search.svg"
  885. }
  886. },
  887. {
  888. "command": "gitlens.showFileHistory",
  889. "title": "Open File History Explorer",
  890. "category": "GitLens"
  891. },
  892. {
  893. "command": "gitlens.showLastQuickPick",
  894. "title": "Show Last Opened Quick Pick",
  895. "category": "GitLens"
  896. },
  897. {
  898. "command": "gitlens.showQuickCommitDetails",
  899. "title": "Show Commit Details",
  900. "category": "GitLens"
  901. },
  902. {
  903. "command": "gitlens.showQuickCommitFileDetails",
  904. "title": "Show Commit File Details",
  905. "category": "GitLens"
  906. },
  907. {
  908. "command": "gitlens.showQuickFileHistory",
  909. "title": "Show File History",
  910. "category": "GitLens"
  911. },
  912. {
  913. "command": "gitlens.showQuickBranchHistory",
  914. "title": "Show Branch History",
  915. "category": "GitLens"
  916. },
  917. {
  918. "command": "gitlens.showQuickRepoHistory",
  919. "title": "Show Current Branch History",
  920. "category": "GitLens"
  921. },
  922. {
  923. "command": "gitlens.showQuickRepoStatus",
  924. "title": "Show Repository Status",
  925. "category": "GitLens"
  926. },
  927. {
  928. "command": "gitlens.showQuickStashList",
  929. "title": "Show Stashed Changes",
  930. "category": "GitLens"
  931. },
  932. {
  933. "command": "gitlens.copyShaToClipboard",
  934. "title": "Copy Commit ID to Clipboard",
  935. "category": "GitLens"
  936. },
  937. {
  938. "command": "gitlens.copyMessageToClipboard",
  939. "title": "Copy Commit Message to Clipboard",
  940. "category": "GitLens"
  941. },
  942. {
  943. "command": "gitlens.closeUnchangedFiles",
  944. "title": "Close Unchanged Files",
  945. "category": "GitLens"
  946. },
  947. {
  948. "command": "gitlens.openChangedFiles",
  949. "title": "Open Changed Files",
  950. "category": "GitLens"
  951. },
  952. {
  953. "command": "gitlens.openBranchInRemote",
  954. "title": "Open Branch in Remote",
  955. "category": "GitLens"
  956. },
  957. {
  958. "command": "gitlens.openCommitInRemote",
  959. "title": "Open Commit in Remote",
  960. "category": "GitLens"
  961. },
  962. {
  963. "command": "gitlens.openFileInRemote",
  964. "title": "Open File in Remote",
  965. "category": "GitLens"
  966. },
  967. {
  968. "command": "gitlens.openRepoInRemote",
  969. "title": "Open Repository in Remote",
  970. "category": "GitLens"
  971. },
  972. {
  973. "command": "gitlens.stashApply",
  974. "title": "Apply Stashed Changes",
  975. "category": "GitLens"
  976. },
  977. {
  978. "command": "gitlens.stashDelete",
  979. "title": "Delete Stashed Changes",
  980. "category": "GitLens"
  981. },
  982. {
  983. "command": "gitlens.stashSave",
  984. "title": "Stash Changes",
  985. "category": "GitLens",
  986. "icon": {
  987. "dark": "images/dark/icon-add.svg",
  988. "light": "images/light/icon-add.svg"
  989. }
  990. },
  991. {
  992. "command": "gitlens.resetSuppressedWarnings",
  993. "title": "Reset Suppressed Warnings",
  994. "category": "GitLens"
  995. },
  996. {
  997. "command": "gitlens.gitExplorer.refresh",
  998. "title": "Refresh",
  999. "category": "GitLens",
  1000. "icon": {
  1001. "dark": "images/dark/icon-refresh.svg",
  1002. "light": "images/light/icon-refresh.svg"
  1003. }
  1004. },
  1005. {
  1006. "command": "gitlens.gitExplorer.switchToHistoryView",
  1007. "title": "Switch to History View",
  1008. "category": "GitLens",
  1009. "icon": {
  1010. "dark": "images/dark/icon-history.svg",
  1011. "light": "images/light/icon-history.svg"
  1012. }
  1013. },
  1014. {
  1015. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1016. "title": "Switch to Repository View",
  1017. "category": "GitLens",
  1018. "icon": {
  1019. "dark": "images/dark/icon-repo.svg",
  1020. "light": "images/light/icon-repo.svg"
  1021. }
  1022. },
  1023. {
  1024. "command": "gitlens.gitExplorer.openChanges",
  1025. "title": "Open Changes",
  1026. "category": "GitLens"
  1027. },
  1028. {
  1029. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1030. "title": "Open Changes with Working Tree",
  1031. "category": "GitLens"
  1032. },
  1033. {
  1034. "command": "gitlens.gitExplorer.openFile",
  1035. "title": "Open File",
  1036. "category": "GitLens"
  1037. },
  1038. {
  1039. "command": "gitlens.gitExplorer.openFileRevision",
  1040. "title": "Open Revision",
  1041. "category": "GitLens"
  1042. },
  1043. {
  1044. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1045. "title": "Open Revision in Remote",
  1046. "category": "GitLens"
  1047. },
  1048. {
  1049. "command": "gitlens.gitExplorer.openChangedFiles",
  1050. "title": "Open Files",
  1051. "category": "GitLens"
  1052. },
  1053. {
  1054. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1055. "title": "Open Revisions",
  1056. "category": "GitLens"
  1057. }
  1058. ],
  1059. "menus": {
  1060. "commandPalette": [
  1061. {
  1062. "command": "gitlens.diffDirectory",
  1063. "when": "gitlens:enabled"
  1064. },
  1065. {
  1066. "command": "gitlens.diffWithBranch",
  1067. "when": "gitlens:isTracked"
  1068. },
  1069. {
  1070. "command": "gitlens.diffWithNext",
  1071. "when": "gitlens:isTracked"
  1072. },
  1073. {
  1074. "command": "gitlens.diffWithPrevious",
  1075. "when": "gitlens:isTracked"
  1076. },
  1077. {
  1078. "command": "gitlens.diffLineWithPrevious",
  1079. "when": "gitlens:isBlameable"
  1080. },
  1081. {
  1082. "command": "gitlens.diffWithRevision",
  1083. "when": "gitlens:isTracked"
  1084. },
  1085. {
  1086. "command": "gitlens.diffWithWorking",
  1087. "when": "gitlens:isTracked"
  1088. },
  1089. {
  1090. "command": "gitlens.diffLineWithWorking",
  1091. "when": "gitlens:isBlameable"
  1092. },
  1093. {
  1094. "command": "gitlens.showFileBlame",
  1095. "when": "gitlens:isBlameable"
  1096. },
  1097. {
  1098. "command": "gitlens.showLineBlame",
  1099. "when": "gitlens:isBlameable"
  1100. },
  1101. {
  1102. "command": "gitlens.toggleFileBlame",
  1103. "when": "gitlens:isBlameable"
  1104. },
  1105. {
  1106. "command": "gitlens.clearFileAnnotations",
  1107. "when": "gitlens:annotationStatus == computed"
  1108. },
  1109. {
  1110. "command": "gitlens.computingFileAnnotations",
  1111. "when": "false"
  1112. },
  1113. {
  1114. "command": "gitlens.toggleFileRecentChanges",
  1115. "when": "gitlens:isTracked"
  1116. },
  1117. {
  1118. "command": "gitlens.toggleLineBlame",
  1119. "when": "gitlens:isBlameable"
  1120. },
  1121. {
  1122. "command": "gitlens.toggleCodeLens",
  1123. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  1124. },
  1125. {
  1126. "command": "gitlens.showBlameHistory",
  1127. "when": "gitlens:isBlameable"
  1128. },
  1129. {
  1130. "command": "gitlens.showFileHistory",
  1131. "when": "gitlens:isTracked"
  1132. },
  1133. {
  1134. "command": "gitlens.showLastQuickPick",
  1135. "when": "gitlens:enabled"
  1136. },
  1137. {
  1138. "command": "gitlens.showQuickCommitDetails",
  1139. "when": "gitlens:isBlameable"
  1140. },
  1141. {
  1142. "command": "gitlens.showQuickCommitFileDetails",
  1143. "when": "gitlens:isBlameable"
  1144. },
  1145. {
  1146. "command": "gitlens.showQuickFileHistory",
  1147. "when": "gitlens:isTracked"
  1148. },
  1149. {
  1150. "command": "gitlens.showQuickBranchHistory",
  1151. "when": "gitlens:enabled"
  1152. },
  1153. {
  1154. "command": "gitlens.showQuickRepoHistory",
  1155. "when": "gitlens:enabled"
  1156. },
  1157. {
  1158. "command": "gitlens.showQuickRepoStatus",
  1159. "when": "gitlens:enabled"
  1160. },
  1161. {
  1162. "command": "gitlens.showQuickStashList",
  1163. "when": "gitlens:enabled"
  1164. },
  1165. {
  1166. "command": "gitlens.copyShaToClipboard",
  1167. "when": "gitlens:isBlameable"
  1168. },
  1169. {
  1170. "command": "gitlens.copyMessageToClipboard",
  1171. "when": "gitlens:isBlameable"
  1172. },
  1173. {
  1174. "command": "gitlens.closeUnchangedFiles",
  1175. "when": "gitlens:enabled"
  1176. },
  1177. {
  1178. "command": "gitlens.openChangedFiles",
  1179. "when": "gitlens:enabled"
  1180. },
  1181. {
  1182. "command": "gitlens.openBranchInRemote",
  1183. "when": "gitlens:hasRemotes"
  1184. },
  1185. {
  1186. "command": "gitlens.openCommitInRemote",
  1187. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  1188. },
  1189. {
  1190. "command": "gitlens.openFileInRemote",
  1191. "when": "gitlens:isTracked && gitlens:hasRemotes"
  1192. },
  1193. {
  1194. "command": "gitlens.openRepoInRemote",
  1195. "when": "gitlens:hasRemotes"
  1196. },
  1197. {
  1198. "command": "gitlens.stashApply",
  1199. "when": "gitlens:enabled"
  1200. },
  1201. {
  1202. "command": "gitlens.stashSave",
  1203. "when": "gitlens:enabled"
  1204. },
  1205. {
  1206. "command": "gitlens.resetSuppressedWarnings",
  1207. "when": "gitlens:enabled"
  1208. },
  1209. {
  1210. "command": "gitlens.gitExplorer.refresh",
  1211. "when": "false"
  1212. },
  1213. {
  1214. "command": "gitlens.gitExplorer.switchToHistoryView",
  1215. "when": "gitlens:gitExplorer:view == repository"
  1216. },
  1217. {
  1218. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1219. "when": "gitlens:gitExplorer:view == history"
  1220. },
  1221. {
  1222. "command": "gitlens.gitExplorer.openChanges",
  1223. "when": "false"
  1224. },
  1225. {
  1226. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1227. "when": "false"
  1228. },
  1229. {
  1230. "command": "gitlens.gitExplorer.openFile",
  1231. "when": "false"
  1232. },
  1233. {
  1234. "command": "gitlens.gitExplorer.openFileRevision",
  1235. "when": "false"
  1236. },
  1237. {
  1238. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1239. "when": "false"
  1240. },
  1241. {
  1242. "command": "gitlens.gitExplorer.openChangedFiles",
  1243. "when": "false"
  1244. },
  1245. {
  1246. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1247. "when": "false"
  1248. }
  1249. ],
  1250. "editor/context": [
  1251. {
  1252. "command": "gitlens.openFileInRemote",
  1253. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1254. "group": "navigation@100"
  1255. },
  1256. {
  1257. "command": "gitlens.diffLineWithPrevious",
  1258. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1259. "group": "1_gitlens@1"
  1260. },
  1261. {
  1262. "command": "gitlens.diffLineWithWorking",
  1263. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1264. "group": "1_gitlens@2"
  1265. },
  1266. {
  1267. "command": "gitlens.showQuickCommitFileDetails",
  1268. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1269. "group": "1_gitlens@3"
  1270. },
  1271. {
  1272. "command": "gitlens.diffWithPrevious",
  1273. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1274. "group": "1_gitlens_1@1"
  1275. },
  1276. {
  1277. "command": "gitlens.diffWithWorking",
  1278. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1279. "group": "1_gitlens_1@2"
  1280. },
  1281. {
  1282. "command": "gitlens.showQuickFileHistory",
  1283. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1284. "group": "3_gitlens@1"
  1285. },
  1286. {
  1287. "command": "gitlens.toggleFileBlame",
  1288. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1289. "group": "3_gitlens@2"
  1290. },
  1291. {
  1292. "command": "gitlens.copyShaToClipboard",
  1293. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1294. "group": "9_gitlens@1"
  1295. },
  1296. {
  1297. "command": "gitlens.copyMessageToClipboard",
  1298. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1299. "group": "9_gitlens@2"
  1300. }
  1301. ],
  1302. "editor/title": [
  1303. {
  1304. "command": "gitlens.toggleFileBlame",
  1305. "alt": "gitlens.toggleFileRecentChanges",
  1306. "when": "gitlens:isBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1307. "group": "navigation@100"
  1308. },
  1309. {
  1310. "command": "gitlens.computingFileAnnotations",
  1311. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1312. "group": "navigation@100"
  1313. },
  1314. {
  1315. "command": "gitlens.clearFileAnnotations",
  1316. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1317. "group": "navigation@100"
  1318. },
  1319. {
  1320. "command": "gitlens.openFileInRemote",
  1321. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1322. "group": "1_gitlens"
  1323. },
  1324. {
  1325. "command": "gitlens.openRepoInRemote",
  1326. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1327. "group": "1_gitlens"
  1328. },
  1329. {
  1330. "command": "gitlens.diffWithPrevious",
  1331. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1332. "group": "2_gitlens"
  1333. },
  1334. {
  1335. "command": "gitlens.diffWithWorking",
  1336. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1337. "group": "2_gitlens"
  1338. },
  1339. {
  1340. "command": "gitlens.showQuickFileHistory",
  1341. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1342. "group": "2_gitlens_1"
  1343. },
  1344. {
  1345. "command": "gitlens.showQuickRepoHistory",
  1346. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1347. "group": "2_gitlens_1"
  1348. },
  1349. {
  1350. "command": "gitlens.showQuickRepoStatus",
  1351. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1352. "group": "2_gitlens_1"
  1353. }
  1354. ],
  1355. "editor/title/context": [
  1356. {
  1357. "command": "gitlens.openFileInRemote",
  1358. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1359. "group": "1_gitlens"
  1360. },
  1361. {
  1362. "command": "gitlens.diffWithPrevious",
  1363. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1364. "group": "1_gitlens_1@1"
  1365. },
  1366. {
  1367. "command": "gitlens.diffWithWorking",
  1368. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1369. "group": "1_gitlens_1@2"
  1370. },
  1371. {
  1372. "command": "gitlens.showQuickFileHistory",
  1373. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1374. "group": "1_gitlens_2@1"
  1375. },
  1376. {
  1377. "command": "gitlens.toggleFileBlame",
  1378. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1379. "group": "1_gitlens_2@2"
  1380. }
  1381. ],
  1382. "explorer/context": [
  1383. {
  1384. "command": "gitlens.openFileInRemote",
  1385. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.remote",
  1386. "group": "navigation@100"
  1387. },
  1388. {
  1389. "command": "gitlens.diffWithPrevious",
  1390. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1391. "group": "1_gitlens@1"
  1392. },
  1393. {
  1394. "command": "gitlens.diffWithWorking",
  1395. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1396. "group": "1_gitlens@2"
  1397. },
  1398. {
  1399. "command": "gitlens.showQuickFileHistory",
  1400. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1401. "group": "1_gitlens_1@1"
  1402. }
  1403. ],
  1404. "scm/resourceGroup/context": [
  1405. {
  1406. "command": "gitlens.openChangedFiles",
  1407. "when": "gitlens:enabled",
  1408. "group": "1_gitlens@1"
  1409. },
  1410. {
  1411. "command": "gitlens.closeUnchangedFiles",
  1412. "when": "gitlens:enabled",
  1413. "group": "1_gitlens@2"
  1414. }
  1415. ],
  1416. "scm/resourceState/context": [
  1417. {
  1418. "command": "gitlens.openFileInRemote",
  1419. "when": "gitlens:enabled && gitlens:hasRemotes",
  1420. "group": "navigation"
  1421. },
  1422. {
  1423. "command": "gitlens.diffWithRevision",
  1424. "when": "gitlens:enabled",
  1425. "group": "1_gitlens@1"
  1426. },
  1427. {
  1428. "command": "gitlens.showQuickFileHistory",
  1429. "when": "gitlens:enabled",
  1430. "group": "1_gitlens_1@1"
  1431. }
  1432. ],
  1433. "view/title": [
  1434. {
  1435. "command": "gitlens.showCommitSearch",
  1436. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1437. "group": "navigation@1"
  1438. },
  1439. {
  1440. "command": "gitlens.gitExplorer.switchToHistoryView",
  1441. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1442. "group": "navigation@2"
  1443. },
  1444. {
  1445. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1446. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1447. "group": "navigation@3"
  1448. },
  1449. {
  1450. "command": "gitlens.gitExplorer.refresh",
  1451. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1452. "group": "navigation@4"
  1453. }
  1454. ],
  1455. "view/item/context": [
  1456. {
  1457. "command": "gitlens.openBranchInRemote",
  1458. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1459. "group": "1_gitlens@1"
  1460. },
  1461. {
  1462. "command": "gitlens.openCommitInRemote",
  1463. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1464. "group": "1_gitlens@1"
  1465. },
  1466. {
  1467. "command": "gitlens.copyShaToClipboard",
  1468. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1469. "group": "2_gitlens@1"
  1470. },
  1471. {
  1472. "command": "gitlens.copyMessageToClipboard",
  1473. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1474. "group": "2_gitlens@2"
  1475. },
  1476. {
  1477. "command": "gitlens.gitExplorer.openChangedFiles",
  1478. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1479. "group": "3_gitlens@1"
  1480. },
  1481. {
  1482. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1483. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1484. "group": "3_gitlens@2"
  1485. },
  1486. {
  1487. "command": "gitlens.showQuickCommitDetails",
  1488. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1489. "group": "4_gitlens@1"
  1490. },
  1491. {
  1492. "command": "gitlens.gitExplorer.openChanges",
  1493. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1494. "group": "1_gitlens@1"
  1495. },
  1496. {
  1497. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1498. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1499. "group": "1_gitlens@2"
  1500. },
  1501. {
  1502. "command": "gitlens.gitExplorer.openFile",
  1503. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1504. "group": "2_gitlens@1"
  1505. },
  1506. {
  1507. "command": "gitlens.gitExplorer.openFileRevision",
  1508. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1509. "group": "2_gitlens@2"
  1510. },
  1511. {
  1512. "command": "gitlens.openFileInRemote",
  1513. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1514. "group": "3_gitlens@1"
  1515. },
  1516. {
  1517. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1518. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1519. "group": "3_gitlens@2"
  1520. },
  1521. {
  1522. "command": "gitlens.showQuickFileHistory",
  1523. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  1524. "group": "4_gitlens@1"
  1525. },
  1526. {
  1527. "command": "gitlens.showQuickCommitFileDetails",
  1528. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1529. "group": "4_gitlens@2"
  1530. },
  1531. {
  1532. "command": "gitlens.stashApply",
  1533. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1534. "group": "1_gitlens@1"
  1535. },
  1536. {
  1537. "command": "gitlens.stashDelete",
  1538. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1539. "group": "1_gitlens@2"
  1540. },
  1541. {
  1542. "command": "gitlens.copyMessageToClipboard",
  1543. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1544. "group": "2_gitlens@1"
  1545. },
  1546. {
  1547. "command": "gitlens.gitExplorer.openChangedFiles",
  1548. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1549. "group": "3_gitlens@1"
  1550. },
  1551. {
  1552. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1553. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1554. "group": "3_gitlens@2"
  1555. },
  1556. {
  1557. "command": "gitlens.gitExplorer.openChanges",
  1558. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1559. "group": "1_gitlens@1"
  1560. },
  1561. {
  1562. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1563. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1564. "group": "1_gitlens@2"
  1565. },
  1566. {
  1567. "command": "gitlens.gitExplorer.openFile",
  1568. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1569. "group": "2_gitlens@1"
  1570. },
  1571. {
  1572. "command": "gitlens.gitExplorer.openFileRevision",
  1573. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1574. "group": "2_gitlens@2"
  1575. },
  1576. {
  1577. "command": "gitlens.openFileInRemote",
  1578. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1579. "group": "3_gitlens@1"
  1580. },
  1581. {
  1582. "command": "gitlens.showQuickFileHistory",
  1583. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1584. "group": "4_gitlens@1"
  1585. }
  1586. ]
  1587. },
  1588. "keybindings": [
  1589. {
  1590. "command": "gitlens.key.left",
  1591. "key": "alt+left",
  1592. "when": "gitlens:key:left"
  1593. },
  1594. {
  1595. "command": "gitlens.key.right",
  1596. "key": "alt+right",
  1597. "when": "gitlens:key:right"
  1598. },
  1599. {
  1600. "command": "gitlens.key.,",
  1601. "key": "alt+,",
  1602. "when": "gitlens:key:,"
  1603. },
  1604. {
  1605. "command": "gitlens.key..",
  1606. "key": "alt+.",
  1607. "when": "gitlens:key:."
  1608. },
  1609. {
  1610. "command": "gitlens.key.escape",
  1611. "key": "escape",
  1612. "when": "gitlens:key:escape"
  1613. },
  1614. {
  1615. "command": "gitlens.toggleFileBlame",
  1616. "key": "alt+b",
  1617. "when": "editorTextFocus && gitlens:isTracked"
  1618. },
  1619. {
  1620. "command": "gitlens.toggleCodeLens",
  1621. "key": "shift+alt+b",
  1622. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1623. },
  1624. {
  1625. "command": "gitlens.showLastQuickPick",
  1626. "key": "alt+-",
  1627. "when": "gitlens:enabled"
  1628. },
  1629. {
  1630. "command": "gitlens.showCommitSearch",
  1631. "key": "alt+/",
  1632. "when": "gitlens:enabled"
  1633. },
  1634. {
  1635. "command": "gitlens.showQuickFileHistory",
  1636. "key": "alt+h",
  1637. "when": "gitlens:enabled"
  1638. },
  1639. {
  1640. "command": "gitlens.showQuickRepoHistory",
  1641. "key": "shift+alt+h",
  1642. "when": "gitlens:enabled"
  1643. },
  1644. {
  1645. "command": "gitlens.showQuickRepoStatus",
  1646. "key": "alt+s",
  1647. "when": "gitlens:enabled"
  1648. },
  1649. {
  1650. "command": "gitlens.showQuickCommitFileDetails",
  1651. "key": "alt+c",
  1652. "when": "editorTextFocus && gitlens:enabled"
  1653. },
  1654. {
  1655. "command": "gitlens.diffWithNext",
  1656. "key": "alt+.",
  1657. "when": "editorTextFocus && gitlens:isTracked"
  1658. },
  1659. {
  1660. "command": "gitlens.diffLineWithPrevious",
  1661. "key": "shift+alt+,",
  1662. "when": "editorTextFocus && gitlens:isTracked"
  1663. },
  1664. {
  1665. "command": "gitlens.diffWithPrevious",
  1666. "key": "alt+,",
  1667. "when": "editorTextFocus && gitlens:isTracked"
  1668. },
  1669. {
  1670. "command": "gitlens.diffLineWithWorking",
  1671. "key": "alt+w",
  1672. "when": "editorTextFocus && gitlens:isTracked"
  1673. },
  1674. {
  1675. "command": "gitlens.diffWithWorking",
  1676. "key": "shift+alt+w",
  1677. "when": "editorTextFocus && gitlens:isTracked"
  1678. }
  1679. ],
  1680. "views": {
  1681. "explorer": [
  1682. {
  1683. "id": "gitlens.gitExplorer",
  1684. "name": "GitLens",
  1685. "when": "gitlens:enabled"
  1686. }
  1687. ]
  1688. }
  1689. },
  1690. "activationEvents": [
  1691. "*"
  1692. ],
  1693. "scripts": {
  1694. "clean": "git clean -xdf",
  1695. "compile": "tslint --project tslint.json && tsc -p ./",
  1696. "watch": "tsc -watch -p ./",
  1697. "lint": "tslint --project tslint.json",
  1698. "pack": "git clean -xdf && vsce package",
  1699. "postinstall": "node ./node_modules/vscode/bin/install",
  1700. "pub": "git clean -xdf && vsce publish",
  1701. "reset": "git clean -xdf && npm install",
  1702. "vscode:prepublish": "npm install --no-save && npm run compile"
  1703. },
  1704. "dependencies": {
  1705. "applicationinsights": "0.21.0",
  1706. "copy-paste": "1.3.0",
  1707. "iconv-lite": "0.4.18",
  1708. "ignore": "3.3.5",
  1709. "lodash.debounce": "4.0.8",
  1710. "lodash.escaperegexp": "4.1.2",
  1711. "lodash.isequal": "4.5.0",
  1712. "lodash.once": "4.1.1",
  1713. "moment": "2.18.1",
  1714. "spawn-rx": "2.0.11",
  1715. "string-width": "2.1.1",
  1716. "tmp": "0.0.33"
  1717. },
  1718. "devDependencies": {
  1719. "@types/copy-paste": "1.1.30",
  1720. "@types/iconv-lite": "0.0.1",
  1721. "@types/mocha": "2.2.42",
  1722. "@types/node": "8.0.26",
  1723. "@types/tmp": "0.0.33",
  1724. "mocha": "3.5.0",
  1725. "tslint": "5.7.0",
  1726. "typescript": "2.5.2",
  1727. "vscode": "1.1.5"
  1728. }
  1729. }