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.

2023 lines
96 KiB

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