Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

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