No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

1968 líneas
92 KiB

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