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.

906 lines
39 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "3.4.9",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.12.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 inline Git blame annotations and code lens, seamlessly navigate and explore the history of a file or branch, gain valuable insights via powerful comparision commands, and so much more",
  15. "badges": [
  16. {
  17. "url": "https://badges.gitter.im/vscode-gitlens/Lobby.svg",
  18. "href": "https://gitter.im/vscode-gitlens/Lobby",
  19. "description": "Chat at https://gitter.im/vscode-gitlens/Lobby"
  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.svg",
  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.blame.annotation.style": {
  57. "type": "string",
  58. "default": "expanded",
  59. "enum": [
  60. "compact",
  61. "expanded",
  62. "trailing"
  63. ],
  64. "description": "Specifies the style of the blame annotations. `compact` - groups annotations to limit the repetition and also adds author and date when possible. `expanded` - shows an annotation before every line. `trailing` - shows an annotation after every line"
  65. },
  66. "gitlens.blame.annotation.highlight": {
  67. "type": "string",
  68. "default": "both",
  69. "enum": [
  70. "none",
  71. "gutter",
  72. "line",
  73. "both"
  74. ],
  75. "description": "Specifies whether and how to highlight blame annotations. `none` - no highlight. `gutter` - adds a gutter icon. `line` - adds a full-line highlight. `both` - adds both `gutter` and `line` highlights"
  76. },
  77. "gitlens.blame.annotation.sha": {
  78. "type": "boolean",
  79. "default": true,
  80. "description": "Specifies whether the commit id (sha) will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  81. },
  82. "gitlens.blame.annotation.author": {
  83. "type": "boolean",
  84. "default": true,
  85. "description": "Specifies whether the committer will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  86. },
  87. "gitlens.blame.annotation.date": {
  88. "type": "string",
  89. "default": "off",
  90. "enum": [
  91. "off",
  92. "relative",
  93. "absolute"
  94. ],
  95. "description": "Specifies whether and how the commit date will be shown in the blame annotations. `off` - no date. `relative` - relative date (e.g. 1 day ago). `absolute` - date format specified by `gitlens.blame.annotation.dateFormat`. Applies only to the `expanded` & `trailing` annotation styles"
  96. },
  97. "gitlens.blame.annotation.dateFormat": {
  98. "type": "string",
  99. "default": null,
  100. "description": "Specifies the date format of how absolute dates will be shown in the blame annotations. See https://momentjs.com/docs/#/displaying/format/ for valid formats"
  101. },
  102. "gitlens.blame.annotation.message": {
  103. "type": "boolean",
  104. "default": false,
  105. "description": "Specifies whether the commit message will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  106. },
  107. "gitlens.blame.annotation.activeLine": {
  108. "type": "string",
  109. "default": "both",
  110. "enum": [
  111. "off",
  112. "inline",
  113. "hover",
  114. "both"
  115. ],
  116. "description": "Specifies whether and how to show blame annotations on the active line. `off` - no annotation. `inline` - adds a trailing annotation to the active line. `hover` - adds hover annotation to the active line. `both` - adds both `inline` and `hover` annotations"
  117. },
  118. "gitlens.blame.annotation.activeLineDarkColor": {
  119. "type": "string",
  120. "default": "rgba(153, 153, 153, 0.35)",
  121. "description": "Specifies the color of the active line blame annotation to use with a dark theme. Must be a valid css color"
  122. },
  123. "gitlens.blame.annotation.activeLineLightColor": {
  124. "type": "string",
  125. "default": "rgba(153, 153, 153, 0.35)",
  126. "description": "Specifies the color of the active line blame annotation to use with a light theme. Must be a valid css color"
  127. },
  128. "gitlens.codeLens.visibility": {
  129. "type": "string",
  130. "default": "auto",
  131. "enum": [
  132. "auto",
  133. "ondemand",
  134. "off"
  135. ],
  136. "description": "Specifies when code lens will be shown in the active document. `auto` - always shown. `ondemand` - never shown, unless toggled via the `gitlens.toggleCodeLens` command. `off` - never shown"
  137. },
  138. "gitlens.codeLens.location": {
  139. "type": "string",
  140. "default": "document+containers",
  141. "enum": [
  142. "all",
  143. "document+containers",
  144. "document",
  145. "custom"
  146. ],
  147. "description": "Specifies where code lens will be rendered in the active document. `all` - render at the top of the document, on container-like (classes, modules, etc), and on member-like (methods, functions, properties, etc) lines. `document+containers` - render at the top of the document and on container-like lines. `document` - only render at the top of the document. `custom` - rendering controlled by `gitlens.codeLens.locationCustomSymbols`"
  148. },
  149. "gitlens.codeLens.locationCustomSymbols": {
  150. "type": "array",
  151. "description": "Specifies the set of document symbols to render active document code lens on. Must be a member of `SymbolKind`"
  152. },
  153. "gitlens.codeLens.languageLocations": {
  154. "type": "array",
  155. "default": [
  156. {
  157. "language": "css",
  158. "location": "document"
  159. },
  160. {
  161. "language": "html",
  162. "location": "document"
  163. },
  164. {
  165. "language": "json",
  166. "location": "document"
  167. },
  168. {
  169. "language": "less",
  170. "location": "document"
  171. },
  172. {
  173. "language": "scss",
  174. "location": "document"
  175. },
  176. {
  177. "language": "vue",
  178. "location": "document"
  179. }
  180. ],
  181. "items": {
  182. "type": "object",
  183. "required": [
  184. "language",
  185. "location"
  186. ],
  187. "properties": {
  188. "language": {
  189. "type": "string",
  190. "description": "Specifies the language to which this code lens override applies"
  191. },
  192. "location": {
  193. "type": "string",
  194. "default": "document+containers",
  195. "enum": [
  196. "all",
  197. "document+containers",
  198. "document",
  199. "custom",
  200. "none"
  201. ],
  202. "description": "Specifies where code lens will be rendered in the active document for the specified language. `all` - render at the top of the document, on container-like (classes, modules, etc), and on member-like (methods, functions, properties, etc) lines. `document+containers` - render at the top of the document and on container-like lines. `document` - only render at the top of the document. `custom` - rendering controlled by `customSymbols`"
  203. },
  204. "customSymbols": {
  205. "type": "string",
  206. "description": "Specifies the set of document symbols to render active document code lens on. Must be a member of `SymbolKind`"
  207. }
  208. }
  209. },
  210. "uniqueItems": true,
  211. "enum": [
  212. "all",
  213. "document+containers",
  214. "document",
  215. "custom"
  216. ],
  217. "description": "Specifies where code lens will be rendered in the active document for the specified languages"
  218. },
  219. "gitlens.codeLens.recentChange.enabled": {
  220. "type": "boolean",
  221. "default": true,
  222. "description": "Specifies whether the recent change code lens is shown"
  223. },
  224. "gitlens.codeLens.recentChange.command": {
  225. "type": "string",
  226. "default": "gitlens.showQuickCommitFileDetails",
  227. "enum": [
  228. "gitlens.toggleBlame",
  229. "gitlens.showBlameHistory",
  230. "gitlens.showFileHistory",
  231. "gitlens.diffWithPrevious",
  232. "gitlens.showQuickCommitDetails",
  233. "gitlens.showQuickCommitFileDetails",
  234. "gitlens.showQuickFileHistory",
  235. "gitlens.showQuickRepoHistory"
  236. ],
  237. "description": "Specifies the command executed when the recent change code lens is clicked. `gitlens.toggleBlame` - toggles blame annotations. `gitlens.showBlameHistory` - opens the blame history explorer. `gitlens.showFileHistory` - opens the file history explorer. `gitlens.diffWithPrevious` - compares the current committed file with the previous commit. `gitlens.showQuickCommitDetails` - shows a commit details quick pick. `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick. `gitlens.showQuickFileHistory` - shows a file history quick pick. `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  238. },
  239. "gitlens.codeLens.authors.enabled": {
  240. "type": "boolean",
  241. "default": true,
  242. "description": "Specifies whether the authors code lens is shown"
  243. },
  244. "gitlens.codeLens.authors.command": {
  245. "type": "string",
  246. "default": "gitlens.toggleBlame",
  247. "enum": [
  248. "gitlens.toggleBlame",
  249. "gitlens.showBlameHistory",
  250. "gitlens.showFileHistory",
  251. "gitlens.diffWithPrevious",
  252. "gitlens.showQuickCommitDetails",
  253. "gitlens.showQuickCommitFileDetails",
  254. "gitlens.showQuickFileHistory",
  255. "gitlens.showQuickRepoHistory"
  256. ],
  257. "description": "Specifies the command executed when the authors code lens is clicked. `gitlens.toggleBlame` - toggles blame annotations. `gitlens.showBlameHistory` - opens the blame history explorer. `gitlens.showFileHistory` - opens the file history explorer. `gitlens.diffWithPrevious` - compares the current committed file with the previous commit. `gitlens.showQuickCommitDetails` - shows a commit details quick pick. `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick. `gitlens.showQuickFileHistory` - shows a file history quick pick. `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  258. },
  259. "gitlens.codeLens.debug": {
  260. "type": "boolean",
  261. "default": false,
  262. "description": "Specifies whether or not to show debug information in code lens"
  263. },
  264. "gitlens.menus.diff.enabled": {
  265. "type": "boolean",
  266. "default": true,
  267. "description": "Specifies whether diff commands will be added to the context menus"
  268. },
  269. "gitlens.statusBar.enabled": {
  270. "type": "boolean",
  271. "default": true,
  272. "description": "Specifies whether blame information is shown in the status bar"
  273. },
  274. "gitlens.statusBar.command": {
  275. "type": "string",
  276. "default": "gitlens.showQuickCommitDetails",
  277. "enum": [
  278. "gitlens.toggleBlame",
  279. "gitlens.showBlameHistory",
  280. "gitlens.showFileHistory",
  281. "gitlens.diffWithPrevious",
  282. "gitlens.toggleCodeLens",
  283. "gitlens.showQuickCommitDetails",
  284. "gitlens.showQuickCommitFileDetails",
  285. "gitlens.showQuickFileHistory",
  286. "gitlens.showQuickRepoHistory"
  287. ],
  288. "description": "Specifies the command executed when the blame status bar item is clicked. `gitlens.toggleBlame` - toggles blame annotations. `gitlens.showBlameHistory` - opens the blame history explorer. `gitlens.showFileHistory` - opens the file history explorer. `gitlens.diffWithPrevious` - compares the current committed file with the previous commit. `gitlens.toggleCodeLens` - toggles Git code lens. `gitlens.showQuickCommitDetails` - shows a commit details quick pick. `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick. `gitlens.showQuickFileHistory` - shows a file history quick pick. `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  289. },
  290. "gitlens.statusBar.date": {
  291. "type": "string",
  292. "default": "relative",
  293. "enum": [
  294. "off",
  295. "relative",
  296. "absolute"
  297. ],
  298. "description": "Specifies whether and how the commit date will be shown in the blame status bar. `off` - no date. `relative` - relative date (e.g. 1 day ago). `absolute` - date format specified by `gitlens.statusBar.dateFormat`"
  299. },
  300. "gitlens.statusBar.dateFormat": {
  301. "type": "string",
  302. "default": null,
  303. "description": "Specifies the date format of how absolute dates will be shown in the blame status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats"
  304. },
  305. "gitlens.statusBar.alignment": {
  306. "type": "string",
  307. "default": "right",
  308. "enum": [
  309. "left",
  310. "right"
  311. ],
  312. "description": "Specifies the blame alignment in the status bar. `left` - align to the left, `right` - align to the right"
  313. },
  314. "gitlens.advanced.caching.enabled": {
  315. "type": "boolean",
  316. "default": true,
  317. "description": "Specifies whether git blame output will be cached"
  318. },
  319. "gitlens.advanced.caching.statusBar.maxLines": {
  320. "type": "number",
  321. "default": 0,
  322. "description": "Specifies whether status bar git blame output will be cached for larger documents"
  323. },
  324. "gitlens.advanced.git": {
  325. "type": "string",
  326. "default": null,
  327. "description": "Specifies a git path to use"
  328. },
  329. "gitlens.advanced.gitignore.enabled": {
  330. "type": "boolean",
  331. "default": true,
  332. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  333. },
  334. "gitlens.advanced.maxQuickHistory": {
  335. "type": "number",
  336. "default": 200,
  337. "description": "Specifies the maximum number of QuickPick history entries to show"
  338. },
  339. "gitlens.advanced.quickPick.closeOnFocusOut": {
  340. "type": "boolean",
  341. "default": true,
  342. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  343. },
  344. "gitlens.advanced.toggleWhitespace.enabled": {
  345. "type": "boolean",
  346. "default": false,
  347. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  348. },
  349. "gitlens.debug": {
  350. "type": "boolean",
  351. "default": false,
  352. "description": "Specifies debug mode"
  353. },
  354. "gitlens.outputLevel": {
  355. "type": "string",
  356. "default": "silent",
  357. "enum": [
  358. "silent",
  359. "errors",
  360. "verbose"
  361. ],
  362. "description": "Specifies how much (if any) output will be sent to the GitLens output channel"
  363. },
  364. "gitlens.insiders": {
  365. "type": "boolean",
  366. "default": false,
  367. "description": "Specifies whether or not to enable new experimental features (expect there to be issues)"
  368. }
  369. }
  370. },
  371. "commands": [
  372. {
  373. "command": "gitlens.diffDirectory",
  374. "title": "Directory Compare",
  375. "category": "GitLens"
  376. },
  377. {
  378. "command": "gitlens.diffWithBranch",
  379. "title": "Compare File with...",
  380. "category": "GitLens"
  381. },
  382. {
  383. "command": "gitlens.diffWithNext",
  384. "title": "Compare File with Next Commit",
  385. "category": "GitLens"
  386. },
  387. {
  388. "command": "gitlens.diffWithPrevious",
  389. "title": "Compare File with Previous Commit",
  390. "category": "GitLens"
  391. },
  392. {
  393. "command": "gitlens.diffLineWithPrevious",
  394. "title": "Compare Line with Previous Commit",
  395. "category": "GitLens"
  396. },
  397. {
  398. "command": "gitlens.diffWithWorking",
  399. "title": "Compare File with Working Tree",
  400. "category": "GitLens"
  401. },
  402. {
  403. "command": "gitlens.diffLineWithWorking",
  404. "title": "Compare Line with Working Tree",
  405. "category": "GitLens"
  406. },
  407. {
  408. "command": "gitlens.showBlame",
  409. "title": "Show Blame Annotations",
  410. "category": "GitLens"
  411. },
  412. {
  413. "command": "gitlens.toggleBlame",
  414. "title": "Toggle Blame Annotations",
  415. "category": "GitLens",
  416. "icon": {
  417. "dark": "images/git-icon-dark.svg",
  418. "light": "images/git-icon-light.svg"
  419. }
  420. },
  421. {
  422. "command": "gitlens.toggleCodeLens",
  423. "title": "Toggle Git Code Lens",
  424. "category": "GitLens"
  425. },
  426. {
  427. "command": "gitlens.showBlameHistory",
  428. "title": "Open Blame History Explorer",
  429. "category": "GitLens"
  430. },
  431. {
  432. "command": "gitlens.showCommitSearch",
  433. "title": "Search Commits",
  434. "category": "GitLens"
  435. },
  436. {
  437. "command": "gitlens.showFileHistory",
  438. "title": "Open File History Explorer",
  439. "category": "GitLens"
  440. },
  441. {
  442. "command": "gitlens.showLastQuickPick",
  443. "title": "Show Last Opened Quick Pick",
  444. "category": "GitLens"
  445. },
  446. {
  447. "command": "gitlens.showQuickCommitDetails",
  448. "title": "Show Commit Details",
  449. "category": "GitLens"
  450. },
  451. {
  452. "command": "gitlens.showQuickCommitFileDetails",
  453. "title": "Show Line Commit Details",
  454. "category": "GitLens"
  455. },
  456. {
  457. "command": "gitlens.showQuickFileHistory",
  458. "title": "Show File History",
  459. "category": "GitLens"
  460. },
  461. {
  462. "command": "gitlens.showQuickBranchHistory",
  463. "title": "Show Branch History",
  464. "category": "GitLens"
  465. },
  466. {
  467. "command": "gitlens.showQuickRepoHistory",
  468. "title": "Show Current Branch History",
  469. "category": "GitLens"
  470. },
  471. {
  472. "command": "gitlens.showQuickRepoStatus",
  473. "title": "Show Repository Status",
  474. "category": "GitLens"
  475. },
  476. {
  477. "command": "gitlens.showQuickStashList",
  478. "title": "Show Stashed Changes",
  479. "category": "GitLens"
  480. },
  481. {
  482. "command": "gitlens.copyShaToClipboard",
  483. "title": "Copy Commit ID to Clipboard",
  484. "category": "GitLens"
  485. },
  486. {
  487. "command": "gitlens.copyMessageToClipboard",
  488. "title": "Copy Commit Message to Clipboard",
  489. "category": "GitLens"
  490. },
  491. {
  492. "command": "gitlens.closeUnchangedFiles",
  493. "title": "Close Unchanged Files",
  494. "category": "GitLens"
  495. },
  496. {
  497. "command": "gitlens.openChangedFiles",
  498. "title": "Open Changed Files",
  499. "category": "GitLens"
  500. },
  501. {
  502. "command": "gitlens.openCommitInRemote",
  503. "title": "Open Line Commit in Remote",
  504. "category": "GitLens"
  505. },
  506. {
  507. "command": "gitlens.openFileInRemote",
  508. "title": "Open File in Remote",
  509. "category": "GitLens"
  510. },
  511. {
  512. "command": "gitlens.stashApply",
  513. "title": "Apply Stashed Changes",
  514. "category": "GitLens"
  515. },
  516. {
  517. "command": "gitlens.stashSave",
  518. "title": "Stash Changes",
  519. "category": "GitLens"
  520. }
  521. ],
  522. "menus": {
  523. "commandPalette": [
  524. {
  525. "command": "gitlens.diffDirectory",
  526. "when": "gitlens:enabled"
  527. },
  528. {
  529. "command": "gitlens.diffWithBranch",
  530. "when": "gitlens:isTracked"
  531. },
  532. {
  533. "command": "gitlens.diffWithNext",
  534. "when": "gitlens:isTracked"
  535. },
  536. {
  537. "command": "gitlens.diffWithPrevious",
  538. "when": "gitlens:isTracked"
  539. },
  540. {
  541. "command": "gitlens.diffLineWithPrevious",
  542. "when": "gitlens:isBlameable"
  543. },
  544. {
  545. "command": "gitlens.diffWithWorking",
  546. "when": "gitlens:isTracked"
  547. },
  548. {
  549. "command": "gitlens.diffLineWithWorking",
  550. "when": "gitlens:isBlameable"
  551. },
  552. {
  553. "command": "gitlens.showBlame",
  554. "when": "gitlens:isBlameable"
  555. },
  556. {
  557. "command": "gitlens.toggleBlame",
  558. "when": "gitlens:isBlameable"
  559. },
  560. {
  561. "command": "gitlens.toggleCodeLens",
  562. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  563. },
  564. {
  565. "command": "gitlens.showBlameHistory",
  566. "when": "gitlens:isBlameable"
  567. },
  568. {
  569. "command": "gitlens.showFileHistory",
  570. "when": "gitlens:isTracked"
  571. },
  572. {
  573. "command": "gitlens.showLastQuickPick",
  574. "when": "gitlens:enabled"
  575. },
  576. {
  577. "command": "gitlens.showQuickCommitDetails",
  578. "when": "gitlens:isBlameable"
  579. },
  580. {
  581. "command": "gitlens.showQuickCommitFileDetails",
  582. "when": "gitlens:isBlameable"
  583. },
  584. {
  585. "command": "gitlens.showQuickFileHistory",
  586. "when": "gitlens:isTracked"
  587. },
  588. {
  589. "command": "gitlens.showQuickBranchHistory",
  590. "when": "gitlens:enabled"
  591. },
  592. {
  593. "command": "gitlens.showQuickRepoHistory",
  594. "when": "gitlens:enabled"
  595. },
  596. {
  597. "command": "gitlens.showQuickRepoStatus",
  598. "when": "gitlens:enabled"
  599. },
  600. {
  601. "command": "gitlens.showQuickStashList",
  602. "when": "gitlens:enabled"
  603. },
  604. {
  605. "command": "gitlens.copyShaToClipboard",
  606. "when": "gitlens:isBlameable"
  607. },
  608. {
  609. "command": "gitlens.copyMessageToClipboard",
  610. "when": "gitlens:isBlameable"
  611. },
  612. {
  613. "command": "gitlens.closeUnchangedFiles",
  614. "when": "gitlens:enabled"
  615. },
  616. {
  617. "command": "gitlens.openChangedFiles",
  618. "when": "gitlens:enabled"
  619. },
  620. {
  621. "command": "gitlens.openCommitInRemote",
  622. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  623. },
  624. {
  625. "command": "gitlens.openFileInRemote",
  626. "when": "gitlens:isTracked && gitlens:hasRemotes"
  627. },
  628. {
  629. "command": "gitlens.stashApply",
  630. "when": "gitlens:enabled && config.gitlens.insiders"
  631. },
  632. {
  633. "command": "gitlens.stashSave",
  634. "when": "gitlens:enabled && config.gitlens.insiders"
  635. }
  636. ],
  637. "explorer/context": [
  638. {
  639. "command": "gitlens.diffWithPrevious",
  640. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  641. "group": "1_gitlens@1"
  642. },
  643. {
  644. "command": "gitlens.diffWithWorking",
  645. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  646. "group": "1_gitlens@2"
  647. },
  648. {
  649. "command": "gitlens.showQuickFileHistory",
  650. "when": "gitlens:enabled",
  651. "group": "1_gitlens_1@1"
  652. },
  653. {
  654. "command": "gitlens.openFileInRemote",
  655. "when": "gitlens:enabled",
  656. "group": "1_gitlens_1@2"
  657. }
  658. ],
  659. "editor/title": [
  660. {
  661. "command": "gitlens.toggleBlame",
  662. "when": "gitlens:isBlameable",
  663. "group": "navigation@100"
  664. },
  665. {
  666. "command": "gitlens.diffWithPrevious",
  667. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  668. "group": "2_gitlens"
  669. },
  670. {
  671. "command": "gitlens.diffWithWorking",
  672. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  673. "group": "2_gitlens"
  674. },
  675. {
  676. "command": "gitlens.showQuickFileHistory",
  677. "when": "editorFocus && gitlens:isTracked",
  678. "group": "2_gitlens_1"
  679. },
  680. {
  681. "command": "gitlens.showQuickRepoHistory",
  682. "when": "!editorFocus && gitlens:enabled",
  683. "group": "2_gitlens_1"
  684. },
  685. {
  686. "command": "gitlens.showQuickRepoStatus",
  687. "when": "gitlens:enabled",
  688. "group": "2_gitlens_1"
  689. }
  690. ],
  691. "editor/title/context": [
  692. {
  693. "command": "gitlens.diffWithPrevious",
  694. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  695. "group": "1_gitlens@1"
  696. },
  697. {
  698. "command": "gitlens.diffWithWorking",
  699. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  700. "group": "1_gitlens@2"
  701. },
  702. {
  703. "command": "gitlens.showQuickFileHistory",
  704. "when": "gitlens:enabled",
  705. "group": "1_gitlens_1@1"
  706. },
  707. {
  708. "command": "gitlens.toggleBlame",
  709. "when": "gitlens:enabled",
  710. "group": "1_gitlens_1@2"
  711. },
  712. {
  713. "command": "gitlens.openFileInRemote",
  714. "when": "gitlens:enabled",
  715. "group": "1_gitlens_1@3"
  716. }
  717. ],
  718. "editor/context": [
  719. {
  720. "command": "gitlens.diffLineWithPrevious",
  721. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  722. "group": "1_gitlens@1"
  723. },
  724. {
  725. "command": "gitlens.diffLineWithWorking",
  726. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  727. "group": "1_gitlens@2"
  728. },
  729. {
  730. "command": "gitlens.showQuickCommitFileDetails",
  731. "when": "editorTextFocus && gitlens:isBlameable",
  732. "group": "1_gitlens@3"
  733. },
  734. {
  735. "command": "gitlens.diffWithPrevious",
  736. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  737. "group": "1_gitlens_1@1"
  738. },
  739. {
  740. "command": "gitlens.diffWithWorking",
  741. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  742. "group": "1_gitlens_1@2"
  743. },
  744. {
  745. "command": "gitlens.showQuickFileHistory",
  746. "when": "gitlens:isTracked",
  747. "group": "3_gitlens@1"
  748. },
  749. {
  750. "command": "gitlens.toggleBlame",
  751. "when": "editorTextFocus && gitlens:isBlameable",
  752. "group": "3_gitlens@2"
  753. },
  754. {
  755. "command": "gitlens.openFileInRemote",
  756. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes",
  757. "group": "3_gitlens@3"
  758. },
  759. {
  760. "command": "gitlens.copyShaToClipboard",
  761. "when": "editorTextFocus && gitlens:isBlameable",
  762. "group": "9_gitlens@1"
  763. },
  764. {
  765. "command": "gitlens.copyMessageToClipboard",
  766. "when": "editorTextFocus && gitlens:isBlameable",
  767. "group": "9_gitlens@2"
  768. }
  769. ]
  770. },
  771. "keybindings": [
  772. {
  773. "command": "gitlens.key.left",
  774. "key": "alt+left",
  775. "when": "gitlens:key:left"
  776. },
  777. {
  778. "command": "gitlens.key.right",
  779. "key": "alt+right",
  780. "when": "gitlens:key:right"
  781. },
  782. {
  783. "command": "gitlens.key.,",
  784. "key": "alt+,",
  785. "when": "gitlens:key:,"
  786. },
  787. {
  788. "command": "gitlens.key..",
  789. "key": "alt+.",
  790. "when": "gitlens:key:."
  791. },
  792. {
  793. "command": "gitlens.toggleBlame",
  794. "key": "alt+b",
  795. "mac": "alt+b",
  796. "when": "editorTextFocus && gitlens:isTracked"
  797. },
  798. {
  799. "command": "gitlens.toggleCodeLens",
  800. "key": "shift+alt+b",
  801. "mac": "shift+alt+b",
  802. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  803. },
  804. {
  805. "command": "gitlens.showLastQuickPick",
  806. "key": "alt+-",
  807. "mac": "alt+-",
  808. "when": "gitlens:enabled"
  809. },
  810. {
  811. "command": "gitlens.showCommitSearch",
  812. "key": "alt+/",
  813. "mac": "alt+/",
  814. "when": "gitlens:enabled"
  815. },
  816. {
  817. "command": "gitlens.showQuickFileHistory",
  818. "key": "alt+h",
  819. "mac": "alt+h",
  820. "when": "gitlens:enabled"
  821. },
  822. {
  823. "command": "gitlens.showQuickRepoHistory",
  824. "key": "shift+alt+h",
  825. "mac": "shift+alt+h",
  826. "when": "gitlens:enabled"
  827. },
  828. {
  829. "command": "gitlens.showQuickRepoStatus",
  830. "key": "alt+s",
  831. "mac": "alt+s",
  832. "when": "gitlens:enabled"
  833. },
  834. {
  835. "command": "gitlens.showQuickCommitFileDetails",
  836. "key": "alt+c",
  837. "mac": "alt+c",
  838. "when": "editorTextFocus && gitlens:enabled"
  839. },
  840. {
  841. "command": "gitlens.diffWithNext",
  842. "key": "alt+.",
  843. "mac": "alt+.",
  844. "when": "editorTextFocus && gitlens:isTracked"
  845. },
  846. {
  847. "command": "gitlens.diffLineWithPrevious",
  848. "key": "shift+alt+,",
  849. "mac": "shift+alt+,",
  850. "when": "editorTextFocus && gitlens:isTracked"
  851. },
  852. {
  853. "command": "gitlens.diffWithPrevious",
  854. "key": "alt+,",
  855. "mac": "alt+,",
  856. "when": "editorTextFocus && gitlens:isTracked"
  857. },
  858. {
  859. "command": "gitlens.diffLineWithWorking",
  860. "key": "alt+w",
  861. "mac": "alt+w",
  862. "when": "editorTextFocus && gitlens:isTracked"
  863. },
  864. {
  865. "command": "gitlens.diffWithWorking",
  866. "key": "shift+alt+w",
  867. "mac": "shift+alt+w",
  868. "when": "editorTextFocus && gitlens:isTracked"
  869. }
  870. ]
  871. },
  872. "activationEvents": [
  873. "*"
  874. ],
  875. "scripts": {
  876. "compile": "npm run lint && tsc -p ./",
  877. "watch": "tsc -watch -p ./",
  878. "lint": "tslint --project tslint.json",
  879. "pack": "git clean -xdf --exclude=node_modules/ && vsce package",
  880. "postinstall": "node ./node_modules/vscode/bin/install",
  881. "pub": "git clean -xdf && vsce publish",
  882. "vscode:prepublish": "npm install && npm run compile"
  883. },
  884. "dependencies": {
  885. "applicationinsights": "0.20.0",
  886. "copy-paste": "1.3.0",
  887. "ignore": "3.3.0",
  888. "lodash.debounce": "4.0.8",
  889. "lodash.escaperegexp": "4.1.2",
  890. "lodash.isequal": "4.5.0",
  891. "lodash.once": "4.1.1",
  892. "moment": "2.18.1",
  893. "spawn-rx": "2.0.10",
  894. "tmp": "0.0.31"
  895. },
  896. "devDependencies": {
  897. "@types/applicationinsights": "0.15.33",
  898. "@types/copy-paste": "1.1.30",
  899. "@types/mocha": "2.2.41",
  900. "@types/node": "7.0.18",
  901. "@types/tmp": "0.0.33",
  902. "mocha": "3.3.0",
  903. "tslint": "5.2.0",
  904. "typescript": "2.3.2",
  905. "vscode": "1.1.0"
  906. }
  907. }