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.

880 lines
38 KiB

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