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.

1527 lines
73 KiB

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