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.

1384 line
66 KiB

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