Não pode escolher mais do que 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.

878 linhas
38 KiB

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