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.

1850 lines
86 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "5.0.0-beta",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.16.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. "language": "stylus",
  357. "locations": [
  358. "document"
  359. ]
  360. }
  361. ],
  362. "items": {
  363. "type": "object",
  364. "required": [
  365. "language",
  366. "locations"
  367. ],
  368. "properties": {
  369. "language": {
  370. "type": "string",
  371. "description": "Specifies the language to which this code lens override applies"
  372. },
  373. "locations": {
  374. "type": "array",
  375. "default": [
  376. "document",
  377. "containers"
  378. ],
  379. "items": {
  380. "type": "string",
  381. "enum": [
  382. "document",
  383. "containers",
  384. "blocks",
  385. "custom"
  386. ]
  387. },
  388. "minItems": 1,
  389. "maxItems": 4,
  390. "uniqueItems": true,
  391. "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`"
  392. },
  393. "customSymbols": {
  394. "type": "array",
  395. "items": {
  396. "type": "string"
  397. },
  398. "uniqueItems": true,
  399. "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`"
  400. }
  401. }
  402. },
  403. "uniqueItems": true,
  404. "description": "Specifies where Git code lens will be shown in the document for the specified languages"
  405. },
  406. "gitlens.codeLens.debug": {
  407. "type": "boolean",
  408. "default": false,
  409. "description": "Specifies whether or not to show debug information in code lens"
  410. },
  411. "gitlens.defaultDateFormat": {
  412. "type": "string",
  413. "default": null,
  414. "description": "Specifies how all absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  415. },
  416. "gitlens.gitExplorer.commitFormat": {
  417. "type": "string",
  418. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0\u2022\u00a0 ${id}",
  419. "description": "Specifies the format of committed changes in the `GitLens` custom 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"
  420. },
  421. "gitlens.gitExplorer.commitFileFormat": {
  422. "type": "string",
  423. "default": "${filePath}",
  424. "description": "Specifies the format of a committed file in the `GitLens` custom view\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
  425. },
  426. "gitlens.gitExplorer.showTrackingBranch": {
  427. "type": "boolean",
  428. "default": true,
  429. "description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` custom view"
  430. },
  431. "gitlens.gitExplorer.stashFormat": {
  432. "type": "string",
  433. "default": "${message}",
  434. "description": "Specifies the format of stashed changes in the `GitLens` custom 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"
  435. },
  436. "gitlens.gitExplorer.stashFileFormat": {
  437. "type": "string",
  438. "default": "${filePath}",
  439. "description": "Specifies the format of a stashed file in the `GitLens` custom view\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
  440. },
  441. "gitlens.gitExplorer.view": {
  442. "type": "string",
  443. "default": "repository",
  444. "enum": [
  445. "history",
  446. "repository"
  447. ],
  448. "description": "Specifies the starting view (mode) of the `GitLens` custom view\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer"
  449. },
  450. "gitlens.remotes": {
  451. "type": "array",
  452. "default": null,
  453. "items": {
  454. "type": "object",
  455. "required": [
  456. "type",
  457. "domain"
  458. ],
  459. "properties": {
  460. "type": {
  461. "type": "string",
  462. "enum": [
  463. "Bitbucket",
  464. "BitbucketServer",
  465. "GitHub",
  466. "GitLab"
  467. ],
  468. "description": "Specifies the type of the custom remote service\n `Bitbucket`, `BitbucketServer`, `GitHub`, or `GitLab`"
  469. },
  470. "domain": {
  471. "type": "string",
  472. "description": "Specifies the domain name of the custom remote service"
  473. }
  474. }
  475. },
  476. "uniqueItems": true,
  477. "description": "Specifies the custom remote services (code-hosting)"
  478. },
  479. "gitlens.statusBar.enabled": {
  480. "type": "boolean",
  481. "default": true,
  482. "description": "Specifies whether or not to provide blame information on the status bar"
  483. },
  484. "gitlens.statusBar.alignment": {
  485. "type": "string",
  486. "default": "right",
  487. "enum": [
  488. "left",
  489. "right"
  490. ],
  491. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  492. },
  493. "gitlens.statusBar.command": {
  494. "type": "string",
  495. "default": "gitlens.showQuickCommitDetails",
  496. "enum": [
  497. "gitlens.toggleFileBlame",
  498. "gitlens.showBlameHistory",
  499. "gitlens.showFileHistory",
  500. "gitlens.diffWithPrevious",
  501. "gitlens.diffWithWorking",
  502. "gitlens.toggleCodeLens",
  503. "gitlens.showQuickCommitDetails",
  504. "gitlens.showQuickCommitFileDetails",
  505. "gitlens.showQuickFileHistory",
  506. "gitlens.showQuickRepoHistory"
  507. ],
  508. "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"
  509. },
  510. "gitlens.statusBar.format": {
  511. "type": "string",
  512. "default": "${authorAgo}",
  513. "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"
  514. },
  515. "gitlens.statusBar.dateFormat": {
  516. "type": "string",
  517. "default": null,
  518. "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"
  519. },
  520. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  521. "type": "string",
  522. "default": "Cannot determine recent change or authors (unsaved changes)",
  523. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes"
  524. },
  525. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  526. "type": "string",
  527. "default": "Cannot determine recent change (unsaved changes)",
  528. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes"
  529. },
  530. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  531. "type": "string",
  532. "default": "Cannot determine authors (unsaved changes)",
  533. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes"
  534. },
  535. "gitlens.theme.annotations.file.gutter.separateLines": {
  536. "type": "boolean",
  537. "default": true,
  538. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  539. },
  540. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  541. "type": "string",
  542. "default": "rgba(255, 255, 255, 0.075)",
  543. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  544. },
  545. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  546. "type": "string",
  547. "default": "rgba(0, 0, 0, 0.05)",
  548. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  549. },
  550. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  551. "type": "string",
  552. "default": "rgb(190, 190, 190)",
  553. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  554. },
  555. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  556. "type": "string",
  557. "default": "rgb(116, 116, 116)",
  558. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  559. },
  560. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  561. "type": "string",
  562. "default": "rgba(0, 188, 242, 0.6)",
  563. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  564. },
  565. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  566. "type": "string",
  567. "default": "rgba(0, 188, 242, 0.6)",
  568. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  569. },
  570. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  571. "type": "string",
  572. "default": null,
  573. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  574. },
  575. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  576. "type": "string",
  577. "default": null,
  578. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  579. },
  580. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  581. "type": "string",
  582. "default": "rgba(153, 153, 153, 0.35)",
  583. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  584. },
  585. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  586. "type": "string",
  587. "default": "rgba(153, 153, 153, 0.35)",
  588. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  589. },
  590. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  591. "type": "string",
  592. "default": "rgba(0, 188, 242, 0.2)",
  593. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  594. },
  595. "gitlens.theme.lineHighlight.light.backgroundColor": {
  596. "type": "string",
  597. "default": "rgba(0, 188, 242, 0.2)",
  598. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  599. },
  600. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  601. "type": "string",
  602. "default": "rgba(0, 188, 242, 0.6)",
  603. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  604. },
  605. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  606. "type": "string",
  607. "default": "rgba(0, 188, 242, 0.6)",
  608. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  609. },
  610. "gitlens.advanced.caching.enabled": {
  611. "type": "boolean",
  612. "default": true,
  613. "description": "Specifies whether git output will be cached"
  614. },
  615. "gitlens.advanced.caching.maxLines": {
  616. "type": "number",
  617. "default": 0,
  618. "description": "Specifies the threshold for caching larger documents"
  619. },
  620. "gitlens.advanced.git": {
  621. "type": "string",
  622. "default": null,
  623. "description": "Specifies the git path to use"
  624. },
  625. "gitlens.advanced.gitignore.enabled": {
  626. "type": "boolean",
  627. "default": true,
  628. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  629. },
  630. "gitlens.advanced.maxQuickHistory": {
  631. "type": "number",
  632. "default": 200,
  633. "description": "Specifies the maximum number of QuickPick history entries to show"
  634. },
  635. "gitlens.advanced.menus": {
  636. "type": "object",
  637. "default": {
  638. "editorContext": {
  639. "blame": true,
  640. "copy": true,
  641. "details": true,
  642. "fileDiff": true,
  643. "history": true,
  644. "lineDiff": true,
  645. "remote": true
  646. },
  647. "editorTitle": {
  648. "blame": true,
  649. "fileDiff": true,
  650. "history": true,
  651. "remote": true,
  652. "status": true
  653. },
  654. "editorTitleContext": {
  655. "blame": true,
  656. "fileDiff": true,
  657. "history": true,
  658. "remote": true
  659. },
  660. "explorerContext": {
  661. "fileDiff": true,
  662. "history": true,
  663. "remote": true
  664. }
  665. },
  666. "description": "Specifies which commands will be added to which menus",
  667. "properties": {
  668. "editorContext": {
  669. "type": "object",
  670. "default": {
  671. "blame": true,
  672. "copy": true,
  673. "details": true,
  674. "fileDiff": true,
  675. "history": true,
  676. "lineDiff": true,
  677. "remote": true
  678. },
  679. "properties": {
  680. "blame": {
  681. "type": "boolean",
  682. "default": true
  683. },
  684. "copy": {
  685. "type": "boolean",
  686. "default": true
  687. },
  688. "details": {
  689. "type": "boolean",
  690. "default": true
  691. },
  692. "fileDiff": {
  693. "type": "boolean",
  694. "default": true
  695. },
  696. "history": {
  697. "type": "boolean",
  698. "default": true
  699. },
  700. "lineDiff": {
  701. "type": "boolean",
  702. "default": true
  703. },
  704. "remote": {
  705. "type": "boolean",
  706. "default": true
  707. }
  708. }
  709. },
  710. "editorTitle": {
  711. "type": "object",
  712. "default": {
  713. "blame": true,
  714. "fileDiff": true,
  715. "history": true,
  716. "remote": true,
  717. "status": true
  718. },
  719. "properties": {
  720. "blame": {
  721. "type": "boolean",
  722. "default": true
  723. },
  724. "fileDiff": {
  725. "type": "boolean",
  726. "default": true
  727. },
  728. "history": {
  729. "type": "boolean",
  730. "default": true
  731. },
  732. "remote": {
  733. "type": "boolean",
  734. "default": true
  735. },
  736. "status": {
  737. "type": "boolean",
  738. "default": true
  739. }
  740. }
  741. },
  742. "editorTitleContext": {
  743. "type": "object",
  744. "default": {
  745. "blame": true,
  746. "fileDiff": true,
  747. "history": true,
  748. "remote": true
  749. },
  750. "properties": {
  751. "blame": {
  752. "type": "boolean",
  753. "default": true
  754. },
  755. "fileDiff": {
  756. "type": "boolean",
  757. "default": true
  758. },
  759. "history": {
  760. "type": "boolean",
  761. "default": true
  762. },
  763. "remote": {
  764. "type": "boolean",
  765. "default": true
  766. }
  767. }
  768. },
  769. "explorerContext": {
  770. "type": "object",
  771. "default": {
  772. "fileDiff": true,
  773. "history": true,
  774. "remote": true
  775. },
  776. "properties": {
  777. "fileDiff": {
  778. "type": "boolean",
  779. "default": true
  780. },
  781. "history": {
  782. "type": "boolean",
  783. "default": true
  784. },
  785. "remote": {
  786. "type": "boolean",
  787. "default": true
  788. }
  789. }
  790. }
  791. }
  792. },
  793. "gitlens.advanced.quickPick.closeOnFocusOut": {
  794. "type": "boolean",
  795. "default": true,
  796. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  797. },
  798. "gitlens.advanced.telemetry.enabled": {
  799. "type": "boolean",
  800. "default": true,
  801. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting"
  802. },
  803. "gitlens.advanced.toggleWhitespace.enabled": {
  804. "type": "boolean",
  805. "default": false,
  806. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  807. }
  808. }
  809. },
  810. "commands": [
  811. {
  812. "command": "gitlens.diffDirectory",
  813. "title": "Directory Compare",
  814. "category": "GitLens"
  815. },
  816. {
  817. "command": "gitlens.diffWith",
  818. "title": "Compare File Revisions",
  819. "category": "GitLens"
  820. },
  821. {
  822. "command": "gitlens.diffWithBranch",
  823. "title": "Compare File with Branch...",
  824. "category": "GitLens"
  825. },
  826. {
  827. "command": "gitlens.diffWithNext",
  828. "title": "Compare File with Next Revision",
  829. "category": "GitLens"
  830. },
  831. {
  832. "command": "gitlens.diffWithPrevious",
  833. "title": "Compare File with Previous Revision",
  834. "category": "GitLens"
  835. },
  836. {
  837. "command": "gitlens.diffLineWithPrevious",
  838. "title": "Compare Line Revision with Previous",
  839. "category": "GitLens"
  840. },
  841. {
  842. "command": "gitlens.diffWithRevision",
  843. "title": "Compare File with Revision...",
  844. "category": "GitLens"
  845. },
  846. {
  847. "command": "gitlens.diffWithWorking",
  848. "title": "Compare File with Working Revision",
  849. "category": "GitLens"
  850. },
  851. {
  852. "command": "gitlens.diffLineWithWorking",
  853. "title": "Compare Line Revision with Working",
  854. "category": "GitLens"
  855. },
  856. {
  857. "command": "gitlens.showFileBlame",
  858. "title": "Show File Blame Annotations",
  859. "category": "GitLens"
  860. },
  861. {
  862. "command": "gitlens.showLineBlame",
  863. "title": "Show Line Blame Annotations",
  864. "category": "GitLens"
  865. },
  866. {
  867. "command": "gitlens.toggleFileBlame",
  868. "title": "Toggle File Blame Annotations",
  869. "category": "GitLens",
  870. "icon": {
  871. "dark": "images/dark/git-icon.svg",
  872. "light": "images/light/git-icon.svg"
  873. }
  874. },
  875. {
  876. "command": "gitlens.clearFileAnnotations",
  877. "title": "Clear File Annotations",
  878. "category": "GitLens",
  879. "icon": {
  880. "dark": "images/dark/git-icon-orange.svg",
  881. "light": "images/light/git-icon-orange.svg"
  882. }
  883. },
  884. {
  885. "command": "gitlens.computingFileAnnotations",
  886. "title": "Computing File Annotations...",
  887. "category": "GitLens",
  888. "icon": {
  889. "dark": "images/dark/git-icon-progress.svg",
  890. "light": "images/light/git-icon-progress.svg"
  891. }
  892. },
  893. {
  894. "command": "gitlens.toggleFileRecentChanges",
  895. "title": "Toggle Recent File Changes Annotations",
  896. "category": "GitLens",
  897. "icon": {
  898. "dark": "images/dark/git-icon.svg",
  899. "light": "images/light/git-icon.svg"
  900. }
  901. },
  902. {
  903. "command": "gitlens.toggleLineBlame",
  904. "title": "Toggle Line Blame Annotations",
  905. "category": "GitLens"
  906. },
  907. {
  908. "command": "gitlens.toggleCodeLens",
  909. "title": "Toggle Git Code Lens",
  910. "category": "GitLens"
  911. },
  912. {
  913. "command": "gitlens.showBlameHistory",
  914. "title": "Open Blame History Explorer",
  915. "category": "GitLens"
  916. },
  917. {
  918. "command": "gitlens.showCommitSearch",
  919. "title": "Search Commits",
  920. "category": "GitLens",
  921. "icon": {
  922. "dark": "images/dark/icon-search.svg",
  923. "light": "images/light/icon-search.svg"
  924. }
  925. },
  926. {
  927. "command": "gitlens.showFileHistory",
  928. "title": "Open File History Explorer",
  929. "category": "GitLens"
  930. },
  931. {
  932. "command": "gitlens.showLastQuickPick",
  933. "title": "Show Last Opened Quick Pick",
  934. "category": "GitLens"
  935. },
  936. {
  937. "command": "gitlens.showQuickCommitDetails",
  938. "title": "Show Commit Details",
  939. "category": "GitLens"
  940. },
  941. {
  942. "command": "gitlens.showQuickCommitFileDetails",
  943. "title": "Show Commit File Details",
  944. "category": "GitLens"
  945. },
  946. {
  947. "command": "gitlens.showQuickFileHistory",
  948. "title": "Show File History",
  949. "category": "GitLens"
  950. },
  951. {
  952. "command": "gitlens.showQuickBranchHistory",
  953. "title": "Show Branch History",
  954. "category": "GitLens"
  955. },
  956. {
  957. "command": "gitlens.showQuickRepoHistory",
  958. "title": "Show Current Branch History",
  959. "category": "GitLens"
  960. },
  961. {
  962. "command": "gitlens.showQuickRepoStatus",
  963. "title": "Show Repository Status",
  964. "category": "GitLens"
  965. },
  966. {
  967. "command": "gitlens.showQuickStashList",
  968. "title": "Show Stashed Changes",
  969. "category": "GitLens"
  970. },
  971. {
  972. "command": "gitlens.copyShaToClipboard",
  973. "title": "Copy Commit ID to Clipboard",
  974. "category": "GitLens"
  975. },
  976. {
  977. "command": "gitlens.copyMessageToClipboard",
  978. "title": "Copy Commit Message to Clipboard",
  979. "category": "GitLens"
  980. },
  981. {
  982. "command": "gitlens.closeUnchangedFiles",
  983. "title": "Close Unchanged Files",
  984. "category": "GitLens"
  985. },
  986. {
  987. "command": "gitlens.openChangedFiles",
  988. "title": "Open Changed Files",
  989. "category": "GitLens"
  990. },
  991. {
  992. "command": "gitlens.openBranchesInRemote",
  993. "title": "Open Branches in Remote",
  994. "category": "GitLens"
  995. },
  996. {
  997. "command": "gitlens.openBranchInRemote",
  998. "title": "Open Branch in Remote",
  999. "category": "GitLens"
  1000. },
  1001. {
  1002. "command": "gitlens.openCommitInRemote",
  1003. "title": "Open Commit in Remote",
  1004. "category": "GitLens"
  1005. },
  1006. {
  1007. "command": "gitlens.openFileInRemote",
  1008. "title": "Open File in Remote",
  1009. "category": "GitLens"
  1010. },
  1011. {
  1012. "command": "gitlens.openRepoInRemote",
  1013. "title": "Open Repository in Remote",
  1014. "category": "GitLens"
  1015. },
  1016. {
  1017. "command": "gitlens.stashApply",
  1018. "title": "Apply Stashed Changes",
  1019. "category": "GitLens"
  1020. },
  1021. {
  1022. "command": "gitlens.stashDelete",
  1023. "title": "Delete Stashed Changes",
  1024. "category": "GitLens"
  1025. },
  1026. {
  1027. "command": "gitlens.stashSave",
  1028. "title": "Stash Changes",
  1029. "category": "GitLens",
  1030. "icon": {
  1031. "dark": "images/dark/icon-add.svg",
  1032. "light": "images/light/icon-add.svg"
  1033. }
  1034. },
  1035. {
  1036. "command": "gitlens.resetSuppressedWarnings",
  1037. "title": "Reset Suppressed Warnings",
  1038. "category": "GitLens"
  1039. },
  1040. {
  1041. "command": "gitlens.gitExplorer.refresh",
  1042. "title": "Refresh",
  1043. "category": "GitLens",
  1044. "icon": {
  1045. "dark": "images/dark/icon-refresh.svg",
  1046. "light": "images/light/icon-refresh.svg"
  1047. }
  1048. },
  1049. {
  1050. "command": "gitlens.gitExplorer.switchToHistoryView",
  1051. "title": "Switch to History View",
  1052. "category": "GitLens",
  1053. "icon": {
  1054. "dark": "images/dark/icon-history.svg",
  1055. "light": "images/light/icon-history.svg"
  1056. }
  1057. },
  1058. {
  1059. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1060. "title": "Switch to Repository View",
  1061. "category": "GitLens",
  1062. "icon": {
  1063. "dark": "images/dark/icon-repo.svg",
  1064. "light": "images/light/icon-repo.svg"
  1065. }
  1066. },
  1067. {
  1068. "command": "gitlens.gitExplorer.openChanges",
  1069. "title": "Open Changes",
  1070. "category": "GitLens"
  1071. },
  1072. {
  1073. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1074. "title": "Open Changes with Working Tree",
  1075. "category": "GitLens"
  1076. },
  1077. {
  1078. "command": "gitlens.gitExplorer.openFile",
  1079. "title": "Open File",
  1080. "category": "GitLens"
  1081. },
  1082. {
  1083. "command": "gitlens.gitExplorer.openFileRevision",
  1084. "title": "Open Revision",
  1085. "category": "GitLens"
  1086. },
  1087. {
  1088. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1089. "title": "Open Revision in Remote",
  1090. "category": "GitLens"
  1091. },
  1092. {
  1093. "command": "gitlens.gitExplorer.openChangedFiles",
  1094. "title": "Open Files",
  1095. "category": "GitLens"
  1096. },
  1097. {
  1098. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1099. "title": "Open Revisions",
  1100. "category": "GitLens"
  1101. },
  1102. {
  1103. "command": "gitlens.gitExplorer.applyChanges",
  1104. "title": "Apply Changes",
  1105. "category": "GitLens"
  1106. }
  1107. ],
  1108. "menus": {
  1109. "commandPalette": [
  1110. {
  1111. "command": "gitlens.diffDirectory",
  1112. "when": "gitlens:enabled"
  1113. },
  1114. {
  1115. "command": "gitlens.diffWith",
  1116. "when": "false"
  1117. },
  1118. {
  1119. "command": "gitlens.diffWithBranch",
  1120. "when": "gitlens:isTracked"
  1121. },
  1122. {
  1123. "command": "gitlens.diffWithNext",
  1124. "when": "gitlens:isTracked"
  1125. },
  1126. {
  1127. "command": "gitlens.diffWithPrevious",
  1128. "when": "gitlens:isTracked"
  1129. },
  1130. {
  1131. "command": "gitlens.diffLineWithPrevious",
  1132. "when": "gitlens:isBlameable"
  1133. },
  1134. {
  1135. "command": "gitlens.diffWithRevision",
  1136. "when": "gitlens:isTracked"
  1137. },
  1138. {
  1139. "command": "gitlens.diffWithWorking",
  1140. "when": "gitlens:isTracked"
  1141. },
  1142. {
  1143. "command": "gitlens.diffLineWithWorking",
  1144. "when": "gitlens:isBlameable"
  1145. },
  1146. {
  1147. "command": "gitlens.showFileBlame",
  1148. "when": "gitlens:isBlameable"
  1149. },
  1150. {
  1151. "command": "gitlens.showLineBlame",
  1152. "when": "gitlens:isBlameable"
  1153. },
  1154. {
  1155. "command": "gitlens.toggleFileBlame",
  1156. "when": "gitlens:isBlameable"
  1157. },
  1158. {
  1159. "command": "gitlens.clearFileAnnotations",
  1160. "when": "gitlens:annotationStatus == computed"
  1161. },
  1162. {
  1163. "command": "gitlens.computingFileAnnotations",
  1164. "when": "false"
  1165. },
  1166. {
  1167. "command": "gitlens.toggleFileRecentChanges",
  1168. "when": "gitlens:isTracked"
  1169. },
  1170. {
  1171. "command": "gitlens.toggleLineBlame",
  1172. "when": "gitlens:isBlameable"
  1173. },
  1174. {
  1175. "command": "gitlens.toggleCodeLens",
  1176. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  1177. },
  1178. {
  1179. "command": "gitlens.showBlameHistory",
  1180. "when": "gitlens:isBlameable"
  1181. },
  1182. {
  1183. "command": "gitlens.showFileHistory",
  1184. "when": "gitlens:isTracked"
  1185. },
  1186. {
  1187. "command": "gitlens.showLastQuickPick",
  1188. "when": "gitlens:enabled"
  1189. },
  1190. {
  1191. "command": "gitlens.showQuickCommitDetails",
  1192. "when": "gitlens:isBlameable"
  1193. },
  1194. {
  1195. "command": "gitlens.showQuickCommitFileDetails",
  1196. "when": "gitlens:isBlameable"
  1197. },
  1198. {
  1199. "command": "gitlens.showQuickFileHistory",
  1200. "when": "gitlens:isTracked"
  1201. },
  1202. {
  1203. "command": "gitlens.showQuickBranchHistory",
  1204. "when": "gitlens:enabled"
  1205. },
  1206. {
  1207. "command": "gitlens.showQuickRepoHistory",
  1208. "when": "gitlens:enabled"
  1209. },
  1210. {
  1211. "command": "gitlens.showQuickRepoStatus",
  1212. "when": "gitlens:enabled"
  1213. },
  1214. {
  1215. "command": "gitlens.showQuickStashList",
  1216. "when": "gitlens:enabled"
  1217. },
  1218. {
  1219. "command": "gitlens.copyShaToClipboard",
  1220. "when": "gitlens:isBlameable"
  1221. },
  1222. {
  1223. "command": "gitlens.copyMessageToClipboard",
  1224. "when": "gitlens:isBlameable"
  1225. },
  1226. {
  1227. "command": "gitlens.closeUnchangedFiles",
  1228. "when": "gitlens:enabled"
  1229. },
  1230. {
  1231. "command": "gitlens.openChangedFiles",
  1232. "when": "gitlens:enabled"
  1233. },
  1234. {
  1235. "command": "gitlens.openBranchesInRemote",
  1236. "when": "gitlens:hasRemotes"
  1237. },
  1238. {
  1239. "command": "gitlens.openBranchInRemote",
  1240. "when": "gitlens:hasRemotes"
  1241. },
  1242. {
  1243. "command": "gitlens.openCommitInRemote",
  1244. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  1245. },
  1246. {
  1247. "command": "gitlens.openFileInRemote",
  1248. "when": "gitlens:isTracked && gitlens:hasRemotes"
  1249. },
  1250. {
  1251. "command": "gitlens.openRepoInRemote",
  1252. "when": "gitlens:hasRemotes"
  1253. },
  1254. {
  1255. "command": "gitlens.stashApply",
  1256. "when": "gitlens:enabled"
  1257. },
  1258. {
  1259. "command": "gitlens.stashSave",
  1260. "when": "gitlens:enabled"
  1261. },
  1262. {
  1263. "command": "gitlens.resetSuppressedWarnings",
  1264. "when": "gitlens:enabled"
  1265. },
  1266. {
  1267. "command": "gitlens.gitExplorer.refresh",
  1268. "when": "false"
  1269. },
  1270. {
  1271. "command": "gitlens.gitExplorer.switchToHistoryView",
  1272. "when": "gitlens:gitExplorer:view == repository"
  1273. },
  1274. {
  1275. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1276. "when": "gitlens:gitExplorer:view == history"
  1277. },
  1278. {
  1279. "command": "gitlens.gitExplorer.openChanges",
  1280. "when": "false"
  1281. },
  1282. {
  1283. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1284. "when": "false"
  1285. },
  1286. {
  1287. "command": "gitlens.gitExplorer.openFile",
  1288. "when": "false"
  1289. },
  1290. {
  1291. "command": "gitlens.gitExplorer.openFileRevision",
  1292. "when": "false"
  1293. },
  1294. {
  1295. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1296. "when": "false"
  1297. },
  1298. {
  1299. "command": "gitlens.gitExplorer.openChangedFiles",
  1300. "when": "false"
  1301. },
  1302. {
  1303. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1304. "when": "false"
  1305. },
  1306. {
  1307. "command": "gitlens.gitExplorer.applyChanges",
  1308. "when": "false"
  1309. }
  1310. ],
  1311. "editor/context": [
  1312. {
  1313. "command": "gitlens.openFileInRemote",
  1314. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1315. "group": "navigation@100"
  1316. },
  1317. {
  1318. "command": "gitlens.diffLineWithPrevious",
  1319. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1320. "group": "1_gitlens@1"
  1321. },
  1322. {
  1323. "command": "gitlens.diffLineWithWorking",
  1324. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1325. "group": "1_gitlens@2"
  1326. },
  1327. {
  1328. "command": "gitlens.showQuickCommitFileDetails",
  1329. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1330. "group": "1_gitlens@3"
  1331. },
  1332. {
  1333. "command": "gitlens.diffWithPrevious",
  1334. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1335. "group": "1_gitlens_1@1"
  1336. },
  1337. {
  1338. "command": "gitlens.diffWithWorking",
  1339. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1340. "group": "1_gitlens_1@2"
  1341. },
  1342. {
  1343. "command": "gitlens.showQuickFileHistory",
  1344. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1345. "group": "3_gitlens@1"
  1346. },
  1347. {
  1348. "command": "gitlens.toggleFileBlame",
  1349. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1350. "group": "3_gitlens@2"
  1351. },
  1352. {
  1353. "command": "gitlens.copyShaToClipboard",
  1354. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1355. "group": "9_gitlens@1"
  1356. },
  1357. {
  1358. "command": "gitlens.copyMessageToClipboard",
  1359. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1360. "group": "9_gitlens@2"
  1361. }
  1362. ],
  1363. "editor/title": [
  1364. {
  1365. "command": "gitlens.toggleFileBlame",
  1366. "alt": "gitlens.toggleFileRecentChanges",
  1367. "when": "gitlens:isBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1368. "group": "navigation@100"
  1369. },
  1370. {
  1371. "command": "gitlens.computingFileAnnotations",
  1372. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1373. "group": "navigation@100"
  1374. },
  1375. {
  1376. "command": "gitlens.clearFileAnnotations",
  1377. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1378. "group": "navigation@100"
  1379. },
  1380. {
  1381. "command": "gitlens.openFileInRemote",
  1382. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1383. "group": "1_gitlens"
  1384. },
  1385. {
  1386. "command": "gitlens.openRepoInRemote",
  1387. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1388. "group": "1_gitlens"
  1389. },
  1390. {
  1391. "command": "gitlens.diffWithPrevious",
  1392. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1393. "group": "2_gitlens"
  1394. },
  1395. {
  1396. "command": "gitlens.diffWithWorking",
  1397. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1398. "group": "2_gitlens"
  1399. },
  1400. {
  1401. "command": "gitlens.showQuickFileHistory",
  1402. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1403. "group": "2_gitlens_1"
  1404. },
  1405. {
  1406. "command": "gitlens.showQuickRepoHistory",
  1407. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1408. "group": "2_gitlens_1"
  1409. },
  1410. {
  1411. "command": "gitlens.showQuickRepoStatus",
  1412. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1413. "group": "2_gitlens_1"
  1414. }
  1415. ],
  1416. "editor/title/context": [
  1417. {
  1418. "command": "gitlens.openFileInRemote",
  1419. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1420. "group": "1_gitlens"
  1421. },
  1422. {
  1423. "command": "gitlens.diffWithPrevious",
  1424. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1425. "group": "1_gitlens_1@1"
  1426. },
  1427. {
  1428. "command": "gitlens.diffWithWorking",
  1429. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1430. "group": "1_gitlens_1@2"
  1431. },
  1432. {
  1433. "command": "gitlens.showQuickFileHistory",
  1434. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1435. "group": "1_gitlens_2@1"
  1436. },
  1437. {
  1438. "command": "gitlens.toggleFileBlame",
  1439. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1440. "group": "1_gitlens_2@2"
  1441. }
  1442. ],
  1443. "explorer/context": [
  1444. {
  1445. "command": "gitlens.openFileInRemote",
  1446. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  1447. "group": "navigation@100"
  1448. },
  1449. {
  1450. "command": "gitlens.diffWithPrevious",
  1451. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1452. "group": "1_gitlens@1"
  1453. },
  1454. {
  1455. "command": "gitlens.diffWithWorking",
  1456. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1457. "group": "1_gitlens@2"
  1458. },
  1459. {
  1460. "command": "gitlens.showQuickFileHistory",
  1461. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1462. "group": "1_gitlens_1@1"
  1463. }
  1464. ],
  1465. "scm/resourceGroup/context": [
  1466. {
  1467. "command": "gitlens.openChangedFiles",
  1468. "when": "gitlens:enabled",
  1469. "group": "1_gitlens@1"
  1470. },
  1471. {
  1472. "command": "gitlens.closeUnchangedFiles",
  1473. "when": "gitlens:enabled",
  1474. "group": "1_gitlens@2"
  1475. },
  1476. {
  1477. "command": "gitlens.stashSave",
  1478. "when": "gitlens:enabled",
  1479. "group": "2_gitlens@1"
  1480. }
  1481. ],
  1482. "scm/resourceState/context": [
  1483. {
  1484. "command": "gitlens.openFileInRemote",
  1485. "when": "gitlens:enabled && gitlens:hasRemotes",
  1486. "group": "navigation"
  1487. },
  1488. {
  1489. "command": "gitlens.diffWithRevision",
  1490. "when": "gitlens:enabled",
  1491. "group": "1_gitlens@1"
  1492. },
  1493. {
  1494. "command": "gitlens.showQuickFileHistory",
  1495. "when": "gitlens:enabled",
  1496. "group": "1_gitlens_1@1"
  1497. },
  1498. {
  1499. "command": "gitlens.stashSave",
  1500. "when": "gitlens:enabled",
  1501. "group": "2_gitlens@1"
  1502. }
  1503. ],
  1504. "view/title": [
  1505. {
  1506. "command": "gitlens.showCommitSearch",
  1507. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1508. "group": "navigation@1"
  1509. },
  1510. {
  1511. "command": "gitlens.gitExplorer.switchToHistoryView",
  1512. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1513. "group": "navigation@2"
  1514. },
  1515. {
  1516. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1517. "when": "gitlens:enabled && view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1518. "group": "navigation@3"
  1519. },
  1520. {
  1521. "command": "gitlens.gitExplorer.refresh",
  1522. "when": "gitlens:enabled && view == gitlens.gitExplorer",
  1523. "group": "navigation@4"
  1524. }
  1525. ],
  1526. "view/item/context": [
  1527. {
  1528. "command": "gitlens.openBranchesInRemote",
  1529. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:branches",
  1530. "group": "1_gitlens@1"
  1531. },
  1532. {
  1533. "command": "gitlens.openBranchInRemote",
  1534. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1535. "group": "1_gitlens@1"
  1536. },
  1537. {
  1538. "command": "gitlens.openCommitInRemote",
  1539. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1540. "group": "1_gitlens@1"
  1541. },
  1542. {
  1543. "command": "gitlens.copyShaToClipboard",
  1544. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1545. "group": "2_gitlens@1"
  1546. },
  1547. {
  1548. "command": "gitlens.copyMessageToClipboard",
  1549. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1550. "group": "2_gitlens@2"
  1551. },
  1552. {
  1553. "command": "gitlens.gitExplorer.openChangedFiles",
  1554. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1555. "group": "3_gitlens@1"
  1556. },
  1557. {
  1558. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1559. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1560. "group": "3_gitlens@2"
  1561. },
  1562. {
  1563. "command": "gitlens.showQuickCommitDetails",
  1564. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1565. "group": "4_gitlens@1"
  1566. },
  1567. {
  1568. "command": "gitlens.gitExplorer.openChanges",
  1569. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1570. "group": "1_gitlens@1"
  1571. },
  1572. {
  1573. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1574. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1575. "group": "1_gitlens@2"
  1576. },
  1577. {
  1578. "command": "gitlens.gitExplorer.openFile",
  1579. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1580. "group": "2_gitlens@1"
  1581. },
  1582. {
  1583. "command": "gitlens.gitExplorer.openFileRevision",
  1584. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1585. "group": "2_gitlens@2"
  1586. },
  1587. {
  1588. "command": "gitlens.openFileInRemote",
  1589. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1590. "group": "3_gitlens@1"
  1591. },
  1592. {
  1593. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1594. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1595. "group": "3_gitlens@2"
  1596. },
  1597. {
  1598. "command": "gitlens.gitExplorer.applyChanges",
  1599. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1600. "group": "4_gitlens@1"
  1601. },
  1602. {
  1603. "command": "gitlens.showQuickFileHistory",
  1604. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  1605. "group": "5_gitlens@1"
  1606. },
  1607. {
  1608. "command": "gitlens.showQuickCommitFileDetails",
  1609. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1610. "group": "5_gitlens@2"
  1611. },
  1612. {
  1613. "command": "gitlens.gitExplorer.openFile",
  1614. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1615. "group": "1_gitlens@1"
  1616. },
  1617. {
  1618. "command": "gitlens.openFileInRemote",
  1619. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1620. "group": "1_gitlens@2"
  1621. },
  1622. {
  1623. "command": "gitlens.openBranchesInRemote",
  1624. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1625. "group": "1_gitlens@1"
  1626. },
  1627. {
  1628. "command": "gitlens.openRepoInRemote",
  1629. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1630. "group": "1_gitlens@2"
  1631. },
  1632. {
  1633. "command": "gitlens.stashSave",
  1634. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stashes",
  1635. "group": "1_gitlens@1"
  1636. },
  1637. {
  1638. "command": "gitlens.stashApply",
  1639. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1640. "group": "1_gitlens@1"
  1641. },
  1642. {
  1643. "command": "gitlens.stashDelete",
  1644. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1645. "group": "1_gitlens@2"
  1646. },
  1647. {
  1648. "command": "gitlens.copyMessageToClipboard",
  1649. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1650. "group": "2_gitlens@1"
  1651. },
  1652. {
  1653. "command": "gitlens.gitExplorer.openChangedFiles",
  1654. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1655. "group": "3_gitlens@1"
  1656. },
  1657. {
  1658. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1659. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1660. "group": "3_gitlens@2"
  1661. },
  1662. {
  1663. "command": "gitlens.gitExplorer.openChanges",
  1664. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1665. "group": "1_gitlens@1"
  1666. },
  1667. {
  1668. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1669. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1670. "group": "1_gitlens@2"
  1671. },
  1672. {
  1673. "command": "gitlens.gitExplorer.openFile",
  1674. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1675. "group": "2_gitlens@1"
  1676. },
  1677. {
  1678. "command": "gitlens.gitExplorer.openFileRevision",
  1679. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1680. "group": "2_gitlens@2"
  1681. },
  1682. {
  1683. "command": "gitlens.openFileInRemote",
  1684. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1685. "group": "3_gitlens@1"
  1686. },
  1687. {
  1688. "command": "gitlens.gitExplorer.applyChanges",
  1689. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1690. "group": "4_gitlens@1"
  1691. },
  1692. {
  1693. "command": "gitlens.showQuickFileHistory",
  1694. "when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1695. "group": "5_gitlens@1"
  1696. },
  1697. {
  1698. "command": "gitlens.openRepoInRemote",
  1699. "when": "gitlens:enabled && gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status",
  1700. "group": "1_gitlens@1"
  1701. },
  1702. {
  1703. "command": "gitlens.gitExplorer.refresh",
  1704. "when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file",
  1705. "group": "9_gitlens@1"
  1706. }
  1707. ]
  1708. },
  1709. "keybindings": [
  1710. {
  1711. "command": "gitlens.key.left",
  1712. "key": "alt+left",
  1713. "when": "gitlens:key:left"
  1714. },
  1715. {
  1716. "command": "gitlens.key.right",
  1717. "key": "alt+right",
  1718. "when": "gitlens:key:right"
  1719. },
  1720. {
  1721. "command": "gitlens.key.,",
  1722. "key": "alt+,",
  1723. "when": "gitlens:key:,"
  1724. },
  1725. {
  1726. "command": "gitlens.key..",
  1727. "key": "alt+.",
  1728. "when": "gitlens:key:."
  1729. },
  1730. {
  1731. "command": "gitlens.key.escape",
  1732. "key": "escape",
  1733. "when": "gitlens:key:escape"
  1734. },
  1735. {
  1736. "command": "gitlens.toggleFileBlame",
  1737. "key": "alt+b",
  1738. "when": "editorTextFocus && gitlens:isTracked"
  1739. },
  1740. {
  1741. "command": "gitlens.toggleCodeLens",
  1742. "key": "shift+alt+b",
  1743. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1744. },
  1745. {
  1746. "command": "gitlens.showLastQuickPick",
  1747. "key": "alt+-",
  1748. "when": "gitlens:enabled"
  1749. },
  1750. {
  1751. "command": "gitlens.showCommitSearch",
  1752. "key": "alt+/",
  1753. "when": "gitlens:enabled"
  1754. },
  1755. {
  1756. "command": "gitlens.showQuickFileHistory",
  1757. "key": "alt+h",
  1758. "when": "gitlens:enabled"
  1759. },
  1760. {
  1761. "command": "gitlens.showQuickRepoHistory",
  1762. "key": "shift+alt+h",
  1763. "when": "gitlens:enabled"
  1764. },
  1765. {
  1766. "command": "gitlens.showQuickRepoStatus",
  1767. "key": "alt+s",
  1768. "when": "gitlens:enabled"
  1769. },
  1770. {
  1771. "command": "gitlens.showQuickCommitFileDetails",
  1772. "key": "alt+c",
  1773. "when": "editorTextFocus && gitlens:enabled"
  1774. },
  1775. {
  1776. "command": "gitlens.diffWithNext",
  1777. "key": "alt+.",
  1778. "when": "editorTextFocus && gitlens:isTracked"
  1779. },
  1780. {
  1781. "command": "gitlens.diffLineWithPrevious",
  1782. "key": "shift+alt+,",
  1783. "when": "editorTextFocus && gitlens:isTracked"
  1784. },
  1785. {
  1786. "command": "gitlens.diffWithPrevious",
  1787. "key": "alt+,",
  1788. "when": "editorTextFocus && gitlens:isTracked"
  1789. },
  1790. {
  1791. "command": "gitlens.diffLineWithWorking",
  1792. "key": "alt+w",
  1793. "when": "editorTextFocus && gitlens:isTracked"
  1794. },
  1795. {
  1796. "command": "gitlens.diffWithWorking",
  1797. "key": "shift+alt+w",
  1798. "when": "editorTextFocus && gitlens:isTracked"
  1799. }
  1800. ],
  1801. "views": {
  1802. "explorer": [
  1803. {
  1804. "id": "gitlens.gitExplorer",
  1805. "name": "GitLens",
  1806. "when": "gitlens:enabled"
  1807. }
  1808. ]
  1809. }
  1810. },
  1811. "activationEvents": [
  1812. "*"
  1813. ],
  1814. "scripts": {
  1815. "clean": "git clean -xdf",
  1816. "compile": "tslint --project tslint.json && tsc -p ./",
  1817. "watch": "tsc -watch -p ./",
  1818. "lint": "tslint --project tslint.json",
  1819. "pack": "git clean -xdf && vsce package",
  1820. "postinstall": "node ./node_modules/vscode/bin/install",
  1821. "pub": "git clean -xdf && vsce publish",
  1822. "reset": "git clean -xdf && npm install",
  1823. "vscode:prepublish": "npm install --no-save && npm run compile"
  1824. },
  1825. "dependencies": {
  1826. "applicationinsights": "0.21.0",
  1827. "copy-paste": "1.3.0",
  1828. "iconv-lite": "0.4.19",
  1829. "ignore": "3.3.5",
  1830. "lodash.debounce": "4.0.8",
  1831. "lodash.escaperegexp": "4.1.2",
  1832. "lodash.isequal": "4.5.0",
  1833. "lodash.once": "4.1.1",
  1834. "moment": "2.18.1",
  1835. "spawn-rx": "2.0.11",
  1836. "string-width": "2.1.1",
  1837. "tmp": "0.0.33"
  1838. },
  1839. "devDependencies": {
  1840. "@types/copy-paste": "1.1.30",
  1841. "@types/iconv-lite": "0.0.1",
  1842. "@types/mocha": "2.2.43",
  1843. "@types/node": "8.0.28",
  1844. "@types/tmp": "0.0.33",
  1845. "mocha": "3.5.2",
  1846. "tslint": "5.7.0",
  1847. "typescript": "2.5.2",
  1848. "vscode": "1.1.5"
  1849. }
  1850. }