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.

755 lines
34 KiB

преди 7 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 7 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 7 години
  1. {
  2. "name": "gitlens",
  3. "version": "2.11.1",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.9.0"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "GitLens",
  14. "description": "Provides Git CodeLens information (most recent commit, # of authors), on-demand inline blame annotations, status bar blame information, file & blame history explorers, and commands to compare changes",
  15. "categories": [
  16. "Other"
  17. ],
  18. "keywords": [
  19. "git",
  20. "blame",
  21. "history",
  22. "codelens",
  23. "annotation"
  24. ],
  25. "galleryBanner": {
  26. "color": "#56098c",
  27. "theme": "dark"
  28. },
  29. "icon": "images/gitlens-icon.svg",
  30. "preview": false,
  31. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  32. "bugs": {
  33. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "https://github.com/eamodio/vscode-gitlens.git"
  38. },
  39. "main": "./out/src/extension",
  40. "contributes": {
  41. "configuration": {
  42. "type": "object",
  43. "title": "GitLens configuration",
  44. "properties": {
  45. "gitlens.blame.annotation.style": {
  46. "type": "string",
  47. "default": "expanded",
  48. "enum": [
  49. "compact",
  50. "expanded",
  51. "trailing"
  52. ],
  53. "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"
  54. },
  55. "gitlens.blame.annotation.highlight": {
  56. "type": "string",
  57. "default": "both",
  58. "enum": [
  59. "none",
  60. "gutter",
  61. "line",
  62. "both"
  63. ],
  64. "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"
  65. },
  66. "gitlens.blame.annotation.sha": {
  67. "type": "boolean",
  68. "default": true,
  69. "description": "Specifies whether the commit sha will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  70. },
  71. "gitlens.blame.annotation.author": {
  72. "type": "boolean",
  73. "default": true,
  74. "description": "Specifies whether the committer will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  75. },
  76. "gitlens.blame.annotation.date": {
  77. "type": "string",
  78. "default": "off",
  79. "enum": [
  80. "off",
  81. "relative",
  82. "absolute"
  83. ],
  84. "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"
  85. },
  86. "gitlens.blame.annotation.dateFormat": {
  87. "type": "string",
  88. "default": "",
  89. "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"
  90. },
  91. "gitlens.blame.annotation.message": {
  92. "type": "boolean",
  93. "default": false,
  94. "description": "Specifies whether the commit message will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  95. },
  96. "gitlens.blame.annotation.activeLine": {
  97. "type": "string",
  98. "default": "both",
  99. "enum": [
  100. "off",
  101. "inline",
  102. "hover",
  103. "both"
  104. ],
  105. "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"
  106. },
  107. "gitlens.blame.annotation.characters.ellipse": {
  108. "type": "string",
  109. "default": "\u2026",
  110. "description": "Specifies the ellipse character to use in blame annotations"
  111. },
  112. "gitlens.blame.annotation.characters.indent": {
  113. "type": "string",
  114. "default": "\u2759",
  115. "description": "Specifies the indent character to use in `compact` blame annotations"
  116. },
  117. "gitlens.blame.annotation.characters.padding": {
  118. "type": "string",
  119. "default": "\u00a0",
  120. "description": "Specifies the padding character (typically a non-breaking space) to use in blame annotations"
  121. },
  122. "gitlens.blame.annotation.characters.separator": {
  123. "type": "string",
  124. "default": "\u2022",
  125. "description": "Specifies the separator character to use in blame annotations"
  126. },
  127. "gitlens.codeLens.visibility": {
  128. "type": "string",
  129. "default": "auto",
  130. "enum": [
  131. "auto",
  132. "ondemand",
  133. "off"
  134. ],
  135. "description": "Specifies when CodeLens will be triggered in the active document. `auto` - automatically. `ondemand` - only when requested. `off` - disables all active document CodeLens"
  136. },
  137. "gitlens.codeLens.location": {
  138. "type": "string",
  139. "default": "document+containers",
  140. "enum": [
  141. "all",
  142. "document+containers",
  143. "document",
  144. "custom"
  145. ],
  146. "description": "Specifies where CodeLens 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`"
  147. },
  148. "gitlens.codeLens.locationCustomSymbols": {
  149. "type": "array",
  150. "description": "Specifies the set of document symbols to render active document CodeLens on. Must be a member of `SymbolKind`"
  151. },
  152. "gitlens.codeLens.languageLocations": {
  153. "type": "array",
  154. "default": [
  155. {
  156. "language": "json",
  157. "location": "document"
  158. },
  159. {
  160. "language": "css",
  161. "location": "document"
  162. },
  163. {
  164. "language": "scss",
  165. "location": "document"
  166. },
  167. {
  168. "language": "less",
  169. "location": "document"
  170. }
  171. ],
  172. "items": {
  173. "type": "object",
  174. "required": [
  175. "language",
  176. "location"
  177. ],
  178. "properties": {
  179. "language": {
  180. "type": "string",
  181. "description": "Specifies the language to which this CodeLens override applies"
  182. },
  183. "location": {
  184. "type": "string",
  185. "default": "document+containers",
  186. "enum": [
  187. "all",
  188. "document+containers",
  189. "document",
  190. "custom",
  191. "none"
  192. ],
  193. "description": "Specifies where CodeLens 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`"
  194. },
  195. "customSymbols": {
  196. "type": "string",
  197. "description": "Specifies the set of document symbols to render active document CodeLens on. Must be a member of `SymbolKind`"
  198. }
  199. }
  200. },
  201. "uniqueItems": true,
  202. "enum": [
  203. "all",
  204. "document+containers",
  205. "document",
  206. "custom"
  207. ],
  208. "description": "Specifies where CodeLens will be rendered in the active document for the specified languages"
  209. },
  210. "gitlens.codeLens.recentChange.enabled": {
  211. "type": "boolean",
  212. "default": true,
  213. "description": "Specifies whether the recent change CodeLens is shown"
  214. },
  215. "gitlens.codeLens.recentChange.command": {
  216. "type": "string",
  217. "default": "gitlens.showQuickCommitFileDetails",
  218. "enum": [
  219. "gitlens.toggleBlame",
  220. "gitlens.showBlameHistory",
  221. "gitlens.showFileHistory",
  222. "gitlens.diffWithPrevious",
  223. "gitlens.showQuickCommitDetails",
  224. "gitlens.showQuickCommitFileDetails",
  225. "gitlens.showQuickFileHistory",
  226. "gitlens.showQuickRepoHistory"
  227. ],
  228. "description": "Specifies the command executed when the recent change CodeLens 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 checked-in 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.showQuickFileHistory` - shows a repository history quick pick"
  229. },
  230. "gitlens.codeLens.authors.enabled": {
  231. "type": "boolean",
  232. "default": true,
  233. "description": "Specifies whether the authors CodeLens is shown"
  234. },
  235. "gitlens.codeLens.authors.command": {
  236. "type": "string",
  237. "default": "gitlens.toggleBlame",
  238. "enum": [
  239. "gitlens.toggleBlame",
  240. "gitlens.showBlameHistory",
  241. "gitlens.showFileHistory",
  242. "gitlens.diffWithPrevious",
  243. "gitlens.showQuickCommitDetails",
  244. "gitlens.showQuickCommitFileDetails",
  245. "gitlens.showQuickFileHistory",
  246. "gitlens.showQuickRepoHistory"
  247. ],
  248. "description": "Specifies the command executed when the authors CodeLens 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 checked-in 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.showQuickFileHistory` - shows a repository history quick pick"
  249. },
  250. "gitlens.menus.diff.enabled": {
  251. "type": "boolean",
  252. "default": true,
  253. "description": "Specifies whether diff commands will be added to the context menus"
  254. },
  255. "gitlens.statusBar.enabled": {
  256. "type": "boolean",
  257. "default": true,
  258. "description": "Specifies whether blame information is shown in the status bar"
  259. },
  260. "gitlens.statusBar.command": {
  261. "type": "string",
  262. "default": "gitlens.showQuickCommitDetails",
  263. "enum": [
  264. "gitlens.toggleBlame",
  265. "gitlens.showBlameHistory",
  266. "gitlens.showFileHistory",
  267. "gitlens.diffWithPrevious",
  268. "gitlens.toggleCodeLens",
  269. "gitlens.showQuickCommitDetails",
  270. "gitlens.showQuickCommitFileDetails",
  271. "gitlens.showQuickFileHistory",
  272. "gitlens.showQuickRepoHistory"
  273. ],
  274. "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 checked-in 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.showQuickFileHistory` - shows a repository history quick pick"
  275. },
  276. "gitlens.statusBar.date": {
  277. "type": "string",
  278. "default": "relative",
  279. "enum": [
  280. "off",
  281. "relative",
  282. "absolute"
  283. ],
  284. "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`"
  285. },
  286. "gitlens.statusBar.dateFormat": {
  287. "type": "string",
  288. "default": "",
  289. "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"
  290. },
  291. "gitlens.advanced.caching.enabled": {
  292. "type": "boolean",
  293. "default": true,
  294. "description": "Specifies whether git blame output will be cached"
  295. },
  296. "gitlens.advanced.caching.statusBar.maxLines": {
  297. "type": "number",
  298. "default": 0,
  299. "description": "Specifies whether status bar git blame output will be cached for larger documents"
  300. },
  301. "gitlens.advanced.debug": {
  302. "type": "boolean",
  303. "default": false,
  304. "description": "Specifies debug mode"
  305. },
  306. "gitlens.advanced.git": {
  307. "type": "string",
  308. "default": null,
  309. "description": "Specifies a git path to use"
  310. },
  311. "gitlens.advanced.gitignore.enabled": {
  312. "type": "boolean",
  313. "default": true,
  314. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  315. },
  316. "gitlens.advanced.maxQuickHistory": {
  317. "type": "number",
  318. "default": 200,
  319. "description": "Specifies the maximum number of QuickPick history entries to show"
  320. },
  321. "gitlens.advanced.output.level": {
  322. "type": "string",
  323. "default": "silent",
  324. "enum": [
  325. "silent",
  326. "errors",
  327. "verbose"
  328. ],
  329. "description": "Specifies how much (if any) output will be sent to the GitLens output channel"
  330. },
  331. "gitlens.advanced.quickPick.closeOnFocusOut": {
  332. "type": "boolean",
  333. "default": true,
  334. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  335. },
  336. "gitlens.advanced.toggleWhitespace.enabled": {
  337. "type": "boolean",
  338. "default": false,
  339. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  340. }
  341. }
  342. },
  343. "commands": [
  344. {
  345. "command": "gitlens.key.left",
  346. "title": "Left KeyPress",
  347. "category": "GitLens:KeyPress"
  348. },
  349. {
  350. "command": "gitlens.key.right",
  351. "title": "Right KeyPress",
  352. "category": "GitLens:KeyPress"
  353. },
  354. {
  355. "command": "gitlens.diffDirectory",
  356. "title": "Directory Compare",
  357. "category": "GitLens"
  358. },
  359. {
  360. "command": "gitlens.diffWithPrevious",
  361. "title": "Compare with Previous Commit",
  362. "category": "GitLens"
  363. },
  364. {
  365. "command": "gitlens.diffLineWithPrevious",
  366. "title": "Compare Line with Previous Commit",
  367. "category": "GitLens"
  368. },
  369. {
  370. "command": "gitlens.diffWithWorking",
  371. "title": "Compare with Working Tree",
  372. "category": "GitLens"
  373. },
  374. {
  375. "command": "gitlens.diffLineWithWorking",
  376. "title": "Compare Line with Working Tree",
  377. "category": "GitLens"
  378. },
  379. {
  380. "command": "gitlens.showBlame",
  381. "title": "Show Blame Annotations",
  382. "category": "GitLens"
  383. },
  384. {
  385. "command": "gitlens.toggleBlame",
  386. "title": "Toggle Blame Annotations",
  387. "category": "GitLens",
  388. "icon": {
  389. "dark": "images/git-icon-dark.svg",
  390. "light": "images/git-icon-light.svg"
  391. }
  392. },
  393. {
  394. "command": "gitlens.toggleCodeLens",
  395. "title": "Toggle Git CodeLens",
  396. "category": "GitLens"
  397. },
  398. {
  399. "command": "gitlens.showBlameHistory",
  400. "title": "Open Blame History Explorer",
  401. "category": "GitLens"
  402. },
  403. {
  404. "command": "gitlens.showFileHistory",
  405. "title": "Open File History Explorer",
  406. "category": "GitLens"
  407. },
  408. {
  409. "command": "gitlens.showQuickCommitDetails",
  410. "title": "Show Commit Details",
  411. "category": "GitLens"
  412. },
  413. {
  414. "command": "gitlens.showQuickCommitFileDetails",
  415. "title": "Show Line Commit Details",
  416. "category": "GitLens"
  417. },
  418. {
  419. "command": "gitlens.showQuickFileHistory",
  420. "title": "Show File History",
  421. "category": "GitLens"
  422. },
  423. {
  424. "command": "gitlens.showQuickRepoHistory",
  425. "title": "Show Repository History",
  426. "category": "GitLens"
  427. },
  428. {
  429. "command": "gitlens.showQuickRepoStatus",
  430. "title": "Show Repository Status",
  431. "category": "GitLens"
  432. },
  433. {
  434. "command": "gitlens.copyShaToClipboard",
  435. "title": "Copy Commit Sha to Clipboard",
  436. "category": "GitLens"
  437. },
  438. {
  439. "command": "gitlens.copyMessageToClipboard",
  440. "title": "Copy Commit Message to Clipboard",
  441. "category": "GitLens"
  442. },
  443. {
  444. "command": "gitlens.closeUnchangedFiles",
  445. "title": "Close Unchanged Files",
  446. "category": "GitLens"
  447. },
  448. {
  449. "command": "gitlens.openChangedFiles",
  450. "title": "Open Changed Files",
  451. "category": "GitLens"
  452. }
  453. ],
  454. "menus": {
  455. "commandPalette": [
  456. {
  457. "command": "gitlens.key.left",
  458. "when": "false"
  459. },
  460. {
  461. "command": "gitlens.key.right",
  462. "when": "false"
  463. },
  464. {
  465. "command": "gitlens.diffDirectory",
  466. "when": "gitlens:enabled"
  467. },
  468. {
  469. "command": "gitlens.diffWithPrevious",
  470. "when": "gitlens:enabled"
  471. },
  472. {
  473. "command": "gitlens.diffLineWithPrevious",
  474. "when": "gitlens:enabled && gitlens:isBlameable"
  475. },
  476. {
  477. "command": "gitlens.diffWithWorking",
  478. "when": "gitlens:enabled"
  479. },
  480. {
  481. "command": "gitlens.diffLineWithWorking",
  482. "when": "gitlens:enabled && gitlens:isBlameable"
  483. },
  484. {
  485. "command": "gitlens.showBlame",
  486. "when": "gitlens:enabled && gitlens:isBlameable"
  487. },
  488. {
  489. "command": "gitlens.toggleBlame",
  490. "when": "gitlens:enabled && gitlens:isBlameable"
  491. },
  492. {
  493. "command": "gitlens.toggleCodeLens",
  494. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  495. },
  496. {
  497. "command": "gitlens.showBlameHistory",
  498. "when": "gitlens:enabled && gitlens:isBlameable"
  499. },
  500. {
  501. "command": "gitlens.showFileHistory",
  502. "when": "gitlens:enabled"
  503. },
  504. {
  505. "command": "gitlens.showQuickCommitDetails",
  506. "when": "gitlens:enabled && gitlens:isBlameable"
  507. },
  508. {
  509. "command": "gitlens.showQuickCommitFileDetails",
  510. "when": "gitlens:enabled && gitlens:isBlameable"
  511. },
  512. {
  513. "command": "gitlens.showQuickFileHistory",
  514. "when": "gitlens:enabled"
  515. },
  516. {
  517. "command": "gitlens.showQuickRepoHistory",
  518. "when": "gitlens:enabled"
  519. },
  520. {
  521. "command": "gitlens.showQuickRepoStatus",
  522. "when": "gitlens:enabled"
  523. },
  524. {
  525. "command": "gitlens.copyShaToClipboard",
  526. "when": "gitlens:enabled && gitlens:isBlameable"
  527. },
  528. {
  529. "command": "gitlens.copyMessageToClipboard",
  530. "when": "gitlens:enabled && gitlens:isBlameable"
  531. },
  532. {
  533. "command": "gitlens.closeUnchangedFiles",
  534. "when": "gitlens:enabled"
  535. },
  536. {
  537. "command": "gitlens.openChangedFiles",
  538. "when": "gitlens:enabled"
  539. }
  540. ],
  541. "explorer/context": [
  542. {
  543. "command": "gitlens.showQuickFileHistory",
  544. "when": "gitlens:enabled",
  545. "group": "gitlens"
  546. },
  547. {
  548. "command": "gitlens.diffWithPrevious",
  549. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  550. "group": "gitlens_diff"
  551. },
  552. {
  553. "command": "gitlens.diffWithWorking",
  554. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  555. "group": "gitlens_diff"
  556. }
  557. ],
  558. "editor/title": [
  559. {
  560. "command": "gitlens.toggleBlame",
  561. "when": "gitlens:enabled && gitlens:isBlameable",
  562. "group": "navigation@100"
  563. },
  564. {
  565. "command": "gitlens.showQuickFileHistory",
  566. "when": "editorFocus && gitlens:enabled",
  567. "group": "gitlens"
  568. },
  569. {
  570. "command": "gitlens.showQuickRepoHistory",
  571. "when": "!editorFocus && gitlens:enabled",
  572. "group": "gitlens"
  573. },
  574. {
  575. "command": "gitlens.showQuickRepoStatus",
  576. "when": "gitlens:enabled",
  577. "group": "gitlens"
  578. },
  579. {
  580. "command": "gitlens.diffWithPrevious",
  581. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  582. "group": "gitlens_diff"
  583. },
  584. {
  585. "command": "gitlens.diffWithWorking",
  586. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  587. "group": "gitlens_diff"
  588. }
  589. ],
  590. "editor/title/context": [
  591. {
  592. "command": "gitlens.toggleBlame",
  593. "when": "gitlens:enabled && gitlens:isBlameable",
  594. "group": "gitlens@1"
  595. },
  596. {
  597. "command": "gitlens.showQuickFileHistory",
  598. "when": "gitlens:enabled",
  599. "group": "gitlens@2"
  600. }
  601. ],
  602. "editor/context": [
  603. {
  604. "command": "gitlens.diffLineWithPrevious",
  605. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  606. "group": "1_gitlens@1"
  607. },
  608. {
  609. "command": "gitlens.diffLineWithWorking",
  610. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  611. "group": "1_gitlens@2"
  612. },
  613. {
  614. "command": "gitlens.showQuickCommitFileDetails",
  615. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  616. "group": "1_gitlens@3"
  617. },
  618. {
  619. "command": "gitlens.diffWithPrevious",
  620. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  621. "group": "1_gitlens-file@1"
  622. },
  623. {
  624. "command": "gitlens.diffWithWorking",
  625. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  626. "group": "1_gitlens-file@2"
  627. },
  628. {
  629. "command": "gitlens.toggleBlame",
  630. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  631. "group": "2_gitlens@1"
  632. },
  633. {
  634. "command": "gitlens.showQuickFileHistory",
  635. "alt": "gitlens.showFileHistory",
  636. "when": "gitlens:enabled",
  637. "group": "2_gitlens@2"
  638. },
  639. {
  640. "command": "gitlens.copyShaToClipboard",
  641. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  642. "group": "9_gitlens@1"
  643. },
  644. {
  645. "command": "gitlens.copyMessageToClipboard",
  646. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  647. "group": "9_gitlens@2"
  648. }
  649. ]
  650. },
  651. "keybindings": [
  652. {
  653. "command": "gitlens.key.left",
  654. "key": "alt+left",
  655. "when": "gitlens:key"
  656. },
  657. {
  658. "command": "gitlens.key.right",
  659. "key": "alt+right",
  660. "when": "gitlens:key"
  661. },
  662. {
  663. "command": "gitlens.toggleBlame",
  664. "key": "alt+b",
  665. "mac": "alt+b",
  666. "when": "editorTextFocus && gitlens:enabled"
  667. },
  668. {
  669. "command": "gitlens.toggleCodeLens",
  670. "key": "alt+shift+b",
  671. "mac": "alt+shift+b",
  672. "when": "editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  673. },
  674. {
  675. "command": "gitlens.showQuickFileHistory",
  676. "key": "alt+h",
  677. "mac": "alt+h",
  678. "when": "gitlens:enabled"
  679. },
  680. {
  681. "command": "gitlens.showQuickRepoHistory",
  682. "key": "shift+alt+h",
  683. "mac": "shift+alt+h",
  684. "when": "gitlens:enabled"
  685. },
  686. {
  687. "command": "gitlens.showQuickRepoStatus",
  688. "key": "alt+s",
  689. "mac": "alt+s",
  690. "when": "gitlens:enabled"
  691. },
  692. {
  693. "command": "gitlens.showQuickCommitFileDetails",
  694. "key": "alt+c",
  695. "mac": "alt+c",
  696. "when": "editorTextFocus && gitlens:enabled"
  697. },
  698. {
  699. "command": "gitlens.diffLineWithPrevious",
  700. "key": "alt+p",
  701. "mac": "alt+p",
  702. "when": "editorTextFocus && gitlens:enabled"
  703. },
  704. {
  705. "command": "gitlens.diffWithPrevious",
  706. "key": "shift+alt+p",
  707. "mac": "shift+alt+p",
  708. "when": "editorTextFocus && gitlens:enabled"
  709. },
  710. {
  711. "command": "gitlens.diffLineWithWorking",
  712. "key": "alt+w",
  713. "mac": "alt+w",
  714. "when": "editorTextFocus && gitlens:enabled"
  715. },
  716. {
  717. "command": "gitlens.diffWithWorking",
  718. "key": "shift+alt+w",
  719. "mac": "shift+alt+w",
  720. "when": "editorTextFocus && gitlens:enabled"
  721. }
  722. ]
  723. },
  724. "activationEvents": [
  725. "*"
  726. ],
  727. "scripts": {
  728. "compile": "tsc -watch -p ./",
  729. "lint": "tslint --project tslint.json",
  730. "pack": "git clean -xdf && npm install && vsce package",
  731. "postinstall": "node ./node_modules/vscode/bin/install",
  732. "pub": "git clean -xdf --exclude=node_modules/ && npm install && vsce publish",
  733. "vscode:prepublish": "tsc -p ./"
  734. },
  735. "dependencies": {
  736. "copy-paste": "^1.3.0",
  737. "ignore": "^3.2.4",
  738. "lodash.debounce": "^4.0.8",
  739. "lodash.escaperegexp": "^4.1.2",
  740. "lodash.isequal": "^4.5.0",
  741. "lodash.once": "^4.1.1",
  742. "moment": "^2.17.1",
  743. "spawn-rx": "^2.0.10",
  744. "tmp": "^0.0.31"
  745. },
  746. "devDependencies": {
  747. "@types/copy-paste": "^1.1.30",
  748. "@types/mocha": "^2.2.39",
  749. "@types/node": "^7.0.8",
  750. "@types/tmp": "^0.0.32",
  751. "mocha": "^3.2.0",
  752. "tslint": "^4.5.1",
  753. "typescript": "^2.2.1",
  754. "vscode": "^1.1.0"
  755. }
  756. }