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.

1563 lines
74 KiB

7 years ago
  1. {
  2. "name": "gitlens",
  3. "version": "4.3.3",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.15.0"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "Git Lens \u2014 git blame annotations, code lens, and more",
  14. "description": "Supercharge Visual Studio Code's Git capabilities \u2014 Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore the history of a file or branch, gain valuable insights via powerful comparison commands, and so much more",
  15. "badges": [
  16. {
  17. "url": "https://img.shields.io/badge/chat-on%20slack-brightgreen.svg",
  18. "href": "https://join.slack.com/t/vscode-gitlens/shared_invite/MjIxOTgxNDE3NzM0LTE1MDE2Nzk1MTgtMjkwMmZjMzcxNQ",
  19. "description": "Chat at https://vscode-gitlens.slack.com/"
  20. }
  21. ],
  22. "categories": [
  23. "Other"
  24. ],
  25. "keywords": [
  26. "git",
  27. "code lens",
  28. "blame",
  29. "history",
  30. "annotation",
  31. "log",
  32. "inline blame",
  33. "compare",
  34. "diff"
  35. ],
  36. "galleryBanner": {
  37. "color": "#56098c",
  38. "theme": "dark"
  39. },
  40. "icon": "images/gitlens-icon.png",
  41. "preview": false,
  42. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  43. "bugs": {
  44. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  45. },
  46. "repository": {
  47. "type": "git",
  48. "url": "https://github.com/eamodio/vscode-gitlens.git"
  49. },
  50. "main": "./out/src/extension",
  51. "contributes": {
  52. "configuration": {
  53. "type": "object",
  54. "title": "GitLens configuration",
  55. "properties": {
  56. "gitlens.debug": {
  57. "type": "boolean",
  58. "default": false,
  59. "description": "Specifies debug mode"
  60. },
  61. "gitlens.insiders": {
  62. "type": "boolean",
  63. "default": false,
  64. "description": "Specifies whether or not to enable new experimental features (expect there to be issues)"
  65. },
  66. "gitlens.outputLevel": {
  67. "type": "string",
  68. "default": "silent",
  69. "enum": [
  70. "silent",
  71. "errors",
  72. "verbose"
  73. ],
  74. "description": "Specifies how much (if any) output will be sent to the GitLens output channel"
  75. },
  76. "gitlens.annotations.file.gutter.format": {
  77. "type": "string",
  78. "default": "${message|40?} ${ago|14-}",
  79. "description": "Specifies the format of the gutter blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.annotations.file.gutter.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  80. },
  81. "gitlens.annotations.file.gutter.dateFormat": {
  82. "type": "string",
  83. "default": null,
  84. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  85. },
  86. "gitlens.annotations.file.gutter.compact": {
  87. "type": "boolean",
  88. "default": true,
  89. "description": "Specifies whether or not to compact (deduplicate) matching adjacent gutter blame annotations"
  90. },
  91. "gitlens.annotations.file.gutter.heatmap.enabled": {
  92. "type": "boolean",
  93. "default": true,
  94. "description": "Specifies whether or not to provide a heatmap indicator in the gutter blame annotations"
  95. },
  96. "gitlens.annotations.file.gutter.heatmap.location": {
  97. "type": "string",
  98. "default": "right",
  99. "enum": [
  100. "left",
  101. "right"
  102. ],
  103. "description": "Specifies where the heatmap indicators will be shown in the gutter blame annotations\n `left` - adds a heatmap indicator on the left edge of the gutter blame annotations\n `right` - adds a heatmap indicator on the right edge of the gutter blame annotations"
  104. },
  105. "gitlens.annotations.file.gutter.hover.details": {
  106. "type": "boolean",
  107. "default": true,
  108. "description": "Specifies whether or not to provide a commit details hover annotation over the gutter blame annotations"
  109. },
  110. "gitlens.annotations.file.gutter.hover.wholeLine": {
  111. "type": "boolean",
  112. "default": false,
  113. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  114. },
  115. "gitlens.annotations.file.hover.heatmap.enabled": {
  116. "type": "boolean",
  117. "default": true,
  118. "description": "Specifies whether or not to provide heatmap indicators on the left edge of each line"
  119. },
  120. "gitlens.annotations.file.hover.wholeLine": {
  121. "type": "boolean",
  122. "default": true,
  123. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  124. },
  125. "gitlens.annotations.file.recentChanges.hover.details": {
  126. "type": "boolean",
  127. "default": true,
  128. "description": "Specifies whether or not to provide a commit details hover annotation"
  129. },
  130. "gitlens.annotations.file.recentChanges.hover.changes": {
  131. "type": "boolean",
  132. "default": true,
  133. "description": "Specifies whether or not to provide a changes (diff) hover annotation"
  134. },
  135. "gitlens.annotations.file.recentChanges.hover.wholeLine": {
  136. "type": "boolean",
  137. "default": true,
  138. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  139. },
  140. "gitlens.annotations.line.hover.details": {
  141. "type": "boolean",
  142. "default": true,
  143. "description": "Specifies whether or not to provide a commit details hover annotation for the current line"
  144. },
  145. "gitlens.annotations.line.hover.changes": {
  146. "type": "boolean",
  147. "default": true,
  148. "description": "Specifies whether or not to provide a changes (diff) hover annotation for the current line"
  149. },
  150. "gitlens.annotations.line.trailing.format": {
  151. "type": "string",
  152. "default": "${authorAgo} \u2022 ${message}",
  153. "description": "Specifies the format of the trailing blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.annotations.line.trailing.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  154. },
  155. "gitlens.annotations.line.trailing.dateFormat": {
  156. "type": "string",
  157. "default": null,
  158. "description": "Specifies how to format absolute dates (using the `${date}` token) in trailing blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  159. },
  160. "gitlens.annotations.line.trailing.hover.details": {
  161. "type": "boolean",
  162. "default": true,
  163. "description": "Specifies whether or not to provide a commit details hover annotation over the trailing blame annotations"
  164. },
  165. "gitlens.annotations.line.trailing.hover.changes": {
  166. "type": "boolean",
  167. "default": true,
  168. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the trailing blame annotations"
  169. },
  170. "gitlens.annotations.line.trailing.hover.wholeLine": {
  171. "type": "boolean",
  172. "default": false,
  173. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  174. },
  175. "gitlens.blame.file.annotationType": {
  176. "type": "string",
  177. "default": "gutter",
  178. "enum": [
  179. "gutter",
  180. "hover"
  181. ],
  182. "description": "Specifies the type of blame annotations that will be shown for the current file\n `gutter` - adds an annotation to the beginning of each line\n `hover` - shows annotations when hovering over each line"
  183. },
  184. "gitlens.blame.file.lineHighlight.enabled": {
  185. "type": "boolean",
  186. "default": true,
  187. "description": "Specifies whether or not to highlight lines associated with the current line"
  188. },
  189. "gitlens.blame.file.lineHighlight.locations": {
  190. "type": "array",
  191. "default": [
  192. "gutter",
  193. "line",
  194. "overviewRuler"
  195. ],
  196. "items": {
  197. "type": "string",
  198. "enum": [
  199. "gutter",
  200. "line",
  201. "overviewRuler"
  202. ]
  203. },
  204. "minItems": 1,
  205. "maxItems": 3,
  206. "uniqueItems": true,
  207. "description": "Specifies where the associated line highlights will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)"
  208. },
  209. "gitlens.blame.line.enabled": {
  210. "type": "boolean",
  211. "default": true,
  212. "description": "Specifies whether or not to provide a blame annotation for the current line, by default\nUse the `gitlens.toggleLineBlame` command to toggle the annotations on and off for the current session"
  213. },
  214. "gitlens.blame.line.annotationType": {
  215. "type": "string",
  216. "default": "trailing",
  217. "enum": [
  218. "trailing",
  219. "hover"
  220. ],
  221. "description": "Specifies the type of blame annotations that will be shown for the current line\n `trailing` - adds an annotation to the end of the current line\n `hover` - shows annotations when hovering over the current line"
  222. },
  223. "gitlens.recentChanges.file.lineHighlight.locations": {
  224. "type": "array",
  225. "default": [
  226. "gutter",
  227. "line",
  228. "overviewRuler"
  229. ],
  230. "items": {
  231. "type": "string",
  232. "enum": [
  233. "gutter",
  234. "line",
  235. "overviewRuler"
  236. ]
  237. },
  238. "minItems": 1,
  239. "maxItems": 3,
  240. "uniqueItems": true,
  241. "description": "Specifies where the highlights of the recently changed lines will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)"
  242. },
  243. "gitlens.codeLens.enabled": {
  244. "type": "boolean",
  245. "default": true,
  246. "description": "Specifies whether or not to provide any Git code lens, by default\nUse the `gitlens.toggleCodeLens` command to toggle the Git code lens on and off for the current session"
  247. },
  248. "gitlens.codeLens.recentChange.enabled": {
  249. "type": "boolean",
  250. "default": true,
  251. "description": "Specifies whether or not to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block"
  252. },
  253. "gitlens.codeLens.recentChange.command": {
  254. "type": "string",
  255. "default": "gitlens.showQuickCommitFileDetails",
  256. "enum": [
  257. "gitlens.toggleFileBlame",
  258. "gitlens.showBlameHistory",
  259. "gitlens.showFileHistory",
  260. "gitlens.diffWithPrevious",
  261. "gitlens.showQuickCommitDetails",
  262. "gitlens.showQuickCommitFileDetails",
  263. "gitlens.showQuickFileHistory",
  264. "gitlens.showQuickRepoHistory"
  265. ],
  266. "description": "Specifies the command to be executed when the `recent change` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.showBlameHistory` - opens the blame history explorer\n `gitlens.showFileHistory` - opens the file history explorer\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  267. },
  268. "gitlens.codeLens.authors.enabled": {
  269. "type": "boolean",
  270. "default": true,
  271. "description": "Specifies whether or not to show an `authors` code lens showing number of authors of the file or code block and the most prominent author (if there is more than one)"
  272. },
  273. "gitlens.codeLens.authors.command": {
  274. "type": "string",
  275. "default": "gitlens.toggleFileBlame",
  276. "enum": [
  277. "gitlens.toggleFileBlame",
  278. "gitlens.showBlameHistory",
  279. "gitlens.showFileHistory",
  280. "gitlens.diffWithPrevious",
  281. "gitlens.showQuickCommitDetails",
  282. "gitlens.showQuickCommitFileDetails",
  283. "gitlens.showQuickFileHistory",
  284. "gitlens.showQuickRepoHistory"
  285. ],
  286. "description": "Specifies the command to be executed when the `authors` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.showBlameHistory` - opens the blame history explorer\n `gitlens.showFileHistory` - opens the file history explorer\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  287. },
  288. "gitlens.codeLens.locations": {
  289. "type": "array",
  290. "default": [
  291. "document",
  292. "containers"
  293. ],
  294. "items": {
  295. "type": "string",
  296. "enum": [
  297. "document",
  298. "containers",
  299. "blocks",
  300. "custom"
  301. ]
  302. },
  303. "minItems": 1,
  304. "maxItems": 4,
  305. "uniqueItems": true,
  306. "description": "Specifies where Git code lens will be shown in the document\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines\n `custom` - adds code lens at the start of symbols contained in `gitlens.codeLens.locationCustomSymbols`"
  307. },
  308. "gitlens.codeLens.customLocationSymbols": {
  309. "type": "array",
  310. "items": {
  311. "type": "string"
  312. },
  313. "uniqueItems": true,
  314. "description": "Specifies the set of document symbols where Git code lens will be shown in the document\nMust be a member of `SymbolKind`"
  315. },
  316. "gitlens.codeLens.perLanguageLocations": {
  317. "type": "array",
  318. "default": [
  319. {
  320. "language": "css",
  321. "locations": [
  322. "document"
  323. ]
  324. },
  325. {
  326. "language": "html",
  327. "locations": [
  328. "document"
  329. ]
  330. },
  331. {
  332. "language": "json",
  333. "locations": [
  334. "document"
  335. ]
  336. },
  337. {
  338. "language": "less",
  339. "locations": [
  340. "document"
  341. ]
  342. },
  343. {
  344. "language": "scss",
  345. "locations": [
  346. "document"
  347. ]
  348. },
  349. {
  350. "language": "vue",
  351. "locations": [
  352. "document"
  353. ]
  354. }
  355. ],
  356. "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.stashExplorer.enabled": {
  411. "type": "boolean",
  412. "default": false,
  413. "description": "Specifies whether or not to show the `Git Stashes` explorer"
  414. },
  415. "gitlens.stashExplorer.stashFormat": {
  416. "type": "string",
  417. "default": "${message}",
  418. "description": "Specifies the format of stashed changes in the `Git Stashes` explorer\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  419. },
  420. "gitlens.stashExplorer.stashFileFormat": {
  421. "type": "string",
  422. "default": "${file} \u00a0\u2022\u00a0 ${path}",
  423. "description": "Specifies the format of a stashed file in the `Git Stashes` explorer\nAvailable tokens\n ${file} - file name\n ${path} - file path"
  424. },
  425. "gitlens.statusBar.enabled": {
  426. "type": "boolean",
  427. "default": true,
  428. "description": "Specifies whether or not to provide blame information on the status bar"
  429. },
  430. "gitlens.statusBar.alignment": {
  431. "type": "string",
  432. "default": "right",
  433. "enum": [
  434. "left",
  435. "right"
  436. ],
  437. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  438. },
  439. "gitlens.statusBar.command": {
  440. "type": "string",
  441. "default": "gitlens.showQuickCommitDetails",
  442. "enum": [
  443. "gitlens.toggleFileBlame",
  444. "gitlens.showBlameHistory",
  445. "gitlens.showFileHistory",
  446. "gitlens.diffWithPrevious",
  447. "gitlens.diffWithWorking",
  448. "gitlens.toggleCodeLens",
  449. "gitlens.showQuickCommitDetails",
  450. "gitlens.showQuickCommitFileDetails",
  451. "gitlens.showQuickFileHistory",
  452. "gitlens.showQuickRepoHistory"
  453. ],
  454. "description": "Specifies the command to be executed when the blame status bar item is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.showBlameHistory` - opens the blame history explorer\n `gitlens.showFileHistory` - opens the file history explorer\n `gitlens.diffWithPrevious` - compares the current line commit with the previous\n `gitlens.diffWithWorking` - compares the current line commit with the working tree\n `gitlens.toggleCodeLens` - toggles Git code lens\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  455. },
  456. "gitlens.statusBar.format": {
  457. "type": "string",
  458. "default": "${authorAgo}",
  459. "description": "Specifies the format of the status bar blame information\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  460. },
  461. "gitlens.statusBar.dateFormat": {
  462. "type": "string",
  463. "default": null,
  464. "description": "Specifies the date format of absolute dates shown in the blame information on the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats"
  465. },
  466. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  467. "type": "string",
  468. "default": "Cannot determine recent change or authors (unsaved changes)",
  469. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes"
  470. },
  471. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  472. "type": "string",
  473. "default": "Cannot determine recent change (unsaved changes)",
  474. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes"
  475. },
  476. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  477. "type": "string",
  478. "default": "Cannot determine authors (unsaved changes)",
  479. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes"
  480. },
  481. "gitlens.theme.annotations.file.gutter.separateLines": {
  482. "type": "boolean",
  483. "default": true,
  484. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  485. },
  486. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  487. "type": "string",
  488. "default": "rgba(255, 255, 255, 0.075)",
  489. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  490. },
  491. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  492. "type": "string",
  493. "default": "rgba(0, 0, 0, 0.05)",
  494. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  495. },
  496. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  497. "type": "string",
  498. "default": "rgb(190, 190, 190)",
  499. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  500. },
  501. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  502. "type": "string",
  503. "default": "rgb(116, 116, 116)",
  504. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  505. },
  506. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  507. "type": "string",
  508. "default": "rgba(0, 188, 242, 0.6)",
  509. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  510. },
  511. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  512. "type": "string",
  513. "default": "rgba(0, 188, 242, 0.6)",
  514. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  515. },
  516. "gitlens.theme.annotations.file.hover.separateLines": {
  517. "type": "boolean",
  518. "default": false,
  519. "description": "Specifies whether or not hover blame annotations will be separated by a small gap (if heatmap is enabled)"
  520. },
  521. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  522. "type": "string",
  523. "default": null,
  524. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  525. },
  526. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  527. "type": "string",
  528. "default": null,
  529. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  530. },
  531. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  532. "type": "string",
  533. "default": "rgba(153, 153, 153, 0.35)",
  534. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  535. },
  536. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  537. "type": "string",
  538. "default": "rgba(153, 153, 153, 0.35)",
  539. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  540. },
  541. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  542. "type": "string",
  543. "default": "rgba(0, 188, 242, 0.2)",
  544. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  545. },
  546. "gitlens.theme.lineHighlight.light.backgroundColor": {
  547. "type": "string",
  548. "default": "rgba(0, 188, 242, 0.2)",
  549. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  550. },
  551. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  552. "type": "string",
  553. "default": "rgba(0, 188, 242, 0.6)",
  554. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  555. },
  556. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  557. "type": "string",
  558. "default": "rgba(0, 188, 242, 0.6)",
  559. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  560. },
  561. "gitlens.advanced.caching.enabled": {
  562. "type": "boolean",
  563. "default": true,
  564. "description": "Specifies whether git output will be cached"
  565. },
  566. "gitlens.advanced.caching.maxLines": {
  567. "type": "number",
  568. "default": 0,
  569. "description": "Specifies the threshold for caching larger documents"
  570. },
  571. "gitlens.advanced.git": {
  572. "type": "string",
  573. "default": null,
  574. "description": "Specifies the git path to use"
  575. },
  576. "gitlens.advanced.gitignore.enabled": {
  577. "type": "boolean",
  578. "default": true,
  579. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  580. },
  581. "gitlens.advanced.maxQuickHistory": {
  582. "type": "number",
  583. "default": 200,
  584. "description": "Specifies the maximum number of QuickPick history entries to show"
  585. },
  586. "gitlens.advanced.menus": {
  587. "type": "object",
  588. "default": {
  589. "editorContext": {
  590. "blame": true,
  591. "copy": true,
  592. "details": true,
  593. "fileDiff": true,
  594. "history": true,
  595. "lineDiff": true,
  596. "remote": true
  597. },
  598. "editorTitle": {
  599. "blame": true,
  600. "fileDiff": true,
  601. "history": true,
  602. "remote": true,
  603. "status": true
  604. },
  605. "editorTitleContext": {
  606. "blame": true,
  607. "fileDiff": true,
  608. "history": true,
  609. "remote": true
  610. },
  611. "explorerContext": {
  612. "fileDiff": true,
  613. "history": true,
  614. "remote": true
  615. }
  616. },
  617. "description": "Specifies which commands will be added to which menus",
  618. "properties": {
  619. "editorContext": {
  620. "type": "object",
  621. "default": {
  622. "blame": true,
  623. "copy": true,
  624. "details": true,
  625. "fileDiff": true,
  626. "history": true,
  627. "lineDiff": true,
  628. "remote": true
  629. },
  630. "properties": {
  631. "blame": {
  632. "type": "boolean",
  633. "default": true
  634. },
  635. "copy": {
  636. "type": "boolean",
  637. "default": true
  638. },
  639. "details": {
  640. "type": "boolean",
  641. "default": true
  642. },
  643. "fileDiff": {
  644. "type": "boolean",
  645. "default": true
  646. },
  647. "history": {
  648. "type": "boolean",
  649. "default": true
  650. },
  651. "lineDiff": {
  652. "type": "boolean",
  653. "default": true
  654. },
  655. "remote": {
  656. "type": "boolean",
  657. "default": true
  658. }
  659. }
  660. },
  661. "editorTitle": {
  662. "type": "object",
  663. "default": {
  664. "blame": true,
  665. "fileDiff": true,
  666. "history": true,
  667. "remote": true,
  668. "status": true
  669. },
  670. "properties": {
  671. "blame": {
  672. "type": "boolean",
  673. "default": true
  674. },
  675. "fileDiff": {
  676. "type": "boolean",
  677. "default": true
  678. },
  679. "history": {
  680. "type": "boolean",
  681. "default": true
  682. },
  683. "remote": {
  684. "type": "boolean",
  685. "default": true
  686. },
  687. "status": {
  688. "type": "boolean",
  689. "default": true
  690. }
  691. }
  692. },
  693. "editorTitleContext": {
  694. "type": "object",
  695. "default": {
  696. "blame": true,
  697. "fileDiff": true,
  698. "history": true,
  699. "remote": true
  700. },
  701. "properties": {
  702. "blame": {
  703. "type": "boolean",
  704. "default": true
  705. },
  706. "fileDiff": {
  707. "type": "boolean",
  708. "default": true
  709. },
  710. "history": {
  711. "type": "boolean",
  712. "default": true
  713. },
  714. "remote": {
  715. "type": "boolean",
  716. "default": true
  717. }
  718. }
  719. },
  720. "explorerContext": {
  721. "type": "object",
  722. "default": {
  723. "fileDiff": true,
  724. "history": true,
  725. "remote": true
  726. },
  727. "properties": {
  728. "fileDiff": {
  729. "type": "boolean",
  730. "default": true
  731. },
  732. "history": {
  733. "type": "boolean",
  734. "default": true
  735. },
  736. "remote": {
  737. "type": "boolean",
  738. "default": true
  739. }
  740. }
  741. }
  742. }
  743. },
  744. "gitlens.advanced.quickPick.closeOnFocusOut": {
  745. "type": "boolean",
  746. "default": true,
  747. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  748. },
  749. "gitlens.advanced.telemetry.enabled": {
  750. "type": "boolean",
  751. "default": true,
  752. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting"
  753. },
  754. "gitlens.advanced.toggleWhitespace.enabled": {
  755. "type": "boolean",
  756. "default": true,
  757. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  758. }
  759. }
  760. },
  761. "commands": [
  762. {
  763. "command": "gitlens.diffDirectory",
  764. "title": "Directory Compare",
  765. "category": "GitLens"
  766. },
  767. {
  768. "command": "gitlens.diffWithBranch",
  769. "title": "Compare File with Branch...",
  770. "category": "GitLens"
  771. },
  772. {
  773. "command": "gitlens.diffWithNext",
  774. "title": "Compare File with Next Commit",
  775. "category": "GitLens"
  776. },
  777. {
  778. "command": "gitlens.diffWithPrevious",
  779. "title": "Compare File with Previous",
  780. "category": "GitLens"
  781. },
  782. {
  783. "command": "gitlens.diffLineWithPrevious",
  784. "title": "Compare Line Commit with Previous",
  785. "category": "GitLens"
  786. },
  787. {
  788. "command": "gitlens.diffWithRevision",
  789. "title": "Compare File with Revision...",
  790. "category": "GitLens"
  791. },
  792. {
  793. "command": "gitlens.diffWithWorking",
  794. "title": "Compare File with Working Tree",
  795. "category": "GitLens"
  796. },
  797. {
  798. "command": "gitlens.diffLineWithWorking",
  799. "title": "Compare Line Commit with Working Tree",
  800. "category": "GitLens"
  801. },
  802. {
  803. "command": "gitlens.showFileBlame",
  804. "title": "Show File Blame Annotations",
  805. "category": "GitLens"
  806. },
  807. {
  808. "command": "gitlens.showLineBlame",
  809. "title": "Show Line Blame Annotations",
  810. "category": "GitLens"
  811. },
  812. {
  813. "command": "gitlens.toggleFileBlame",
  814. "title": "Toggle File Blame Annotations",
  815. "category": "GitLens",
  816. "icon": {
  817. "dark": "images/dark/git-icon.svg",
  818. "light": "images/light/git-icon.svg"
  819. }
  820. },
  821. {
  822. "command": "gitlens.toggleFileRecentChanges",
  823. "title": "Toggle Recent File Changes Annotations",
  824. "category": "GitLens",
  825. "icon": {
  826. "dark": "images/dark/git-icon.svg",
  827. "light": "images/light/git-icon.svg"
  828. }
  829. },
  830. {
  831. "command": "gitlens.toggleLineBlame",
  832. "title": "Toggle Line Blame Annotations",
  833. "category": "GitLens"
  834. },
  835. {
  836. "command": "gitlens.toggleCodeLens",
  837. "title": "Toggle Git Code Lens",
  838. "category": "GitLens"
  839. },
  840. {
  841. "command": "gitlens.showBlameHistory",
  842. "title": "Open Blame History Explorer",
  843. "category": "GitLens"
  844. },
  845. {
  846. "command": "gitlens.showCommitSearch",
  847. "title": "Search Commits",
  848. "category": "GitLens"
  849. },
  850. {
  851. "command": "gitlens.showFileHistory",
  852. "title": "Open File History Explorer",
  853. "category": "GitLens"
  854. },
  855. {
  856. "command": "gitlens.showLastQuickPick",
  857. "title": "Show Last Opened Quick Pick",
  858. "category": "GitLens"
  859. },
  860. {
  861. "command": "gitlens.showQuickCommitDetails",
  862. "title": "Show Commit Details",
  863. "category": "GitLens"
  864. },
  865. {
  866. "command": "gitlens.showQuickCommitFileDetails",
  867. "title": "Show Commit File Details",
  868. "category": "GitLens"
  869. },
  870. {
  871. "command": "gitlens.showQuickFileHistory",
  872. "title": "Show File History",
  873. "category": "GitLens"
  874. },
  875. {
  876. "command": "gitlens.showQuickBranchHistory",
  877. "title": "Show Branch History",
  878. "category": "GitLens"
  879. },
  880. {
  881. "command": "gitlens.showQuickRepoHistory",
  882. "title": "Show Current Branch History",
  883. "category": "GitLens"
  884. },
  885. {
  886. "command": "gitlens.showQuickRepoStatus",
  887. "title": "Show Repository Status",
  888. "category": "GitLens"
  889. },
  890. {
  891. "command": "gitlens.showQuickStashList",
  892. "title": "Show Stashed Changes",
  893. "category": "GitLens"
  894. },
  895. {
  896. "command": "gitlens.copyShaToClipboard",
  897. "title": "Copy Commit ID to Clipboard",
  898. "category": "GitLens"
  899. },
  900. {
  901. "command": "gitlens.copyMessageToClipboard",
  902. "title": "Copy Commit Message to Clipboard",
  903. "category": "GitLens"
  904. },
  905. {
  906. "command": "gitlens.closeUnchangedFiles",
  907. "title": "Close Unchanged Files",
  908. "category": "GitLens"
  909. },
  910. {
  911. "command": "gitlens.openChangedFiles",
  912. "title": "Open Changed Files",
  913. "category": "GitLens"
  914. },
  915. {
  916. "command": "gitlens.openBranchInRemote",
  917. "title": "Open Branch in Remote",
  918. "category": "GitLens"
  919. },
  920. {
  921. "command": "gitlens.openCommitInRemote",
  922. "title": "Open Commit in Remote",
  923. "category": "GitLens"
  924. },
  925. {
  926. "command": "gitlens.openFileInRemote",
  927. "title": "Open File in Remote",
  928. "category": "GitLens"
  929. },
  930. {
  931. "command": "gitlens.openRepoInRemote",
  932. "title": "Open Repository in Remote",
  933. "category": "GitLens"
  934. },
  935. {
  936. "command": "gitlens.stashApply",
  937. "title": "Apply Stashed Changes",
  938. "category": "GitLens"
  939. },
  940. {
  941. "command": "gitlens.stashDelete",
  942. "title": "Delete Stashed Changes",
  943. "category": "GitLens"
  944. },
  945. {
  946. "command": "gitlens.stashSave",
  947. "title": "Stash Changes",
  948. "category": "GitLens",
  949. "icon": {
  950. "dark": "images/dark/icon-add.svg",
  951. "light": "images/light/icon-add.svg"
  952. }
  953. },
  954. {
  955. "command": "gitlens.resetSuppressedWarnings",
  956. "title": "Reset Suppressed Warnings",
  957. "category": "GitLens"
  958. },
  959. {
  960. "command": "gitlens.gitExplorer.refresh",
  961. "title": "Refresh",
  962. "category": "GitLens",
  963. "icon": {
  964. "dark": "images/dark/icon-refresh.svg",
  965. "light": "images/light/icon-refresh.svg"
  966. }
  967. },
  968. {
  969. "command": "gitlens.stashExplorer.refresh",
  970. "title": "Refresh",
  971. "category": "GitLens",
  972. "icon": {
  973. "dark": "images/dark/icon-refresh.svg",
  974. "light": "images/light/icon-refresh.svg"
  975. }
  976. },
  977. {
  978. "command": "gitlens.stashExplorer.openChanges",
  979. "title": "Open Changes",
  980. "category": "GitLens"
  981. },
  982. {
  983. "command": "gitlens.stashExplorer.openFile",
  984. "title": "Open File",
  985. "category": "GitLens"
  986. },
  987. {
  988. "command": "gitlens.stashExplorer.openStashedFile",
  989. "title": "Open Stashed File",
  990. "category": "GitLens"
  991. },
  992. {
  993. "command": "gitlens.stashExplorer.openFileInRemote",
  994. "title": "Open File in Remote",
  995. "category": "GitLens"
  996. },
  997. {
  998. "command": "gitlens.stashExplorer.toggle",
  999. "title": "Toggle Git Stashes Explorer",
  1000. "category": "GitLens"
  1001. }
  1002. ],
  1003. "menus": {
  1004. "commandPalette": [
  1005. {
  1006. "command": "gitlens.diffDirectory",
  1007. "when": "gitlens:enabled"
  1008. },
  1009. {
  1010. "command": "gitlens.diffWithBranch",
  1011. "when": "gitlens:isTracked"
  1012. },
  1013. {
  1014. "command": "gitlens.diffWithNext",
  1015. "when": "gitlens:isTracked"
  1016. },
  1017. {
  1018. "command": "gitlens.diffWithPrevious",
  1019. "when": "gitlens:isTracked"
  1020. },
  1021. {
  1022. "command": "gitlens.diffLineWithPrevious",
  1023. "when": "gitlens:isBlameable"
  1024. },
  1025. {
  1026. "command": "gitlens.diffWithRevision",
  1027. "when": "gitlens:isTracked"
  1028. },
  1029. {
  1030. "command": "gitlens.diffWithWorking",
  1031. "when": "gitlens:isTracked"
  1032. },
  1033. {
  1034. "command": "gitlens.diffLineWithWorking",
  1035. "when": "gitlens:isBlameable"
  1036. },
  1037. {
  1038. "command": "gitlens.showFileBlame",
  1039. "when": "gitlens:isBlameable"
  1040. },
  1041. {
  1042. "command": "gitlens.showLineBlame",
  1043. "when": "gitlens:isBlameable"
  1044. },
  1045. {
  1046. "command": "gitlens.toggleFileBlame",
  1047. "when": "gitlens:isBlameable"
  1048. },
  1049. {
  1050. "command": "gitlens.toggleFileRecentChanges",
  1051. "when": "gitlens:isTracked"
  1052. },
  1053. {
  1054. "command": "gitlens.toggleLineBlame",
  1055. "when": "gitlens:isBlameable"
  1056. },
  1057. {
  1058. "command": "gitlens.toggleCodeLens",
  1059. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  1060. },
  1061. {
  1062. "command": "gitlens.showBlameHistory",
  1063. "when": "gitlens:isBlameable"
  1064. },
  1065. {
  1066. "command": "gitlens.showFileHistory",
  1067. "when": "gitlens:isTracked"
  1068. },
  1069. {
  1070. "command": "gitlens.showLastQuickPick",
  1071. "when": "gitlens:enabled"
  1072. },
  1073. {
  1074. "command": "gitlens.showQuickCommitDetails",
  1075. "when": "gitlens:isBlameable"
  1076. },
  1077. {
  1078. "command": "gitlens.showQuickCommitFileDetails",
  1079. "when": "gitlens:isBlameable"
  1080. },
  1081. {
  1082. "command": "gitlens.showQuickFileHistory",
  1083. "when": "gitlens:isTracked"
  1084. },
  1085. {
  1086. "command": "gitlens.showQuickBranchHistory",
  1087. "when": "gitlens:enabled"
  1088. },
  1089. {
  1090. "command": "gitlens.showQuickRepoHistory",
  1091. "when": "gitlens:enabled"
  1092. },
  1093. {
  1094. "command": "gitlens.showQuickRepoStatus",
  1095. "when": "gitlens:enabled"
  1096. },
  1097. {
  1098. "command": "gitlens.showQuickStashList",
  1099. "when": "gitlens:enabled"
  1100. },
  1101. {
  1102. "command": "gitlens.copyShaToClipboard",
  1103. "when": "gitlens:isBlameable"
  1104. },
  1105. {
  1106. "command": "gitlens.copyMessageToClipboard",
  1107. "when": "gitlens:isBlameable"
  1108. },
  1109. {
  1110. "command": "gitlens.closeUnchangedFiles",
  1111. "when": "gitlens:enabled"
  1112. },
  1113. {
  1114. "command": "gitlens.openChangedFiles",
  1115. "when": "gitlens:enabled"
  1116. },
  1117. {
  1118. "command": "gitlens.openBranchInRemote",
  1119. "when": "gitlens:hasRemotes"
  1120. },
  1121. {
  1122. "command": "gitlens.openCommitInRemote",
  1123. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  1124. },
  1125. {
  1126. "command": "gitlens.openFileInRemote",
  1127. "when": "gitlens:isTracked && gitlens:hasRemotes"
  1128. },
  1129. {
  1130. "command": "gitlens.openRepoInRemote",
  1131. "when": "gitlens:hasRemotes"
  1132. },
  1133. {
  1134. "command": "gitlens.stashApply",
  1135. "when": "gitlens:enabled"
  1136. },
  1137. {
  1138. "command": "gitlens.stashSave",
  1139. "when": "gitlens:enabled"
  1140. },
  1141. {
  1142. "command": "gitlens.resetSuppressedWarnings",
  1143. "when": "gitlens:enabled"
  1144. },
  1145. {
  1146. "command": "gitlens.gitExplorer.refresh",
  1147. "when": "gitlens:enabled"
  1148. },
  1149. {
  1150. "command": "gitlens.stashExplorer.toggle",
  1151. "when": "gitlens:enabled"
  1152. },
  1153. {
  1154. "command": "gitlens.stashExplorer.refresh",
  1155. "when": "gitlens:enabled"
  1156. },
  1157. {
  1158. "command": "gitlens.stashExplorer.openChanges",
  1159. "when": "false"
  1160. },
  1161. {
  1162. "command": "gitlens.stashExplorer.openFile",
  1163. "when": "false"
  1164. },
  1165. {
  1166. "command": "gitlens.stashExplorer.openStashedFile",
  1167. "when": "false"
  1168. },
  1169. {
  1170. "command": "gitlens.stashExplorer.openFileInRemote",
  1171. "when": "false"
  1172. }
  1173. ],
  1174. "editor/context": [
  1175. {
  1176. "command": "gitlens.openFileInRemote",
  1177. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1178. "group": "navigation@100"
  1179. },
  1180. {
  1181. "command": "gitlens.diffLineWithPrevious",
  1182. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1183. "group": "1_gitlens@1"
  1184. },
  1185. {
  1186. "command": "gitlens.diffLineWithWorking",
  1187. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1188. "group": "1_gitlens@2"
  1189. },
  1190. {
  1191. "command": "gitlens.showQuickCommitFileDetails",
  1192. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1193. "group": "1_gitlens@3"
  1194. },
  1195. {
  1196. "command": "gitlens.diffWithPrevious",
  1197. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1198. "group": "1_gitlens_1@1"
  1199. },
  1200. {
  1201. "command": "gitlens.diffWithWorking",
  1202. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1203. "group": "1_gitlens_1@2"
  1204. },
  1205. {
  1206. "command": "gitlens.showQuickFileHistory",
  1207. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1208. "group": "3_gitlens@1"
  1209. },
  1210. {
  1211. "command": "gitlens.toggleFileBlame",
  1212. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1213. "group": "3_gitlens@2"
  1214. },
  1215. {
  1216. "command": "gitlens.copyShaToClipboard",
  1217. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1218. "group": "9_gitlens@1"
  1219. },
  1220. {
  1221. "command": "gitlens.copyMessageToClipboard",
  1222. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1223. "group": "9_gitlens@2"
  1224. }
  1225. ],
  1226. "editor/title": [
  1227. {
  1228. "command": "gitlens.toggleFileBlame",
  1229. "alt": "gitlens.toggleFileRecentChanges",
  1230. "when": "gitlens:isBlameable && config.gitlens.advanced.menus.editorTitle.blame",
  1231. "group": "navigation@100"
  1232. },
  1233. {
  1234. "command": "gitlens.openFileInRemote",
  1235. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1236. "group": "1_gitlens"
  1237. },
  1238. {
  1239. "command": "gitlens.openRepoInRemote",
  1240. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1241. "group": "1_gitlens"
  1242. },
  1243. {
  1244. "command": "gitlens.diffWithPrevious",
  1245. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1246. "group": "2_gitlens"
  1247. },
  1248. {
  1249. "command": "gitlens.diffWithWorking",
  1250. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1251. "group": "2_gitlens"
  1252. },
  1253. {
  1254. "command": "gitlens.showQuickFileHistory",
  1255. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1256. "group": "2_gitlens_1"
  1257. },
  1258. {
  1259. "command": "gitlens.showQuickRepoHistory",
  1260. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1261. "group": "2_gitlens_1"
  1262. },
  1263. {
  1264. "command": "gitlens.showQuickRepoStatus",
  1265. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1266. "group": "2_gitlens_1"
  1267. }
  1268. ],
  1269. "editor/title/context": [
  1270. {
  1271. "command": "gitlens.openFileInRemote",
  1272. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.remote",
  1273. "group": "1_gitlens"
  1274. },
  1275. {
  1276. "command": "gitlens.diffWithPrevious",
  1277. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1278. "group": "1_gitlens_1@1"
  1279. },
  1280. {
  1281. "command": "gitlens.diffWithWorking",
  1282. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1283. "group": "1_gitlens_1@2"
  1284. },
  1285. {
  1286. "command": "gitlens.showQuickFileHistory",
  1287. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1288. "group": "1_gitlens_2@1"
  1289. },
  1290. {
  1291. "command": "gitlens.toggleFileBlame",
  1292. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1293. "group": "1_gitlens_2@2"
  1294. }
  1295. ],
  1296. "explorer/context": [
  1297. {
  1298. "command": "gitlens.openFileInRemote",
  1299. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.remote",
  1300. "group": "navigation@100"
  1301. },
  1302. {
  1303. "command": "gitlens.diffWithPrevious",
  1304. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1305. "group": "1_gitlens@1"
  1306. },
  1307. {
  1308. "command": "gitlens.diffWithWorking",
  1309. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1310. "group": "1_gitlens@2"
  1311. },
  1312. {
  1313. "command": "gitlens.showQuickFileHistory",
  1314. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1315. "group": "1_gitlens_1@1"
  1316. }
  1317. ],
  1318. "scm/resourceGroup/context": [
  1319. {
  1320. "command": "gitlens.openChangedFiles",
  1321. "when": "gitlens:enabled",
  1322. "group": "1_gitlens@1"
  1323. },
  1324. {
  1325. "command": "gitlens.closeUnchangedFiles",
  1326. "when": "gitlens:enabled",
  1327. "group": "1_gitlens@2"
  1328. }
  1329. ],
  1330. "scm/resourceState/context": [
  1331. {
  1332. "command": "gitlens.openFileInRemote",
  1333. "when": "gitlens:enabled && gitlens:hasRemotes",
  1334. "group": "navigation"
  1335. },
  1336. {
  1337. "command": "gitlens.diffWithRevision",
  1338. "when": "gitlens:enabled",
  1339. "group": "1_gitlens@1"
  1340. },
  1341. {
  1342. "command": "gitlens.showQuickFileHistory",
  1343. "when": "gitlens:enabled",
  1344. "group": "1_gitlens_1@1"
  1345. }
  1346. ],
  1347. "view/title": [
  1348. {
  1349. "command": "gitlens.gitExplorer.refresh",
  1350. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1351. "group": "navigation"
  1352. },
  1353. {
  1354. "command": "gitlens.stashSave",
  1355. "when": "gitlens:enabled && view == gitlens.stashExplorer",
  1356. "group": "navigation@1"
  1357. },
  1358. {
  1359. "command": "gitlens.stashExplorer.refresh",
  1360. "when": "gitlens:enabled && view == gitlens.stashExplorer",
  1361. "group": "navigation@2"
  1362. }
  1363. ],
  1364. "view/item/context": [
  1365. {
  1366. "command": "gitlens.openCommitInRemote",
  1367. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit",
  1368. "group": "1_gitlens@1"
  1369. },
  1370. {
  1371. "command": "gitlens.openFileInRemote",
  1372. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit-file",
  1373. "group": "1_gitlens@1"
  1374. },
  1375. {
  1376. "command": "gitlens.diffWithPrevious",
  1377. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit-file",
  1378. "group": "2_gitlens@1"
  1379. },
  1380. {
  1381. "command": "gitlens.diffWithWorking",
  1382. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit-file",
  1383. "group": "2_gitlens@2"
  1384. },
  1385. {
  1386. "command": "gitlens.stashApply",
  1387. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == stash-commit",
  1388. "group": "3_gitlens@1"
  1389. },
  1390. {
  1391. "command": "gitlens.stashDelete",
  1392. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == stash-commit",
  1393. "group": "3_gitlens@1"
  1394. },
  1395. {
  1396. "command": "gitlens.stashExplorer.openChanges",
  1397. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file",
  1398. "group": "1_gitlens@1"
  1399. },
  1400. {
  1401. "command": "gitlens.stashExplorer.openFile",
  1402. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file",
  1403. "group": "1_gitlens@2"
  1404. },
  1405. {
  1406. "command": "gitlens.stashExplorer.openStashedFile",
  1407. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file",
  1408. "group": "1_gitlens@3"
  1409. },
  1410. {
  1411. "command": "gitlens.stashExplorer.openFileInRemote",
  1412. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file",
  1413. "group": "1_gitlens@4"
  1414. },
  1415. {
  1416. "command": "gitlens.diffWithWorking",
  1417. "when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file",
  1418. "group": "2_gitlens@2"
  1419. }
  1420. ]
  1421. },
  1422. "keybindings": [
  1423. {
  1424. "command": "gitlens.key.left",
  1425. "key": "alt+left",
  1426. "when": "gitlens:key:left"
  1427. },
  1428. {
  1429. "command": "gitlens.key.right",
  1430. "key": "alt+right",
  1431. "when": "gitlens:key:right"
  1432. },
  1433. {
  1434. "command": "gitlens.key.,",
  1435. "key": "alt+,",
  1436. "when": "gitlens:key:,"
  1437. },
  1438. {
  1439. "command": "gitlens.key..",
  1440. "key": "alt+.",
  1441. "when": "gitlens:key:."
  1442. },
  1443. {
  1444. "command": "gitlens.key.escape",
  1445. "key": "escape",
  1446. "when": "gitlens:key:escape"
  1447. },
  1448. {
  1449. "command": "gitlens.toggleFileBlame",
  1450. "key": "alt+b",
  1451. "when": "editorTextFocus && gitlens:isTracked"
  1452. },
  1453. {
  1454. "command": "gitlens.toggleCodeLens",
  1455. "key": "shift+alt+b",
  1456. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1457. },
  1458. {
  1459. "command": "gitlens.showLastQuickPick",
  1460. "key": "alt+-",
  1461. "when": "gitlens:enabled"
  1462. },
  1463. {
  1464. "command": "gitlens.showCommitSearch",
  1465. "key": "alt+/",
  1466. "when": "gitlens:enabled"
  1467. },
  1468. {
  1469. "command": "gitlens.showQuickFileHistory",
  1470. "key": "alt+h",
  1471. "when": "gitlens:enabled"
  1472. },
  1473. {
  1474. "command": "gitlens.showQuickRepoHistory",
  1475. "key": "shift+alt+h",
  1476. "when": "gitlens:enabled"
  1477. },
  1478. {
  1479. "command": "gitlens.showQuickRepoStatus",
  1480. "key": "alt+s",
  1481. "when": "gitlens:enabled"
  1482. },
  1483. {
  1484. "command": "gitlens.showQuickCommitFileDetails",
  1485. "key": "alt+c",
  1486. "when": "editorTextFocus && gitlens:enabled"
  1487. },
  1488. {
  1489. "command": "gitlens.diffWithNext",
  1490. "key": "alt+.",
  1491. "when": "editorTextFocus && gitlens:isTracked"
  1492. },
  1493. {
  1494. "command": "gitlens.diffLineWithPrevious",
  1495. "key": "shift+alt+,",
  1496. "when": "editorTextFocus && gitlens:isTracked"
  1497. },
  1498. {
  1499. "command": "gitlens.diffWithPrevious",
  1500. "key": "alt+,",
  1501. "when": "editorTextFocus && gitlens:isTracked"
  1502. },
  1503. {
  1504. "command": "gitlens.diffLineWithWorking",
  1505. "key": "alt+w",
  1506. "when": "editorTextFocus && gitlens:isTracked"
  1507. },
  1508. {
  1509. "command": "gitlens.diffWithWorking",
  1510. "key": "shift+alt+w",
  1511. "when": "editorTextFocus && gitlens:isTracked"
  1512. }
  1513. ],
  1514. "views": {
  1515. "explorer": [
  1516. {
  1517. "id": "gitlens.stashExplorer",
  1518. "name": "Git Stashes",
  1519. "when": "gitlens:enabled && config.gitlens.stashExplorer.enabled"
  1520. }
  1521. ]
  1522. }
  1523. },
  1524. "activationEvents": [
  1525. "*"
  1526. ],
  1527. "scripts": {
  1528. "clean": "git clean -xdf",
  1529. "compile": "tslint --project tslint.json && tsc -p ./",
  1530. "watch": "tsc -watch -p ./",
  1531. "lint": "tslint --project tslint.json",
  1532. "pack": "git clean -xdf && vsce package",
  1533. "postinstall": "node ./node_modules/vscode/bin/install",
  1534. "pub": "git clean -xdf && vsce publish",
  1535. "reset": "git clean -xdf && npm install",
  1536. "vscode:prepublish": "npm install --no-save && npm run compile"
  1537. },
  1538. "dependencies": {
  1539. "applicationinsights": "0.21.0",
  1540. "copy-paste": "1.3.0",
  1541. "iconv-lite": "0.4.18",
  1542. "ignore": "3.3.3",
  1543. "lodash.debounce": "4.0.8",
  1544. "lodash.escaperegexp": "4.1.2",
  1545. "lodash.isequal": "4.5.0",
  1546. "lodash.once": "4.1.1",
  1547. "moment": "2.18.1",
  1548. "spawn-rx": "2.0.11",
  1549. "string-width": "2.1.1",
  1550. "tmp": "0.0.33"
  1551. },
  1552. "devDependencies": {
  1553. "@types/copy-paste": "1.1.30",
  1554. "@types/iconv-lite": "0.0.1",
  1555. "@types/mocha": "2.2.41",
  1556. "@types/node": "8.0.22",
  1557. "@types/tmp": "0.0.33",
  1558. "mocha": "3.5.0",
  1559. "tslint": "5.6.0",
  1560. "typescript": "2.4.2",
  1561. "vscode": "1.1.4"
  1562. }
  1563. }