Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

926 linhas
40 KiB

7 anos atrás
7 anos atrás
7 anos atrás
7 anos atrás
7 anos atrás
7 anos atrás
7 anos atrás
7 anos atrás
7 anos atrás
  1. {
  2. "name": "gitlens",
  3. "version": "3.5.1",
  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.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.blame.annotation.activeLine": {
  77. "type": "string",
  78. "default": "both",
  79. "enum": [
  80. "off",
  81. "inline",
  82. "hover",
  83. "both"
  84. ],
  85. "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"
  86. },
  87. "gitlens.blame.annotation.activeLineDarkColor": {
  88. "type": "string",
  89. "default": "rgba(153, 153, 153, 0.35)",
  90. "description": "Specifies the color of the active line blame annotation to use with a dark theme. Must be a valid css color"
  91. },
  92. "gitlens.blame.annotation.activeLineLightColor": {
  93. "type": "string",
  94. "default": "rgba(153, 153, 153, 0.35)",
  95. "description": "Specifies the color of the active line blame annotation to use with a light theme. Must be a valid css color"
  96. },
  97. "gitlens.blame.annotation.highlight": {
  98. "type": "string",
  99. "default": "both",
  100. "enum": [
  101. "none",
  102. "gutter",
  103. "line",
  104. "both"
  105. ],
  106. "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"
  107. },
  108. "gitlens.blame.annotation.style": {
  109. "type": "string",
  110. "default": "expanded",
  111. "enum": [
  112. "compact",
  113. "expanded",
  114. "trailing"
  115. ],
  116. "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"
  117. },
  118. "gitlens.blame.annotation.author": {
  119. "type": "boolean",
  120. "default": true,
  121. "description": "Specifies whether the committer will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  122. },
  123. "gitlens.blame.annotation.date": {
  124. "type": "string",
  125. "default": "off",
  126. "enum": [
  127. "off",
  128. "relative",
  129. "absolute"
  130. ],
  131. "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"
  132. },
  133. "gitlens.blame.annotation.dateFormat": {
  134. "type": "string",
  135. "default": null,
  136. "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"
  137. },
  138. "gitlens.blame.annotation.message": {
  139. "type": "boolean",
  140. "default": false,
  141. "description": "Specifies whether the commit message will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  142. },
  143. "gitlens.blame.annotation.sha": {
  144. "type": "boolean",
  145. "default": true,
  146. "description": "Specifies whether the commit id (sha) will be shown in the blame annotations. Applies only to the `expanded` & `trailing` annotation styles"
  147. },
  148. "gitlens.codeLens.visibility": {
  149. "type": "string",
  150. "default": "auto",
  151. "enum": [
  152. "auto",
  153. "ondemand",
  154. "off"
  155. ],
  156. "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"
  157. },
  158. "gitlens.codeLens.authors.enabled": {
  159. "type": "boolean",
  160. "default": true,
  161. "description": "Specifies whether the authors code lens is shown"
  162. },
  163. "gitlens.codeLens.authors.command": {
  164. "type": "string",
  165. "default": "gitlens.toggleBlame",
  166. "enum": [
  167. "gitlens.toggleBlame",
  168. "gitlens.showBlameHistory",
  169. "gitlens.showFileHistory",
  170. "gitlens.diffWithPrevious",
  171. "gitlens.showQuickCommitDetails",
  172. "gitlens.showQuickCommitFileDetails",
  173. "gitlens.showQuickFileHistory",
  174. "gitlens.showQuickRepoHistory"
  175. ],
  176. "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"
  177. },
  178. "gitlens.codeLens.recentChange.enabled": {
  179. "type": "boolean",
  180. "default": true,
  181. "description": "Specifies whether the recent change code lens is shown"
  182. },
  183. "gitlens.codeLens.recentChange.command": {
  184. "type": "string",
  185. "default": "gitlens.showQuickCommitFileDetails",
  186. "enum": [
  187. "gitlens.toggleBlame",
  188. "gitlens.showBlameHistory",
  189. "gitlens.showFileHistory",
  190. "gitlens.diffWithPrevious",
  191. "gitlens.showQuickCommitDetails",
  192. "gitlens.showQuickCommitFileDetails",
  193. "gitlens.showQuickFileHistory",
  194. "gitlens.showQuickRepoHistory"
  195. ],
  196. "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"
  197. },
  198. "gitlens.codeLens.location": {
  199. "type": "string",
  200. "default": "document+containers",
  201. "enum": [
  202. "all",
  203. "document+containers",
  204. "document",
  205. "custom"
  206. ],
  207. "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`"
  208. },
  209. "gitlens.codeLens.locationCustomSymbols": {
  210. "type": "array",
  211. "description": "Specifies the set of document symbols to render active document code lens on. Must be a member of `SymbolKind`"
  212. },
  213. "gitlens.codeLens.languageLocations": {
  214. "type": "array",
  215. "default": [
  216. {
  217. "language": "css",
  218. "location": "document"
  219. },
  220. {
  221. "language": "html",
  222. "location": "document"
  223. },
  224. {
  225. "language": "json",
  226. "location": "document"
  227. },
  228. {
  229. "language": "less",
  230. "location": "document"
  231. },
  232. {
  233. "language": "scss",
  234. "location": "document"
  235. },
  236. {
  237. "language": "vue",
  238. "location": "document"
  239. }
  240. ],
  241. "items": {
  242. "type": "object",
  243. "required": [
  244. "language",
  245. "location"
  246. ],
  247. "properties": {
  248. "language": {
  249. "type": "string",
  250. "description": "Specifies the language to which this code lens override applies"
  251. },
  252. "location": {
  253. "type": "string",
  254. "default": "document+containers",
  255. "enum": [
  256. "all",
  257. "document+containers",
  258. "document",
  259. "custom",
  260. "none"
  261. ],
  262. "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`"
  263. },
  264. "customSymbols": {
  265. "type": "string",
  266. "description": "Specifies the set of document symbols to render active document code lens on. Must be a member of `SymbolKind`"
  267. }
  268. }
  269. },
  270. "uniqueItems": true,
  271. "enum": [
  272. "all",
  273. "document+containers",
  274. "document",
  275. "custom"
  276. ],
  277. "description": "Specifies where code lens will be rendered in the active document for the specified languages"
  278. },
  279. "gitlens.codeLens.debug": {
  280. "type": "boolean",
  281. "default": false,
  282. "description": "Specifies whether or not to show debug information in code lens"
  283. },
  284. "gitlens.menus.diff.enabled": {
  285. "type": "boolean",
  286. "default": true,
  287. "description": "Specifies whether diff commands will be added to the context menus"
  288. },
  289. "gitlens.statusBar.enabled": {
  290. "type": "boolean",
  291. "default": true,
  292. "description": "Specifies whether blame information is shown in the status bar"
  293. },
  294. "gitlens.statusBar.alignment": {
  295. "type": "string",
  296. "default": "right",
  297. "enum": [
  298. "left",
  299. "right"
  300. ],
  301. "description": "Specifies the blame alignment in the status bar. `left` - align to the left, `right` - align to the right"
  302. },
  303. "gitlens.statusBar.command": {
  304. "type": "string",
  305. "default": "gitlens.showQuickCommitDetails",
  306. "enum": [
  307. "gitlens.toggleBlame",
  308. "gitlens.showBlameHistory",
  309. "gitlens.showFileHistory",
  310. "gitlens.diffWithPrevious",
  311. "gitlens.toggleCodeLens",
  312. "gitlens.showQuickCommitDetails",
  313. "gitlens.showQuickCommitFileDetails",
  314. "gitlens.showQuickFileHistory",
  315. "gitlens.showQuickRepoHistory"
  316. ],
  317. "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"
  318. },
  319. "gitlens.statusBar.date": {
  320. "type": "string",
  321. "default": "relative",
  322. "enum": [
  323. "off",
  324. "relative",
  325. "absolute"
  326. ],
  327. "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`"
  328. },
  329. "gitlens.statusBar.dateFormat": {
  330. "type": "string",
  331. "default": null,
  332. "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"
  333. },
  334. "gitlens.advanced.caching.enabled": {
  335. "type": "boolean",
  336. "default": true,
  337. "description": "Specifies whether git blame output will be cached"
  338. },
  339. "gitlens.advanced.caching.statusBar.maxLines": {
  340. "type": "number",
  341. "default": 0,
  342. "description": "Specifies whether status bar git blame output will be cached for larger documents"
  343. },
  344. "gitlens.advanced.git": {
  345. "type": "string",
  346. "default": null,
  347. "description": "Specifies a git path to use"
  348. },
  349. "gitlens.advanced.gitignore.enabled": {
  350. "type": "boolean",
  351. "default": true,
  352. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  353. },
  354. "gitlens.advanced.maxQuickHistory": {
  355. "type": "number",
  356. "default": 200,
  357. "description": "Specifies the maximum number of QuickPick history entries to show"
  358. },
  359. "gitlens.advanced.quickPick.closeOnFocusOut": {
  360. "type": "boolean",
  361. "default": true,
  362. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  363. },
  364. "gitlens.advanced.toggleWhitespace.enabled": {
  365. "type": "boolean",
  366. "default": false,
  367. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  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.openBranchInRemote",
  503. "title": "Open Branch in Remote",
  504. "category": "GitLens"
  505. },
  506. {
  507. "command": "gitlens.openCommitInRemote",
  508. "title": "Open Line Commit in Remote",
  509. "category": "GitLens"
  510. },
  511. {
  512. "command": "gitlens.openFileInRemote",
  513. "title": "Open File in Remote",
  514. "category": "GitLens"
  515. },
  516. {
  517. "command": "gitlens.openRepoInRemote",
  518. "title": "Open Repository in Remote",
  519. "category": "GitLens"
  520. },
  521. {
  522. "command": "gitlens.stashApply",
  523. "title": "Apply Stashed Changes",
  524. "category": "GitLens"
  525. },
  526. {
  527. "command": "gitlens.stashSave",
  528. "title": "Stash Changes",
  529. "category": "GitLens"
  530. }
  531. ],
  532. "menus": {
  533. "commandPalette": [
  534. {
  535. "command": "gitlens.diffDirectory",
  536. "when": "gitlens:enabled"
  537. },
  538. {
  539. "command": "gitlens.diffWithBranch",
  540. "when": "gitlens:isTracked"
  541. },
  542. {
  543. "command": "gitlens.diffWithNext",
  544. "when": "gitlens:isTracked"
  545. },
  546. {
  547. "command": "gitlens.diffWithPrevious",
  548. "when": "gitlens:isTracked"
  549. },
  550. {
  551. "command": "gitlens.diffLineWithPrevious",
  552. "when": "gitlens:isBlameable"
  553. },
  554. {
  555. "command": "gitlens.diffWithWorking",
  556. "when": "gitlens:isTracked"
  557. },
  558. {
  559. "command": "gitlens.diffLineWithWorking",
  560. "when": "gitlens:isBlameable"
  561. },
  562. {
  563. "command": "gitlens.showBlame",
  564. "when": "gitlens:isBlameable"
  565. },
  566. {
  567. "command": "gitlens.toggleBlame",
  568. "when": "gitlens:isBlameable"
  569. },
  570. {
  571. "command": "gitlens.toggleCodeLens",
  572. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  573. },
  574. {
  575. "command": "gitlens.showBlameHistory",
  576. "when": "gitlens:isBlameable"
  577. },
  578. {
  579. "command": "gitlens.showFileHistory",
  580. "when": "gitlens:isTracked"
  581. },
  582. {
  583. "command": "gitlens.showLastQuickPick",
  584. "when": "gitlens:enabled"
  585. },
  586. {
  587. "command": "gitlens.showQuickCommitDetails",
  588. "when": "gitlens:isBlameable"
  589. },
  590. {
  591. "command": "gitlens.showQuickCommitFileDetails",
  592. "when": "gitlens:isBlameable"
  593. },
  594. {
  595. "command": "gitlens.showQuickFileHistory",
  596. "when": "gitlens:isTracked"
  597. },
  598. {
  599. "command": "gitlens.showQuickBranchHistory",
  600. "when": "gitlens:enabled"
  601. },
  602. {
  603. "command": "gitlens.showQuickRepoHistory",
  604. "when": "gitlens:enabled"
  605. },
  606. {
  607. "command": "gitlens.showQuickRepoStatus",
  608. "when": "gitlens:enabled"
  609. },
  610. {
  611. "command": "gitlens.showQuickStashList",
  612. "when": "gitlens:enabled"
  613. },
  614. {
  615. "command": "gitlens.copyShaToClipboard",
  616. "when": "gitlens:isBlameable"
  617. },
  618. {
  619. "command": "gitlens.copyMessageToClipboard",
  620. "when": "gitlens:isBlameable"
  621. },
  622. {
  623. "command": "gitlens.closeUnchangedFiles",
  624. "when": "gitlens:enabled"
  625. },
  626. {
  627. "command": "gitlens.openChangedFiles",
  628. "when": "gitlens:enabled"
  629. },
  630. {
  631. "command": "gitlens.openBranchInRemote",
  632. "when": "gitlens:hasRemotes"
  633. },
  634. {
  635. "command": "gitlens.openCommitInRemote",
  636. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  637. },
  638. {
  639. "command": "gitlens.openFileInRemote",
  640. "when": "gitlens:isTracked && gitlens:hasRemotes"
  641. },
  642. {
  643. "command": "gitlens.openRepoInRemote",
  644. "when": "gitlens:hasRemotes"
  645. },
  646. {
  647. "command": "gitlens.stashApply",
  648. "when": "gitlens:enabled"
  649. },
  650. {
  651. "command": "gitlens.stashSave",
  652. "when": "gitlens:enabled"
  653. }
  654. ],
  655. "explorer/context": [
  656. {
  657. "command": "gitlens.diffWithPrevious",
  658. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  659. "group": "1_gitlens@1"
  660. },
  661. {
  662. "command": "gitlens.diffWithWorking",
  663. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  664. "group": "1_gitlens@2"
  665. },
  666. {
  667. "command": "gitlens.showQuickFileHistory",
  668. "when": "gitlens:enabled",
  669. "group": "1_gitlens_1@1"
  670. },
  671. {
  672. "command": "gitlens.openFileInRemote",
  673. "when": "gitlens:enabled",
  674. "group": "1_gitlens_1@2"
  675. }
  676. ],
  677. "editor/title": [
  678. {
  679. "command": "gitlens.toggleBlame",
  680. "when": "gitlens:isBlameable",
  681. "group": "navigation@100"
  682. },
  683. {
  684. "command": "gitlens.diffWithPrevious",
  685. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  686. "group": "2_gitlens"
  687. },
  688. {
  689. "command": "gitlens.diffWithWorking",
  690. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  691. "group": "2_gitlens"
  692. },
  693. {
  694. "command": "gitlens.showQuickFileHistory",
  695. "when": "editorFocus && gitlens:isTracked",
  696. "group": "2_gitlens_1"
  697. },
  698. {
  699. "command": "gitlens.showQuickRepoHistory",
  700. "when": "!editorFocus && gitlens:enabled",
  701. "group": "2_gitlens_1"
  702. },
  703. {
  704. "command": "gitlens.showQuickRepoStatus",
  705. "when": "gitlens:enabled",
  706. "group": "2_gitlens_1"
  707. }
  708. ],
  709. "editor/title/context": [
  710. {
  711. "command": "gitlens.diffWithPrevious",
  712. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  713. "group": "1_gitlens@1"
  714. },
  715. {
  716. "command": "gitlens.diffWithWorking",
  717. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  718. "group": "1_gitlens@2"
  719. },
  720. {
  721. "command": "gitlens.showQuickFileHistory",
  722. "when": "gitlens:enabled",
  723. "group": "1_gitlens_1@1"
  724. },
  725. {
  726. "command": "gitlens.toggleBlame",
  727. "when": "gitlens:enabled",
  728. "group": "1_gitlens_1@2"
  729. },
  730. {
  731. "command": "gitlens.openFileInRemote",
  732. "when": "gitlens:enabled",
  733. "group": "1_gitlens_1@3"
  734. }
  735. ],
  736. "editor/context": [
  737. {
  738. "command": "gitlens.diffLineWithPrevious",
  739. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  740. "group": "1_gitlens@1"
  741. },
  742. {
  743. "command": "gitlens.diffLineWithWorking",
  744. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  745. "group": "1_gitlens@2"
  746. },
  747. {
  748. "command": "gitlens.showQuickCommitFileDetails",
  749. "when": "editorTextFocus && gitlens:isBlameable",
  750. "group": "1_gitlens@3"
  751. },
  752. {
  753. "command": "gitlens.diffWithPrevious",
  754. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  755. "group": "1_gitlens_1@1"
  756. },
  757. {
  758. "command": "gitlens.diffWithWorking",
  759. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  760. "group": "1_gitlens_1@2"
  761. },
  762. {
  763. "command": "gitlens.showQuickFileHistory",
  764. "when": "gitlens:isTracked",
  765. "group": "3_gitlens@1"
  766. },
  767. {
  768. "command": "gitlens.toggleBlame",
  769. "when": "editorTextFocus && gitlens:isBlameable",
  770. "group": "3_gitlens@2"
  771. },
  772. {
  773. "command": "gitlens.openFileInRemote",
  774. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes",
  775. "group": "3_gitlens@3"
  776. },
  777. {
  778. "command": "gitlens.copyShaToClipboard",
  779. "when": "editorTextFocus && gitlens:isBlameable",
  780. "group": "9_gitlens@1"
  781. },
  782. {
  783. "command": "gitlens.copyMessageToClipboard",
  784. "when": "editorTextFocus && gitlens:isBlameable",
  785. "group": "9_gitlens@2"
  786. }
  787. ]
  788. },
  789. "keybindings": [
  790. {
  791. "command": "gitlens.key.left",
  792. "key": "alt+left",
  793. "when": "gitlens:key:left"
  794. },
  795. {
  796. "command": "gitlens.key.right",
  797. "key": "alt+right",
  798. "when": "gitlens:key:right"
  799. },
  800. {
  801. "command": "gitlens.key.,",
  802. "key": "alt+,",
  803. "when": "gitlens:key:,"
  804. },
  805. {
  806. "command": "gitlens.key..",
  807. "key": "alt+.",
  808. "when": "gitlens:key:."
  809. },
  810. {
  811. "command": "gitlens.toggleBlame",
  812. "key": "alt+b",
  813. "mac": "alt+b",
  814. "when": "editorTextFocus && gitlens:isTracked"
  815. },
  816. {
  817. "command": "gitlens.toggleCodeLens",
  818. "key": "shift+alt+b",
  819. "mac": "shift+alt+b",
  820. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  821. },
  822. {
  823. "command": "gitlens.showLastQuickPick",
  824. "key": "alt+-",
  825. "mac": "alt+-",
  826. "when": "gitlens:enabled"
  827. },
  828. {
  829. "command": "gitlens.showCommitSearch",
  830. "key": "alt+/",
  831. "mac": "alt+/",
  832. "when": "gitlens:enabled"
  833. },
  834. {
  835. "command": "gitlens.showQuickFileHistory",
  836. "key": "alt+h",
  837. "mac": "alt+h",
  838. "when": "gitlens:enabled"
  839. },
  840. {
  841. "command": "gitlens.showQuickRepoHistory",
  842. "key": "shift+alt+h",
  843. "mac": "shift+alt+h",
  844. "when": "gitlens:enabled"
  845. },
  846. {
  847. "command": "gitlens.showQuickRepoStatus",
  848. "key": "alt+s",
  849. "mac": "alt+s",
  850. "when": "gitlens:enabled"
  851. },
  852. {
  853. "command": "gitlens.showQuickCommitFileDetails",
  854. "key": "alt+c",
  855. "mac": "alt+c",
  856. "when": "editorTextFocus && gitlens:enabled"
  857. },
  858. {
  859. "command": "gitlens.diffWithNext",
  860. "key": "alt+.",
  861. "mac": "alt+.",
  862. "when": "editorTextFocus && gitlens:isTracked"
  863. },
  864. {
  865. "command": "gitlens.diffLineWithPrevious",
  866. "key": "shift+alt+,",
  867. "mac": "shift+alt+,",
  868. "when": "editorTextFocus && gitlens:isTracked"
  869. },
  870. {
  871. "command": "gitlens.diffWithPrevious",
  872. "key": "alt+,",
  873. "mac": "alt+,",
  874. "when": "editorTextFocus && gitlens:isTracked"
  875. },
  876. {
  877. "command": "gitlens.diffLineWithWorking",
  878. "key": "alt+w",
  879. "mac": "alt+w",
  880. "when": "editorTextFocus && gitlens:isTracked"
  881. },
  882. {
  883. "command": "gitlens.diffWithWorking",
  884. "key": "shift+alt+w",
  885. "mac": "shift+alt+w",
  886. "when": "editorTextFocus && gitlens:isTracked"
  887. }
  888. ]
  889. },
  890. "activationEvents": [
  891. "*"
  892. ],
  893. "scripts": {
  894. "compile": "npm run lint && tsc -p ./",
  895. "watch": "tsc -watch -p ./",
  896. "lint": "tslint --project tslint.json",
  897. "pack": "git clean -xdf --exclude=node_modules/ && vsce package",
  898. "postinstall": "node ./node_modules/vscode/bin/install",
  899. "pub": "git clean -xdf && vsce publish",
  900. "vscode:prepublish": "npm install && npm run compile"
  901. },
  902. "dependencies": {
  903. "applicationinsights": "0.20.0",
  904. "copy-paste": "1.3.0",
  905. "iconv-lite": "0.4.17",
  906. "ignore": "3.3.3",
  907. "lodash.debounce": "4.0.8",
  908. "lodash.escaperegexp": "4.1.2",
  909. "lodash.isequal": "4.5.0",
  910. "lodash.once": "4.1.1",
  911. "moment": "2.18.1",
  912. "spawn-rx": "2.0.11",
  913. "tmp": "0.0.31"
  914. },
  915. "devDependencies": {
  916. "@types/applicationinsights": "0.15.33",
  917. "@types/copy-paste": "1.1.30",
  918. "@types/iconv-lite": "0.0.1",
  919. "@types/mocha": "2.2.41",
  920. "@types/node": "7.0.22",
  921. "@types/tmp": "0.0.33",
  922. "mocha": "3.4.2",
  923. "tslint": "5.3.2",
  924. "typescript": "2.3.3",
  925. "vscode": "1.1.0"
  926. }
  927. }