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.

2124 lines
100 KiB

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