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.

2014 lines
95 KiB

7 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "version": "5.5.0",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.16.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 Git blame annotations and code lens, seamlessly navigate and explore the history of a file or branch, gain valuable insights via powerful comparison commands, and so much more",
  15. "badges": [
  16. {
  17. "url": "https://img.shields.io/badge/chat-on%20slack-brightgreen.svg",
  18. "href": "https://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  19. "description": "Chat at https://vscode-dev-community.slack.com/"
  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.png",
  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.annotations.file.gutter.format": {
  77. "type": "string",
  78. "default": "${message|40?} ${ago|14-}",
  79. "description": "Specifies the format of the gutter blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.annotations.file.gutter.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  80. },
  81. "gitlens.annotations.file.gutter.dateFormat": {
  82. "type": "string",
  83. "default": null,
  84. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  85. },
  86. "gitlens.annotations.file.gutter.compact": {
  87. "type": "boolean",
  88. "default": true,
  89. "description": "Specifies whether or not to compact (deduplicate) matching adjacent gutter blame annotations"
  90. },
  91. "gitlens.annotations.file.gutter.heatmap.enabled": {
  92. "type": "boolean",
  93. "default": true,
  94. "description": "Specifies whether or not to provide a heatmap indicator in the gutter blame annotations"
  95. },
  96. "gitlens.annotations.file.gutter.heatmap.location": {
  97. "type": "string",
  98. "default": "right",
  99. "enum": [
  100. "left",
  101. "right"
  102. ],
  103. "description": "Specifies where the heatmap indicators will be shown in the gutter blame annotations\n `left` - adds a heatmap indicator on the left edge of the gutter blame annotations\n `right` - adds a heatmap indicator on the right edge of the gutter blame annotations"
  104. },
  105. "gitlens.annotations.file.gutter.hover.details": {
  106. "type": "boolean",
  107. "default": true,
  108. "description": "Specifies whether or not to provide a commit details hover annotation over the gutter blame annotations"
  109. },
  110. "gitlens.annotations.file.gutter.hover.wholeLine": {
  111. "type": "boolean",
  112. "default": true,
  113. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  114. },
  115. "gitlens.annotations.file.hover.heatmap.enabled": {
  116. "type": "boolean",
  117. "default": true,
  118. "description": "Specifies whether or not to provide heatmap indicators on the left edge of each line"
  119. },
  120. "gitlens.annotations.file.hover.wholeLine": {
  121. "type": "boolean",
  122. "default": true,
  123. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  124. },
  125. "gitlens.annotations.file.recentChanges.hover.details": {
  126. "type": "boolean",
  127. "default": true,
  128. "description": "Specifies whether or not to provide a commit details hover annotation"
  129. },
  130. "gitlens.annotations.file.recentChanges.hover.changes": {
  131. "type": "boolean",
  132. "default": true,
  133. "description": "Specifies whether or not to provide a changes (diff) hover annotation"
  134. },
  135. "gitlens.annotations.line.hover.details": {
  136. "type": "boolean",
  137. "default": true,
  138. "description": "Specifies whether or not to provide a commit details hover annotation for the current line"
  139. },
  140. "gitlens.annotations.line.hover.changes": {
  141. "type": "boolean",
  142. "default": true,
  143. "description": "Specifies whether or not to provide a changes (diff) hover annotation for the current line"
  144. },
  145. "gitlens.annotations.line.trailing.format": {
  146. "type": "string",
  147. "default": "${authorAgo} \u2022 ${message}",
  148. "description": "Specifies the format of the trailing blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.annotations.line.trailing.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  149. },
  150. "gitlens.annotations.line.trailing.dateFormat": {
  151. "type": "string",
  152. "default": null,
  153. "description": "Specifies how to format absolute dates (using the `${date}` token) in trailing blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  154. },
  155. "gitlens.annotations.line.trailing.hover.details": {
  156. "type": "boolean",
  157. "default": true,
  158. "description": "Specifies whether or not to provide a commit details hover annotation over the trailing blame annotations"
  159. },
  160. "gitlens.annotations.line.trailing.hover.changes": {
  161. "type": "boolean",
  162. "default": true,
  163. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the trailing blame annotations"
  164. },
  165. "gitlens.annotations.line.trailing.hover.wholeLine": {
  166. "type": "boolean",
  167. "default": false,
  168. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  169. },
  170. "gitlens.blame.ignoreWhitespace": {
  171. "type": "boolean",
  172. "default": false,
  173. "description": "Specifies whether or not to ignore whitespace when comparing revisions during blame operations"
  174. },
  175. "gitlens.blame.file.annotationType": {
  176. "type": "string",
  177. "default": "gutter",
  178. "enum": [
  179. "gutter",
  180. "hover"
  181. ],
  182. "description": "Specifies the type of blame annotations that will be shown for the current file\n `gutter` - adds an annotation to the beginning of each line\n `hover` - shows annotations when hovering over each line"
  183. },
  184. "gitlens.blame.file.lineHighlight.enabled": {
  185. "type": "boolean",
  186. "default": true,
  187. "description": "Specifies whether or not to highlight lines associated with the current line"
  188. },
  189. "gitlens.blame.file.lineHighlight.locations": {
  190. "type": "array",
  191. "default": [
  192. "gutter",
  193. "line",
  194. "overviewRuler"
  195. ],
  196. "items": {
  197. "type": "string",
  198. "enum": [
  199. "gutter",
  200. "line",
  201. "overviewRuler"
  202. ]
  203. },
  204. "minItems": 1,
  205. "maxItems": 3,
  206. "uniqueItems": true,
  207. "description": "Specifies where the associated line highlights will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)"
  208. },
  209. "gitlens.blame.line.enabled": {
  210. "type": "boolean",
  211. "default": true,
  212. "description": "Specifies whether or not to provide a blame annotation for the current line, by default\nUse the `gitlens.toggleLineBlame` command to toggle the annotations on and off for the current session"
  213. },
  214. "gitlens.blame.line.annotationType": {
  215. "type": "string",
  216. "default": "trailing",
  217. "enum": [
  218. "trailing",
  219. "hover"
  220. ],
  221. "description": "Specifies the type of blame annotations that will be shown for the current line\n `trailing` - adds an annotation to the end of the current line\n `hover` - shows annotations when hovering over the current line"
  222. },
  223. "gitlens.recentChanges.file.lineHighlight.locations": {
  224. "type": "array",
  225. "default": [
  226. "gutter",
  227. "line",
  228. "overviewRuler"
  229. ],
  230. "items": {
  231. "type": "string",
  232. "enum": [
  233. "gutter",
  234. "line",
  235. "overviewRuler"
  236. ]
  237. },
  238. "minItems": 1,
  239. "maxItems": 3,
  240. "uniqueItems": true,
  241. "description": "Specifies where the highlights of the recently changed lines will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)"
  242. },
  243. "gitlens.codeLens.enabled": {
  244. "type": "boolean",
  245. "default": true,
  246. "description": "Specifies whether or not to provide any Git code lens, by default\nUse the `gitlens.toggleCodeLens` command to toggle the Git code lens on and off for the current session"
  247. },
  248. "gitlens.codeLens.recentChange.enabled": {
  249. "type": "boolean",
  250. "default": true,
  251. "description": "Specifies whether or not to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block"
  252. },
  253. "gitlens.codeLens.recentChange.command": {
  254. "type": "string",
  255. "default": "gitlens.showQuickCommitFileDetails",
  256. "enum": [
  257. "gitlens.toggleFileBlame",
  258. "gitlens.diffWithPrevious",
  259. "gitlens.showQuickCommitDetails",
  260. "gitlens.showQuickCommitFileDetails",
  261. "gitlens.showQuickFileHistory",
  262. "gitlens.showQuickRepoHistory"
  263. ],
  264. "description": "Specifies the command to be executed when the `recent change` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  265. },
  266. "gitlens.codeLens.authors.enabled": {
  267. "type": "boolean",
  268. "default": true,
  269. "description": "Specifies whether or not to show an `authors` code lens showing number of authors of the file or code block and the most prominent author (if there is more than one)"
  270. },
  271. "gitlens.codeLens.authors.command": {
  272. "type": "string",
  273. "default": "gitlens.toggleFileBlame",
  274. "enum": [
  275. "gitlens.toggleFileBlame",
  276. "gitlens.diffWithPrevious",
  277. "gitlens.showQuickCommitDetails",
  278. "gitlens.showQuickCommitFileDetails",
  279. "gitlens.showQuickFileHistory",
  280. "gitlens.showQuickRepoHistory"
  281. ],
  282. "description": "Specifies the command to be executed when the `authors` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  283. },
  284. "gitlens.codeLens.locations": {
  285. "type": "array",
  286. "default": [
  287. "document",
  288. "containers"
  289. ],
  290. "items": {
  291. "type": "string",
  292. "enum": [
  293. "document",
  294. "containers",
  295. "blocks",
  296. "custom"
  297. ]
  298. },
  299. "minItems": 1,
  300. "maxItems": 4,
  301. "uniqueItems": true,
  302. "description": "Specifies where Git code lens will be shown in the document\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines\n `custom` - adds code lens at the start of symbols contained in `gitlens.codeLens.locationCustomSymbols`"
  303. },
  304. "gitlens.codeLens.customLocationSymbols": {
  305. "type": "array",
  306. "items": {
  307. "type": "string"
  308. },
  309. "uniqueItems": true,
  310. "description": "Specifies the set of document symbols where Git code lens will be shown in the document\nMust be a member of `SymbolKind`"
  311. },
  312. "gitlens.codeLens.perLanguageLocations": {
  313. "type": "array",
  314. "default": [
  315. {
  316. "language": "css",
  317. "locations": [
  318. "document"
  319. ]
  320. },
  321. {
  322. "language": "html",
  323. "locations": [
  324. "document"
  325. ]
  326. },
  327. {
  328. "language": "json",
  329. "locations": [
  330. "document"
  331. ]
  332. },
  333. {
  334. "language": "less",
  335. "locations": [
  336. "document"
  337. ]
  338. },
  339. {
  340. "language": "scss",
  341. "locations": [
  342. "document"
  343. ]
  344. },
  345. {
  346. "language": "vue",
  347. "locations": [
  348. "document"
  349. ]
  350. },
  351. {
  352. "language": "stylus",
  353. "locations": [
  354. "document"
  355. ]
  356. }
  357. ],
  358. "items": {
  359. "type": "object",
  360. "required": [
  361. "language",
  362. "locations"
  363. ],
  364. "properties": {
  365. "language": {
  366. "type": "string",
  367. "description": "Specifies the language to which this code lens override applies"
  368. },
  369. "locations": {
  370. "type": "array",
  371. "default": [
  372. "document",
  373. "containers"
  374. ],
  375. "items": {
  376. "type": "string",
  377. "enum": [
  378. "document",
  379. "containers",
  380. "blocks",
  381. "custom"
  382. ]
  383. },
  384. "minItems": 1,
  385. "maxItems": 4,
  386. "uniqueItems": true,
  387. "description": "Specifies where Git code lens will be shown in the document for the specified language\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines\n `custom` - adds code lens at the start of symbols contained in `customSymbols`"
  388. },
  389. "customSymbols": {
  390. "type": "array",
  391. "items": {
  392. "type": "string"
  393. },
  394. "uniqueItems": true,
  395. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language\nMust be a member of `SymbolKind`"
  396. }
  397. }
  398. },
  399. "uniqueItems": true,
  400. "description": "Specifies where Git code lens will be shown in the document for the specified languages"
  401. },
  402. "gitlens.codeLens.debug": {
  403. "type": "boolean",
  404. "default": false,
  405. "description": "Specifies whether or not to show debug information in code lens"
  406. },
  407. "gitlens.defaultDateFormat": {
  408. "type": "string",
  409. "default": null,
  410. "description": "Specifies how all absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  411. },
  412. "gitlens.gitExplorer.commitFormat": {
  413. "type": "string",
  414. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0 (${id})",
  415. "description": "Specifies the format of committed changes in the `GitLens` custom view\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  416. },
  417. "gitlens.gitExplorer.commitFileFormat": {
  418. "type": "string",
  419. "default": "${filePath}",
  420. "description": "Specifies the format of a committed file in the `GitLens` custom view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path"
  421. },
  422. "gitlens.gitExplorer.enabled": {
  423. "type": "boolean",
  424. "default": true,
  425. "description": "Specifies whether or not to show the `GitLens` custom view"
  426. },
  427. "gitlens.gitExplorer.files.layout": {
  428. "type": "string",
  429. "default": "auto",
  430. "enum": [
  431. "auto",
  432. "list",
  433. "tree"
  434. ],
  435. "description": "Specifies how the `GitLens` custom view will display files\n `auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.gitExplorer.files.threshold` setting and the number of files at each nesting level\n `list` - displays files as a list\n `tree` - displays files as a tree"
  436. },
  437. "gitlens.gitExplorer.files.compact": {
  438. "type": "boolean",
  439. "default": true,
  440. "description": "Specifies whether or not to compact (flatten) unnecessary file nesting in the `GitLens` custom view\nOnly applies when displaying files as a `tree` or `auto`"
  441. },
  442. "gitlens.gitExplorer.files.threshold": {
  443. "type": "number",
  444. "default": 5,
  445. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens` custom view\nOnly applies when displaying files as `auto`"
  446. },
  447. "gitlens.gitExplorer.includeWorkingTree": {
  448. "type": "boolean",
  449. "default": true,
  450. "description": "Specifies whether or not to include working tree files inside the `Repository Status` node of the `GitLens` custom view"
  451. },
  452. "gitlens.gitExplorer.showTrackingBranch": {
  453. "type": "boolean",
  454. "default": true,
  455. "description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` custom view"
  456. },
  457. "gitlens.gitExplorer.stashFormat": {
  458. "type": "string",
  459. "default": "${message}",
  460. "description": "Specifies the format of stashed changes in the `GitLens` custom view\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  461. },
  462. "gitlens.gitExplorer.stashFileFormat": {
  463. "type": "string",
  464. "default": "${filePath}",
  465. "description": "Specifies the format of a stashed file in the `GitLens` custom view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path"
  466. },
  467. "gitlens.gitExplorer.statusFileFormat": {
  468. "type": "string",
  469. "default": "${working}${filePath}",
  470. "description": "Specifies the format of the status of a working or committed file in the `GitLens` custom view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path\n ${working} - optional indicator if the file is uncommitted"
  471. },
  472. "gitlens.gitExplorer.view": {
  473. "type": "string",
  474. "default": "auto",
  475. "enum": [
  476. "auto",
  477. "history",
  478. "repository"
  479. ],
  480. "description": "Specifies the starting view (mode) of the `GitLens` custom view\n `auto` - shows the last selected view, defaults to `repository`\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer"
  481. },
  482. "gitlens.remotes": {
  483. "type": "array",
  484. "default": null,
  485. "items": {
  486. "type": "object",
  487. "required": [
  488. "type",
  489. "domain"
  490. ],
  491. "properties": {
  492. "type": {
  493. "type": "string",
  494. "enum": [
  495. "Bitbucket",
  496. "BitbucketServer",
  497. "Custom",
  498. "GitHub",
  499. "GitLab"
  500. ],
  501. "description": "Specifies the type of the custom remote service\n `Bitbucket`, `BitbucketServer`, `GitHub`, or `GitLab`"
  502. },
  503. "domain": {
  504. "type": "string",
  505. "description": "Specifies the domain name of the custom remote service"
  506. },
  507. "name": {
  508. "type": "string",
  509. "description": "Specifies an optional friendly name for the custom remote service"
  510. },
  511. "urls": {
  512. "type": "object",
  513. "required": [
  514. "repository",
  515. "branches",
  516. "branch",
  517. "commit",
  518. "file",
  519. "fileInCommit",
  520. "fileInBranch",
  521. "fileLine",
  522. "fileRange"
  523. ],
  524. "properties": {
  525. "repository": {
  526. "type": "string",
  527. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  528. },
  529. "branches": {
  530. "type": "string",
  531. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  532. },
  533. "branch": {
  534. "type": "string",
  535. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  536. },
  537. "commit": {
  538. "type": "string",
  539. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  540. },
  541. "file": {
  542. "type": "string",
  543. "description": "Specifies the format of a file url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${file} - file name\n ${line} - formatted line information"
  544. },
  545. "fileInBranch": {
  546. "type": "string",
  547. "description": "Specifies the format of a branch file url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${file} - file name\n ${branch} - branch\n ${line} - formatted line information"
  548. },
  549. "fileInCommit": {
  550. "type": "string",
  551. "description": "Specifies the format of a commit file url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${file} - file name\n ${id} - commit id\n ${line} - formatted line information"
  552. },
  553. "fileLine": {
  554. "type": "string",
  555. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  556. },
  557. "fileRange": {
  558. "type": "string",
  559. "description": "Specifies the format of a range in a file url for the custom remote service\nAvailable tokens\n ${start} - starting line\n ${end} - ending line"
  560. }
  561. }
  562. },
  563. "description": "Specifies the url formats of the custom remote service"
  564. }
  565. },
  566. "uniqueItems": true,
  567. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services"
  568. },
  569. "gitlens.statusBar.enabled": {
  570. "type": "boolean",
  571. "default": true,
  572. "description": "Specifies whether or not to provide blame information on the status bar"
  573. },
  574. "gitlens.statusBar.alignment": {
  575. "type": "string",
  576. "default": "right",
  577. "enum": [
  578. "left",
  579. "right"
  580. ],
  581. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  582. },
  583. "gitlens.statusBar.command": {
  584. "type": "string",
  585. "default": "gitlens.showQuickCommitDetails",
  586. "enum": [
  587. "gitlens.toggleFileBlame",
  588. "gitlens.diffWithPrevious",
  589. "gitlens.diffWithWorking",
  590. "gitlens.toggleCodeLens",
  591. "gitlens.showQuickCommitDetails",
  592. "gitlens.showQuickCommitFileDetails",
  593. "gitlens.showQuickFileHistory",
  594. "gitlens.showQuickRepoHistory"
  595. ],
  596. "description": "Specifies the command to be executed when the blame status bar item is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current line commit with the previous\n `gitlens.diffWithWorking` - compares the current line commit with the working tree\n `gitlens.toggleCodeLens` - toggles Git code lens\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick"
  597. },
  598. "gitlens.statusBar.format": {
  599. "type": "string",
  600. "default": "${authorAgo}",
  601. "description": "Specifies the format of the status bar blame information\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  602. },
  603. "gitlens.statusBar.dateFormat": {
  604. "type": "string",
  605. "default": null,
  606. "description": "Specifies the date format of absolute dates shown in the blame information on the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats"
  607. },
  608. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  609. "type": "string",
  610. "default": "Cannot determine recent change or authors (unsaved changes)",
  611. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes"
  612. },
  613. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  614. "type": "string",
  615. "default": "Cannot determine recent change (unsaved changes)",
  616. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes"
  617. },
  618. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  619. "type": "string",
  620. "default": "Cannot determine authors (unsaved changes)",
  621. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes"
  622. },
  623. "gitlens.theme.annotations.file.gutter.separateLines": {
  624. "type": "boolean",
  625. "default": true,
  626. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  627. },
  628. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  629. "type": "string",
  630. "default": "rgba(255, 255, 255, 0.075)",
  631. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  632. },
  633. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  634. "type": "string",
  635. "default": "rgba(0, 0, 0, 0.05)",
  636. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  637. },
  638. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  639. "type": "string",
  640. "default": "rgb(190, 190, 190)",
  641. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  642. },
  643. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  644. "type": "string",
  645. "default": "rgb(116, 116, 116)",
  646. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  647. },
  648. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  649. "type": "string",
  650. "default": "rgba(0, 188, 242, 0.6)",
  651. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  652. },
  653. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  654. "type": "string",
  655. "default": "rgba(0, 188, 242, 0.6)",
  656. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  657. },
  658. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  659. "type": "string",
  660. "default": null,
  661. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  662. },
  663. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  664. "type": "string",
  665. "default": null,
  666. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  667. },
  668. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  669. "type": "string",
  670. "default": "rgba(153, 153, 153, 0.35)",
  671. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  672. },
  673. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  674. "type": "string",
  675. "default": "rgba(153, 153, 153, 0.35)",
  676. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  677. },
  678. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  679. "type": "string",
  680. "default": "rgba(0, 188, 242, 0.2)",
  681. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  682. },
  683. "gitlens.theme.lineHighlight.light.backgroundColor": {
  684. "type": "string",
  685. "default": "rgba(0, 188, 242, 0.2)",
  686. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  687. },
  688. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  689. "type": "string",
  690. "default": "rgba(0, 188, 242, 0.6)",
  691. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  692. },
  693. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  694. "type": "string",
  695. "default": "rgba(0, 188, 242, 0.6)",
  696. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  697. },
  698. "gitlens.advanced.caching.enabled": {
  699. "type": "boolean",
  700. "default": true,
  701. "description": "Specifies whether git output will be cached"
  702. },
  703. "gitlens.advanced.caching.maxLines": {
  704. "type": "number",
  705. "default": 0,
  706. "description": "Specifies the threshold for caching larger documents"
  707. },
  708. "gitlens.advanced.git": {
  709. "type": "string",
  710. "default": null,
  711. "description": "Specifies the git path to use"
  712. },
  713. "gitlens.advanced.gitignore.enabled": {
  714. "type": "boolean",
  715. "default": true,
  716. "description": "Specifies whether or not to parse the root .gitignore file for better performance (i.e. avoids blaming excluded files)"
  717. },
  718. "gitlens.advanced.maxQuickHistory": {
  719. "type": "number",
  720. "default": 200,
  721. "description": "Specifies the maximum number of QuickPick history entries to show"
  722. },
  723. "gitlens.advanced.menus": {
  724. "type": "object",
  725. "default": {
  726. "editorContext": {
  727. "blame": true,
  728. "copy": true,
  729. "details": true,
  730. "fileDiff": true,
  731. "history": true,
  732. "lineDiff": true,
  733. "remote": true
  734. },
  735. "editorTitle": {
  736. "blame": true,
  737. "fileDiff": false,
  738. "history": false,
  739. "remote": false,
  740. "status": false
  741. },
  742. "editorTitleContext": {
  743. "blame": false,
  744. "fileDiff": false,
  745. "history": false,
  746. "remote": false
  747. },
  748. "explorerContext": {
  749. "fileDiff": true,
  750. "history": true,
  751. "remote": true
  752. }
  753. },
  754. "description": "Specifies which commands will be added to which menus",
  755. "properties": {
  756. "editorContext": {
  757. "type": "object",
  758. "default": {
  759. "blame": true,
  760. "copy": true,
  761. "details": true,
  762. "fileDiff": true,
  763. "history": true,
  764. "lineDiff": true,
  765. "remote": true
  766. },
  767. "properties": {
  768. "blame": {
  769. "type": "boolean",
  770. "default": true
  771. },
  772. "copy": {
  773. "type": "boolean",
  774. "default": true
  775. },
  776. "details": {
  777. "type": "boolean",
  778. "default": true
  779. },
  780. "fileDiff": {
  781. "type": "boolean",
  782. "default": true
  783. },
  784. "history": {
  785. "type": "boolean",
  786. "default": true
  787. },
  788. "lineDiff": {
  789. "type": "boolean",
  790. "default": true
  791. },
  792. "remote": {
  793. "type": "boolean",
  794. "default": true
  795. }
  796. }
  797. },
  798. "editorTitle": {
  799. "type": "object",
  800. "default": {
  801. "blame": true,
  802. "fileDiff": true,
  803. "history": true,
  804. "remote": true,
  805. "status": true
  806. },
  807. "properties": {
  808. "blame": {
  809. "type": "boolean",
  810. "default": true
  811. },
  812. "fileDiff": {
  813. "type": "boolean",
  814. "default": true
  815. },
  816. "history": {
  817. "type": "boolean",
  818. "default": true
  819. },
  820. "remote": {
  821. "type": "boolean",
  822. "default": true
  823. },
  824. "status": {
  825. "type": "boolean",
  826. "default": true
  827. }
  828. }
  829. },
  830. "editorTitleContext": {
  831. "type": "object",
  832. "default": {
  833. "blame": true,
  834. "fileDiff": true,
  835. "history": true,
  836. "remote": true
  837. },
  838. "properties": {
  839. "blame": {
  840. "type": "boolean",
  841. "default": true
  842. },
  843. "fileDiff": {
  844. "type": "boolean",
  845. "default": true
  846. },
  847. "history": {
  848. "type": "boolean",
  849. "default": true
  850. },
  851. "remote": {
  852. "type": "boolean",
  853. "default": true
  854. }
  855. }
  856. },
  857. "explorerContext": {
  858. "type": "object",
  859. "default": {
  860. "fileDiff": true,
  861. "history": true,
  862. "remote": true
  863. },
  864. "properties": {
  865. "fileDiff": {
  866. "type": "boolean",
  867. "default": true
  868. },
  869. "history": {
  870. "type": "boolean",
  871. "default": true
  872. },
  873. "remote": {
  874. "type": "boolean",
  875. "default": true
  876. }
  877. }
  878. }
  879. }
  880. },
  881. "gitlens.advanced.quickPick.closeOnFocusOut": {
  882. "type": "boolean",
  883. "default": true,
  884. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  885. },
  886. "gitlens.advanced.telemetry.enabled": {
  887. "type": "boolean",
  888. "default": true,
  889. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting"
  890. }
  891. }
  892. },
  893. "commands": [
  894. {
  895. "command": "gitlens.diffDirectory",
  896. "title": "Directory Compare",
  897. "category": "GitLens"
  898. },
  899. {
  900. "command": "gitlens.diffWith",
  901. "title": "Compare File Revisions",
  902. "category": "GitLens"
  903. },
  904. {
  905. "command": "gitlens.diffWithBranch",
  906. "title": "Compare File with Branch...",
  907. "category": "GitLens"
  908. },
  909. {
  910. "command": "gitlens.diffWithNext",
  911. "title": "Compare File with Next Revision",
  912. "category": "GitLens"
  913. },
  914. {
  915. "command": "gitlens.diffWithPrevious",
  916. "title": "Compare File with Previous Revision",
  917. "category": "GitLens"
  918. },
  919. {
  920. "command": "gitlens.diffLineWithPrevious",
  921. "title": "Compare Line Revision with Previous",
  922. "category": "GitLens"
  923. },
  924. {
  925. "command": "gitlens.diffWithRevision",
  926. "title": "Compare File with Revision...",
  927. "category": "GitLens"
  928. },
  929. {
  930. "command": "gitlens.diffWithWorking",
  931. "title": "Compare File with Working Revision",
  932. "category": "GitLens"
  933. },
  934. {
  935. "command": "gitlens.diffLineWithWorking",
  936. "title": "Compare Line Revision with Working",
  937. "category": "GitLens"
  938. },
  939. {
  940. "command": "gitlens.showFileBlame",
  941. "title": "Show File Blame Annotations",
  942. "category": "GitLens"
  943. },
  944. {
  945. "command": "gitlens.showLineBlame",
  946. "title": "Show Line Blame Annotations",
  947. "category": "GitLens"
  948. },
  949. {
  950. "command": "gitlens.toggleFileBlame",
  951. "title": "Toggle File Blame Annotations",
  952. "category": "GitLens",
  953. "icon": {
  954. "dark": "images/dark/git-icon.svg",
  955. "light": "images/light/git-icon.svg"
  956. }
  957. },
  958. {
  959. "command": "gitlens.clearFileAnnotations",
  960. "title": "Clear File Annotations",
  961. "category": "GitLens",
  962. "icon": {
  963. "dark": "images/dark/git-icon-orange.svg",
  964. "light": "images/light/git-icon-orange.svg"
  965. }
  966. },
  967. {
  968. "command": "gitlens.computingFileAnnotations",
  969. "title": "Computing File Annotations...",
  970. "category": "GitLens",
  971. "icon": {
  972. "dark": "images/dark/git-icon-progress.svg",
  973. "light": "images/light/git-icon-progress.svg"
  974. }
  975. },
  976. {
  977. "command": "gitlens.toggleFileRecentChanges",
  978. "title": "Toggle Recent File Changes Annotations",
  979. "category": "GitLens",
  980. "icon": {
  981. "dark": "images/dark/git-icon.svg",
  982. "light": "images/light/git-icon.svg"
  983. }
  984. },
  985. {
  986. "command": "gitlens.toggleLineBlame",
  987. "title": "Toggle Line Blame Annotations",
  988. "category": "GitLens"
  989. },
  990. {
  991. "command": "gitlens.toggleCodeLens",
  992. "title": "Toggle Git Code Lens",
  993. "category": "GitLens"
  994. },
  995. {
  996. "command": "gitlens.showCommitSearch",
  997. "title": "Search Commits",
  998. "category": "GitLens",
  999. "icon": {
  1000. "dark": "images/dark/icon-search.svg",
  1001. "light": "images/light/icon-search.svg"
  1002. }
  1003. },
  1004. {
  1005. "command": "gitlens.showLastQuickPick",
  1006. "title": "Show Last Opened Quick Pick",
  1007. "category": "GitLens"
  1008. },
  1009. {
  1010. "command": "gitlens.showQuickCommitDetails",
  1011. "title": "Show Commit Details",
  1012. "category": "GitLens"
  1013. },
  1014. {
  1015. "command": "gitlens.showQuickCommitFileDetails",
  1016. "title": "Show Commit File Details",
  1017. "category": "GitLens"
  1018. },
  1019. {
  1020. "command": "gitlens.showQuickFileHistory",
  1021. "title": "Show File History",
  1022. "category": "GitLens"
  1023. },
  1024. {
  1025. "command": "gitlens.showQuickBranchHistory",
  1026. "title": "Show Branch History",
  1027. "category": "GitLens"
  1028. },
  1029. {
  1030. "command": "gitlens.showQuickRepoHistory",
  1031. "title": "Show Current Branch History",
  1032. "category": "GitLens"
  1033. },
  1034. {
  1035. "command": "gitlens.showQuickRepoStatus",
  1036. "title": "Show Repository Status",
  1037. "category": "GitLens"
  1038. },
  1039. {
  1040. "command": "gitlens.showQuickStashList",
  1041. "title": "Show Stashed Changes",
  1042. "category": "GitLens"
  1043. },
  1044. {
  1045. "command": "gitlens.copyShaToClipboard",
  1046. "title": "Copy Commit ID to Clipboard",
  1047. "category": "GitLens"
  1048. },
  1049. {
  1050. "command": "gitlens.copyMessageToClipboard",
  1051. "title": "Copy Commit Message to Clipboard",
  1052. "category": "GitLens"
  1053. },
  1054. {
  1055. "command": "gitlens.closeUnchangedFiles",
  1056. "title": "Close Unchanged Files",
  1057. "category": "GitLens"
  1058. },
  1059. {
  1060. "command": "gitlens.openChangedFiles",
  1061. "title": "Open Changed Files",
  1062. "category": "GitLens"
  1063. },
  1064. {
  1065. "command": "gitlens.openBranchesInRemote",
  1066. "title": "Open Branches in Remote",
  1067. "category": "GitLens"
  1068. },
  1069. {
  1070. "command": "gitlens.openBranchInRemote",
  1071. "title": "Open Branch in Remote",
  1072. "category": "GitLens"
  1073. },
  1074. {
  1075. "command": "gitlens.openCommitInRemote",
  1076. "title": "Open Commit in Remote",
  1077. "category": "GitLens"
  1078. },
  1079. {
  1080. "command": "gitlens.openFileInRemote",
  1081. "title": "Open File in Remote",
  1082. "category": "GitLens"
  1083. },
  1084. {
  1085. "command": "gitlens.openRepoInRemote",
  1086. "title": "Open Repository in Remote",
  1087. "category": "GitLens"
  1088. },
  1089. {
  1090. "command": "gitlens.stashApply",
  1091. "title": "Apply Stashed Changes",
  1092. "category": "GitLens"
  1093. },
  1094. {
  1095. "command": "gitlens.stashDelete",
  1096. "title": "Delete Stashed Changes",
  1097. "category": "GitLens"
  1098. },
  1099. {
  1100. "command": "gitlens.stashSave",
  1101. "title": "Stash Changes",
  1102. "category": "GitLens",
  1103. "icon": {
  1104. "dark": "images/dark/icon-add.svg",
  1105. "light": "images/light/icon-add.svg"
  1106. }
  1107. },
  1108. {
  1109. "command": "gitlens.externalDiff",
  1110. "title": "Open Changes (with difftool)",
  1111. "category": "GitLens"
  1112. },
  1113. {
  1114. "command": "gitlens.resetSuppressedWarnings",
  1115. "title": "Reset Suppressed Warnings",
  1116. "category": "GitLens"
  1117. },
  1118. {
  1119. "command": "gitlens.gitExplorer.refresh",
  1120. "title": "Refresh",
  1121. "category": "GitLens",
  1122. "icon": {
  1123. "dark": "images/dark/icon-refresh.svg",
  1124. "light": "images/light/icon-refresh.svg"
  1125. }
  1126. },
  1127. {
  1128. "command": "gitlens.gitExplorer.switchToHistoryView",
  1129. "title": "Switch to History View",
  1130. "category": "GitLens",
  1131. "icon": {
  1132. "dark": "images/dark/icon-history.svg",
  1133. "light": "images/light/icon-history.svg"
  1134. }
  1135. },
  1136. {
  1137. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1138. "title": "Switch to Repository View",
  1139. "category": "GitLens",
  1140. "icon": {
  1141. "dark": "images/dark/icon-repo.svg",
  1142. "light": "images/light/icon-repo.svg"
  1143. }
  1144. },
  1145. {
  1146. "command": "gitlens.gitExplorer.openChanges",
  1147. "title": "Open Changes",
  1148. "category": "GitLens"
  1149. },
  1150. {
  1151. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1152. "title": "Open Changes with Working Tree",
  1153. "category": "GitLens"
  1154. },
  1155. {
  1156. "command": "gitlens.gitExplorer.openFile",
  1157. "title": "Open File",
  1158. "category": "GitLens"
  1159. },
  1160. {
  1161. "command": "gitlens.gitExplorer.openFileRevision",
  1162. "title": "Open Revision",
  1163. "category": "GitLens"
  1164. },
  1165. {
  1166. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1167. "title": "Open Revision in Remote",
  1168. "category": "GitLens"
  1169. },
  1170. {
  1171. "command": "gitlens.gitExplorer.openChangedFiles",
  1172. "title": "Open Files",
  1173. "category": "GitLens"
  1174. },
  1175. {
  1176. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1177. "title": "Open All Changes",
  1178. "category": "GitLens"
  1179. },
  1180. {
  1181. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1182. "title": "Open All Changes with Working Tree",
  1183. "category": "GitLens"
  1184. },
  1185. {
  1186. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1187. "title": "Open Revisions",
  1188. "category": "GitLens"
  1189. },
  1190. {
  1191. "command": "gitlens.gitExplorer.applyChanges",
  1192. "title": "Apply Changes",
  1193. "category": "GitLens"
  1194. }
  1195. ],
  1196. "menus": {
  1197. "commandPalette": [
  1198. {
  1199. "command": "gitlens.diffDirectory",
  1200. "when": "gitlens:enabled"
  1201. },
  1202. {
  1203. "command": "gitlens.diffWith",
  1204. "when": "false"
  1205. },
  1206. {
  1207. "command": "gitlens.diffWithBranch",
  1208. "when": "gitlens:isTracked"
  1209. },
  1210. {
  1211. "command": "gitlens.diffWithNext",
  1212. "when": "gitlens:isTracked"
  1213. },
  1214. {
  1215. "command": "gitlens.diffWithPrevious",
  1216. "when": "gitlens:isTracked"
  1217. },
  1218. {
  1219. "command": "gitlens.diffLineWithPrevious",
  1220. "when": "gitlens:isBlameable"
  1221. },
  1222. {
  1223. "command": "gitlens.diffWithRevision",
  1224. "when": "gitlens:isTracked"
  1225. },
  1226. {
  1227. "command": "gitlens.diffWithWorking",
  1228. "when": "gitlens:isTracked"
  1229. },
  1230. {
  1231. "command": "gitlens.diffLineWithWorking",
  1232. "when": "gitlens:isBlameable"
  1233. },
  1234. {
  1235. "command": "gitlens.showFileBlame",
  1236. "when": "gitlens:isBlameable"
  1237. },
  1238. {
  1239. "command": "gitlens.showLineBlame",
  1240. "when": "gitlens:isBlameable"
  1241. },
  1242. {
  1243. "command": "gitlens.toggleFileBlame",
  1244. "when": "gitlens:isBlameable"
  1245. },
  1246. {
  1247. "command": "gitlens.clearFileAnnotations",
  1248. "when": "gitlens:annotationStatus == computed"
  1249. },
  1250. {
  1251. "command": "gitlens.computingFileAnnotations",
  1252. "when": "false"
  1253. },
  1254. {
  1255. "command": "gitlens.toggleFileRecentChanges",
  1256. "when": "gitlens:isTracked"
  1257. },
  1258. {
  1259. "command": "gitlens.toggleLineBlame",
  1260. "when": "gitlens:isBlameable"
  1261. },
  1262. {
  1263. "command": "gitlens.toggleCodeLens",
  1264. "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
  1265. },
  1266. {
  1267. "command": "gitlens.showLastQuickPick",
  1268. "when": "gitlens:enabled"
  1269. },
  1270. {
  1271. "command": "gitlens.showQuickCommitDetails",
  1272. "when": "gitlens:isBlameable"
  1273. },
  1274. {
  1275. "command": "gitlens.showQuickCommitFileDetails",
  1276. "when": "gitlens:isBlameable"
  1277. },
  1278. {
  1279. "command": "gitlens.showQuickFileHistory",
  1280. "when": "gitlens:isTracked"
  1281. },
  1282. {
  1283. "command": "gitlens.showQuickBranchHistory",
  1284. "when": "gitlens:enabled"
  1285. },
  1286. {
  1287. "command": "gitlens.showQuickRepoHistory",
  1288. "when": "gitlens:enabled"
  1289. },
  1290. {
  1291. "command": "gitlens.showQuickRepoStatus",
  1292. "when": "gitlens:enabled"
  1293. },
  1294. {
  1295. "command": "gitlens.showQuickStashList",
  1296. "when": "gitlens:enabled"
  1297. },
  1298. {
  1299. "command": "gitlens.copyShaToClipboard",
  1300. "when": "gitlens:isBlameable"
  1301. },
  1302. {
  1303. "command": "gitlens.copyMessageToClipboard",
  1304. "when": "gitlens:isBlameable"
  1305. },
  1306. {
  1307. "command": "gitlens.closeUnchangedFiles",
  1308. "when": "gitlens:enabled"
  1309. },
  1310. {
  1311. "command": "gitlens.openChangedFiles",
  1312. "when": "gitlens:enabled"
  1313. },
  1314. {
  1315. "command": "gitlens.openBranchesInRemote",
  1316. "when": "gitlens:hasRemotes"
  1317. },
  1318. {
  1319. "command": "gitlens.openBranchInRemote",
  1320. "when": "gitlens:hasRemotes"
  1321. },
  1322. {
  1323. "command": "gitlens.openCommitInRemote",
  1324. "when": "gitlens:isBlameable && gitlens:hasRemotes"
  1325. },
  1326. {
  1327. "command": "gitlens.openFileInRemote",
  1328. "when": "gitlens:isTracked && gitlens:hasRemotes"
  1329. },
  1330. {
  1331. "command": "gitlens.openRepoInRemote",
  1332. "when": "gitlens:hasRemotes"
  1333. },
  1334. {
  1335. "command": "gitlens.stashApply",
  1336. "when": "gitlens:enabled"
  1337. },
  1338. {
  1339. "command": "gitlens.stashSave",
  1340. "when": "gitlens:enabled"
  1341. },
  1342. {
  1343. "command": "gitlens.resetSuppressedWarnings",
  1344. "when": "gitlens:enabled"
  1345. },
  1346. {
  1347. "command": "gitlens.gitExplorer.refresh",
  1348. "when": "false"
  1349. },
  1350. {
  1351. "command": "gitlens.gitExplorer.switchToHistoryView",
  1352. "when": "gitlens:gitExplorer:view == repository"
  1353. },
  1354. {
  1355. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1356. "when": "gitlens:gitExplorer:view == history"
  1357. },
  1358. {
  1359. "command": "gitlens.gitExplorer.openChanges",
  1360. "when": "false"
  1361. },
  1362. {
  1363. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1364. "when": "false"
  1365. },
  1366. {
  1367. "command": "gitlens.gitExplorer.openFile",
  1368. "when": "false"
  1369. },
  1370. {
  1371. "command": "gitlens.gitExplorer.openFileRevision",
  1372. "when": "false"
  1373. },
  1374. {
  1375. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1376. "when": "false"
  1377. },
  1378. {
  1379. "command": "gitlens.gitExplorer.openChangedFiles",
  1380. "when": "false"
  1381. },
  1382. {
  1383. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1384. "when": "false"
  1385. },
  1386. {
  1387. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1388. "when": "false"
  1389. },
  1390. {
  1391. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1392. "when": "false"
  1393. },
  1394. {
  1395. "command": "gitlens.gitExplorer.applyChanges",
  1396. "when": "false"
  1397. }
  1398. ],
  1399. "editor/context": [
  1400. {
  1401. "command": "gitlens.openFileInRemote",
  1402. "when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1403. "group": "navigation@100"
  1404. },
  1405. {
  1406. "command": "gitlens.diffLineWithPrevious",
  1407. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1408. "group": "1_gitlens@1"
  1409. },
  1410. {
  1411. "command": "gitlens.diffLineWithWorking",
  1412. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1413. "group": "1_gitlens@2"
  1414. },
  1415. {
  1416. "command": "gitlens.showQuickCommitFileDetails",
  1417. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.details",
  1418. "group": "1_gitlens@3"
  1419. },
  1420. {
  1421. "command": "gitlens.diffWithPrevious",
  1422. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1423. "group": "1_gitlens_1@1"
  1424. },
  1425. {
  1426. "command": "gitlens.diffWithWorking",
  1427. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1428. "group": "1_gitlens_1@2"
  1429. },
  1430. {
  1431. "command": "gitlens.showQuickFileHistory",
  1432. "when": "gitlens:isTracked && config.gitlens.advanced.menus.editorContext.history",
  1433. "group": "3_gitlens@1"
  1434. },
  1435. {
  1436. "command": "gitlens.toggleFileBlame",
  1437. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1438. "group": "3_gitlens@2"
  1439. },
  1440. {
  1441. "command": "gitlens.copyShaToClipboard",
  1442. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1443. "group": "9_gitlens@1"
  1444. },
  1445. {
  1446. "command": "gitlens.copyMessageToClipboard",
  1447. "when": "editorTextFocus && gitlens:isBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1448. "group": "9_gitlens@2"
  1449. }
  1450. ],
  1451. "editor/title": [
  1452. {
  1453. "command": "gitlens.toggleFileBlame",
  1454. "alt": "gitlens.toggleFileRecentChanges",
  1455. "when": "gitlens:isBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1456. "group": "navigation@100"
  1457. },
  1458. {
  1459. "command": "gitlens.computingFileAnnotations",
  1460. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1461. "group": "navigation@100"
  1462. },
  1463. {
  1464. "command": "gitlens.clearFileAnnotations",
  1465. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1466. "group": "navigation@100"
  1467. },
  1468. {
  1469. "command": "gitlens.openFileInRemote",
  1470. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitle.remote",
  1471. "group": "1_gitlens"
  1472. },
  1473. {
  1474. "command": "gitlens.openRepoInRemote",
  1475. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitle.remote",
  1476. "group": "1_gitlens"
  1477. },
  1478. {
  1479. "command": "gitlens.diffWithPrevious",
  1480. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1481. "group": "2_gitlens"
  1482. },
  1483. {
  1484. "command": "gitlens.diffWithWorking",
  1485. "when": "editorTextFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1486. "group": "2_gitlens"
  1487. },
  1488. {
  1489. "command": "gitlens.showQuickFileHistory",
  1490. "when": "editorFocus && gitlens:isTracked && config.gitlens.advanced.menus.editorTitle.history",
  1491. "group": "2_gitlens_1"
  1492. },
  1493. {
  1494. "command": "gitlens.showQuickRepoHistory",
  1495. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1496. "group": "2_gitlens_1"
  1497. },
  1498. {
  1499. "command": "gitlens.showQuickRepoStatus",
  1500. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1501. "group": "2_gitlens_1"
  1502. }
  1503. ],
  1504. "editor/title/context": [
  1505. {
  1506. "command": "gitlens.openFileInRemote",
  1507. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1508. "group": "1_gitlens"
  1509. },
  1510. {
  1511. "command": "gitlens.diffWithPrevious",
  1512. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1513. "group": "1_gitlens_1@1"
  1514. },
  1515. {
  1516. "command": "gitlens.diffWithWorking",
  1517. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1518. "group": "1_gitlens_1@2"
  1519. },
  1520. {
  1521. "command": "gitlens.showQuickFileHistory",
  1522. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1523. "group": "1_gitlens_2@1"
  1524. },
  1525. {
  1526. "command": "gitlens.toggleFileBlame",
  1527. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1528. "group": "1_gitlens_2@2"
  1529. }
  1530. ],
  1531. "explorer/context": [
  1532. {
  1533. "command": "gitlens.openFileInRemote",
  1534. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  1535. "group": "navigation@100"
  1536. },
  1537. {
  1538. "command": "gitlens.diffWithPrevious",
  1539. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1540. "group": "1_gitlens@1"
  1541. },
  1542. {
  1543. "command": "gitlens.diffWithWorking",
  1544. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1545. "group": "1_gitlens@2"
  1546. },
  1547. {
  1548. "command": "gitlens.showQuickFileHistory",
  1549. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1550. "group": "1_gitlens_1@1"
  1551. }
  1552. ],
  1553. "scm/resourceGroup/context": [
  1554. {
  1555. "command": "gitlens.openChangedFiles",
  1556. "when": "gitlens:enabled",
  1557. "group": "2_gitlens@1"
  1558. },
  1559. {
  1560. "command": "gitlens.closeUnchangedFiles",
  1561. "when": "gitlens:enabled",
  1562. "group": "2_gitlens@2"
  1563. },
  1564. {
  1565. "command": "gitlens.externalDiff",
  1566. "when": "gitlens:enabled",
  1567. "group": "2_gitlens@3"
  1568. },
  1569. {
  1570. "command": "gitlens.stashSave",
  1571. "when": "gitlens:enabled",
  1572. "group": "3_gitlens@1"
  1573. }
  1574. ],
  1575. "scm/resourceState/context": [
  1576. {
  1577. "command": "gitlens.openFileInRemote",
  1578. "when": "gitlens:enabled && gitlens:hasRemotes",
  1579. "group": "navigation"
  1580. },
  1581. {
  1582. "command": "gitlens.externalDiff",
  1583. "when": "gitlens:enabled",
  1584. "group": "navigation"
  1585. },
  1586. {
  1587. "command": "gitlens.diffWithRevision",
  1588. "when": "gitlens:enabled",
  1589. "group": "1_gitlens@1"
  1590. },
  1591. {
  1592. "command": "gitlens.showQuickFileHistory",
  1593. "when": "gitlens:enabled",
  1594. "group": "1_gitlens_1@1"
  1595. },
  1596. {
  1597. "command": "gitlens.stashSave",
  1598. "when": "gitlens:enabled",
  1599. "group": "2_gitlens@1"
  1600. }
  1601. ],
  1602. "view/title": [
  1603. {
  1604. "command": "gitlens.showCommitSearch",
  1605. "when": "view == gitlens.gitExplorer",
  1606. "group": "navigation@1"
  1607. },
  1608. {
  1609. "command": "gitlens.gitExplorer.switchToHistoryView",
  1610. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1611. "group": "navigation@2"
  1612. },
  1613. {
  1614. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1615. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1616. "group": "navigation@3"
  1617. },
  1618. {
  1619. "command": "gitlens.gitExplorer.refresh",
  1620. "when": "view == gitlens.gitExplorer",
  1621. "group": "navigation@4"
  1622. }
  1623. ],
  1624. "view/item/context": [
  1625. {
  1626. "command": "gitlens.openBranchesInRemote",
  1627. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branches:remote",
  1628. "group": "1_gitlens@1"
  1629. },
  1630. {
  1631. "command": "gitlens.openBranchInRemote",
  1632. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:remote",
  1633. "group": "1_gitlens@1"
  1634. },
  1635. {
  1636. "command": "gitlens.openCommitInRemote",
  1637. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1638. "group": "1_gitlens@1"
  1639. },
  1640. {
  1641. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1642. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1643. "group": "2_gitlens@1"
  1644. },
  1645. {
  1646. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1647. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1648. "group": "2_gitlens@1"
  1649. },
  1650. {
  1651. "command": "gitlens.gitExplorer.openChangedFiles",
  1652. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1653. "group": "3_gitlens@1"
  1654. },
  1655. {
  1656. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1657. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1658. "group": "3_gitlens@2"
  1659. },
  1660. {
  1661. "command": "gitlens.copyShaToClipboard",
  1662. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1663. "group": "4_gitlens@1"
  1664. },
  1665. {
  1666. "command": "gitlens.copyMessageToClipboard",
  1667. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1668. "group": "4_gitlens@2"
  1669. },
  1670. {
  1671. "command": "gitlens.showQuickCommitDetails",
  1672. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1673. "group": "5_gitlens@1"
  1674. },
  1675. {
  1676. "command": "gitlens.gitExplorer.openChanges",
  1677. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1678. "group": "1_gitlens@1"
  1679. },
  1680. {
  1681. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1682. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1683. "group": "1_gitlens@2"
  1684. },
  1685. {
  1686. "command": "gitlens.gitExplorer.openFile",
  1687. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1688. "group": "2_gitlens@1"
  1689. },
  1690. {
  1691. "command": "gitlens.gitExplorer.openFileRevision",
  1692. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1693. "group": "2_gitlens@2"
  1694. },
  1695. {
  1696. "command": "gitlens.openFileInRemote",
  1697. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1698. "group": "3_gitlens@1"
  1699. },
  1700. {
  1701. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1702. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1703. "group": "3_gitlens@2"
  1704. },
  1705. {
  1706. "command": "gitlens.gitExplorer.applyChanges",
  1707. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1708. "group": "4_gitlens@1"
  1709. },
  1710. {
  1711. "command": "gitlens.showQuickFileHistory",
  1712. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  1713. "group": "5_gitlens@1"
  1714. },
  1715. {
  1716. "command": "gitlens.showQuickCommitFileDetails",
  1717. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1718. "group": "5_gitlens@2"
  1719. },
  1720. {
  1721. "command": "gitlens.gitExplorer.openFile",
  1722. "when": "view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1723. "group": "1_gitlens@1"
  1724. },
  1725. {
  1726. "command": "gitlens.openFileInRemote",
  1727. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1728. "group": "1_gitlens@2"
  1729. },
  1730. {
  1731. "command": "gitlens.openBranchesInRemote",
  1732. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1733. "group": "1_gitlens@1"
  1734. },
  1735. {
  1736. "command": "gitlens.openRepoInRemote",
  1737. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1738. "group": "1_gitlens@2"
  1739. },
  1740. {
  1741. "command": "gitlens.stashSave",
  1742. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stashes",
  1743. "group": "1_gitlens@1"
  1744. },
  1745. {
  1746. "command": "gitlens.stashApply",
  1747. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1748. "group": "1_gitlens@1"
  1749. },
  1750. {
  1751. "command": "gitlens.stashDelete",
  1752. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1753. "group": "1_gitlens@2"
  1754. },
  1755. {
  1756. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1757. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1758. "group": "2_gitlens@1"
  1759. },
  1760. {
  1761. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1762. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1763. "group": "2_gitlens@1"
  1764. },
  1765. {
  1766. "command": "gitlens.gitExplorer.openChangedFiles",
  1767. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1768. "group": "3_gitlens@1"
  1769. },
  1770. {
  1771. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1772. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1773. "group": "3_gitlens@2"
  1774. },
  1775. {
  1776. "command": "gitlens.copyMessageToClipboard",
  1777. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1778. "group": "4_gitlens@1"
  1779. },
  1780. {
  1781. "command": "gitlens.gitExplorer.applyChanges",
  1782. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1783. "group": "1_gitlens@1"
  1784. },
  1785. {
  1786. "command": "gitlens.gitExplorer.openChanges",
  1787. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1788. "group": "2_gitlens@1"
  1789. },
  1790. {
  1791. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1792. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1793. "group": "2_gitlens@2"
  1794. },
  1795. {
  1796. "command": "gitlens.gitExplorer.openFile",
  1797. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1798. "group": "3_gitlens@1"
  1799. },
  1800. {
  1801. "command": "gitlens.gitExplorer.openFileRevision",
  1802. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1803. "group": "3_gitlens@2"
  1804. },
  1805. {
  1806. "command": "gitlens.openFileInRemote",
  1807. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1808. "group": "4_gitlens@1"
  1809. },
  1810. {
  1811. "command": "gitlens.showQuickFileHistory",
  1812. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1813. "group": "5_gitlens@1"
  1814. },
  1815. {
  1816. "command": "gitlens.openRepoInRemote",
  1817. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status",
  1818. "group": "1_gitlens@1"
  1819. },
  1820. {
  1821. "command": "gitlens.gitExplorer.openChanges",
  1822. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1823. "group": "1_gitlens@1"
  1824. },
  1825. {
  1826. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1827. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1828. "group": "1_gitlens@2"
  1829. },
  1830. {
  1831. "command": "gitlens.gitExplorer.openFile",
  1832. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1833. "group": "2_gitlens@1"
  1834. },
  1835. {
  1836. "command": "gitlens.gitExplorer.openFileRevision",
  1837. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1838. "group": "2_gitlens@2"
  1839. },
  1840. {
  1841. "command": "gitlens.openFileInRemote",
  1842. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1843. "group": "3_gitlens@1"
  1844. },
  1845. {
  1846. "command": "gitlens.showQuickFileHistory",
  1847. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  1848. "group": "5_gitlens@1"
  1849. },
  1850. {
  1851. "command": "gitlens.showQuickCommitFileDetails",
  1852. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1853. "group": "5_gitlens@2"
  1854. },
  1855. {
  1856. "command": "gitlens.gitExplorer.openFile",
  1857. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file-commits",
  1858. "group": "1_gitlens@1"
  1859. },
  1860. {
  1861. "command": "gitlens.openFileInRemote",
  1862. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status-file-commits",
  1863. "group": "1_gitlens@2"
  1864. },
  1865. {
  1866. "command": "gitlens.gitExplorer.refresh",
  1867. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  1868. "group": "9_gitlens@1"
  1869. }
  1870. ]
  1871. },
  1872. "keybindings": [
  1873. {
  1874. "command": "gitlens.key.left",
  1875. "key": "alt+left",
  1876. "when": "gitlens:key:left"
  1877. },
  1878. {
  1879. "command": "gitlens.key.right",
  1880. "key": "alt+right",
  1881. "when": "gitlens:key:right"
  1882. },
  1883. {
  1884. "command": "gitlens.key.,",
  1885. "key": "alt+,",
  1886. "when": "gitlens:key:,"
  1887. },
  1888. {
  1889. "command": "gitlens.key..",
  1890. "key": "alt+.",
  1891. "when": "gitlens:key:."
  1892. },
  1893. {
  1894. "command": "gitlens.key.escape",
  1895. "key": "escape",
  1896. "when": "gitlens:key:escape"
  1897. },
  1898. {
  1899. "command": "gitlens.toggleFileBlame",
  1900. "key": "alt+b",
  1901. "when": "editorTextFocus && gitlens:isBlameable"
  1902. },
  1903. {
  1904. "command": "gitlens.toggleCodeLens",
  1905. "key": "shift+alt+b",
  1906. "when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens"
  1907. },
  1908. {
  1909. "command": "gitlens.showLastQuickPick",
  1910. "key": "alt+-",
  1911. "when": "gitlens:enabled"
  1912. },
  1913. {
  1914. "command": "gitlens.showCommitSearch",
  1915. "key": "alt+/",
  1916. "when": "gitlens:enabled"
  1917. },
  1918. {
  1919. "command": "gitlens.showQuickFileHistory",
  1920. "key": "alt+h",
  1921. "when": "gitlens:enabled"
  1922. },
  1923. {
  1924. "command": "gitlens.showQuickRepoHistory",
  1925. "key": "shift+alt+h",
  1926. "when": "gitlens:enabled"
  1927. },
  1928. {
  1929. "command": "gitlens.showQuickRepoStatus",
  1930. "key": "alt+s",
  1931. "when": "gitlens:enabled"
  1932. },
  1933. {
  1934. "command": "gitlens.showQuickCommitFileDetails",
  1935. "key": "alt+c",
  1936. "when": "editorTextFocus && gitlens:enabled"
  1937. },
  1938. {
  1939. "command": "gitlens.diffWithNext",
  1940. "key": "alt+.",
  1941. "when": "editorTextFocus && gitlens:isTracked"
  1942. },
  1943. {
  1944. "command": "gitlens.diffLineWithPrevious",
  1945. "key": "shift+alt+,",
  1946. "when": "editorTextFocus && gitlens:isTracked"
  1947. },
  1948. {
  1949. "command": "gitlens.diffWithPrevious",
  1950. "key": "alt+,",
  1951. "when": "editorTextFocus && gitlens:isTracked"
  1952. },
  1953. {
  1954. "command": "gitlens.diffLineWithWorking",
  1955. "key": "alt+w",
  1956. "when": "editorTextFocus && gitlens:isTracked"
  1957. },
  1958. {
  1959. "command": "gitlens.diffWithWorking",
  1960. "key": "shift+alt+w",
  1961. "when": "editorTextFocus && gitlens:isTracked"
  1962. }
  1963. ],
  1964. "views": {
  1965. "explorer": [
  1966. {
  1967. "id": "gitlens.gitExplorer",
  1968. "name": "GitLens",
  1969. "when": "gitlens:enabled && config.gitlens.gitExplorer.enabled"
  1970. }
  1971. ]
  1972. }
  1973. },
  1974. "activationEvents": [
  1975. "*"
  1976. ],
  1977. "scripts": {
  1978. "clean": "git clean -xdf",
  1979. "compile": "npm run lint && tsc -p ./",
  1980. "watch": "tsc -watch -p ./",
  1981. "lint": "tslint --project tslint.json",
  1982. "pack": "npm run clean && vsce package",
  1983. "postinstall": "node ./node_modules/vscode/bin/install",
  1984. "pub": "npm run clean && vsce publish",
  1985. "reset": "npm run clean && npm install",
  1986. "vscode:prepublish": "npm install --no-save && npm run compile",
  1987. "precommit": "npm run compile"
  1988. },
  1989. "dependencies": {
  1990. "applicationinsights": "0.21.0",
  1991. "copy-paste": "1.3.0",
  1992. "iconv-lite": "0.4.19",
  1993. "ignore": "3.3.5",
  1994. "lodash.debounce": "4.0.8",
  1995. "lodash.escaperegexp": "4.1.2",
  1996. "lodash.isequal": "4.5.0",
  1997. "lodash.once": "4.1.1",
  1998. "moment": "2.19.0",
  1999. "spawn-rx": "2.0.12",
  2000. "tmp": "0.0.33"
  2001. },
  2002. "devDependencies": {
  2003. "@types/copy-paste": "1.1.30",
  2004. "@types/iconv-lite": "0.0.1",
  2005. "@types/mocha": "2.2.43",
  2006. "@types/node": "8.0.34",
  2007. "@types/tmp": "0.0.33",
  2008. "husky": "^0.14.3",
  2009. "mocha": "4.0.1",
  2010. "tslint": "5.7.0",
  2011. "typescript": "2.5.3",
  2012. "vscode": "1.1.5"
  2013. }
  2014. }