You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1938 line
90 KiB

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