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.

927 rivejä
40 KiB

7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
  1. {
  2. "name": "gitlens",
  3. "version": "3.6.0-beta",
  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.diffWithWorking",
  312. "gitlens.toggleCodeLens",
  313. "gitlens.showQuickCommitDetails",
  314. "gitlens.showQuickCommitFileDetails",
  315. "gitlens.showQuickFileHistory",
  316. "gitlens.showQuickRepoHistory"
  317. ],
  318. "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 line commit with the previous. `gitlens.diffWithWorking` - compares the current line commit with the working tree. `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"
  319. },
  320. "gitlens.statusBar.date": {
  321. "type": "string",
  322. "default": "relative",
  323. "enum": [
  324. "off",
  325. "relative",
  326. "absolute"
  327. ],
  328. "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`"
  329. },
  330. "gitlens.statusBar.dateFormat": {
  331. "type": "string",
  332. "default": null,
  333. "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"
  334. },
  335. "gitlens.advanced.caching.enabled": {
  336. "type": "boolean",
  337. "default": true,
  338. "description": "Specifies whether git blame output will be cached"
  339. },
  340. "gitlens.advanced.caching.statusBar.maxLines": {
  341. "type": "number",
  342. "default": 0,
  343. "description": "Specifies whether status bar git blame output will be cached for larger documents"
  344. },
  345. "gitlens.advanced.git": {
  346. "type": "string",
  347. "default": null,
  348. "description": "Specifies a git path to use"
  349. },
  350. "gitlens.advanced.gitignore.enabled": {
  351. "type": "boolean",
  352. "default": true,
  353. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  354. },
  355. "gitlens.advanced.maxQuickHistory": {
  356. "type": "number",
  357. "default": 200,
  358. "description": "Specifies the maximum number of QuickPick history entries to show"
  359. },
  360. "gitlens.advanced.quickPick.closeOnFocusOut": {
  361. "type": "boolean",
  362. "default": true,
  363. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  364. },
  365. "gitlens.advanced.toggleWhitespace.enabled": {
  366. "type": "boolean",
  367. "default": false,
  368. "description": "Specifies whether or not to toggle whitespace off then showing blame annotations (*may* be required by certain fonts/themes)"
  369. }
  370. }
  371. },
  372. "commands": [
  373. {
  374. "command": "gitlens.diffDirectory",
  375. "title": "Directory Compare",
  376. "category": "GitLens"
  377. },
  378. {
  379. "command": "gitlens.diffWithBranch",
  380. "title": "Compare File with...",
  381. "category": "GitLens"
  382. },
  383. {
  384. "command": "gitlens.diffWithNext",
  385. "title": "Compare File with Next Commit",
  386. "category": "GitLens"
  387. },
  388. {
  389. "command": "gitlens.diffWithPrevious",
  390. "title": "Compare File with Previous",
  391. "category": "GitLens"
  392. },
  393. {
  394. "command": "gitlens.diffLineWithPrevious",
  395. "title": "Compare Line Commit with Previous",
  396. "category": "GitLens"
  397. },
  398. {
  399. "command": "gitlens.diffWithWorking",
  400. "title": "Compare File with Working Tree",
  401. "category": "GitLens"
  402. },
  403. {
  404. "command": "gitlens.diffLineWithWorking",
  405. "title": "Compare Line Commit with Working Tree",
  406. "category": "GitLens"
  407. },
  408. {
  409. "command": "gitlens.showBlame",
  410. "title": "Show Blame Annotations",
  411. "category": "GitLens"
  412. },
  413. {
  414. "command": "gitlens.toggleBlame",
  415. "title": "Toggle Blame Annotations",
  416. "category": "GitLens",
  417. "icon": {
  418. "dark": "images/git-icon-dark.svg",
  419. "light": "images/git-icon-light.svg"
  420. }
  421. },
  422. {
  423. "command": "gitlens.toggleCodeLens",
  424. "title": "Toggle Git Code Lens",
  425. "category": "GitLens"
  426. },
  427. {
  428. "command": "gitlens.showBlameHistory",
  429. "title": "Open Blame History Explorer",
  430. "category": "GitLens"
  431. },
  432. {
  433. "command": "gitlens.showCommitSearch",
  434. "title": "Search Commits",
  435. "category": "GitLens"
  436. },
  437. {
  438. "command": "gitlens.showFileHistory",
  439. "title": "Open File History Explorer",
  440. "category": "GitLens"
  441. },
  442. {
  443. "command": "gitlens.showLastQuickPick",
  444. "title": "Show Last Opened Quick Pick",
  445. "category": "GitLens"
  446. },
  447. {
  448. "command": "gitlens.showQuickCommitDetails",
  449. "title": "Show Commit Details",
  450. "category": "GitLens"
  451. },
  452. {
  453. "command": "gitlens.showQuickCommitFileDetails",
  454. "title": "Show Line Commit Details",
  455. "category": "GitLens"
  456. },
  457. {
  458. "command": "gitlens.showQuickFileHistory",
  459. "title": "Show File History",
  460. "category": "GitLens"
  461. },
  462. {
  463. "command": "gitlens.showQuickBranchHistory",
  464. "title": "Show Branch History",
  465. "category": "GitLens"
  466. },
  467. {
  468. "command": "gitlens.showQuickRepoHistory",
  469. "title": "Show Current Branch History",
  470. "category": "GitLens"
  471. },
  472. {
  473. "command": "gitlens.showQuickRepoStatus",
  474. "title": "Show Repository Status",
  475. "category": "GitLens"
  476. },
  477. {
  478. "command": "gitlens.showQuickStashList",
  479. "title": "Show Stashed Changes",
  480. "category": "GitLens"
  481. },
  482. {
  483. "command": "gitlens.copyShaToClipboard",
  484. "title": "Copy Commit ID to Clipboard",
  485. "category": "GitLens"
  486. },
  487. {
  488. "command": "gitlens.copyMessageToClipboard",
  489. "title": "Copy Commit Message to Clipboard",
  490. "category": "GitLens"
  491. },
  492. {
  493. "command": "gitlens.closeUnchangedFiles",
  494. "title": "Close Unchanged Files",
  495. "category": "GitLens"
  496. },
  497. {
  498. "command": "gitlens.openChangedFiles",
  499. "title": "Open Changed Files",
  500. "category": "GitLens"
  501. },
  502. {
  503. "command": "gitlens.openBranchInRemote",
  504. "title": "Open Branch in Remote",
  505. "category": "GitLens"
  506. },
  507. {
  508. "command": "gitlens.openCommitInRemote",
  509. "title": "Open Line Commit in Remote",
  510. "category": "GitLens"
  511. },
  512. {
  513. "command": "gitlens.openFileInRemote",
  514. "title": "Open File in Remote",
  515. "category": "GitLens"
  516. },
  517. {
  518. "command": "gitlens.openRepoInRemote",
  519. "title": "Open Repository in Remote",
  520. "category": "GitLens"
  521. },
  522. {
  523. "command": "gitlens.stashApply",
  524. "title": "Apply Stashed Changes",
  525. "category": "GitLens"
  526. },
  527. {
  528. "command": "gitlens.stashSave",
  529. "title": "Stash Changes",
  530. "category": "GitLens"
  531. }
  532. ],
  533. "menus": {
  534. "commandPalette": [
  535. {
  536. "command": "gitlens.diffDirectory",
  537. "when": "gitlens:enabled"
  538. },
  539. {
  540. "command": "gitlens.diffWithBranch",
  541. "when": "gitlens:isTracked"
  542. },
  543. {
  544. "command": "gitlens.diffWithNext",
  545. "when": "gitlens:isTracked"
  546. },
  547. {
  548. "command": "gitlens.diffWithPrevious",
  549. "when": "gitlens:isTracked"
  550. },
  551. {
  552. "command": "gitlens.diffLineWithPrevious",
  553. "when": "gitlens:isBlameable"
  554. },
  555. {
  556. "command": "gitlens.diffWithWorking",
  557. "when": "gitlens:isTracked"
  558. },
  559. {
  560. "command": "gitlens.diffLineWithWorking",
  561. "when": "gitlens:isBlameable"
  562. },
  563. {
  564. "command": "gitlens.showBlame",
  565. "when": "gitlens:isBlameable"
  566. },
  567. {
  568. "command": "gitlens.toggleBlame",
  569. "when": "gitlens:isBlameable"
  570. },
  571. {
  572. "command": "gitlens.toggleCodeLens",
  573. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  574. },
  575. {
  576. "command": "gitlens.showBlameHistory",
  577. "when": "gitlens:isBlameable"
  578. },
  579. {
  580. "command": "gitlens.showFileHistory",
  581. "when": "gitlens:isTracked"
  582. },
  583. {
  584. "command": "gitlens.showLastQuickPick",
  585. "when": "gitlens:enabled"
  586. },
  587. {
  588. "command": "gitlens.showQuickCommitDetails",
  589. "when": "gitlens:isBlameable"
  590. },
  591. {
  592. "command": "gitlens.showQuickCommitFileDetails",
  593. "when": "gitlens:isBlameable"
  594. },
  595. {
  596. "command": "gitlens.showQuickFileHistory",
  597. "when": "gitlens:isTracked"
  598. },
  599. {
  600. "command": "gitlens.showQuickBranchHistory",
  601. "when": "gitlens:enabled"
  602. },
  603. {
  604. "command": "gitlens.showQuickRepoHistory",
  605. "when": "gitlens:enabled"
  606. },
  607. {
  608. "command": "gitlens.showQuickRepoStatus",
  609. "when": "gitlens:enabled"
  610. },
  611. {
  612. "command": "gitlens.showQuickStashList",
  613. "when": "gitlens:enabled"
  614. },
  615. {
  616. "command": "gitlens.copyShaToClipboard",
  617. "when": "gitlens:isBlameable"
  618. },
  619. {
  620. "command": "gitlens.copyMessageToClipboard",
  621. "when": "gitlens:isBlameable"
  622. },
  623. {
  624. "command": "gitlens.closeUnchangedFiles",
  625. "when": "gitlens:enabled"
  626. },
  627. {
  628. "command": "gitlens.openChangedFiles",
  629. "when": "gitlens:enabled"
  630. },
  631. {
  632. "command": "gitlens.openBranchInRemote",
  633. "when": "gitlens:hasRemotes"
  634. },
  635. {
  636. "command": "gitlens.openCommitInRemote",
  637. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  638. },
  639. {
  640. "command": "gitlens.openFileInRemote",
  641. "when": "gitlens:isTracked && gitlens:hasRemotes"
  642. },
  643. {
  644. "command": "gitlens.openRepoInRemote",
  645. "when": "gitlens:hasRemotes"
  646. },
  647. {
  648. "command": "gitlens.stashApply",
  649. "when": "gitlens:enabled"
  650. },
  651. {
  652. "command": "gitlens.stashSave",
  653. "when": "gitlens:enabled"
  654. }
  655. ],
  656. "explorer/context": [
  657. {
  658. "command": "gitlens.diffWithPrevious",
  659. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  660. "group": "1_gitlens@1"
  661. },
  662. {
  663. "command": "gitlens.diffWithWorking",
  664. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  665. "group": "1_gitlens@2"
  666. },
  667. {
  668. "command": "gitlens.showQuickFileHistory",
  669. "when": "gitlens:enabled",
  670. "group": "1_gitlens_1@1"
  671. },
  672. {
  673. "command": "gitlens.openFileInRemote",
  674. "when": "gitlens:enabled",
  675. "group": "1_gitlens_1@2"
  676. }
  677. ],
  678. "editor/title": [
  679. {
  680. "command": "gitlens.toggleBlame",
  681. "when": "gitlens:isBlameable",
  682. "group": "navigation@100"
  683. },
  684. {
  685. "command": "gitlens.diffWithPrevious",
  686. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  687. "group": "2_gitlens"
  688. },
  689. {
  690. "command": "gitlens.diffWithWorking",
  691. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  692. "group": "2_gitlens"
  693. },
  694. {
  695. "command": "gitlens.showQuickFileHistory",
  696. "when": "editorFocus && gitlens:isTracked",
  697. "group": "2_gitlens_1"
  698. },
  699. {
  700. "command": "gitlens.showQuickRepoHistory",
  701. "when": "!editorFocus && gitlens:enabled",
  702. "group": "2_gitlens_1"
  703. },
  704. {
  705. "command": "gitlens.showQuickRepoStatus",
  706. "when": "gitlens:enabled",
  707. "group": "2_gitlens_1"
  708. }
  709. ],
  710. "editor/title/context": [
  711. {
  712. "command": "gitlens.diffWithPrevious",
  713. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  714. "group": "1_gitlens@1"
  715. },
  716. {
  717. "command": "gitlens.diffWithWorking",
  718. "when": "gitlens:enabled && config.gitlens.menus.diff.enabled",
  719. "group": "1_gitlens@2"
  720. },
  721. {
  722. "command": "gitlens.showQuickFileHistory",
  723. "when": "gitlens:enabled",
  724. "group": "1_gitlens_1@1"
  725. },
  726. {
  727. "command": "gitlens.toggleBlame",
  728. "when": "gitlens:enabled",
  729. "group": "1_gitlens_1@2"
  730. },
  731. {
  732. "command": "gitlens.openFileInRemote",
  733. "when": "gitlens:enabled",
  734. "group": "1_gitlens_1@3"
  735. }
  736. ],
  737. "editor/context": [
  738. {
  739. "command": "gitlens.diffLineWithPrevious",
  740. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  741. "group": "1_gitlens@1"
  742. },
  743. {
  744. "command": "gitlens.diffLineWithWorking",
  745. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.menus.diff.enabled",
  746. "group": "1_gitlens@2"
  747. },
  748. {
  749. "command": "gitlens.showQuickCommitFileDetails",
  750. "when": "editorTextFocus && gitlens:isBlameable",
  751. "group": "1_gitlens@3"
  752. },
  753. {
  754. "command": "gitlens.diffWithPrevious",
  755. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  756. "group": "1_gitlens_1@1"
  757. },
  758. {
  759. "command": "gitlens.diffWithWorking",
  760. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.menus.diff.enabled",
  761. "group": "1_gitlens_1@2"
  762. },
  763. {
  764. "command": "gitlens.showQuickFileHistory",
  765. "when": "gitlens:isTracked",
  766. "group": "3_gitlens@1"
  767. },
  768. {
  769. "command": "gitlens.toggleBlame",
  770. "when": "editorTextFocus && gitlens:isBlameable",
  771. "group": "3_gitlens@2"
  772. },
  773. {
  774. "command": "gitlens.openFileInRemote",
  775. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes",
  776. "group": "3_gitlens@3"
  777. },
  778. {
  779. "command": "gitlens.copyShaToClipboard",
  780. "when": "editorTextFocus && gitlens:isBlameable",
  781. "group": "9_gitlens@1"
  782. },
  783. {
  784. "command": "gitlens.copyMessageToClipboard",
  785. "when": "editorTextFocus && gitlens:isBlameable",
  786. "group": "9_gitlens@2"
  787. }
  788. ]
  789. },
  790. "keybindings": [
  791. {
  792. "command": "gitlens.key.left",
  793. "key": "alt+left",
  794. "when": "gitlens:key:left"
  795. },
  796. {
  797. "command": "gitlens.key.right",
  798. "key": "alt+right",
  799. "when": "gitlens:key:right"
  800. },
  801. {
  802. "command": "gitlens.key.,",
  803. "key": "alt+,",
  804. "when": "gitlens:key:,"
  805. },
  806. {
  807. "command": "gitlens.key..",
  808. "key": "alt+.",
  809. "when": "gitlens:key:."
  810. },
  811. {
  812. "command": "gitlens.toggleBlame",
  813. "key": "alt+b",
  814. "mac": "alt+b",
  815. "when": "editorTextFocus && gitlens:isTracked"
  816. },
  817. {
  818. "command": "gitlens.toggleCodeLens",
  819. "key": "shift+alt+b",
  820. "mac": "shift+alt+b",
  821. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  822. },
  823. {
  824. "command": "gitlens.showLastQuickPick",
  825. "key": "alt+-",
  826. "mac": "alt+-",
  827. "when": "gitlens:enabled"
  828. },
  829. {
  830. "command": "gitlens.showCommitSearch",
  831. "key": "alt+/",
  832. "mac": "alt+/",
  833. "when": "gitlens:enabled"
  834. },
  835. {
  836. "command": "gitlens.showQuickFileHistory",
  837. "key": "alt+h",
  838. "mac": "alt+h",
  839. "when": "gitlens:enabled"
  840. },
  841. {
  842. "command": "gitlens.showQuickRepoHistory",
  843. "key": "shift+alt+h",
  844. "mac": "shift+alt+h",
  845. "when": "gitlens:enabled"
  846. },
  847. {
  848. "command": "gitlens.showQuickRepoStatus",
  849. "key": "alt+s",
  850. "mac": "alt+s",
  851. "when": "gitlens:enabled"
  852. },
  853. {
  854. "command": "gitlens.showQuickCommitFileDetails",
  855. "key": "alt+c",
  856. "mac": "alt+c",
  857. "when": "editorTextFocus && gitlens:enabled"
  858. },
  859. {
  860. "command": "gitlens.diffWithNext",
  861. "key": "alt+.",
  862. "mac": "alt+.",
  863. "when": "editorTextFocus && gitlens:isTracked"
  864. },
  865. {
  866. "command": "gitlens.diffLineWithPrevious",
  867. "key": "shift+alt+,",
  868. "mac": "shift+alt+,",
  869. "when": "editorTextFocus && gitlens:isTracked"
  870. },
  871. {
  872. "command": "gitlens.diffWithPrevious",
  873. "key": "alt+,",
  874. "mac": "alt+,",
  875. "when": "editorTextFocus && gitlens:isTracked"
  876. },
  877. {
  878. "command": "gitlens.diffLineWithWorking",
  879. "key": "alt+w",
  880. "mac": "alt+w",
  881. "when": "editorTextFocus && gitlens:isTracked"
  882. },
  883. {
  884. "command": "gitlens.diffWithWorking",
  885. "key": "shift+alt+w",
  886. "mac": "shift+alt+w",
  887. "when": "editorTextFocus && gitlens:isTracked"
  888. }
  889. ]
  890. },
  891. "activationEvents": [
  892. "*"
  893. ],
  894. "scripts": {
  895. "compile": "npm run lint && tsc -p ./",
  896. "watch": "tsc -watch -p ./",
  897. "lint": "tslint --project tslint.json",
  898. "pack": "git clean -xdf --exclude=node_modules/ && vsce package",
  899. "postinstall": "node ./node_modules/vscode/bin/install",
  900. "pub": "git clean -xdf && vsce publish",
  901. "vscode:prepublish": "npm install && npm run compile"
  902. },
  903. "dependencies": {
  904. "applicationinsights": "0.20.1",
  905. "copy-paste": "1.3.0",
  906. "iconv-lite": "0.4.17",
  907. "ignore": "3.3.3",
  908. "lodash.debounce": "4.0.8",
  909. "lodash.escaperegexp": "4.1.2",
  910. "lodash.isequal": "4.5.0",
  911. "lodash.once": "4.1.1",
  912. "moment": "2.18.1",
  913. "spawn-rx": "2.0.11",
  914. "tmp": "0.0.31"
  915. },
  916. "devDependencies": {
  917. "@types/applicationinsights": "0.15.33",
  918. "@types/copy-paste": "1.1.30",
  919. "@types/iconv-lite": "0.0.1",
  920. "@types/mocha": "2.2.41",
  921. "@types/node": "7.0.22",
  922. "@types/tmp": "0.0.33",
  923. "mocha": "3.4.2",
  924. "tslint": "5.3.2",
  925. "typescript": "2.3.3",
  926. "vscode": "1.1.0"
  927. }
  928. }