Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

2437 řádky
114 KiB

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