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.

798 lines
35 KiB

8 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "version": "2.12.2",
  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": "css",
  157. "location": "document"
  158. },
  159. {
  160. "language": "html",
  161. "location": "document"
  162. },
  163. {
  164. "language": "json",
  165. "location": "document"
  166. },
  167. {
  168. "language": "less",
  169. "location": "document"
  170. },
  171. {
  172. "language": "scss",
  173. "location": "document"
  174. },
  175. {
  176. "language": "vue",
  177. "location": "document"
  178. }
  179. ],
  180. "items": {
  181. "type": "object",
  182. "required": [
  183. "language",
  184. "location"
  185. ],
  186. "properties": {
  187. "language": {
  188. "type": "string",
  189. "description": "Specifies the language to which this CodeLens override applies"
  190. },
  191. "location": {
  192. "type": "string",
  193. "default": "document+containers",
  194. "enum": [
  195. "all",
  196. "document+containers",
  197. "document",
  198. "custom",
  199. "none"
  200. ],
  201. "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`"
  202. },
  203. "customSymbols": {
  204. "type": "string",
  205. "description": "Specifies the set of document symbols to render active document CodeLens on. Must be a member of `SymbolKind`"
  206. }
  207. }
  208. },
  209. "uniqueItems": true,
  210. "enum": [
  211. "all",
  212. "document+containers",
  213. "document",
  214. "custom"
  215. ],
  216. "description": "Specifies where CodeLens will be rendered in the active document for the specified languages"
  217. },
  218. "gitlens.codeLens.recentChange.enabled": {
  219. "type": "boolean",
  220. "default": true,
  221. "description": "Specifies whether the recent change CodeLens is shown"
  222. },
  223. "gitlens.codeLens.recentChange.command": {
  224. "type": "string",
  225. "default": "gitlens.showQuickCommitFileDetails",
  226. "enum": [
  227. "gitlens.toggleBlame",
  228. "gitlens.showBlameHistory",
  229. "gitlens.showFileHistory",
  230. "gitlens.diffWithPrevious",
  231. "gitlens.showQuickCommitDetails",
  232. "gitlens.showQuickCommitFileDetails",
  233. "gitlens.showQuickFileHistory",
  234. "gitlens.showQuickRepoHistory"
  235. ],
  236. "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 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.showQuickFileHistory` - shows a repository history quick pick"
  237. },
  238. "gitlens.codeLens.authors.enabled": {
  239. "type": "boolean",
  240. "default": true,
  241. "description": "Specifies whether the authors CodeLens is shown"
  242. },
  243. "gitlens.codeLens.authors.command": {
  244. "type": "string",
  245. "default": "gitlens.toggleBlame",
  246. "enum": [
  247. "gitlens.toggleBlame",
  248. "gitlens.showBlameHistory",
  249. "gitlens.showFileHistory",
  250. "gitlens.diffWithPrevious",
  251. "gitlens.showQuickCommitDetails",
  252. "gitlens.showQuickCommitFileDetails",
  253. "gitlens.showQuickFileHistory",
  254. "gitlens.showQuickRepoHistory"
  255. ],
  256. "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 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.showQuickFileHistory` - shows a repository history quick pick"
  257. },
  258. "gitlens.menus.diff.enabled": {
  259. "type": "boolean",
  260. "default": true,
  261. "description": "Specifies whether diff commands will be added to the context menus"
  262. },
  263. "gitlens.statusBar.enabled": {
  264. "type": "boolean",
  265. "default": true,
  266. "description": "Specifies whether blame information is shown in the status bar"
  267. },
  268. "gitlens.statusBar.command": {
  269. "type": "string",
  270. "default": "gitlens.showQuickCommitDetails",
  271. "enum": [
  272. "gitlens.toggleBlame",
  273. "gitlens.showBlameHistory",
  274. "gitlens.showFileHistory",
  275. "gitlens.diffWithPrevious",
  276. "gitlens.toggleCodeLens",
  277. "gitlens.showQuickCommitDetails",
  278. "gitlens.showQuickCommitFileDetails",
  279. "gitlens.showQuickFileHistory",
  280. "gitlens.showQuickRepoHistory"
  281. ],
  282. "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.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"
  283. },
  284. "gitlens.statusBar.date": {
  285. "type": "string",
  286. "default": "relative",
  287. "enum": [
  288. "off",
  289. "relative",
  290. "absolute"
  291. ],
  292. "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`"
  293. },
  294. "gitlens.statusBar.dateFormat": {
  295. "type": "string",
  296. "default": "",
  297. "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"
  298. },
  299. "gitlens.advanced.caching.enabled": {
  300. "type": "boolean",
  301. "default": true,
  302. "description": "Specifies whether git blame output will be cached"
  303. },
  304. "gitlens.advanced.caching.statusBar.maxLines": {
  305. "type": "number",
  306. "default": 0,
  307. "description": "Specifies whether status bar git blame output will be cached for larger documents"
  308. },
  309. "gitlens.advanced.debug": {
  310. "type": "boolean",
  311. "default": false,
  312. "description": "Specifies debug mode"
  313. },
  314. "gitlens.advanced.codeLens.debug": {
  315. "type": "boolean",
  316. "default": false,
  317. "description": "Specifies whether or not to show debug information in CodeLens"
  318. },
  319. "gitlens.advanced.git": {
  320. "type": "string",
  321. "default": null,
  322. "description": "Specifies a git path to use"
  323. },
  324. "gitlens.advanced.gitignore.enabled": {
  325. "type": "boolean",
  326. "default": true,
  327. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  328. },
  329. "gitlens.advanced.maxQuickHistory": {
  330. "type": "number",
  331. "default": 200,
  332. "description": "Specifies the maximum number of QuickPick history entries to show"
  333. },
  334. "gitlens.advanced.output.level": {
  335. "type": "string",
  336. "default": "silent",
  337. "enum": [
  338. "silent",
  339. "errors",
  340. "verbose"
  341. ],
  342. "description": "Specifies how much (if any) output will be sent to the GitLens output channel"
  343. },
  344. "gitlens.advanced.quickPick.closeOnFocusOut": {
  345. "type": "boolean",
  346. "default": true,
  347. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  348. },
  349. "gitlens.advanced.toggleWhitespace.enabled": {
  350. "type": "boolean",
  351. "default": false,
  352. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  353. }
  354. }
  355. },
  356. "commands": [
  357. {
  358. "command": "gitlens.diffDirectory",
  359. "title": "Directory Compare",
  360. "category": "GitLens"
  361. },
  362. {
  363. "command": "gitlens.diffWithBranch",
  364. "title": "Compare with...",
  365. "category": "GitLens"
  366. },
  367. {
  368. "command": "gitlens.diffWithNext",
  369. "title": "Compare with Next Commit",
  370. "category": "GitLens"
  371. },
  372. {
  373. "command": "gitlens.diffWithPrevious",
  374. "title": "Compare with Previous Commit",
  375. "category": "GitLens"
  376. },
  377. {
  378. "command": "gitlens.diffLineWithPrevious",
  379. "title": "Compare Line with Previous Commit",
  380. "category": "GitLens"
  381. },
  382. {
  383. "command": "gitlens.diffWithWorking",
  384. "title": "Compare with Working Tree",
  385. "category": "GitLens"
  386. },
  387. {
  388. "command": "gitlens.diffLineWithWorking",
  389. "title": "Compare Line with Working Tree",
  390. "category": "GitLens"
  391. },
  392. {
  393. "command": "gitlens.showBlame",
  394. "title": "Show Blame Annotations",
  395. "category": "GitLens"
  396. },
  397. {
  398. "command": "gitlens.toggleBlame",
  399. "title": "Toggle Blame Annotations",
  400. "category": "GitLens",
  401. "icon": {
  402. "dark": "images/git-icon-dark.svg",
  403. "light": "images/git-icon-light.svg"
  404. }
  405. },
  406. {
  407. "command": "gitlens.toggleCodeLens",
  408. "title": "Toggle Git CodeLens",
  409. "category": "GitLens"
  410. },
  411. {
  412. "command": "gitlens.showBlameHistory",
  413. "title": "Open Blame History Explorer",
  414. "category": "GitLens"
  415. },
  416. {
  417. "command": "gitlens.showFileHistory",
  418. "title": "Open File History Explorer",
  419. "category": "GitLens"
  420. },
  421. {
  422. "command": "gitlens.showLastQuickPick",
  423. "title": "Show Last Opened Quick Pick",
  424. "category": "GitLens"
  425. },
  426. {
  427. "command": "gitlens.showQuickCommitDetails",
  428. "title": "Show Commit Details",
  429. "category": "GitLens"
  430. },
  431. {
  432. "command": "gitlens.showQuickCommitFileDetails",
  433. "title": "Show Line Commit Details",
  434. "category": "GitLens"
  435. },
  436. {
  437. "command": "gitlens.showQuickFileHistory",
  438. "title": "Show File History",
  439. "category": "GitLens"
  440. },
  441. {
  442. "command": "gitlens.showQuickRepoHistory",
  443. "title": "Show Repository History",
  444. "category": "GitLens"
  445. },
  446. {
  447. "command": "gitlens.showQuickRepoStatus",
  448. "title": "Show Repository Status",
  449. "category": "GitLens"
  450. },
  451. {
  452. "command": "gitlens.copyShaToClipboard",
  453. "title": "Copy Commit Sha to Clipboard",
  454. "category": "GitLens"
  455. },
  456. {
  457. "command": "gitlens.copyMessageToClipboard",
  458. "title": "Copy Commit Message to Clipboard",
  459. "category": "GitLens"
  460. },
  461. {
  462. "command": "gitlens.closeUnchangedFiles",
  463. "title": "Close Unchanged Files",
  464. "category": "GitLens"
  465. },
  466. {
  467. "command": "gitlens.openChangedFiles",
  468. "title": "Open Changed Files",
  469. "category": "GitLens"
  470. }
  471. ],
  472. "menus": {
  473. "commandPalette": [
  474. {
  475. "command": "gitlens.diffDirectory",
  476. "when": "gitlens:enabled"
  477. },
  478. {
  479. "command": "gitlens.diffWithBranch",
  480. "when": "gitlens:enabled"
  481. },
  482. {
  483. "command": "gitlens.diffWithNext",
  484. "when": "gitlens:enabled"
  485. },
  486. {
  487. "command": "gitlens.diffWithPrevious",
  488. "when": "gitlens:enabled"
  489. },
  490. {
  491. "command": "gitlens.diffLineWithPrevious",
  492. "when": "gitlens:enabled && gitlens:isBlameable"
  493. },
  494. {
  495. "command": "gitlens.diffWithWorking",
  496. "when": "gitlens:enabled"
  497. },
  498. {
  499. "command": "gitlens.diffLineWithWorking",
  500. "when": "gitlens:enabled && gitlens:isBlameable"
  501. },
  502. {
  503. "command": "gitlens.showBlame",
  504. "when": "gitlens:enabled && gitlens:isBlameable"
  505. },
  506. {
  507. "command": "gitlens.toggleBlame",
  508. "when": "gitlens:enabled && gitlens:isBlameable"
  509. },
  510. {
  511. "command": "gitlens.toggleCodeLens",
  512. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  513. },
  514. {
  515. "command": "gitlens.showBlameHistory",
  516. "when": "gitlens:enabled && gitlens:isBlameable"
  517. },
  518. {
  519. "command": "gitlens.showFileHistory",
  520. "when": "gitlens:enabled"
  521. },
  522. {
  523. "command": "gitlens.showLastQuickPick",
  524. "when": "gitlens:enabled"
  525. },
  526. {
  527. "command": "gitlens.showQuickCommitDetails",
  528. "when": "gitlens:enabled && gitlens:isBlameable"
  529. },
  530. {
  531. "command": "gitlens.showQuickCommitFileDetails",
  532. "when": "gitlens:enabled && gitlens:isBlameable"
  533. },
  534. {
  535. "command": "gitlens.showQuickFileHistory",
  536. "when": "gitlens:enabled"
  537. },
  538. {
  539. "command": "gitlens.showQuickRepoHistory",
  540. "when": "gitlens:enabled"
  541. },
  542. {
  543. "command": "gitlens.showQuickRepoStatus",
  544. "when": "gitlens:enabled"
  545. },
  546. {
  547. "command": "gitlens.copyShaToClipboard",
  548. "when": "gitlens:enabled && gitlens:isBlameable"
  549. },
  550. {
  551. "command": "gitlens.copyMessageToClipboard",
  552. "when": "gitlens:enabled && gitlens:isBlameable"
  553. },
  554. {
  555. "command": "gitlens.closeUnchangedFiles",
  556. "when": "gitlens:enabled"
  557. },
  558. {
  559. "command": "gitlens.openChangedFiles",
  560. "when": "gitlens:enabled"
  561. }
  562. ],
  563. "explorer/context": [
  564. {
  565. "command": "gitlens.showQuickFileHistory",
  566. "when": "gitlens:enabled",
  567. "group": "gitlens"
  568. },
  569. {
  570. "command": "gitlens.diffWithPrevious",
  571. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  572. "group": "gitlens_diff"
  573. },
  574. {
  575. "command": "gitlens.diffWithWorking",
  576. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  577. "group": "gitlens_diff"
  578. }
  579. ],
  580. "editor/title": [
  581. {
  582. "command": "gitlens.toggleBlame",
  583. "when": "gitlens:enabled && gitlens:isBlameable",
  584. "group": "navigation@100"
  585. },
  586. {
  587. "command": "gitlens.showQuickFileHistory",
  588. "when": "editorFocus && gitlens:enabled",
  589. "group": "gitlens"
  590. },
  591. {
  592. "command": "gitlens.showQuickRepoHistory",
  593. "when": "!editorFocus && gitlens:enabled",
  594. "group": "gitlens"
  595. },
  596. {
  597. "command": "gitlens.showQuickRepoStatus",
  598. "when": "gitlens:enabled",
  599. "group": "gitlens"
  600. },
  601. {
  602. "command": "gitlens.diffWithPrevious",
  603. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  604. "group": "gitlens_diff"
  605. },
  606. {
  607. "command": "gitlens.diffWithWorking",
  608. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  609. "group": "gitlens_diff"
  610. }
  611. ],
  612. "editor/title/context": [
  613. {
  614. "command": "gitlens.toggleBlame",
  615. "when": "gitlens:enabled && gitlens:isBlameable",
  616. "group": "gitlens@1"
  617. },
  618. {
  619. "command": "gitlens.showQuickFileHistory",
  620. "when": "gitlens:enabled",
  621. "group": "gitlens@2"
  622. }
  623. ],
  624. "editor/context": [
  625. {
  626. "command": "gitlens.diffLineWithPrevious",
  627. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  628. "group": "1_gitlens@1"
  629. },
  630. {
  631. "command": "gitlens.diffLineWithWorking",
  632. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  633. "group": "1_gitlens@2"
  634. },
  635. {
  636. "command": "gitlens.showQuickCommitFileDetails",
  637. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  638. "group": "1_gitlens@3"
  639. },
  640. {
  641. "command": "gitlens.diffWithPrevious",
  642. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  643. "group": "1_gitlens-file@1"
  644. },
  645. {
  646. "command": "gitlens.diffWithWorking",
  647. "when": "editorTextFocus && gitlens:enabled && config.gitlens.menus.diff.enabled",
  648. "group": "1_gitlens-file@2"
  649. },
  650. {
  651. "command": "gitlens.toggleBlame",
  652. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  653. "group": "2_gitlens@1"
  654. },
  655. {
  656. "command": "gitlens.showQuickFileHistory",
  657. "when": "gitlens:enabled",
  658. "group": "2_gitlens@2"
  659. },
  660. {
  661. "command": "gitlens.copyShaToClipboard",
  662. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  663. "group": "9_gitlens@1"
  664. },
  665. {
  666. "command": "gitlens.copyMessageToClipboard",
  667. "when": "editorTextFocus && gitlens:enabled && gitlens:isBlameable",
  668. "group": "9_gitlens@2"
  669. }
  670. ]
  671. },
  672. "keybindings": [
  673. {
  674. "command": "gitlens.key.left",
  675. "key": "alt+left",
  676. "when": "gitlens:key:left"
  677. },
  678. {
  679. "command": "gitlens.key.right",
  680. "key": "alt+right",
  681. "when": "gitlens:key:right"
  682. },
  683. {
  684. "command": "gitlens.key.,",
  685. "key": "alt+,",
  686. "when": "gitlens:key:,"
  687. },
  688. {
  689. "command": "gitlens.key..",
  690. "key": "alt+.",
  691. "when": "gitlens:key:."
  692. },
  693. {
  694. "command": "gitlens.toggleBlame",
  695. "key": "alt+b",
  696. "mac": "alt+b",
  697. "when": "editorTextFocus && gitlens:enabled"
  698. },
  699. {
  700. "command": "gitlens.toggleCodeLens",
  701. "key": "alt+shift+b",
  702. "mac": "alt+shift+b",
  703. "when": "editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  704. },
  705. {
  706. "command": "gitlens.showLastQuickPick",
  707. "key": "alt+-",
  708. "mac": "alt+-",
  709. "when": "gitlens:enabled"
  710. },
  711. {
  712. "command": "gitlens.showQuickFileHistory",
  713. "key": "alt+h",
  714. "mac": "alt+h",
  715. "when": "gitlens:enabled"
  716. },
  717. {
  718. "command": "gitlens.showQuickRepoHistory",
  719. "key": "shift+alt+h",
  720. "mac": "shift+alt+h",
  721. "when": "gitlens:enabled"
  722. },
  723. {
  724. "command": "gitlens.showQuickRepoStatus",
  725. "key": "alt+s",
  726. "mac": "alt+s",
  727. "when": "gitlens:enabled"
  728. },
  729. {
  730. "command": "gitlens.showQuickCommitFileDetails",
  731. "key": "alt+c",
  732. "mac": "alt+c",
  733. "when": "editorTextFocus && gitlens:enabled"
  734. },
  735. {
  736. "command": "gitlens.diffWithNext",
  737. "key": "alt+.",
  738. "mac": "alt+.",
  739. "when": "editorTextFocus && gitlens:enabled"
  740. },
  741. {
  742. "command": "gitlens.diffLineWithPrevious",
  743. "key": "shift+alt+,",
  744. "mac": "shift+alt+,",
  745. "when": "editorTextFocus && gitlens:enabled"
  746. },
  747. {
  748. "command": "gitlens.diffWithPrevious",
  749. "key": "alt+,",
  750. "mac": "alt+,",
  751. "when": "editorTextFocus && gitlens:enabled"
  752. },
  753. {
  754. "command": "gitlens.diffLineWithWorking",
  755. "key": "alt+w",
  756. "mac": "alt+w",
  757. "when": "editorTextFocus && gitlens:enabled"
  758. },
  759. {
  760. "command": "gitlens.diffWithWorking",
  761. "key": "shift+alt+w",
  762. "mac": "shift+alt+w",
  763. "when": "editorTextFocus && gitlens:enabled"
  764. }
  765. ]
  766. },
  767. "activationEvents": [
  768. "*"
  769. ],
  770. "scripts": {
  771. "compile": "tsc -watch -p ./",
  772. "lint": "tslint --project tslint.json",
  773. "pack": "git clean -xdf && npm install && vsce package",
  774. "postinstall": "node ./node_modules/vscode/bin/install",
  775. "pub": "git clean -xdf --exclude=node_modules/ && npm install && vsce publish",
  776. "vscode:prepublish": "tsc -p ./"
  777. },
  778. "dependencies": {
  779. "copy-paste": "^1.3.0",
  780. "ignore": "^3.2.6",
  781. "lodash.debounce": "^4.0.8",
  782. "lodash.escaperegexp": "^4.1.2",
  783. "lodash.isequal": "^4.5.0",
  784. "lodash.once": "^4.1.1",
  785. "moment": "^2.18.0",
  786. "spawn-rx": "^2.0.10",
  787. "tmp": "^0.0.31"
  788. },
  789. "devDependencies": {
  790. "@types/copy-paste": "^1.1.30",
  791. "@types/mocha": "^2.2.40",
  792. "@types/node": "^7.0.8",
  793. "@types/tmp": "^0.0.32",
  794. "mocha": "^3.2.0",
  795. "tslint": "^4.5.1",
  796. "typescript": "^2.2.1",
  797. "vscode": "^1.1.0"
  798. }
  799. }