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.

2431 lines
114 KiB

7 years ago
  1. {
  2. "name": "gitlens",
  3. "version": "6.0.0-beta3",
  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/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. "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 `gitlens.toggleLineBlame` command 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 `gitlens.toggleCodeLens` command 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` custom 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` 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",
  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` custom 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` custom 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` 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",
  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` custom 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` custom 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` custom 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` custom 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` 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",
  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` custom 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` 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",
  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` 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",
  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.telemetry.enabled": {
  984. "type": "boolean",
  985. "default": true,
  986. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  987. "scope": "window"
  988. }
  989. }
  990. },
  991. "commands": [
  992. {
  993. "command": "gitlens.diffDirectory",
  994. "title": "Compare Directory with Branch...",
  995. "category": "GitLens"
  996. },
  997. {
  998. "command": "gitlens.diffWith",
  999. "title": "Compare File Revisions",
  1000. "category": "GitLens"
  1001. },
  1002. {
  1003. "command": "gitlens.diffWithBranch",
  1004. "title": "Compare File with Branch...",
  1005. "category": "GitLens"
  1006. },
  1007. {
  1008. "command": "gitlens.diffWithNext",
  1009. "title": "Compare File with Next Revision",
  1010. "category": "GitLens"
  1011. },
  1012. {
  1013. "command": "gitlens.diffWithPrevious",
  1014. "title": "Compare File with Previous Revision",
  1015. "category": "GitLens"
  1016. },
  1017. {
  1018. "command": "gitlens.diffLineWithPrevious",
  1019. "title": "Compare Line Revision with Previous",
  1020. "category": "GitLens"
  1021. },
  1022. {
  1023. "command": "gitlens.diffWithRevision",
  1024. "title": "Compare File with Revision...",
  1025. "category": "GitLens"
  1026. },
  1027. {
  1028. "command": "gitlens.diffWithWorking",
  1029. "title": "Compare File with Working Revision",
  1030. "category": "GitLens"
  1031. },
  1032. {
  1033. "command": "gitlens.diffLineWithWorking",
  1034. "title": "Compare Line Revision with Working",
  1035. "category": "GitLens"
  1036. },
  1037. {
  1038. "command": "gitlens.showFileBlame",
  1039. "title": "Show File Blame Annotations",
  1040. "category": "GitLens"
  1041. },
  1042. {
  1043. "command": "gitlens.showLineBlame",
  1044. "title": "Show Line Blame Annotations",
  1045. "category": "GitLens"
  1046. },
  1047. {
  1048. "command": "gitlens.toggleFileBlame",
  1049. "title": "Toggle File Blame Annotations",
  1050. "category": "GitLens",
  1051. "icon": {
  1052. "dark": "images/dark/git-icon.svg",
  1053. "light": "images/light/git-icon.svg"
  1054. }
  1055. },
  1056. {
  1057. "command": "gitlens.clearFileAnnotations",
  1058. "title": "Clear File Annotations",
  1059. "category": "GitLens",
  1060. "icon": {
  1061. "dark": "images/dark/git-icon-orange.svg",
  1062. "light": "images/light/git-icon-orange.svg"
  1063. }
  1064. },
  1065. {
  1066. "command": "gitlens.computingFileAnnotations",
  1067. "title": "Computing File Annotations...",
  1068. "category": "GitLens",
  1069. "icon": {
  1070. "dark": "images/dark/git-icon-progress.svg",
  1071. "light": "images/light/git-icon-progress.svg"
  1072. }
  1073. },
  1074. {
  1075. "command": "gitlens.toggleFileRecentChanges",
  1076. "title": "Toggle Recent File Changes Annotations",
  1077. "category": "GitLens",
  1078. "icon": {
  1079. "dark": "images/dark/git-icon.svg",
  1080. "light": "images/light/git-icon.svg"
  1081. }
  1082. },
  1083. {
  1084. "command": "gitlens.toggleLineBlame",
  1085. "title": "Toggle Line Blame Annotations",
  1086. "category": "GitLens"
  1087. },
  1088. {
  1089. "command": "gitlens.toggleCodeLens",
  1090. "title": "Toggle Git Code Lens",
  1091. "category": "GitLens"
  1092. },
  1093. {
  1094. "command": "gitlens.showCommitSearch",
  1095. "title": "Search Commits",
  1096. "category": "GitLens",
  1097. "icon": {
  1098. "dark": "images/dark/icon-search.svg",
  1099. "light": "images/light/icon-search.svg"
  1100. }
  1101. },
  1102. {
  1103. "command": "gitlens.showLastQuickPick",
  1104. "title": "Show Last Opened Quick Pick",
  1105. "category": "GitLens"
  1106. },
  1107. {
  1108. "command": "gitlens.showQuickCommitDetails",
  1109. "title": "Show Commit Details",
  1110. "category": "GitLens"
  1111. },
  1112. {
  1113. "command": "gitlens.showQuickCommitFileDetails",
  1114. "title": "Show Commit File Details",
  1115. "category": "GitLens"
  1116. },
  1117. {
  1118. "command": "gitlens.showQuickFileHistory",
  1119. "title": "Show File History",
  1120. "category": "GitLens"
  1121. },
  1122. {
  1123. "command": "gitlens.showQuickBranchHistory",
  1124. "title": "Show Branch History",
  1125. "category": "GitLens"
  1126. },
  1127. {
  1128. "command": "gitlens.showQuickRepoHistory",
  1129. "title": "Show Current Branch History",
  1130. "category": "GitLens"
  1131. },
  1132. {
  1133. "command": "gitlens.showQuickRepoStatus",
  1134. "title": "Show Repository Status",
  1135. "category": "GitLens"
  1136. },
  1137. {
  1138. "command": "gitlens.showQuickStashList",
  1139. "title": "Show Stashed Changes",
  1140. "category": "GitLens"
  1141. },
  1142. {
  1143. "command": "gitlens.copyShaToClipboard",
  1144. "title": "Copy Commit ID to Clipboard",
  1145. "category": "GitLens"
  1146. },
  1147. {
  1148. "command": "gitlens.copyMessageToClipboard",
  1149. "title": "Copy Commit Message to Clipboard",
  1150. "category": "GitLens"
  1151. },
  1152. {
  1153. "command": "gitlens.closeUnchangedFiles",
  1154. "title": "Close Unchanged Files",
  1155. "category": "GitLens"
  1156. },
  1157. {
  1158. "command": "gitlens.openChangedFiles",
  1159. "title": "Open Changed Files",
  1160. "category": "GitLens"
  1161. },
  1162. {
  1163. "command": "gitlens.openBranchesInRemote",
  1164. "title": "Open Branches in Remote",
  1165. "category": "GitLens"
  1166. },
  1167. {
  1168. "command": "gitlens.openBranchInRemote",
  1169. "title": "Open Branch in Remote",
  1170. "category": "GitLens"
  1171. },
  1172. {
  1173. "command": "gitlens.openCommitInRemote",
  1174. "title": "Open Commit in Remote",
  1175. "category": "GitLens"
  1176. },
  1177. {
  1178. "command": "gitlens.openFileInRemote",
  1179. "title": "Open File in Remote",
  1180. "category": "GitLens"
  1181. },
  1182. {
  1183. "command": "gitlens.openRepoInRemote",
  1184. "title": "Open Repository in Remote",
  1185. "category": "GitLens"
  1186. },
  1187. {
  1188. "command": "gitlens.stashApply",
  1189. "title": "Apply Stashed Changes",
  1190. "category": "GitLens"
  1191. },
  1192. {
  1193. "command": "gitlens.stashDelete",
  1194. "title": "Delete Stashed Changes",
  1195. "category": "GitLens"
  1196. },
  1197. {
  1198. "command": "gitlens.stashSave",
  1199. "title": "Stash Changes",
  1200. "category": "GitLens",
  1201. "icon": {
  1202. "dark": "images/dark/icon-add.svg",
  1203. "light": "images/light/icon-add.svg"
  1204. }
  1205. },
  1206. {
  1207. "command": "gitlens.externalDiff",
  1208. "title": "Open Changes (with difftool)",
  1209. "category": "GitLens"
  1210. },
  1211. {
  1212. "command": "gitlens.externalDiffAll",
  1213. "title": "Open All Changes (with difftool)",
  1214. "category": "GitLens"
  1215. },
  1216. {
  1217. "command": "gitlens.resetSuppressedWarnings",
  1218. "title": "Reset Suppressed Warnings",
  1219. "category": "GitLens"
  1220. },
  1221. {
  1222. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1223. "title": "Enable Automatic Refresh",
  1224. "category": "GitLens"
  1225. },
  1226. {
  1227. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1228. "title": "Disable Automatic Refresh",
  1229. "category": "GitLens"
  1230. },
  1231. {
  1232. "command": "gitlens.gitExplorer.refresh",
  1233. "title": "Refresh",
  1234. "category": "GitLens",
  1235. "icon": {
  1236. "dark": "images/dark/icon-refresh.svg",
  1237. "light": "images/light/icon-refresh.svg"
  1238. }
  1239. },
  1240. {
  1241. "command": "gitlens.gitExplorer.refreshNode",
  1242. "title": "Refresh",
  1243. "category": "GitLens"
  1244. },
  1245. {
  1246. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1247. "title": "Show Files in Automatic View",
  1248. "category": "GitLens"
  1249. },
  1250. {
  1251. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1252. "title": "Show Files in List View",
  1253. "category": "GitLens"
  1254. },
  1255. {
  1256. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1257. "title": "Show Files in Tree View",
  1258. "category": "GitLens"
  1259. },
  1260. {
  1261. "command": "gitlens.gitExplorer.switchToHistoryView",
  1262. "title": "Switch to History View",
  1263. "category": "GitLens",
  1264. "icon": {
  1265. "dark": "images/dark/icon-history.svg",
  1266. "light": "images/light/icon-history.svg"
  1267. }
  1268. },
  1269. {
  1270. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1271. "title": "Switch to Repository View",
  1272. "category": "GitLens",
  1273. "icon": {
  1274. "dark": "images/dark/icon-repo.svg",
  1275. "light": "images/light/icon-repo.svg"
  1276. }
  1277. },
  1278. {
  1279. "command": "gitlens.gitExplorer.openChanges",
  1280. "title": "Open Changes",
  1281. "category": "GitLens"
  1282. },
  1283. {
  1284. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1285. "title": "Open Changes with Working Tree",
  1286. "category": "GitLens"
  1287. },
  1288. {
  1289. "command": "gitlens.gitExplorer.openFile",
  1290. "title": "Open File",
  1291. "category": "GitLens"
  1292. },
  1293. {
  1294. "command": "gitlens.gitExplorer.openFileRevision",
  1295. "title": "Open Revision",
  1296. "category": "GitLens"
  1297. },
  1298. {
  1299. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1300. "title": "Open Revision in Remote",
  1301. "category": "GitLens"
  1302. },
  1303. {
  1304. "command": "gitlens.gitExplorer.openChangedFiles",
  1305. "title": "Open Files",
  1306. "category": "GitLens"
  1307. },
  1308. {
  1309. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1310. "title": "Open All Changes",
  1311. "category": "GitLens"
  1312. },
  1313. {
  1314. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1315. "title": "Open All Changes with Working Tree",
  1316. "category": "GitLens"
  1317. },
  1318. {
  1319. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1320. "title": "Open Revisions",
  1321. "category": "GitLens"
  1322. },
  1323. {
  1324. "command": "gitlens.gitExplorer.applyChanges",
  1325. "title": "Apply Changes",
  1326. "category": "GitLens"
  1327. },
  1328. {
  1329. "command": "gitlens.gitExplorer.terminalCheckoutBranch",
  1330. "title": "Checkout Branch (via Terminal)",
  1331. "category": "GitLens"
  1332. },
  1333. {
  1334. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1335. "title": "Create Branch (via Terminal)...",
  1336. "category": "GitLens"
  1337. },
  1338. {
  1339. "command": "gitlens.gitExplorer.terminalDeleteBranch",
  1340. "title": "Delete Branch (via Terminal)",
  1341. "category": "GitLens"
  1342. },
  1343. {
  1344. "command": "gitlens.gitExplorer.terminalRebaseBranchToRemote",
  1345. "title": "Rebase Branch to Remote (via Terminal)",
  1346. "category": "GitLens"
  1347. },
  1348. {
  1349. "command": "gitlens.gitExplorer.terminalSquashBranchIntoCommit",
  1350. "title": "Squash Branch into Commit (via Terminal)",
  1351. "category": "GitLens"
  1352. },
  1353. {
  1354. "command": "gitlens.gitExplorer.terminalRebaseCommit",
  1355. "title": "Rebase Commit (via Terminal)",
  1356. "category": "GitLens"
  1357. },
  1358. {
  1359. "command": "gitlens.gitExplorer.terminalResetCommit",
  1360. "title": "Reset Commit (via Terminal)",
  1361. "category": "GitLens"
  1362. },
  1363. {
  1364. "command": "gitlens.gitExplorer.terminalRemoveRemote",
  1365. "title": "Remove Remote (via Terminal)",
  1366. "category": "GitLens"
  1367. }
  1368. ],
  1369. "menus": {
  1370. "commandPalette": [
  1371. {
  1372. "command": "gitlens.diffDirectory",
  1373. "when": "gitlens:enabled"
  1374. },
  1375. {
  1376. "command": "gitlens.diffWith",
  1377. "when": "false"
  1378. },
  1379. {
  1380. "command": "gitlens.diffWithBranch",
  1381. "when": "gitlens:activeIsTracked"
  1382. },
  1383. {
  1384. "command": "gitlens.diffWithNext",
  1385. "when": "gitlens:activeIsTracked"
  1386. },
  1387. {
  1388. "command": "gitlens.diffWithPrevious",
  1389. "when": "gitlens:activeIsTracked"
  1390. },
  1391. {
  1392. "command": "gitlens.diffLineWithPrevious",
  1393. "when": "gitlens:activeIsBlameable"
  1394. },
  1395. {
  1396. "command": "gitlens.diffWithRevision",
  1397. "when": "gitlens:activeIsTracked"
  1398. },
  1399. {
  1400. "command": "gitlens.diffWithWorking",
  1401. "when": "gitlens:activeIsTracked"
  1402. },
  1403. {
  1404. "command": "gitlens.diffLineWithWorking",
  1405. "when": "gitlens:activeIsBlameable"
  1406. },
  1407. {
  1408. "command": "gitlens.externalDiffAll",
  1409. "when": "gitlens:enabled"
  1410. },
  1411. {
  1412. "command": "gitlens.showFileBlame",
  1413. "when": "gitlens:activeIsBlameable"
  1414. },
  1415. {
  1416. "command": "gitlens.showLineBlame",
  1417. "when": "gitlens:activeIsBlameable"
  1418. },
  1419. {
  1420. "command": "gitlens.toggleFileBlame",
  1421. "when": "gitlens:activeIsBlameable"
  1422. },
  1423. {
  1424. "command": "gitlens.clearFileAnnotations",
  1425. "when": "gitlens:annotationStatus == computed"
  1426. },
  1427. {
  1428. "command": "gitlens.computingFileAnnotations",
  1429. "when": "false"
  1430. },
  1431. {
  1432. "command": "gitlens.toggleFileRecentChanges",
  1433. "when": "gitlens:activeIsTracked"
  1434. },
  1435. {
  1436. "command": "gitlens.toggleLineBlame",
  1437. "when": "gitlens:activeIsBlameable"
  1438. },
  1439. {
  1440. "command": "gitlens.toggleCodeLens",
  1441. "when": "gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  1442. },
  1443. {
  1444. "command": "gitlens.showLastQuickPick",
  1445. "when": "gitlens:enabled"
  1446. },
  1447. {
  1448. "command": "gitlens.showQuickCommitDetails",
  1449. "when": "gitlens:activeIsBlameable"
  1450. },
  1451. {
  1452. "command": "gitlens.showQuickCommitFileDetails",
  1453. "when": "gitlens:activeIsBlameable"
  1454. },
  1455. {
  1456. "command": "gitlens.showQuickFileHistory",
  1457. "when": "gitlens:activeIsTracked"
  1458. },
  1459. {
  1460. "command": "gitlens.showQuickBranchHistory",
  1461. "when": "gitlens:enabled"
  1462. },
  1463. {
  1464. "command": "gitlens.showQuickRepoHistory",
  1465. "when": "gitlens:enabled"
  1466. },
  1467. {
  1468. "command": "gitlens.showQuickRepoStatus",
  1469. "when": "gitlens:enabled"
  1470. },
  1471. {
  1472. "command": "gitlens.showQuickStashList",
  1473. "when": "gitlens:enabled"
  1474. },
  1475. {
  1476. "command": "gitlens.copyShaToClipboard",
  1477. "when": "gitlens:activeIsBlameable"
  1478. },
  1479. {
  1480. "command": "gitlens.copyMessageToClipboard",
  1481. "when": "gitlens:activeIsBlameable"
  1482. },
  1483. {
  1484. "command": "gitlens.closeUnchangedFiles",
  1485. "when": "gitlens:enabled"
  1486. },
  1487. {
  1488. "command": "gitlens.openChangedFiles",
  1489. "when": "gitlens:enabled"
  1490. },
  1491. {
  1492. "command": "gitlens.openBranchesInRemote",
  1493. "when": "gitlens:activeHasRemotes"
  1494. },
  1495. {
  1496. "command": "gitlens.openBranchInRemote",
  1497. "when": "gitlens:activeHasRemotes"
  1498. },
  1499. {
  1500. "command": "gitlens.openCommitInRemote",
  1501. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemotes"
  1502. },
  1503. {
  1504. "command": "gitlens.openFileInRemote",
  1505. "when": "gitlens:activeIsTracked && gitlens:activeHasRemotes"
  1506. },
  1507. {
  1508. "command": "gitlens.openRepoInRemote",
  1509. "when": "gitlens:activeHasRemotes"
  1510. },
  1511. {
  1512. "command": "gitlens.stashApply",
  1513. "when": "gitlens:enabled"
  1514. },
  1515. {
  1516. "command": "gitlens.stashSave",
  1517. "when": "gitlens:enabled"
  1518. },
  1519. {
  1520. "command": "gitlens.resetSuppressedWarnings",
  1521. "when": "gitlens:enabled"
  1522. },
  1523. {
  1524. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1525. "when": "false"
  1526. },
  1527. {
  1528. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1529. "when": "false"
  1530. },
  1531. {
  1532. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1533. "when": "false"
  1534. },
  1535. {
  1536. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1537. "when": "false"
  1538. },
  1539. {
  1540. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1541. "when": "false"
  1542. },
  1543. {
  1544. "command": "gitlens.gitExplorer.refresh",
  1545. "when": "false"
  1546. },
  1547. {
  1548. "command": "gitlens.gitExplorer.refreshNode",
  1549. "when": "false"
  1550. },
  1551. {
  1552. "command": "gitlens.gitExplorer.switchToHistoryView",
  1553. "when": "gitlens:gitExplorer:view == repository"
  1554. },
  1555. {
  1556. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1557. "when": "gitlens:gitExplorer:view == history"
  1558. },
  1559. {
  1560. "command": "gitlens.gitExplorer.openChanges",
  1561. "when": "false"
  1562. },
  1563. {
  1564. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1565. "when": "false"
  1566. },
  1567. {
  1568. "command": "gitlens.gitExplorer.openFile",
  1569. "when": "false"
  1570. },
  1571. {
  1572. "command": "gitlens.gitExplorer.openFileRevision",
  1573. "when": "false"
  1574. },
  1575. {
  1576. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1577. "when": "false"
  1578. },
  1579. {
  1580. "command": "gitlens.gitExplorer.openChangedFiles",
  1581. "when": "false"
  1582. },
  1583. {
  1584. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1585. "when": "false"
  1586. },
  1587. {
  1588. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1589. "when": "false"
  1590. },
  1591. {
  1592. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1593. "when": "false"
  1594. },
  1595. {
  1596. "command": "gitlens.gitExplorer.applyChanges",
  1597. "when": "false"
  1598. },
  1599. {
  1600. "command": "gitlens.gitExplorer.terminalCheckoutBranch",
  1601. "when": "false"
  1602. },
  1603. {
  1604. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1605. "when": "false"
  1606. },
  1607. {
  1608. "command": "gitlens.gitExplorer.terminalDeleteBranch",
  1609. "when": "false"
  1610. },
  1611. {
  1612. "command": "gitlens.gitExplorer.terminalRebaseBranchToRemote",
  1613. "when": "false"
  1614. },
  1615. {
  1616. "command": "gitlens.gitExplorer.terminalSquashBranchIntoCommit",
  1617. "when": "false"
  1618. },
  1619. {
  1620. "command": "gitlens.gitExplorer.terminalRebaseCommit",
  1621. "when": "false"
  1622. },
  1623. {
  1624. "command": "gitlens.gitExplorer.terminalResetCommit",
  1625. "when": "false"
  1626. },
  1627. {
  1628. "command": "gitlens.gitExplorer.terminalRemoveRemote",
  1629. "when": "false"
  1630. }
  1631. ],
  1632. "editor/context": [
  1633. {
  1634. "command": "gitlens.openFileInRemote",
  1635. "when": "editorTextFocus && gitlens:activeHasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1636. "group": "navigation@100"
  1637. },
  1638. {
  1639. "command": "gitlens.diffLineWithPrevious",
  1640. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1641. "group": "1_gitlens@1"
  1642. },
  1643. {
  1644. "command": "gitlens.diffLineWithWorking",
  1645. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1646. "group": "1_gitlens@2"
  1647. },
  1648. {
  1649. "command": "gitlens.showQuickCommitFileDetails",
  1650. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  1651. "group": "1_gitlens@3"
  1652. },
  1653. {
  1654. "command": "gitlens.diffWithPrevious",
  1655. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1656. "group": "1_gitlens_1@1"
  1657. },
  1658. {
  1659. "command": "gitlens.diffWithWorking",
  1660. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1661. "group": "1_gitlens_1@2"
  1662. },
  1663. {
  1664. "command": "gitlens.showQuickFileHistory",
  1665. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  1666. "group": "3_gitlens@1"
  1667. },
  1668. {
  1669. "command": "gitlens.toggleFileBlame",
  1670. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1671. "group": "3_gitlens@2"
  1672. },
  1673. {
  1674. "command": "gitlens.copyShaToClipboard",
  1675. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1676. "group": "9_gitlens@1"
  1677. },
  1678. {
  1679. "command": "gitlens.copyMessageToClipboard",
  1680. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1681. "group": "9_gitlens@2"
  1682. }
  1683. ],
  1684. "editor/title": [
  1685. {
  1686. "command": "gitlens.toggleFileBlame",
  1687. "alt": "gitlens.toggleFileRecentChanges",
  1688. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1689. "group": "navigation@100"
  1690. },
  1691. {
  1692. "command": "gitlens.computingFileAnnotations",
  1693. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1694. "group": "navigation@100"
  1695. },
  1696. {
  1697. "command": "gitlens.clearFileAnnotations",
  1698. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1699. "group": "navigation@100"
  1700. },
  1701. {
  1702. "command": "gitlens.openFileInRemote",
  1703. "when": "gitlens:enabled && gitlens:activeHasRemotes && config.gitlens.advanced.menus.editorTitle.remote",
  1704. "group": "1_gitlens"
  1705. },
  1706. {
  1707. "command": "gitlens.openRepoInRemote",
  1708. "when": "gitlens:enabled && gitlens:activeHasRemotes && config.gitlens.advanced.menus.editorTitle.remote",
  1709. "group": "1_gitlens"
  1710. },
  1711. {
  1712. "command": "gitlens.diffWithPrevious",
  1713. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1714. "group": "2_gitlens"
  1715. },
  1716. {
  1717. "command": "gitlens.diffWithWorking",
  1718. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1719. "group": "2_gitlens"
  1720. },
  1721. {
  1722. "command": "gitlens.showQuickFileHistory",
  1723. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  1724. "group": "2_gitlens_1"
  1725. },
  1726. {
  1727. "command": "gitlens.showQuickRepoHistory",
  1728. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1729. "group": "2_gitlens_1"
  1730. },
  1731. {
  1732. "command": "gitlens.showQuickRepoStatus",
  1733. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1734. "group": "2_gitlens_1"
  1735. }
  1736. ],
  1737. "editor/title/context": [
  1738. {
  1739. "command": "gitlens.openFileInRemote",
  1740. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1741. "group": "1_gitlens"
  1742. },
  1743. {
  1744. "command": "gitlens.diffWithPrevious",
  1745. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1746. "group": "1_gitlens_1@1"
  1747. },
  1748. {
  1749. "command": "gitlens.diffWithWorking",
  1750. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1751. "group": "1_gitlens_1@2"
  1752. },
  1753. {
  1754. "command": "gitlens.showQuickFileHistory",
  1755. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1756. "group": "1_gitlens_2@1"
  1757. },
  1758. {
  1759. "command": "gitlens.toggleFileBlame",
  1760. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1761. "group": "1_gitlens_2@2"
  1762. }
  1763. ],
  1764. "explorer/context": [
  1765. {
  1766. "command": "gitlens.openFileInRemote",
  1767. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  1768. "group": "navigation@100"
  1769. },
  1770. {
  1771. "command": "gitlens.diffWithPrevious",
  1772. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1773. "group": "1_gitlens@1"
  1774. },
  1775. {
  1776. "command": "gitlens.diffWithWorking",
  1777. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1778. "group": "1_gitlens@2"
  1779. },
  1780. {
  1781. "command": "gitlens.showQuickFileHistory",
  1782. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1783. "group": "1_gitlens_1@1"
  1784. }
  1785. ],
  1786. "scm/resourceGroup/context": [
  1787. {
  1788. "command": "gitlens.openChangedFiles",
  1789. "when": "gitlens:enabled",
  1790. "group": "2_gitlens@1"
  1791. },
  1792. {
  1793. "command": "gitlens.closeUnchangedFiles",
  1794. "when": "gitlens:enabled",
  1795. "group": "2_gitlens@2"
  1796. },
  1797. {
  1798. "command": "gitlens.externalDiff",
  1799. "when": "gitlens:enabled",
  1800. "group": "2_gitlens@3"
  1801. },
  1802. {
  1803. "command": "gitlens.externalDiffAll",
  1804. "when": "gitlens:enabled",
  1805. "group": "2_gitlens@4"
  1806. },
  1807. {
  1808. "command": "gitlens.stashSave",
  1809. "when": "gitlens:enabled",
  1810. "group": "3_gitlens@1"
  1811. }
  1812. ],
  1813. "scm/resourceState/context": [
  1814. {
  1815. "command": "gitlens.openFileInRemote",
  1816. "when": "gitlens:enabled && gitlens:hasRemotes",
  1817. "group": "navigation"
  1818. },
  1819. {
  1820. "command": "gitlens.externalDiff",
  1821. "when": "gitlens:enabled",
  1822. "group": "navigation"
  1823. },
  1824. {
  1825. "command": "gitlens.diffWithRevision",
  1826. "when": "gitlens:enabled",
  1827. "group": "1_gitlens@1"
  1828. },
  1829. {
  1830. "command": "gitlens.diffWithBranch",
  1831. "when": "gitlens:enabled",
  1832. "group": "1_gitlens@2"
  1833. },
  1834. {
  1835. "command": "gitlens.showQuickFileHistory",
  1836. "when": "gitlens:enabled",
  1837. "group": "1_gitlens_1@1"
  1838. },
  1839. {
  1840. "command": "gitlens.stashSave",
  1841. "when": "gitlens:enabled",
  1842. "group": "2_gitlens@1"
  1843. }
  1844. ],
  1845. "view/title": [
  1846. {
  1847. "command": "gitlens.showCommitSearch",
  1848. "when": "view == gitlens.gitExplorer",
  1849. "group": "navigation@1"
  1850. },
  1851. {
  1852. "command": "gitlens.gitExplorer.switchToHistoryView",
  1853. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1854. "group": "navigation@2"
  1855. },
  1856. {
  1857. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1858. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1859. "group": "navigation@3"
  1860. },
  1861. {
  1862. "command": "gitlens.gitExplorer.refresh",
  1863. "when": "view == gitlens.gitExplorer",
  1864. "group": "navigation@4"
  1865. },
  1866. {
  1867. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1868. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1869. "group": "1_gitlens"
  1870. },
  1871. {
  1872. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1873. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1874. "group": "1_gitlens"
  1875. },
  1876. {
  1877. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1878. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1879. "group": "1_gitlens"
  1880. },
  1881. {
  1882. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1883. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  1884. "group": "2_gitlens"
  1885. },
  1886. {
  1887. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1888. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  1889. "group": "2_gitlens"
  1890. }
  1891. ],
  1892. "view/item/context": [
  1893. {
  1894. "command": "gitlens.openBranchesInRemote",
  1895. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branches:remotes",
  1896. "group": "1_gitlens@1"
  1897. },
  1898. {
  1899. "command": "gitlens.gitExplorer.terminalCheckoutBranch",
  1900. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1901. "group": "8_gitlens@1"
  1902. },
  1903. {
  1904. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1905. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1906. "group": "8_gitlens@2"
  1907. },
  1908. {
  1909. "command": "gitlens.gitExplorer.terminalDeleteBranch",
  1910. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1911. "group": "8_gitlens@3"
  1912. },
  1913. {
  1914. "command": "gitlens.gitExplorer.terminalSquashBranchIntoCommit",
  1915. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history",
  1916. "group": "8_gitlens@4"
  1917. },
  1918. {
  1919. "command": "gitlens.openBranchInRemote",
  1920. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:tracking",
  1921. "group": "1_gitlens@1"
  1922. },
  1923. {
  1924. "command": "gitlens.gitExplorer.terminalCheckoutBranch",
  1925. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:tracking",
  1926. "group": "8_gitlens@1"
  1927. },
  1928. {
  1929. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1930. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:tracking",
  1931. "group": "8_gitlens@2"
  1932. },
  1933. {
  1934. "command": "gitlens.gitExplorer.terminalDeleteBranch",
  1935. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:tracking",
  1936. "group": "8_gitlens@3"
  1937. },
  1938. {
  1939. "command": "gitlens.gitExplorer.terminalSquashBranchIntoCommit",
  1940. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:tracking",
  1941. "group": "8_gitlens@4"
  1942. },
  1943. {
  1944. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1945. "when": "view == gitlens.gitExplorer && viewItem == gitlens:current-branch-history",
  1946. "group": "8_gitlens@1"
  1947. },
  1948. {
  1949. "command": "gitlens.openBranchInRemote",
  1950. "when": "view == gitlens.gitExplorer && viewItem == gitlens:current-branch-history:tracking",
  1951. "group": "1_gitlens@1"
  1952. },
  1953. {
  1954. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1955. "when": "view == gitlens.gitExplorer && viewItem == gitlens:current-branch-history:tracking",
  1956. "group": "8_gitlens@1"
  1957. },
  1958. {
  1959. "command": "gitlens.gitExplorer.terminalRebaseBranchToRemote",
  1960. "when": "view == gitlens.gitExplorer && viewItem == gitlens:current-branch-history:tracking",
  1961. "group": "8_gitlens@2"
  1962. },
  1963. {
  1964. "command": "gitlens.openBranchInRemote",
  1965. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote-branch-history",
  1966. "group": "1_gitlens@1"
  1967. },
  1968. {
  1969. "command": "gitlens.gitExplorer.terminalCheckoutBranch",
  1970. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote-branch-history",
  1971. "group": "8_gitlens@1"
  1972. },
  1973. {
  1974. "command": "gitlens.gitExplorer.terminalCreateBranch",
  1975. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote-branch-history",
  1976. "group": "8_gitlens@2"
  1977. },
  1978. {
  1979. "command": "gitlens.gitExplorer.terminalDeleteBranch",
  1980. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote-branch-history",
  1981. "group": "8_gitlens@3"
  1982. },
  1983. {
  1984. "command": "gitlens.gitExplorer.terminalSquashBranchIntoCommit",
  1985. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote-branch-history",
  1986. "group": "8_gitlens@4"
  1987. },
  1988. {
  1989. "command": "gitlens.openCommitInRemote",
  1990. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1991. "group": "1_gitlens@1"
  1992. },
  1993. {
  1994. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1995. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1996. "group": "2_gitlens@1"
  1997. },
  1998. {
  1999. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  2000. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  2001. "group": "2_gitlens@1"
  2002. },
  2003. {
  2004. "command": "gitlens.gitExplorer.openChangedFiles",
  2005. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  2006. "group": "3_gitlens@1"
  2007. },
  2008. {
  2009. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  2010. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  2011. "group": "3_gitlens@2"
  2012. },
  2013. {
  2014. "command": "gitlens.copyShaToClipboard",
  2015. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  2016. "group": "4_gitlens@1"
  2017. },
  2018. {
  2019. "command": "gitlens.copyMessageToClipboard",
  2020. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  2021. "group": "4_gitlens@2"
  2022. },
  2023. {
  2024. "command": "gitlens.showQuickCommitDetails",
  2025. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  2026. "group": "5_gitlens@1"
  2027. },
  2028. {
  2029. "command": "gitlens.openCommitInRemote",
  2030. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2031. "group": "1_gitlens@1"
  2032. },
  2033. {
  2034. "command": "gitlens.gitExplorer.openChangedFileChanges",
  2035. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2036. "group": "2_gitlens@1"
  2037. },
  2038. {
  2039. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  2040. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2041. "group": "2_gitlens@1"
  2042. },
  2043. {
  2044. "command": "gitlens.gitExplorer.openChangedFiles",
  2045. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2046. "group": "3_gitlens@1"
  2047. },
  2048. {
  2049. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  2050. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2051. "group": "3_gitlens@2"
  2052. },
  2053. {
  2054. "command": "gitlens.copyShaToClipboard",
  2055. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2056. "group": "4_gitlens@1"
  2057. },
  2058. {
  2059. "command": "gitlens.copyMessageToClipboard",
  2060. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2061. "group": "4_gitlens@2"
  2062. },
  2063. {
  2064. "command": "gitlens.showQuickCommitDetails",
  2065. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2066. "group": "5_gitlens@1"
  2067. },
  2068. {
  2069. "command": "gitlens.gitExplorer.terminalRebaseCommit",
  2070. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2071. "group": "8_gitlens@1"
  2072. },
  2073. {
  2074. "command": "gitlens.gitExplorer.terminalResetCommit",
  2075. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit:current",
  2076. "group": "8_gitlens@2"
  2077. },
  2078. {
  2079. "command": "gitlens.gitExplorer.openChanges",
  2080. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2081. "group": "1_gitlens@1"
  2082. },
  2083. {
  2084. "command": "gitlens.gitExplorer.openChangesWithWorking",
  2085. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2086. "group": "1_gitlens@2"
  2087. },
  2088. {
  2089. "command": "gitlens.gitExplorer.openFile",
  2090. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2091. "group": "2_gitlens@1"
  2092. },
  2093. {
  2094. "command": "gitlens.gitExplorer.openFileRevision",
  2095. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2096. "group": "2_gitlens@2"
  2097. },
  2098. {
  2099. "command": "gitlens.openFileInRemote",
  2100. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2101. "group": "3_gitlens@1"
  2102. },
  2103. {
  2104. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  2105. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2106. "group": "3_gitlens@2"
  2107. },
  2108. {
  2109. "command": "gitlens.gitExplorer.applyChanges",
  2110. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2111. "group": "4_gitlens@1"
  2112. },
  2113. {
  2114. "command": "gitlens.showQuickFileHistory",
  2115. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  2116. "group": "5_gitlens@1"
  2117. },
  2118. {
  2119. "command": "gitlens.showQuickCommitFileDetails",
  2120. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  2121. "group": "5_gitlens@2"
  2122. },
  2123. {
  2124. "command": "gitlens.gitExplorer.openFile",
  2125. "when": "view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  2126. "group": "1_gitlens@1"
  2127. },
  2128. {
  2129. "command": "gitlens.openFileInRemote",
  2130. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  2131. "group": "1_gitlens@2"
  2132. },
  2133. {
  2134. "command": "gitlens.openBranchesInRemote",
  2135. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote",
  2136. "group": "1_gitlens@1"
  2137. },
  2138. {
  2139. "command": "gitlens.openRepoInRemote",
  2140. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote",
  2141. "group": "1_gitlens@2"
  2142. },
  2143. {
  2144. "command": "gitlens.gitExplorer.terminalRemoveRemote",
  2145. "when": "view == gitlens.gitExplorer && viewItem == gitlens:remote",
  2146. "group": "8_gitlens@1"
  2147. },
  2148. {
  2149. "command": "gitlens.openRepoInRemote",
  2150. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:repository",
  2151. "group": "1_gitlens@1"
  2152. },
  2153. {
  2154. "command": "gitlens.stashSave",
  2155. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stashes",
  2156. "group": "1_gitlens@1"
  2157. },
  2158. {
  2159. "command": "gitlens.stashApply",
  2160. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2161. "group": "1_gitlens@1"
  2162. },
  2163. {
  2164. "command": "gitlens.stashDelete",
  2165. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2166. "group": "1_gitlens@2"
  2167. },
  2168. {
  2169. "command": "gitlens.gitExplorer.openChangedFileChanges",
  2170. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2171. "group": "2_gitlens@1"
  2172. },
  2173. {
  2174. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  2175. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2176. "group": "2_gitlens@1"
  2177. },
  2178. {
  2179. "command": "gitlens.gitExplorer.openChangedFiles",
  2180. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2181. "group": "3_gitlens@1"
  2182. },
  2183. {
  2184. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  2185. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2186. "group": "3_gitlens@2"
  2187. },
  2188. {
  2189. "command": "gitlens.copyMessageToClipboard",
  2190. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  2191. "group": "4_gitlens@1"
  2192. },
  2193. {
  2194. "command": "gitlens.gitExplorer.applyChanges",
  2195. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2196. "group": "1_gitlens@1"
  2197. },
  2198. {
  2199. "command": "gitlens.gitExplorer.openChanges",
  2200. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2201. "group": "2_gitlens@1"
  2202. },
  2203. {
  2204. "command": "gitlens.gitExplorer.openChangesWithWorking",
  2205. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2206. "group": "2_gitlens@2"
  2207. },
  2208. {
  2209. "command": "gitlens.gitExplorer.openFile",
  2210. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2211. "group": "3_gitlens@1"
  2212. },
  2213. {
  2214. "command": "gitlens.gitExplorer.openFileRevision",
  2215. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2216. "group": "3_gitlens@2"
  2217. },
  2218. {
  2219. "command": "gitlens.openFileInRemote",
  2220. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2221. "group": "4_gitlens@1"
  2222. },
  2223. {
  2224. "command": "gitlens.showQuickFileHistory",
  2225. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  2226. "group": "5_gitlens@1"
  2227. },
  2228. {
  2229. "command": "gitlens.openRepoInRemote",
  2230. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status",
  2231. "group": "1_gitlens@1"
  2232. },
  2233. {
  2234. "command": "gitlens.gitExplorer.openChanges",
  2235. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  2236. "group": "1_gitlens@1"
  2237. },
  2238. {
  2239. "command": "gitlens.gitExplorer.openChangesWithWorking",
  2240. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  2241. "group": "1_gitlens@2"
  2242. },
  2243. {
  2244. "command": "gitlens.gitExplorer.openFile",
  2245. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  2246. "group": "2_gitlens@1"
  2247. },
  2248. {
  2249. "command": "gitlens.gitExplorer.openFileRevision",
  2250. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  2251. "group": "2_gitlens@2"
  2252. },
  2253. {
  2254. "command": "gitlens.openFileInRemote",
  2255. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  2256. "group": "3_gitlens@1"
  2257. },
  2258. {
  2259. "command": "gitlens.showQuickFileHistory",
  2260. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  2261. "group": "5_gitlens@1"
  2262. },
  2263. {
  2264. "command": "gitlens.showQuickCommitFileDetails",
  2265. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  2266. "group": "5_gitlens@2"
  2267. },
  2268. {
  2269. "command": "gitlens.gitExplorer.openFile",
  2270. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file-commits",
  2271. "group": "1_gitlens@1"
  2272. },
  2273. {
  2274. "command": "gitlens.openFileInRemote",
  2275. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status-file-commits",
  2276. "group": "1_gitlens@2"
  2277. },
  2278. {
  2279. "command": "gitlens.gitExplorer.terminalRebaseBranchToRemote",
  2280. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-upstream",
  2281. "group": "8_gitlens@1"
  2282. },
  2283. {
  2284. "command": "gitlens.gitExplorer.refreshNode",
  2285. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  2286. "group": "9_gitlens@1"
  2287. }
  2288. ]
  2289. },
  2290. "keybindings": [
  2291. {
  2292. "command": "gitlens.key.left",
  2293. "key": "alt+left",
  2294. "when": "gitlens:key:left"
  2295. },
  2296. {
  2297. "command": "gitlens.key.right",
  2298. "key": "alt+right",
  2299. "when": "gitlens:key:right"
  2300. },
  2301. {
  2302. "command": "gitlens.key.,",
  2303. "key": "alt+,",
  2304. "when": "gitlens:key:,"
  2305. },
  2306. {
  2307. "command": "gitlens.key..",
  2308. "key": "alt+.",
  2309. "when": "gitlens:key:."
  2310. },
  2311. {
  2312. "command": "gitlens.key.escape",
  2313. "key": "escape",
  2314. "when": "gitlens:key:escape"
  2315. },
  2316. {
  2317. "command": "gitlens.toggleFileBlame",
  2318. "key": "alt+b",
  2319. "when": "editorTextFocus && gitlens:activeIsBlameable"
  2320. },
  2321. {
  2322. "command": "gitlens.toggleCodeLens",
  2323. "key": "shift+alt+b",
  2324. "when": "editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  2325. },
  2326. {
  2327. "command": "gitlens.showLastQuickPick",
  2328. "key": "alt+-",
  2329. "when": "gitlens:enabled"
  2330. },
  2331. {
  2332. "command": "gitlens.showCommitSearch",
  2333. "key": "alt+/",
  2334. "when": "gitlens:enabled"
  2335. },
  2336. {
  2337. "command": "gitlens.showQuickFileHistory",
  2338. "key": "alt+h",
  2339. "when": "gitlens:enabled"
  2340. },
  2341. {
  2342. "command": "gitlens.showQuickRepoHistory",
  2343. "key": "shift+alt+h",
  2344. "when": "gitlens:enabled"
  2345. },
  2346. {
  2347. "command": "gitlens.showQuickRepoStatus",
  2348. "key": "alt+s",
  2349. "when": "gitlens:enabled"
  2350. },
  2351. {
  2352. "command": "gitlens.showQuickCommitFileDetails",
  2353. "key": "alt+c",
  2354. "when": "editorTextFocus && gitlens:enabled"
  2355. },
  2356. {
  2357. "command": "gitlens.diffWithNext",
  2358. "key": "alt+.",
  2359. "when": "editorTextFocus && gitlens:activeIsTracked"
  2360. },
  2361. {
  2362. "command": "gitlens.diffLineWithPrevious",
  2363. "key": "shift+alt+,",
  2364. "when": "editorTextFocus && gitlens:activeIsTracked"
  2365. },
  2366. {
  2367. "command": "gitlens.diffWithPrevious",
  2368. "key": "alt+,",
  2369. "when": "editorTextFocus && gitlens:activeIsTracked"
  2370. },
  2371. {
  2372. "command": "gitlens.diffLineWithWorking",
  2373. "key": "alt+w",
  2374. "when": "editorTextFocus && gitlens:activeIsTracked"
  2375. },
  2376. {
  2377. "command": "gitlens.diffWithWorking",
  2378. "key": "shift+alt+w",
  2379. "when": "editorTextFocus && gitlens:activeIsTracked"
  2380. }
  2381. ],
  2382. "views": {
  2383. "explorer": [
  2384. {
  2385. "id": "gitlens.gitExplorer",
  2386. "name": "GitLens",
  2387. "when": "gitlens:enabled && gitlens:gitExplorer && gitlens:hasRepository && config.gitlens.gitExplorer.enabled"
  2388. }
  2389. ]
  2390. }
  2391. },
  2392. "activationEvents": [
  2393. "*"
  2394. ],
  2395. "scripts": {
  2396. "clean": "git clean -xdf",
  2397. "compile": "npm run lint && tsc -p ./",
  2398. "watch": "tsc -watch -p ./",
  2399. "lint": "tslint --project tslint.json",
  2400. "pack": "npm run clean && vsce package",
  2401. "postinstall": "node ./node_modules/vscode/bin/install",
  2402. "pub": "npm run clean && vsce publish",
  2403. "reset": "npm run clean && npm install",
  2404. "vscode:prepublish": "npm install --no-save && npm run compile",
  2405. "prepush": "npm run compile"
  2406. },
  2407. "dependencies": {
  2408. "applicationinsights": "0.21.0",
  2409. "copy-paste": "1.3.0",
  2410. "date-fns": "1.29.0",
  2411. "iconv-lite": "0.4.19",
  2412. "lodash.debounce": "4.0.8",
  2413. "lodash.escaperegexp": "4.1.2",
  2414. "lodash.isequal": "4.5.0",
  2415. "lodash.once": "4.1.1",
  2416. "spawn-rx": "2.0.12",
  2417. "tmp": "0.0.33"
  2418. },
  2419. "devDependencies": {
  2420. "@types/copy-paste": "1.1.30",
  2421. "@types/iconv-lite": "0.0.1",
  2422. "@types/mocha": "2.2.44",
  2423. "@types/node": "8.0.47",
  2424. "@types/tmp": "0.0.33",
  2425. "husky": "^0.14.3",
  2426. "mocha": "4.0.1",
  2427. "tslint": "5.8.0",
  2428. "typescript": "2.6.1",
  2429. "vscode": "1.1.6"
  2430. }
  2431. }