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.

1586 lines
73 KiB

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