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.

1271 lines
59 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "4.0.0-beta",
  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 comparision 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.svg",
  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.line.hover.details": {
  126. "type": "boolean",
  127. "default": true,
  128. "description": "Specifies whether or not to provide a commit details hover annotation for the current line"
  129. },
  130. "gitlens.annotations.line.hover.changes": {
  131. "type": "boolean",
  132. "default": true,
  133. "description": "Specifies whether or not to provide a changes (diff) hover annotation for the current line"
  134. },
  135. "gitlens.annotations.line.trailing.format": {
  136. "type": "string",
  137. "default": "${authorAgo} \u2022 ${message}",
  138. "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"
  139. },
  140. "gitlens.annotations.line.trailing.dateFormat": {
  141. "type": "string",
  142. "default": null,
  143. "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"
  144. },
  145. "gitlens.annotations.line.trailing.hover.details": {
  146. "type": "boolean",
  147. "default": true,
  148. "description": "Specifies whether or not to provide a commit details hover annotation over the trailing blame annotations"
  149. },
  150. "gitlens.annotations.line.trailing.hover.changes": {
  151. "type": "boolean",
  152. "default": true,
  153. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the trailing blame annotations"
  154. },
  155. "gitlens.annotations.line.trailing.hover.wholeLine": {
  156. "type": "boolean",
  157. "default": false,
  158. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  159. },
  160. "gitlens.blame.file.annotationType": {
  161. "type": "string",
  162. "default": "gutter",
  163. "enum": [
  164. "gutter",
  165. "hover"
  166. ],
  167. "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"
  168. },
  169. "gitlens.blame.file.lineHighlight.enabled": {
  170. "type": "boolean",
  171. "default": true,
  172. "description": "Specifies whether or not to highlight lines associated with the current line"
  173. },
  174. "gitlens.blame.file.lineHighlight.locations": {
  175. "type": "array",
  176. "default": [
  177. "gutter",
  178. "line",
  179. "overviewRuler"
  180. ],
  181. "items": {
  182. "type": "string",
  183. "enum": [
  184. "gutter",
  185. "line",
  186. "overviewRuler"
  187. ]
  188. },
  189. "minItems": 1,
  190. "maxItems": 3,
  191. "uniqueItems": true,
  192. "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)"
  193. },
  194. "gitlens.blame.line.enabled": {
  195. "type": "boolean",
  196. "default": true,
  197. "description": "Specifies whether or not to provide a blame annotation for the current line"
  198. },
  199. "gitlens.blame.line.annotationType": {
  200. "type": "string",
  201. "default": "trailing",
  202. "enum": [
  203. "trailing",
  204. "hover"
  205. ],
  206. "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"
  207. },
  208. "gitlens.codeLens.enabled": {
  209. "type": "boolean",
  210. "default": true,
  211. "description": "Specifies whether or not to provide any Git code lens"
  212. },
  213. "gitlens.codeLens.recentChange.enabled": {
  214. "type": "boolean",
  215. "default": true,
  216. "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"
  217. },
  218. "gitlens.codeLens.recentChange.command": {
  219. "type": "string",
  220. "default": "gitlens.showQuickCommitFileDetails",
  221. "enum": [
  222. "gitlens.toggleFileBlame",
  223. "gitlens.showBlameHistory",
  224. "gitlens.showFileHistory",
  225. "gitlens.diffWithPrevious",
  226. "gitlens.showQuickCommitDetails",
  227. "gitlens.showQuickCommitFileDetails",
  228. "gitlens.showQuickFileHistory",
  229. "gitlens.showQuickRepoHistory"
  230. ],
  231. "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"
  232. },
  233. "gitlens.codeLens.authors.enabled": {
  234. "type": "boolean",
  235. "default": true,
  236. "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)"
  237. },
  238. "gitlens.codeLens.authors.command": {
  239. "type": "string",
  240. "default": "gitlens.toggleFileBlame",
  241. "enum": [
  242. "gitlens.toggleFileBlame",
  243. "gitlens.showBlameHistory",
  244. "gitlens.showFileHistory",
  245. "gitlens.diffWithPrevious",
  246. "gitlens.showQuickCommitDetails",
  247. "gitlens.showQuickCommitFileDetails",
  248. "gitlens.showQuickFileHistory",
  249. "gitlens.showQuickRepoHistory"
  250. ],
  251. "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"
  252. },
  253. "gitlens.codeLens.locations": {
  254. "type": "array",
  255. "default": [
  256. "document",
  257. "containers"
  258. ],
  259. "items": {
  260. "type": "string",
  261. "enum": [
  262. "document",
  263. "containers",
  264. "blocks",
  265. "custom"
  266. ]
  267. },
  268. "minItems": 1,
  269. "maxItems": 4,
  270. "uniqueItems": true,
  271. "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`"
  272. },
  273. "gitlens.codeLens.customLocationSymbols": {
  274. "type": "array",
  275. "items": {
  276. "type": "string"
  277. },
  278. "uniqueItems": true,
  279. "description": "Specifies the set of document symbols where Git code lens will be shown in the document\nMust be a member of `SymbolKind`"
  280. },
  281. "gitlens.codeLens.perLanguageLocations": {
  282. "type": "array",
  283. "default": [
  284. {
  285. "language": "css",
  286. "locations": [
  287. "document"
  288. ]
  289. },
  290. {
  291. "language": "html",
  292. "locations": [
  293. "document"
  294. ]
  295. },
  296. {
  297. "language": "json",
  298. "locations": [
  299. "document"
  300. ]
  301. },
  302. {
  303. "language": "less",
  304. "locations": [
  305. "document"
  306. ]
  307. },
  308. {
  309. "language": "scss",
  310. "locations": [
  311. "document"
  312. ]
  313. },
  314. {
  315. "language": "vue",
  316. "locations": [
  317. "document"
  318. ]
  319. }
  320. ],
  321. "items": {
  322. "type": "object",
  323. "required": [
  324. "language",
  325. "locations"
  326. ],
  327. "properties": {
  328. "language": {
  329. "type": "string",
  330. "description": "Specifies the language to which this code lens override applies"
  331. },
  332. "locations": {
  333. "type": "array",
  334. "default": [
  335. "document",
  336. "containers"
  337. ],
  338. "items": {
  339. "type": "string",
  340. "enum": [
  341. "document",
  342. "containers",
  343. "blocks",
  344. "custom"
  345. ]
  346. },
  347. "minItems": 1,
  348. "maxItems": 4,
  349. "uniqueItems": true,
  350. "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`"
  351. },
  352. "customSymbols": {
  353. "type": "array",
  354. "items": {
  355. "type": "string"
  356. },
  357. "uniqueItems": true,
  358. "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`"
  359. }
  360. }
  361. },
  362. "uniqueItems": true,
  363. "description": "Specifies where Git code lens will be shown in the document for the specified languages"
  364. },
  365. "gitlens.codeLens.debug": {
  366. "type": "boolean",
  367. "default": false,
  368. "description": "Specifies whether or not to show debug information in code lens"
  369. },
  370. "gitlens.statusBar.enabled": {
  371. "type": "boolean",
  372. "default": true,
  373. "description": "Specifies whether or not to provide blame information on the status bar"
  374. },
  375. "gitlens.statusBar.alignment": {
  376. "type": "string",
  377. "default": "right",
  378. "enum": [
  379. "left",
  380. "right"
  381. ],
  382. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  383. },
  384. "gitlens.statusBar.command": {
  385. "type": "string",
  386. "default": "gitlens.showQuickCommitDetails",
  387. "enum": [
  388. "gitlens.toggleFileBlame",
  389. "gitlens.showBlameHistory",
  390. "gitlens.showFileHistory",
  391. "gitlens.diffWithPrevious",
  392. "gitlens.diffWithWorking",
  393. "gitlens.toggleCodeLens",
  394. "gitlens.showQuickCommitDetails",
  395. "gitlens.showQuickCommitFileDetails",
  396. "gitlens.showQuickFileHistory",
  397. "gitlens.showQuickRepoHistory"
  398. ],
  399. "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"
  400. },
  401. "gitlens.statusBar.format": {
  402. "type": "string",
  403. "default": "${authorAgo}",
  404. "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"
  405. },
  406. "gitlens.statusBar.dateFormat": {
  407. "type": "string",
  408. "default": null,
  409. "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"
  410. },
  411. "gitlens.theme.annotations.file.gutter.separateLines": {
  412. "type": "boolean",
  413. "default": true,
  414. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  415. },
  416. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  417. "type": "string",
  418. "default": "rgba(255, 255, 255, 0.075)",
  419. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  420. },
  421. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  422. "type": "string",
  423. "default": "rgba(0, 0, 0, 0.05)",
  424. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  425. },
  426. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  427. "type": "string",
  428. "default": "rgb(190, 190, 190)",
  429. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  430. },
  431. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  432. "type": "string",
  433. "default": "rgb(116, 116, 116)",
  434. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  435. },
  436. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  437. "type": "string",
  438. "default": "rgba(0, 188, 242, 0.6)",
  439. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  440. },
  441. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  442. "type": "string",
  443. "default": "rgba(0, 188, 242, 0.6)",
  444. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  445. },
  446. "gitlens.theme.annotations.file.hover.separateLines": {
  447. "type": "boolean",
  448. "default": false,
  449. "description": "Specifies whether or not hover blame annotations will be separated by a small gap (if heatmap is enabled)"
  450. },
  451. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  452. "type": "string",
  453. "default": null,
  454. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  455. },
  456. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  457. "type": "string",
  458. "default": null,
  459. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  460. },
  461. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  462. "type": "string",
  463. "default": "rgba(153, 153, 153, 0.35)",
  464. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  465. },
  466. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  467. "type": "string",
  468. "default": "rgba(153, 153, 153, 0.35)",
  469. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  470. },
  471. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  472. "type": "string",
  473. "default": "rgba(0, 188, 242, 0.2)",
  474. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  475. },
  476. "gitlens.theme.lineHighlight.light.backgroundColor": {
  477. "type": "string",
  478. "default": "rgba(0, 188, 242, 0.2)",
  479. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  480. },
  481. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  482. "type": "string",
  483. "default": "rgba(0, 188, 242, 0.6)",
  484. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  485. },
  486. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  487. "type": "string",
  488. "default": "rgba(0, 188, 242, 0.6)",
  489. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  490. },
  491. "gitlens.advanced.caching.enabled": {
  492. "type": "boolean",
  493. "default": true,
  494. "description": "Specifies whether git output will be cached"
  495. },
  496. "gitlens.advanced.caching.maxLines": {
  497. "type": "number",
  498. "default": 0,
  499. "description": "Specifies the threshold for caching larger documents"
  500. },
  501. "gitlens.advanced.git": {
  502. "type": "string",
  503. "default": null,
  504. "description": "Specifies the git path to use"
  505. },
  506. "gitlens.advanced.gitignore.enabled": {
  507. "type": "boolean",
  508. "default": true,
  509. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  510. },
  511. "gitlens.advanced.maxQuickHistory": {
  512. "type": "number",
  513. "default": 200,
  514. "description": "Specifies the maximum number of QuickPick history entries to show"
  515. },
  516. "gitlens.advanced.menus": {
  517. "type": "object",
  518. "default": {
  519. "editorContext": {
  520. "blame": true,
  521. "copy": true,
  522. "details": true,
  523. "fileDiff": true,
  524. "history": true,
  525. "lineDiff": true,
  526. "remote": true
  527. },
  528. "editorTitle": {
  529. "blame": true,
  530. "fileDiff": true,
  531. "history": true,
  532. "remote": true,
  533. "status": true
  534. },
  535. "editorTitleContext": {
  536. "blame": true,
  537. "fileDiff": true,
  538. "history": true,
  539. "remote": true
  540. },
  541. "explorerContext": {
  542. "fileDiff": true,
  543. "history": true,
  544. "remote": true
  545. }
  546. },
  547. "description": "Specifies which commands will be added to which menus",
  548. "properties": {
  549. "editorContext": {
  550. "type": "object",
  551. "default": {
  552. "blame": true,
  553. "copy": true,
  554. "details": true,
  555. "fileDiff": true,
  556. "history": true,
  557. "lineDiff": true,
  558. "remote": true
  559. },
  560. "properties": {
  561. "blame": {
  562. "type": "boolean",
  563. "default": true
  564. },
  565. "copy": {
  566. "type": "boolean",
  567. "default": true
  568. },
  569. "details": {
  570. "type": "boolean",
  571. "default": true
  572. },
  573. "fileDiff": {
  574. "type": "boolean",
  575. "default": true
  576. },
  577. "history": {
  578. "type": "boolean",
  579. "default": true
  580. },
  581. "lineDiff": {
  582. "type": "boolean",
  583. "default": true
  584. },
  585. "remote": {
  586. "type": "boolean",
  587. "default": true
  588. }
  589. }
  590. },
  591. "editorTitle": {
  592. "type": "object",
  593. "default": {
  594. "blame": true,
  595. "fileDiff": true,
  596. "history": true,
  597. "remote": true,
  598. "status": true
  599. },
  600. "properties": {
  601. "blame": {
  602. "type": "boolean",
  603. "default": true
  604. },
  605. "fileDiff": {
  606. "type": "boolean",
  607. "default": true
  608. },
  609. "history": {
  610. "type": "boolean",
  611. "default": true
  612. },
  613. "remote": {
  614. "type": "boolean",
  615. "default": true
  616. },
  617. "status": {
  618. "type": "boolean",
  619. "default": true
  620. }
  621. }
  622. },
  623. "editorTitleContext": {
  624. "type": "object",
  625. "default": {
  626. "blame": true,
  627. "fileDiff": true,
  628. "history": true,
  629. "remote": true
  630. },
  631. "properties": {
  632. "blame": {
  633. "type": "boolean",
  634. "default": true
  635. },
  636. "fileDiff": {
  637. "type": "boolean",
  638. "default": true
  639. },
  640. "history": {
  641. "type": "boolean",
  642. "default": true
  643. },
  644. "remote": {
  645. "type": "boolean",
  646. "default": true
  647. }
  648. }
  649. },
  650. "explorerContext": {
  651. "type": "object",
  652. "default": {
  653. "fileDiff": true,
  654. "history": true,
  655. "remote": true
  656. },
  657. "properties": {
  658. "fileDiff": {
  659. "type": "boolean",
  660. "default": true
  661. },
  662. "history": {
  663. "type": "boolean",
  664. "default": true
  665. },
  666. "remote": {
  667. "type": "boolean",
  668. "default": true
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "gitlens.advanced.quickPick.closeOnFocusOut": {
  675. "type": "boolean",
  676. "default": true,
  677. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  678. },
  679. "gitlens.advanced.toggleWhitespace.enabled": {
  680. "type": "boolean",
  681. "default": false,
  682. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  683. }
  684. }
  685. },
  686. "commands": [
  687. {
  688. "command": "gitlens.diffDirectory",
  689. "title": "Directory Compare",
  690. "category": "GitLens"
  691. },
  692. {
  693. "command": "gitlens.diffWithBranch",
  694. "title": "Compare File with...",
  695. "category": "GitLens"
  696. },
  697. {
  698. "command": "gitlens.diffWithNext",
  699. "title": "Compare File with Next Commit",
  700. "category": "GitLens"
  701. },
  702. {
  703. "command": "gitlens.diffWithPrevious",
  704. "title": "Compare File with Previous",
  705. "category": "GitLens"
  706. },
  707. {
  708. "command": "gitlens.diffLineWithPrevious",
  709. "title": "Compare Line Commit with Previous",
  710. "category": "GitLens"
  711. },
  712. {
  713. "command": "gitlens.diffWithWorking",
  714. "title": "Compare File with Working Tree",
  715. "category": "GitLens"
  716. },
  717. {
  718. "command": "gitlens.diffLineWithWorking",
  719. "title": "Compare Line Commit with Working Tree",
  720. "category": "GitLens"
  721. },
  722. {
  723. "command": "gitlens.showFileBlame",
  724. "title": "Show File Blame Annotations",
  725. "category": "GitLens"
  726. },
  727. {
  728. "command": "gitlens.showLineBlame",
  729. "title": "Show Line Blame Annotations",
  730. "category": "GitLens"
  731. },
  732. {
  733. "command": "gitlens.toggleFileBlame",
  734. "title": "Toggle File Blame Annotations",
  735. "category": "GitLens",
  736. "icon": {
  737. "dark": "images/git-icon-dark.svg",
  738. "light": "images/git-icon-light.svg"
  739. }
  740. },
  741. {
  742. "command": "gitlens.toggleLineBlame",
  743. "title": "Toggle Line Blame Annotations",
  744. "category": "GitLens"
  745. },
  746. {
  747. "command": "gitlens.toggleCodeLens",
  748. "title": "Toggle Git Code Lens",
  749. "category": "GitLens"
  750. },
  751. {
  752. "command": "gitlens.showBlameHistory",
  753. "title": "Open Blame History Explorer",
  754. "category": "GitLens"
  755. },
  756. {
  757. "command": "gitlens.showCommitSearch",
  758. "title": "Search Commits",
  759. "category": "GitLens"
  760. },
  761. {
  762. "command": "gitlens.showFileHistory",
  763. "title": "Open File History Explorer",
  764. "category": "GitLens"
  765. },
  766. {
  767. "command": "gitlens.showLastQuickPick",
  768. "title": "Show Last Opened Quick Pick",
  769. "category": "GitLens"
  770. },
  771. {
  772. "command": "gitlens.showQuickCommitDetails",
  773. "title": "Show Commit Details",
  774. "category": "GitLens"
  775. },
  776. {
  777. "command": "gitlens.showQuickCommitFileDetails",
  778. "title": "Show Line Commit Details",
  779. "category": "GitLens"
  780. },
  781. {
  782. "command": "gitlens.showQuickFileHistory",
  783. "title": "Show File History",
  784. "category": "GitLens"
  785. },
  786. {
  787. "command": "gitlens.showQuickBranchHistory",
  788. "title": "Show Branch History",
  789. "category": "GitLens"
  790. },
  791. {
  792. "command": "gitlens.showQuickRepoHistory",
  793. "title": "Show Current Branch History",
  794. "category": "GitLens"
  795. },
  796. {
  797. "command": "gitlens.showQuickRepoStatus",
  798. "title": "Show Repository Status",
  799. "category": "GitLens"
  800. },
  801. {
  802. "command": "gitlens.showQuickStashList",
  803. "title": "Show Stashed Changes",
  804. "category": "GitLens"
  805. },
  806. {
  807. "command": "gitlens.copyShaToClipboard",
  808. "title": "Copy Commit ID to Clipboard",
  809. "category": "GitLens"
  810. },
  811. {
  812. "command": "gitlens.copyMessageToClipboard",
  813. "title": "Copy Commit Message to Clipboard",
  814. "category": "GitLens"
  815. },
  816. {
  817. "command": "gitlens.closeUnchangedFiles",
  818. "title": "Close Unchanged Files",
  819. "category": "GitLens"
  820. },
  821. {
  822. "command": "gitlens.openChangedFiles",
  823. "title": "Open Changed Files",
  824. "category": "GitLens"
  825. },
  826. {
  827. "command": "gitlens.openBranchInRemote",
  828. "title": "Open Branch in Remote",
  829. "category": "GitLens"
  830. },
  831. {
  832. "command": "gitlens.openCommitInRemote",
  833. "title": "Open Line Commit in Remote",
  834. "category": "GitLens"
  835. },
  836. {
  837. "command": "gitlens.openFileInRemote",
  838. "title": "Open File in Remote",
  839. "category": "GitLens"
  840. },
  841. {
  842. "command": "gitlens.openRepoInRemote",
  843. "title": "Open Repository in Remote",
  844. "category": "GitLens"
  845. },
  846. {
  847. "command": "gitlens.stashApply",
  848. "title": "Apply Stashed Changes",
  849. "category": "GitLens"
  850. },
  851. {
  852. "command": "gitlens.stashSave",
  853. "title": "Stash Changes",
  854. "category": "GitLens"
  855. }
  856. ],
  857. "menus": {
  858. "commandPalette": [
  859. {
  860. "command": "gitlens.diffDirectory",
  861. "when": "gitlens:enabled"
  862. },
  863. {
  864. "command": "gitlens.diffWithBranch",
  865. "when": "gitlens:isTracked"
  866. },
  867. {
  868. "command": "gitlens.diffWithNext",
  869. "when": "gitlens:isTracked"
  870. },
  871. {
  872. "command": "gitlens.diffWithPrevious",
  873. "when": "gitlens:isTracked"
  874. },
  875. {
  876. "command": "gitlens.diffLineWithPrevious",
  877. "when": "gitlens:isBlameable"
  878. },
  879. {
  880. "command": "gitlens.diffWithWorking",
  881. "when": "gitlens:isTracked"
  882. },
  883. {
  884. "command": "gitlens.diffLineWithWorking",
  885. "when": "gitlens:isBlameable"
  886. },
  887. {
  888. "command": "gitlens.showFileBlame",
  889. "when": "gitlens:isBlameable"
  890. },
  891. {
  892. "command": "gitlens.showLineBlame",
  893. "when": "gitlens:isBlameable"
  894. },
  895. {
  896. "command": "gitlens.toggleFileBlame",
  897. "when": "gitlens:isBlameable"
  898. },
  899. {
  900. "command": "gitlens.toggleLineBlame",
  901. "when": "gitlens:isBlameable"
  902. },
  903. {
  904. "command": "gitlens.toggleCodeLens",
  905. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  906. },
  907. {
  908. "command": "gitlens.showBlameHistory",
  909. "when": "gitlens:isBlameable"
  910. },
  911. {
  912. "command": "gitlens.showFileHistory",
  913. "when": "gitlens:isTracked"
  914. },
  915. {
  916. "command": "gitlens.showLastQuickPick",
  917. "when": "gitlens:enabled"
  918. },
  919. {
  920. "command": "gitlens.showQuickCommitDetails",
  921. "when": "gitlens:isBlameable"
  922. },
  923. {
  924. "command": "gitlens.showQuickCommitFileDetails",
  925. "when": "gitlens:isBlameable"
  926. },
  927. {
  928. "command": "gitlens.showQuickFileHistory",
  929. "when": "gitlens:isTracked"
  930. },
  931. {
  932. "command": "gitlens.showQuickBranchHistory",
  933. "when": "gitlens:enabled"
  934. },
  935. {
  936. "command": "gitlens.showQuickRepoHistory",
  937. "when": "gitlens:enabled"
  938. },
  939. {
  940. "command": "gitlens.showQuickRepoStatus",
  941. "when": "gitlens:enabled"
  942. },
  943. {
  944. "command": "gitlens.showQuickStashList",
  945. "when": "gitlens:enabled"
  946. },
  947. {
  948. "command": "gitlens.copyShaToClipboard",
  949. "when": "gitlens:isBlameable"
  950. },
  951. {
  952. "command": "gitlens.copyMessageToClipboard",
  953. "when": "gitlens:isBlameable"
  954. },
  955. {
  956. "command": "gitlens.closeUnchangedFiles",
  957. "when": "gitlens:enabled"
  958. },
  959. {
  960. "command": "gitlens.openChangedFiles",
  961. "when": "gitlens:enabled"
  962. },
  963. {
  964. "command": "gitlens.openBranchInRemote",
  965. "when": "gitlens:hasRemotes"
  966. },
  967. {
  968. "command": "gitlens.openCommitInRemote",
  969. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  970. },
  971. {
  972. "command": "gitlens.openFileInRemote",
  973. "when": "gitlens:isTracked && gitlens:hasRemotes"
  974. },
  975. {
  976. "command": "gitlens.openRepoInRemote",
  977. "when": "gitlens:hasRemotes"
  978. },
  979. {
  980. "command": "gitlens.stashApply",
  981. "when": "gitlens:enabled"
  982. },
  983. {
  984. "command": "gitlens.stashSave",
  985. "when": "gitlens:enabled"
  986. }
  987. ],
  988. "editor/context": [
  989. {
  990. "command": "gitlens.openFileInRemote",
  991. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  992. "group": "navigation@100"
  993. },
  994. {
  995. "command": "gitlens.diffLineWithPrevious",
  996. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  997. "group": "1_gitlens@1"
  998. },
  999. {
  1000. "command": "gitlens.diffLineWithWorking",
  1001. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1002. "group": "1_gitlens@2"
  1003. },
  1004. {
  1005. "command": "gitlens.showQuickCommitFileDetails",
  1006. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1007. "group": "1_gitlens@3"
  1008. },
  1009. {
  1010. "command": "gitlens.diffWithPrevious",
  1011. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1012. "group": "1_gitlens_1@1"
  1013. },
  1014. {
  1015. "command": "gitlens.diffWithWorking",
  1016. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1017. "group": "1_gitlens_1@2"
  1018. },
  1019. {
  1020. "command": "gitlens.showQuickFileHistory",
  1021. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1022. "group": "3_gitlens@1"
  1023. },
  1024. {
  1025. "command": "gitlens.toggleFileBlame",
  1026. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1027. "group": "3_gitlens@2"
  1028. },
  1029. {
  1030. "command": "gitlens.copyShaToClipboard",
  1031. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1032. "group": "9_gitlens@1"
  1033. },
  1034. {
  1035. "command": "gitlens.copyMessageToClipboard",
  1036. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1037. "group": "9_gitlens@2"
  1038. }
  1039. ],
  1040. "editor/title": [
  1041. {
  1042. "command": "gitlens.toggleFileBlame",
  1043. "when": "gitlens:isBlameable && config.gitlens.advanced.menus.editorTitle.blame",
  1044. "group": "navigation@100"
  1045. },
  1046. {
  1047. "command": "gitlens.openFileInRemote",
  1048. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1049. "group": "1_gitlens"
  1050. },
  1051. {
  1052. "command": "gitlens.openRepoInRemote",
  1053. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1054. "group": "1_gitlens"
  1055. },
  1056. {
  1057. "command": "gitlens.diffWithPrevious",
  1058. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1059. "group": "2_gitlens"
  1060. },
  1061. {
  1062. "command": "gitlens.diffWithWorking",
  1063. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1064. "group": "2_gitlens"
  1065. },
  1066. {
  1067. "command": "gitlens.showQuickFileHistory",
  1068. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1069. "group": "2_gitlens_1"
  1070. },
  1071. {
  1072. "command": "gitlens.showQuickRepoHistory",
  1073. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1074. "group": "2_gitlens_1"
  1075. },
  1076. {
  1077. "command": "gitlens.showQuickRepoStatus",
  1078. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1079. "group": "2_gitlens_1"
  1080. }
  1081. ],
  1082. "editor/title/context": [
  1083. {
  1084. "command": "gitlens.openFileInRemote",
  1085. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1086. "group": "1_gitlens"
  1087. },
  1088. {
  1089. "command": "gitlens.diffWithPrevious",
  1090. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1091. "group": "1_gitlens_1@1"
  1092. },
  1093. {
  1094. "command": "gitlens.diffWithWorking",
  1095. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1096. "group": "1_gitlens_1@2"
  1097. },
  1098. {
  1099. "command": "gitlens.showQuickFileHistory",
  1100. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1101. "group": "1_gitlens_2@1"
  1102. },
  1103. {
  1104. "command": "gitlens.toggleFileBlame",
  1105. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1106. "group": "1_gitlens_2@2"
  1107. }
  1108. ],
  1109. "explorer/context": [
  1110. {
  1111. "command": "gitlens.openFileInRemote",
  1112. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.remote",
  1113. "group": "navigation@100"
  1114. },
  1115. {
  1116. "command": "gitlens.diffWithPrevious",
  1117. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1118. "group": "1_gitlens@1"
  1119. },
  1120. {
  1121. "command": "gitlens.diffWithWorking",
  1122. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1123. "group": "1_gitlens@2"
  1124. },
  1125. {
  1126. "command": "gitlens.showQuickFileHistory",
  1127. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1128. "group": "1_gitlens_1@1"
  1129. }
  1130. ]
  1131. },
  1132. "keybindings": [
  1133. {
  1134. "command": "gitlens.key.left",
  1135. "key": "alt+left",
  1136. "when": "gitlens:key:left"
  1137. },
  1138. {
  1139. "command": "gitlens.key.right",
  1140. "key": "alt+right",
  1141. "when": "gitlens:key:right"
  1142. },
  1143. {
  1144. "command": "gitlens.key.,",
  1145. "key": "alt+,",
  1146. "when": "gitlens:key:,"
  1147. },
  1148. {
  1149. "command": "gitlens.key..",
  1150. "key": "alt+.",
  1151. "when": "gitlens:key:."
  1152. },
  1153. {
  1154. "command": "gitlens.toggleFileBlame",
  1155. "key": "alt+b",
  1156. "mac": "alt+b",
  1157. "when": "editorTextFocus && gitlens:isTracked"
  1158. },
  1159. {
  1160. "command": "gitlens.toggleCodeLens",
  1161. "key": "shift+alt+b",
  1162. "mac": "shift+alt+b",
  1163. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1164. },
  1165. {
  1166. "command": "gitlens.showLastQuickPick",
  1167. "key": "alt+-",
  1168. "mac": "alt+-",
  1169. "when": "gitlens:enabled"
  1170. },
  1171. {
  1172. "command": "gitlens.showCommitSearch",
  1173. "key": "alt+/",
  1174. "mac": "alt+/",
  1175. "when": "gitlens:enabled"
  1176. },
  1177. {
  1178. "command": "gitlens.showQuickFileHistory",
  1179. "key": "alt+h",
  1180. "mac": "alt+h",
  1181. "when": "gitlens:enabled"
  1182. },
  1183. {
  1184. "command": "gitlens.showQuickRepoHistory",
  1185. "key": "shift+alt+h",
  1186. "mac": "shift+alt+h",
  1187. "when": "gitlens:enabled"
  1188. },
  1189. {
  1190. "command": "gitlens.showQuickRepoStatus",
  1191. "key": "alt+s",
  1192. "mac": "alt+s",
  1193. "when": "gitlens:enabled"
  1194. },
  1195. {
  1196. "command": "gitlens.showQuickCommitFileDetails",
  1197. "key": "alt+c",
  1198. "mac": "alt+c",
  1199. "when": "editorTextFocus && gitlens:enabled"
  1200. },
  1201. {
  1202. "command": "gitlens.diffWithNext",
  1203. "key": "alt+.",
  1204. "mac": "alt+.",
  1205. "when": "editorTextFocus && gitlens:isTracked"
  1206. },
  1207. {
  1208. "command": "gitlens.diffLineWithPrevious",
  1209. "key": "shift+alt+,",
  1210. "mac": "shift+alt+,",
  1211. "when": "editorTextFocus && gitlens:isTracked"
  1212. },
  1213. {
  1214. "command": "gitlens.diffWithPrevious",
  1215. "key": "alt+,",
  1216. "mac": "alt+,",
  1217. "when": "editorTextFocus && gitlens:isTracked"
  1218. },
  1219. {
  1220. "command": "gitlens.diffLineWithWorking",
  1221. "key": "alt+w",
  1222. "mac": "alt+w",
  1223. "when": "editorTextFocus && gitlens:isTracked"
  1224. },
  1225. {
  1226. "command": "gitlens.diffWithWorking",
  1227. "key": "shift+alt+w",
  1228. "mac": "shift+alt+w",
  1229. "when": "editorTextFocus && gitlens:isTracked"
  1230. }
  1231. ]
  1232. },
  1233. "activationEvents": [
  1234. "*"
  1235. ],
  1236. "scripts": {
  1237. "clean": "git clean -xdf",
  1238. "compile": "tslint --project tslint.json && tsc -p ./",
  1239. "watch": "tsc -watch -p ./",
  1240. "lint": "tslint --project tslint.json",
  1241. "pack": "git clean -xdf && vsce package",
  1242. "postinstall": "node ./node_modules/vscode/bin/install",
  1243. "pub": "git clean -xdf && vsce publish",
  1244. "reset": "git clean -xdf && npm install",
  1245. "vscode:prepublish": "npm install --no-save && npm run compile"
  1246. },
  1247. "dependencies": {
  1248. "applicationinsights": "0.20.1",
  1249. "copy-paste": "1.3.0",
  1250. "iconv-lite": "0.4.17",
  1251. "ignore": "3.3.3",
  1252. "lodash.debounce": "4.0.8",
  1253. "lodash.escaperegexp": "4.1.2",
  1254. "lodash.isequal": "4.5.0",
  1255. "lodash.once": "4.1.1",
  1256. "moment": "2.18.1",
  1257. "spawn-rx": "2.0.11",
  1258. "tmp": "0.0.31"
  1259. },
  1260. "devDependencies": {
  1261. "@types/copy-paste": "1.1.30",
  1262. "@types/iconv-lite": "0.0.1",
  1263. "@types/mocha": "2.2.41",
  1264. "@types/node": "7.0.28",
  1265. "@types/tmp": "0.0.33",
  1266. "mocha": "3.4.2",
  1267. "tslint": "5.4.3",
  1268. "typescript": "2.3.4",
  1269. "vscode": "1.1.0"
  1270. }
  1271. }