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.

1449 lines
68 KiB

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