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.

1758 lines
82 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. "command": "gitlens.gitExplorer.applyChanges",
  1060. "title": "Apply Changes",
  1061. "category": "GitLens"
  1062. }
  1063. ],
  1064. "menus": {
  1065. "commandPalette": [
  1066. {
  1067. "command": "gitlens.diffDirectory",
  1068. "when": "gitlens:enabled"
  1069. },
  1070. {
  1071. "command": "gitlens.diffWithBranch",
  1072. "when": "gitlens:isTracked"
  1073. },
  1074. {
  1075. "command": "gitlens.diffWithNext",
  1076. "when": "gitlens:isTracked"
  1077. },
  1078. {
  1079. "command": "gitlens.diffWithPrevious",
  1080. "when": "gitlens:isTracked"
  1081. },
  1082. {
  1083. "command": "gitlens.diffLineWithPrevious",
  1084. "when": "gitlens:isBlameable"
  1085. },
  1086. {
  1087. "command": "gitlens.diffWithRevision",
  1088. "when": "gitlens:isTracked"
  1089. },
  1090. {
  1091. "command": "gitlens.diffWithWorking",
  1092. "when": "gitlens:isTracked"
  1093. },
  1094. {
  1095. "command": "gitlens.diffLineWithWorking",
  1096. "when": "gitlens:isBlameable"
  1097. },
  1098. {
  1099. "command": "gitlens.showFileBlame",
  1100. "when": "gitlens:isBlameable"
  1101. },
  1102. {
  1103. "command": "gitlens.showLineBlame",
  1104. "when": "gitlens:isBlameable"
  1105. },
  1106. {
  1107. "command": "gitlens.toggleFileBlame",
  1108. "when": "gitlens:isBlameable"
  1109. },
  1110. {
  1111. "command": "gitlens.clearFileAnnotations",
  1112. "when": "gitlens:annotationStatus == computed"
  1113. },
  1114. {
  1115. "command": "gitlens.computingFileAnnotations",
  1116. "when": "false"
  1117. },
  1118. {
  1119. "command": "gitlens.toggleFileRecentChanges",
  1120. "when": "gitlens:isTracked"
  1121. },
  1122. {
  1123. "command": "gitlens.toggleLineBlame",
  1124. "when": "gitlens:isBlameable"
  1125. },
  1126. {
  1127. "command": "gitlens.toggleCodeLens",
  1128. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  1129. },
  1130. {
  1131. "command": "gitlens.showBlameHistory",
  1132. "when": "gitlens:isBlameable"
  1133. },
  1134. {
  1135. "command": "gitlens.showFileHistory",
  1136. "when": "gitlens:isTracked"
  1137. },
  1138. {
  1139. "command": "gitlens.showLastQuickPick",
  1140. "when": "gitlens:enabled"
  1141. },
  1142. {
  1143. "command": "gitlens.showQuickCommitDetails",
  1144. "when": "gitlens:isBlameable"
  1145. },
  1146. {
  1147. "command": "gitlens.showQuickCommitFileDetails",
  1148. "when": "gitlens:isBlameable"
  1149. },
  1150. {
  1151. "command": "gitlens.showQuickFileHistory",
  1152. "when": "gitlens:isTracked"
  1153. },
  1154. {
  1155. "command": "gitlens.showQuickBranchHistory",
  1156. "when": "gitlens:enabled"
  1157. },
  1158. {
  1159. "command": "gitlens.showQuickRepoHistory",
  1160. "when": "gitlens:enabled"
  1161. },
  1162. {
  1163. "command": "gitlens.showQuickRepoStatus",
  1164. "when": "gitlens:enabled"
  1165. },
  1166. {
  1167. "command": "gitlens.showQuickStashList",
  1168. "when": "gitlens:enabled"
  1169. },
  1170. {
  1171. "command": "gitlens.copyShaToClipboard",
  1172. "when": "gitlens:isBlameable"
  1173. },
  1174. {
  1175. "command": "gitlens.copyMessageToClipboard",
  1176. "when": "gitlens:isBlameable"
  1177. },
  1178. {
  1179. "command": "gitlens.closeUnchangedFiles",
  1180. "when": "gitlens:enabled"
  1181. },
  1182. {
  1183. "command": "gitlens.openChangedFiles",
  1184. "when": "gitlens:enabled"
  1185. },
  1186. {
  1187. "command": "gitlens.openBranchInRemote",
  1188. "when": "gitlens:hasRemotes"
  1189. },
  1190. {
  1191. "command": "gitlens.openCommitInRemote",
  1192. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  1193. },
  1194. {
  1195. "command": "gitlens.openFileInRemote",
  1196. "when": "gitlens:isTracked && gitlens:hasRemotes"
  1197. },
  1198. {
  1199. "command": "gitlens.openRepoInRemote",
  1200. "when": "gitlens:hasRemotes"
  1201. },
  1202. {
  1203. "command": "gitlens.stashApply",
  1204. "when": "gitlens:enabled"
  1205. },
  1206. {
  1207. "command": "gitlens.stashSave",
  1208. "when": "gitlens:enabled"
  1209. },
  1210. {
  1211. "command": "gitlens.resetSuppressedWarnings",
  1212. "when": "gitlens:enabled"
  1213. },
  1214. {
  1215. "command": "gitlens.gitExplorer.refresh",
  1216. "when": "false"
  1217. },
  1218. {
  1219. "command": "gitlens.gitExplorer.switchToHistoryView",
  1220. "when": "gitlens:gitExplorer:view == repository"
  1221. },
  1222. {
  1223. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1224. "when": "gitlens:gitExplorer:view == history"
  1225. },
  1226. {
  1227. "command": "gitlens.gitExplorer.openChanges",
  1228. "when": "false"
  1229. },
  1230. {
  1231. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1232. "when": "false"
  1233. },
  1234. {
  1235. "command": "gitlens.gitExplorer.openFile",
  1236. "when": "false"
  1237. },
  1238. {
  1239. "command": "gitlens.gitExplorer.openFileRevision",
  1240. "when": "false"
  1241. },
  1242. {
  1243. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1244. "when": "false"
  1245. },
  1246. {
  1247. "command": "gitlens.gitExplorer.openChangedFiles",
  1248. "when": "false"
  1249. },
  1250. {
  1251. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1252. "when": "false"
  1253. },
  1254. {
  1255. "command": "gitlens.gitExplorer.applyChanges",
  1256. "when": "false"
  1257. }
  1258. ],
  1259. "editor/context": [
  1260. {
  1261. "command": "gitlens.openFileInRemote",
  1262. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1263. "group": "navigation@100"
  1264. },
  1265. {
  1266. "command": "gitlens.diffLineWithPrevious",
  1267. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1268. "group": "1_gitlens@1"
  1269. },
  1270. {
  1271. "command": "gitlens.diffLineWithWorking",
  1272. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1273. "group": "1_gitlens@2"
  1274. },
  1275. {
  1276. "command": "gitlens.showQuickCommitFileDetails",
  1277. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1278. "group": "1_gitlens@3"
  1279. },
  1280. {
  1281. "command": "gitlens.diffWithPrevious",
  1282. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1283. "group": "1_gitlens_1@1"
  1284. },
  1285. {
  1286. "command": "gitlens.diffWithWorking",
  1287. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1288. "group": "1_gitlens_1@2"
  1289. },
  1290. {
  1291. "command": "gitlens.showQuickFileHistory",
  1292. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1293. "group": "3_gitlens@1"
  1294. },
  1295. {
  1296. "command": "gitlens.toggleFileBlame",
  1297. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1298. "group": "3_gitlens@2"
  1299. },
  1300. {
  1301. "command": "gitlens.copyShaToClipboard",
  1302. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1303. "group": "9_gitlens@1"
  1304. },
  1305. {
  1306. "command": "gitlens.copyMessageToClipboard",
  1307. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1308. "group": "9_gitlens@2"
  1309. }
  1310. ],
  1311. "editor/title": [
  1312. {
  1313. "command": "gitlens.toggleFileBlame",
  1314. "alt": "gitlens.toggleFileRecentChanges",
  1315. "when": "gitlens:isBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1316. "group": "navigation@100"
  1317. },
  1318. {
  1319. "command": "gitlens.computingFileAnnotations",
  1320. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1321. "group": "navigation@100"
  1322. },
  1323. {
  1324. "command": "gitlens.clearFileAnnotations",
  1325. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1326. "group": "navigation@100"
  1327. },
  1328. {
  1329. "command": "gitlens.openFileInRemote",
  1330. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1331. "group": "1_gitlens"
  1332. },
  1333. {
  1334. "command": "gitlens.openRepoInRemote",
  1335. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1336. "group": "1_gitlens"
  1337. },
  1338. {
  1339. "command": "gitlens.diffWithPrevious",
  1340. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1341. "group": "2_gitlens"
  1342. },
  1343. {
  1344. "command": "gitlens.diffWithWorking",
  1345. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1346. "group": "2_gitlens"
  1347. },
  1348. {
  1349. "command": "gitlens.showQuickFileHistory",
  1350. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1351. "group": "2_gitlens_1"
  1352. },
  1353. {
  1354. "command": "gitlens.showQuickRepoHistory",
  1355. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1356. "group": "2_gitlens_1"
  1357. },
  1358. {
  1359. "command": "gitlens.showQuickRepoStatus",
  1360. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1361. "group": "2_gitlens_1"
  1362. }
  1363. ],
  1364. "editor/title/context": [
  1365. {
  1366. "command": "gitlens.openFileInRemote",
  1367. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1368. "group": "1_gitlens"
  1369. },
  1370. {
  1371. "command": "gitlens.diffWithPrevious",
  1372. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1373. "group": "1_gitlens_1@1"
  1374. },
  1375. {
  1376. "command": "gitlens.diffWithWorking",
  1377. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1378. "group": "1_gitlens_1@2"
  1379. },
  1380. {
  1381. "command": "gitlens.showQuickFileHistory",
  1382. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1383. "group": "1_gitlens_2@1"
  1384. },
  1385. {
  1386. "command": "gitlens.toggleFileBlame",
  1387. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1388. "group": "1_gitlens_2@2"
  1389. }
  1390. ],
  1391. "explorer/context": [
  1392. {
  1393. "command": "gitlens.openFileInRemote",
  1394. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.remote",
  1395. "group": "navigation@100"
  1396. },
  1397. {
  1398. "command": "gitlens.diffWithPrevious",
  1399. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1400. "group": "1_gitlens@1"
  1401. },
  1402. {
  1403. "command": "gitlens.diffWithWorking",
  1404. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1405. "group": "1_gitlens@2"
  1406. },
  1407. {
  1408. "command": "gitlens.showQuickFileHistory",
  1409. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1410. "group": "1_gitlens_1@1"
  1411. }
  1412. ],
  1413. "scm/resourceGroup/context": [
  1414. {
  1415. "command": "gitlens.openChangedFiles",
  1416. "when": "gitlens:enabled",
  1417. "group": "1_gitlens@1"
  1418. },
  1419. {
  1420. "command": "gitlens.closeUnchangedFiles",
  1421. "when": "gitlens:enabled",
  1422. "group": "1_gitlens@2"
  1423. },
  1424. {
  1425. "command": "gitlens.stashSave",
  1426. "when": "gitlens:enabled",
  1427. "group": "2_gitlens@1"
  1428. }
  1429. ],
  1430. "scm/resourceState/context": [
  1431. {
  1432. "command": "gitlens.openFileInRemote",
  1433. "when": "gitlens:enabled && gitlens:hasRemotes",
  1434. "group": "navigation"
  1435. },
  1436. {
  1437. "command": "gitlens.diffWithRevision",
  1438. "when": "gitlens:enabled",
  1439. "group": "1_gitlens@1"
  1440. },
  1441. {
  1442. "command": "gitlens.showQuickFileHistory",
  1443. "when": "gitlens:enabled",
  1444. "group": "1_gitlens_1@1"
  1445. },
  1446. {
  1447. "command": "gitlens.stashSave",
  1448. "when": "gitlens:enabled",
  1449. "group": "2_gitlens@1"
  1450. }
  1451. ],
  1452. "view/title": [
  1453. {
  1454. "command": "gitlens.showCommitSearch",
  1455. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1456. "group": "navigation@1"
  1457. },
  1458. {
  1459. "command": "gitlens.gitExplorer.switchToHistoryView",
  1460. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1461. "group": "navigation@2"
  1462. },
  1463. {
  1464. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1465. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1466. "group": "navigation@3"
  1467. },
  1468. {
  1469. "command": "gitlens.gitExplorer.refresh",
  1470. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1471. "group": "navigation@4"
  1472. }
  1473. ],
  1474. "view/item/context": [
  1475. {
  1476. "command": "gitlens.openBranchInRemote",
  1477. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1478. "group": "1_gitlens@1"
  1479. },
  1480. {
  1481. "command": "gitlens.openCommitInRemote",
  1482. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1483. "group": "1_gitlens@1"
  1484. },
  1485. {
  1486. "command": "gitlens.copyShaToClipboard",
  1487. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1488. "group": "2_gitlens@1"
  1489. },
  1490. {
  1491. "command": "gitlens.copyMessageToClipboard",
  1492. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1493. "group": "2_gitlens@2"
  1494. },
  1495. {
  1496. "command": "gitlens.gitExplorer.openChangedFiles",
  1497. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1498. "group": "3_gitlens@1"
  1499. },
  1500. {
  1501. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1502. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1503. "group": "3_gitlens@2"
  1504. },
  1505. {
  1506. "command": "gitlens.showQuickCommitDetails",
  1507. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1508. "group": "4_gitlens@1"
  1509. },
  1510. {
  1511. "command": "gitlens.gitExplorer.openChanges",
  1512. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1513. "group": "1_gitlens@1"
  1514. },
  1515. {
  1516. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1517. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1518. "group": "1_gitlens@2"
  1519. },
  1520. {
  1521. "command": "gitlens.gitExplorer.openFile",
  1522. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1523. "group": "2_gitlens@1"
  1524. },
  1525. {
  1526. "command": "gitlens.gitExplorer.openFileRevision",
  1527. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1528. "group": "2_gitlens@2"
  1529. },
  1530. {
  1531. "command": "gitlens.openFileInRemote",
  1532. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1533. "group": "3_gitlens@1"
  1534. },
  1535. {
  1536. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1537. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1538. "group": "3_gitlens@2"
  1539. },
  1540. {
  1541. "command": "gitlens.gitExplorer.applyChanges",
  1542. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1543. "group": "4_gitlens@1"
  1544. },
  1545. {
  1546. "command": "gitlens.showQuickFileHistory",
  1547. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  1548. "group": "5_gitlens@1"
  1549. },
  1550. {
  1551. "command": "gitlens.showQuickCommitFileDetails",
  1552. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1553. "group": "5_gitlens@2"
  1554. },
  1555. {
  1556. "command": "gitlens.stashApply",
  1557. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1558. "group": "1_gitlens@1"
  1559. },
  1560. {
  1561. "command": "gitlens.stashDelete",
  1562. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1563. "group": "1_gitlens@2"
  1564. },
  1565. {
  1566. "command": "gitlens.copyMessageToClipboard",
  1567. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1568. "group": "2_gitlens@1"
  1569. },
  1570. {
  1571. "command": "gitlens.gitExplorer.openChangedFiles",
  1572. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1573. "group": "3_gitlens@1"
  1574. },
  1575. {
  1576. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1577. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1578. "group": "3_gitlens@2"
  1579. },
  1580. {
  1581. "command": "gitlens.gitExplorer.openChanges",
  1582. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1583. "group": "1_gitlens@1"
  1584. },
  1585. {
  1586. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1587. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1588. "group": "1_gitlens@2"
  1589. },
  1590. {
  1591. "command": "gitlens.gitExplorer.openFile",
  1592. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1593. "group": "2_gitlens@1"
  1594. },
  1595. {
  1596. "command": "gitlens.gitExplorer.openFileRevision",
  1597. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1598. "group": "2_gitlens@2"
  1599. },
  1600. {
  1601. "command": "gitlens.openFileInRemote",
  1602. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1603. "group": "3_gitlens@1"
  1604. },
  1605. {
  1606. "command": "gitlens.gitExplorer.applyChanges",
  1607. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1608. "group": "4_gitlens@1"
  1609. },
  1610. {
  1611. "command": "gitlens.showQuickFileHistory",
  1612. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1613. "group": "5_gitlens@1"
  1614. }
  1615. ]
  1616. },
  1617. "keybindings": [
  1618. {
  1619. "command": "gitlens.key.left",
  1620. "key": "alt+left",
  1621. "when": "gitlens:key:left"
  1622. },
  1623. {
  1624. "command": "gitlens.key.right",
  1625. "key": "alt+right",
  1626. "when": "gitlens:key:right"
  1627. },
  1628. {
  1629. "command": "gitlens.key.,",
  1630. "key": "alt+,",
  1631. "when": "gitlens:key:,"
  1632. },
  1633. {
  1634. "command": "gitlens.key..",
  1635. "key": "alt+.",
  1636. "when": "gitlens:key:."
  1637. },
  1638. {
  1639. "command": "gitlens.key.escape",
  1640. "key": "escape",
  1641. "when": "gitlens:key:escape"
  1642. },
  1643. {
  1644. "command": "gitlens.toggleFileBlame",
  1645. "key": "alt+b",
  1646. "when": "editorTextFocus && gitlens:isTracked"
  1647. },
  1648. {
  1649. "command": "gitlens.toggleCodeLens",
  1650. "key": "shift+alt+b",
  1651. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1652. },
  1653. {
  1654. "command": "gitlens.showLastQuickPick",
  1655. "key": "alt+-",
  1656. "when": "gitlens:enabled"
  1657. },
  1658. {
  1659. "command": "gitlens.showCommitSearch",
  1660. "key": "alt+/",
  1661. "when": "gitlens:enabled"
  1662. },
  1663. {
  1664. "command": "gitlens.showQuickFileHistory",
  1665. "key": "alt+h",
  1666. "when": "gitlens:enabled"
  1667. },
  1668. {
  1669. "command": "gitlens.showQuickRepoHistory",
  1670. "key": "shift+alt+h",
  1671. "when": "gitlens:enabled"
  1672. },
  1673. {
  1674. "command": "gitlens.showQuickRepoStatus",
  1675. "key": "alt+s",
  1676. "when": "gitlens:enabled"
  1677. },
  1678. {
  1679. "command": "gitlens.showQuickCommitFileDetails",
  1680. "key": "alt+c",
  1681. "when": "editorTextFocus && gitlens:enabled"
  1682. },
  1683. {
  1684. "command": "gitlens.diffWithNext",
  1685. "key": "alt+.",
  1686. "when": "editorTextFocus && gitlens:isTracked"
  1687. },
  1688. {
  1689. "command": "gitlens.diffLineWithPrevious",
  1690. "key": "shift+alt+,",
  1691. "when": "editorTextFocus && gitlens:isTracked"
  1692. },
  1693. {
  1694. "command": "gitlens.diffWithPrevious",
  1695. "key": "alt+,",
  1696. "when": "editorTextFocus && gitlens:isTracked"
  1697. },
  1698. {
  1699. "command": "gitlens.diffLineWithWorking",
  1700. "key": "alt+w",
  1701. "when": "editorTextFocus && gitlens:isTracked"
  1702. },
  1703. {
  1704. "command": "gitlens.diffWithWorking",
  1705. "key": "shift+alt+w",
  1706. "when": "editorTextFocus && gitlens:isTracked"
  1707. }
  1708. ],
  1709. "views": {
  1710. "explorer": [
  1711. {
  1712. "id": "gitlens.gitExplorer",
  1713. "name": "GitLens",
  1714. "when": "gitlens:enabled"
  1715. }
  1716. ]
  1717. }
  1718. },
  1719. "activationEvents": [
  1720. "*"
  1721. ],
  1722. "scripts": {
  1723. "clean": "git clean -xdf",
  1724. "compile": "tslint --project tslint.json && tsc -p ./",
  1725. "watch": "tsc -watch -p ./",
  1726. "lint": "tslint --project tslint.json",
  1727. "pack": "git clean -xdf && vsce package",
  1728. "postinstall": "node ./node_modules/vscode/bin/install",
  1729. "pub": "git clean -xdf && vsce publish",
  1730. "reset": "git clean -xdf && npm install",
  1731. "vscode:prepublish": "npm install --no-save && npm run compile"
  1732. },
  1733. "dependencies": {
  1734. "applicationinsights": "0.21.0",
  1735. "copy-paste": "1.3.0",
  1736. "iconv-lite": "0.4.18",
  1737. "ignore": "3.3.5",
  1738. "lodash.debounce": "4.0.8",
  1739. "lodash.escaperegexp": "4.1.2",
  1740. "lodash.isequal": "4.5.0",
  1741. "lodash.once": "4.1.1",
  1742. "moment": "2.18.1",
  1743. "spawn-rx": "2.0.11",
  1744. "string-width": "2.1.1",
  1745. "tmp": "0.0.33"
  1746. },
  1747. "devDependencies": {
  1748. "@types/copy-paste": "1.1.30",
  1749. "@types/iconv-lite": "0.0.1",
  1750. "@types/mocha": "2.2.42",
  1751. "@types/node": "8.0.26",
  1752. "@types/tmp": "0.0.33",
  1753. "mocha": "3.5.0",
  1754. "tslint": "5.7.0",
  1755. "typescript": "2.5.2",
  1756. "vscode": "1.1.5"
  1757. }
  1758. }