Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1849 linhas
86 KiB

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