No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

2874 líneas
128 KiB

hace 6 años
hace 7 años
hace 7 años
hace 7 años
hace 7 años
hace 7 años
  1. {
  2. "name": "gitlens",
  3. "version": "8.0.0",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.20.0"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "GitLens \u2014 Git supercharged",
  14. "description": "Supercharge the Git capabilities built into Visual Studio Code \u2014 Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, 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. "multi-root ready"
  32. ],
  33. "galleryBanner": {
  34. "color": "#8647ae",
  35. "theme": "dark"
  36. },
  37. "icon": "images/gitlens-icon.png",
  38. "preview": false,
  39. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  40. "bugs": {
  41. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  42. },
  43. "repository": {
  44. "type": "git",
  45. "url": "https://github.com/eamodio/vscode-gitlens.git"
  46. },
  47. "main": "./out/extension",
  48. "contributes": {
  49. "configuration": {
  50. "type": "object",
  51. "title": "GitLens configuration",
  52. "properties": {
  53. "gitlens.blame.avatars": {
  54. "type": "boolean",
  55. "default": true,
  56. "description": "Specifies whether to show avatar images in the gutter blame annotations",
  57. "scope": "window"
  58. },
  59. "gitlens.blame.compact": {
  60. "type": "boolean",
  61. "default": true,
  62. "description": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  63. "scope": "window"
  64. },
  65. "gitlens.blame.dateFormat": {
  66. "type": "string",
  67. "default": null,
  68. "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",
  69. "scope": "window"
  70. },
  71. "gitlens.blame.format": {
  72. "type": "string",
  73. "default": "${message|40?} ${ago|14-}",
  74. "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.blame.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  75. "scope": "window"
  76. },
  77. "gitlens.blame.heatmap.enabled": {
  78. "type": "boolean",
  79. "default": true,
  80. "description": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  81. "scope": "window"
  82. },
  83. "gitlens.blame.heatmap.location": {
  84. "type": "string",
  85. "default": "right",
  86. "enum": [
  87. "left",
  88. "right"
  89. ],
  90. "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",
  91. "scope": "window"
  92. },
  93. "gitlens.blame.highlight.enabled": {
  94. "type": "boolean",
  95. "default": true,
  96. "description": "Specifies whether to highlight lines associated with the current line",
  97. "scope": "window"
  98. },
  99. "gitlens.blame.highlight.locations": {
  100. "type": "array",
  101. "default": [
  102. "gutter",
  103. "line",
  104. "overview"
  105. ],
  106. "items": {
  107. "type": "string",
  108. "enum": [
  109. "gutter",
  110. "line",
  111. "overview"
  112. ]
  113. },
  114. "minItems": 1,
  115. "maxItems": 3,
  116. "uniqueItems": true,
  117. "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 `overview` - adds a decoration to the overview ruler (scroll bar)",
  118. "scope": "window"
  119. },
  120. "gitlens.blame.ignoreWhitespace": {
  121. "type": "boolean",
  122. "default": false,
  123. "description": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  124. "scope": "resource"
  125. },
  126. "gitlens.blame.separateLines": {
  127. "type": "boolean",
  128. "default": true,
  129. "description": "Specifies whether gutter blame annotations will be separated by a small gap",
  130. "scope": "window"
  131. },
  132. "gitlens.codeLens.authors.command": {
  133. "type": "string",
  134. "default": "gitlens.toggleFileBlame",
  135. "enum": [
  136. "gitlens.toggleFileBlame",
  137. "gitlens.diffWithPrevious",
  138. "gitlens.showQuickCommitDetails",
  139. "gitlens.showQuickCommitFileDetails",
  140. "gitlens.showQuickFileHistory",
  141. "gitlens.showQuickRepoHistory"
  142. ],
  143. "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",
  144. "scope": "window"
  145. },
  146. "gitlens.codeLens.authors.enabled": {
  147. "type": "boolean",
  148. "default": true,
  149. "description": "Specifies whether 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)",
  150. "scope": "window"
  151. },
  152. "gitlens.codeLens.enabled": {
  153. "type": "boolean",
  154. "default": true,
  155. "description": "Specifies whether 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 window",
  156. "scope": "window"
  157. },
  158. "gitlens.codeLens.recentChange.command": {
  159. "type": "string",
  160. "default": "gitlens.showQuickCommitFileDetails",
  161. "enum": [
  162. "gitlens.toggleFileBlame",
  163. "gitlens.diffWithPrevious",
  164. "gitlens.showQuickCommitDetails",
  165. "gitlens.showQuickCommitFileDetails",
  166. "gitlens.showQuickFileHistory",
  167. "gitlens.showQuickRepoHistory"
  168. ],
  169. "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",
  170. "scope": "window"
  171. },
  172. "gitlens.codeLens.recentChange.enabled": {
  173. "type": "boolean",
  174. "default": true,
  175. "description": "Specifies whether to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block",
  176. "scope": "window"
  177. },
  178. "gitlens.codeLens.scopes": {
  179. "type": "array",
  180. "default": [
  181. "document",
  182. "containers"
  183. ],
  184. "items": {
  185. "type": "string",
  186. "enum": [
  187. "document",
  188. "containers",
  189. "blocks"
  190. ]
  191. },
  192. "minItems": 1,
  193. "maxItems": 4,
  194. "uniqueItems": true,
  195. "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",
  196. "scope": "resource"
  197. },
  198. "gitlens.codeLens.scopesByLanguage": {
  199. "type": "array",
  200. "default": [
  201. {
  202. "language": "css",
  203. "scopes": [
  204. "document"
  205. ]
  206. },
  207. {
  208. "language": "html",
  209. "scopes": [
  210. "document"
  211. ]
  212. },
  213. {
  214. "language": "json",
  215. "scopes": [
  216. "document"
  217. ]
  218. },
  219. {
  220. "language": "jsonc",
  221. "scopes": [
  222. "document"
  223. ]
  224. },
  225. {
  226. "language": "less",
  227. "scopes": [
  228. "document"
  229. ]
  230. },
  231. {
  232. "language": "scss",
  233. "scopes": [
  234. "document"
  235. ]
  236. },
  237. {
  238. "language": "vue",
  239. "scopes": [
  240. "document"
  241. ]
  242. },
  243. {
  244. "language": "stylus",
  245. "scopes": [
  246. "document"
  247. ]
  248. }
  249. ],
  250. "items": {
  251. "type": "object",
  252. "required": [
  253. "language",
  254. "scopes"
  255. ],
  256. "properties": {
  257. "language": {
  258. "type": "string",
  259. "description": "Specifies the language to which this code lens override applies"
  260. },
  261. "scopes": {
  262. "type": "array",
  263. "default": [
  264. "document",
  265. "containers"
  266. ],
  267. "items": {
  268. "type": "string",
  269. "enum": [
  270. "document",
  271. "containers",
  272. "blocks",
  273. "custom"
  274. ]
  275. },
  276. "minItems": 1,
  277. "maxItems": 4,
  278. "uniqueItems": true,
  279. "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`"
  280. },
  281. "customSymbols": {
  282. "type": "array",
  283. "items": {
  284. "type": "string"
  285. },
  286. "uniqueItems": true,
  287. "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`"
  288. }
  289. }
  290. },
  291. "uniqueItems": true,
  292. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  293. "scope": "resource"
  294. },
  295. "gitlens.codeLens.symbolScopes": {
  296. "type": "array",
  297. "items": {
  298. "type": "string"
  299. },
  300. "uniqueItems": true,
  301. "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`",
  302. "scope": "resource"
  303. },
  304. "gitlens.currentLine.dateFormat": {
  305. "type": "string",
  306. "default": null,
  307. "description": "Specifies how to format absolute dates (using the `${date}` token) for the current line blame annotation\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  308. "scope": "window"
  309. },
  310. "gitlens.currentLine.enabled": {
  311. "type": "boolean",
  312. "default": true,
  313. "description": "Specifies whether 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 window",
  314. "scope": "window"
  315. },
  316. "gitlens.currentLine.format": {
  317. "type": "string",
  318. "default": "${authorAgo} \u2022 ${message}",
  319. "description": "Specifies the format of the current line blame annotation\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",
  320. "scope": "window"
  321. },
  322. "gitlens.debug": {
  323. "type": "boolean",
  324. "default": false,
  325. "description": "Specifies debug mode",
  326. "scope": "window"
  327. },
  328. "gitlens.defaultDateFormat": {
  329. "type": "string",
  330. "default": null,
  331. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  332. "scope": "window"
  333. },
  334. "gitlens.defaultDateStyle": {
  335. "type": "string",
  336. "default": "relative",
  337. "enum": [
  338. "relative",
  339. "absolute"
  340. ],
  341. "description": "Specifies how dates will be displayed by default",
  342. "scope": "window"
  343. },
  344. "gitlens.defaultGravatarsStyle": {
  345. "type": "string",
  346. "default": "robohash",
  347. "enum": [
  348. "identicon",
  349. "mm",
  350. "monsterid",
  351. "retro",
  352. "robohash",
  353. "wavatar"
  354. ],
  355. "description": "Specifies the style of the gravatar default (fallback) images\n `identicon` - a geometric pattern\n `mm` - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)\n `monsterid` - a monster with different colors, faces, etc\n `retro` - 8-bit arcade-style pixelated faces\n `robohash` - a robot with different colors, faces, etc\n `wavatar` - faces with differing features and backgrounds",
  356. "scope": "window"
  357. },
  358. "gitlens.explorers.avatars": {
  359. "type": "boolean",
  360. "default": true,
  361. "description": "Specifies whether to show avatar images instead of commit (or status) icons in the `GitLens` and `GitLens Results` views",
  362. "scope": "window"
  363. },
  364. "gitlens.explorers.commitFileFormat": {
  365. "type": "string",
  366. "default": "${filePath}",
  367. "description": "Specifies the format of a committed file in the `GitLens` and `GitLens Results` views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  368. "scope": "window"
  369. },
  370. "gitlens.explorers.commitFormat": {
  371. "type": "string",
  372. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0 (${id})",
  373. "description": "Specifies the format of committed changes in the `GitLens` and `GitLens Results` views\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",
  374. "scope": "window"
  375. },
  376. "gitlens.explorers.stashFileFormat": {
  377. "type": "string",
  378. "default": "${filePath}",
  379. "description": "Specifies the format of a stashed file in the `GitLens` and `GitLens Results` views\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  380. "scope": "window"
  381. },
  382. "gitlens.explorers.stashFormat": {
  383. "type": "string",
  384. "default": "${message}",
  385. "description": "Specifies the format of stashed changes in the `GitLens` and `GitLens Results` views\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",
  386. "scope": "window"
  387. },
  388. "gitlens.explorers.statusFileFormat": {
  389. "type": "string",
  390. "default": "${working}${filePath}",
  391. "description": "Specifies the format of the status of a working or committed file in the `GitLens` and `GitLens Results` views\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",
  392. "scope": "window"
  393. },
  394. "gitlens.gitExplorer.autoRefresh": {
  395. "type": "boolean",
  396. "default": true,
  397. "description": "Specifies whether to automatically refresh the `GitLens` explorer when the repository or the file system changes",
  398. "scope": "window"
  399. },
  400. "gitlens.gitExplorer.branches.layout": {
  401. "type": "string",
  402. "default": "tree",
  403. "enum": [
  404. "list",
  405. "tree"
  406. ],
  407. "description": "Specifies how the `GitLens` explorer will display branches\n `list` - displays branches as a list \n`tree` - displays branches as a tree when branch names contain slashes `/`",
  408. "scope": "window"
  409. },
  410. "gitlens.gitExplorer.enabled": {
  411. "type": "boolean",
  412. "default": true,
  413. "description": "Specifies whether to show the `GitLens` explorer",
  414. "scope": "window"
  415. },
  416. "gitlens.gitExplorer.files.compact": {
  417. "type": "boolean",
  418. "default": true,
  419. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens` explorer\nOnly applies when displaying files as a `tree` or `auto`",
  420. "scope": "window"
  421. },
  422. "gitlens.gitExplorer.files.layout": {
  423. "type": "string",
  424. "default": "auto",
  425. "enum": [
  426. "auto",
  427. "list",
  428. "tree"
  429. ],
  430. "description": "Specifies how the `GitLens` explorer 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",
  431. "scope": "window"
  432. },
  433. "gitlens.gitExplorer.files.threshold": {
  434. "type": "number",
  435. "default": 5,
  436. "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` explorer\nOnly applies when displaying files as `auto`",
  437. "scope": "window"
  438. },
  439. "gitlens.gitExplorer.includeWorkingTree": {
  440. "type": "boolean",
  441. "default": true,
  442. "description": "Specifies whether to include working tree files inside the `Repository Status` node of the `GitLens` explorer",
  443. "scope": "window"
  444. },
  445. "gitlens.gitExplorer.showTrackingBranch": {
  446. "type": "boolean",
  447. "default": true,
  448. "description": "Specifies whether to show the tracking branch when displaying local branches in the `GitLens` explorer",
  449. "scope": "window"
  450. },
  451. "gitlens.gitExplorer.view": {
  452. "type": "string",
  453. "default": "auto",
  454. "enum": [
  455. "auto",
  456. "history",
  457. "repository"
  458. ],
  459. "description": "Specifies the starting view (mode) of the `GitLens` explorer\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",
  460. "scope": "window"
  461. },
  462. "gitlens.hovers.annotations.changes": {
  463. "type": "boolean",
  464. "default": true,
  465. "description": "Specifies whether to provide a changes (diff) hover for all lines when showing blame annotations",
  466. "scope": "window"
  467. },
  468. "gitlens.hovers.annotations.details": {
  469. "type": "boolean",
  470. "default": true,
  471. "description": "Specifies whether to provide a commit details hover for all lines when showing blame annotations",
  472. "scope": "window"
  473. },
  474. "gitlens.hovers.annotations.enabled": {
  475. "type": "boolean",
  476. "default": true,
  477. "description": "Specifies whether to provide any hovers when showing blame annotations",
  478. "scope": "window"
  479. },
  480. "gitlens.hovers.annotations.over": {
  481. "type": "string",
  482. "default": "line",
  483. "enum": [
  484. "annotation",
  485. "line"
  486. ],
  487. "description": "Specifies when to trigger hovers when showing blame annotations\n `annotation` - only shown when hovering over the line annotation\n `line` - shown when hovering anywhere over the line",
  488. "scope": "window"
  489. },
  490. "gitlens.hovers.currentLine.changes": {
  491. "type": "boolean",
  492. "default": true,
  493. "description": "Specifies whether to provide a changes (diff) hover for the current line",
  494. "scope": "window"
  495. },
  496. "gitlens.hovers.currentLine.details": {
  497. "type": "boolean",
  498. "default": true,
  499. "description": "Specifies whether to provide a commit details hover for the current line",
  500. "scope": "window"
  501. },
  502. "gitlens.hovers.currentLine.enabled": {
  503. "type": "boolean",
  504. "default": true,
  505. "description": "Specifies whether to provide any hovers for the current line",
  506. "scope": "window"
  507. },
  508. "gitlens.hovers.currentLine.over": {
  509. "type": "string",
  510. "default": "annotation",
  511. "enum": [
  512. "annotation",
  513. "line"
  514. ],
  515. "description": "Specifies when to trigger hovers for the current line\n `annotation` - only shown when hovering over the line annotation\n `line` - shown when hovering anywhere over the line",
  516. "scope": "window"
  517. },
  518. "gitlens.hovers.enabled": {
  519. "type": "boolean",
  520. "default": true,
  521. "description": "Specifies whether to provide any hovers",
  522. "scope": "window"
  523. },
  524. "gitlens.insiders": {
  525. "type": "boolean",
  526. "default": false,
  527. "description": "Specifies whether to enable new experimental features (expect there to be issues)",
  528. "scope": "window"
  529. },
  530. "gitlens.keymap": {
  531. "type": "string",
  532. "default": "standard",
  533. "enum": [
  534. "standard",
  535. "chorded",
  536. "none"
  537. ],
  538. "description": "Specifies the keymap to use for GitLens shortcut keys\n `standard` - adds a standard set of shortcut keys\n `chorded` - adds a chorded set of shortcut keys that all start with `Ctrl+Alt+G` (`??G` on macOS)\n `none` - no shortcut keys will be added",
  539. "scope": "window"
  540. },
  541. "gitlens.outputLevel": {
  542. "type": "string",
  543. "default": "silent",
  544. "enum": [
  545. "silent",
  546. "errors",
  547. "verbose",
  548. "debug"
  549. ],
  550. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  551. "scope": "window"
  552. },
  553. "gitlens.recentChanges.highlight.locations": {
  554. "type": "array",
  555. "default": [
  556. "gutter",
  557. "line",
  558. "overview"
  559. ],
  560. "items": {
  561. "type": "string",
  562. "enum": [
  563. "gutter",
  564. "line",
  565. "overview"
  566. ]
  567. },
  568. "minItems": 1,
  569. "maxItems": 3,
  570. "uniqueItems": true,
  571. "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 `overview` - adds a decoration to the overview ruler (scroll bar)",
  572. "scope": "window"
  573. },
  574. "gitlens.remotes": {
  575. "type": "array",
  576. "default": null,
  577. "items": {
  578. "type": "object",
  579. "required": [
  580. "type",
  581. "domain"
  582. ],
  583. "properties": {
  584. "type": {
  585. "type": "string",
  586. "enum": [
  587. "Bitbucket",
  588. "BitbucketServer",
  589. "Custom",
  590. "GitHub",
  591. "GitLab"
  592. ],
  593. "description": "Specifies the type of the custom remote service\n `Bitbucket`, `BitbucketServer`, `GitHub`, or `GitLab`"
  594. },
  595. "domain": {
  596. "type": "string",
  597. "description": "Specifies the domain name of the custom remote service"
  598. },
  599. "name": {
  600. "type": "string",
  601. "description": "Specifies an optional friendly name for the custom remote service"
  602. },
  603. "protocol": {
  604. "type": "string",
  605. "default": "https",
  606. "description": "Specifies an optional url protocol for the custom remote service"
  607. },
  608. "urls": {
  609. "type": "object",
  610. "required": [
  611. "repository",
  612. "branches",
  613. "branch",
  614. "commit",
  615. "file",
  616. "fileInCommit",
  617. "fileInBranch",
  618. "fileLine",
  619. "fileRange"
  620. ],
  621. "properties": {
  622. "repository": {
  623. "type": "string",
  624. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  625. },
  626. "branches": {
  627. "type": "string",
  628. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  629. },
  630. "branch": {
  631. "type": "string",
  632. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  633. },
  634. "commit": {
  635. "type": "string",
  636. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  637. },
  638. "file": {
  639. "type": "string",
  640. "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"
  641. },
  642. "fileInBranch": {
  643. "type": "string",
  644. "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"
  645. },
  646. "fileInCommit": {
  647. "type": "string",
  648. "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"
  649. },
  650. "fileLine": {
  651. "type": "string",
  652. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  653. },
  654. "fileRange": {
  655. "type": "string",
  656. "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"
  657. }
  658. }
  659. },
  660. "description": "Specifies the url formats of the custom remote service"
  661. }
  662. },
  663. "uniqueItems": true,
  664. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  665. "scope": "resource"
  666. },
  667. "gitlens.resultsExplorer.files.compact": {
  668. "type": "boolean",
  669. "default": true,
  670. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens Results` view\nOnly applies when displaying files as a `tree` or `auto`",
  671. "scope": "window"
  672. },
  673. "gitlens.resultsExplorer.files.layout": {
  674. "type": "string",
  675. "default": "auto",
  676. "enum": [
  677. "auto",
  678. "list",
  679. "tree"
  680. ],
  681. "description": "Specifies how the `GitLens Results` 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",
  682. "scope": "window"
  683. },
  684. "gitlens.resultsExplorer.files.threshold": {
  685. "type": "number",
  686. "default": 5,
  687. "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 Results` view\nOnly applies when displaying files as `auto`",
  688. "scope": "window"
  689. },
  690. "gitlens.showWhatsNewAfterUpgrades": {
  691. "type": "boolean",
  692. "default": true,
  693. "description": "Specifies whether to show What's New after upgrading to new feature releases",
  694. "scope": "window"
  695. },
  696. "gitlens.statusBar.alignment": {
  697. "type": "string",
  698. "default": "right",
  699. "enum": [
  700. "left",
  701. "right"
  702. ],
  703. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right",
  704. "scope": "window"
  705. },
  706. "gitlens.statusBar.command": {
  707. "type": "string",
  708. "default": "gitlens.showQuickCommitDetails",
  709. "enum": [
  710. "gitlens.toggleFileBlame",
  711. "gitlens.diffWithPrevious",
  712. "gitlens.diffWithWorking",
  713. "gitlens.toggleCodeLens",
  714. "gitlens.showQuickCommitDetails",
  715. "gitlens.showQuickCommitFileDetails",
  716. "gitlens.showQuickFileHistory",
  717. "gitlens.showQuickRepoHistory"
  718. ],
  719. "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",
  720. "scope": "window"
  721. },
  722. "gitlens.statusBar.dateFormat": {
  723. "type": "string",
  724. "default": null,
  725. "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",
  726. "scope": "window"
  727. },
  728. "gitlens.statusBar.enabled": {
  729. "type": "boolean",
  730. "default": true,
  731. "description": "Specifies whether to provide blame information on the status bar",
  732. "scope": "window"
  733. },
  734. "gitlens.statusBar.format": {
  735. "type": "string",
  736. "default": "${authorAgo}",
  737. "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",
  738. "scope": "window"
  739. },
  740. "gitlens.statusBar.reduceFlicker": {
  741. "type": "boolean",
  742. "default": false,
  743. "description": "Specifies whether to reduce the status bar \"flickering\" when changing lines by not first clearing the previous blame information",
  744. "scope": "window"
  745. },
  746. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  747. "type": "string",
  748. "default": "Unsaved changes (cannot determine recent change or authors)",
  749. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  750. "scope": "window"
  751. },
  752. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  753. "type": "string",
  754. "default": "Unsaved changes (cannot determine recent change)",
  755. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  756. "scope": "window"
  757. },
  758. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  759. "type": "string",
  760. "default": "Unsaved changes (cannot determine authors)",
  761. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  762. "scope": "window"
  763. },
  764. "gitlens.advanced.blame.delayAfterEdit": {
  765. "type": "number",
  766. "default": 5000,
  767. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  768. "scope": "window"
  769. },
  770. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  771. "type": "number",
  772. "default": 5000,
  773. "description": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  774. "scope": "window"
  775. },
  776. "gitlens.advanced.caching.enabled": {
  777. "type": "boolean",
  778. "default": true,
  779. "description": "Specifies whether git output will be cached -- changing the default is not recommended",
  780. "scope": "window"
  781. },
  782. "gitlens.advanced.git": {
  783. "type": "string",
  784. "default": null,
  785. "description": "Specifies the git path to use",
  786. "scope": "window"
  787. },
  788. "gitlens.advanced.fileHistoryFollowsRenames": {
  789. "type": "boolean",
  790. "default": true,
  791. "description": "Specifies whether file histories will follow renames -- will affect how merge commits are shown in histories",
  792. "scope": "window"
  793. },
  794. "gitlens.advanced.maxListItems": {
  795. "type": "number",
  796. "default": 200,
  797. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  798. "scope": "window"
  799. },
  800. "gitlens.advanced.menus": {
  801. "type": "object",
  802. "default": {
  803. "editorContext": {
  804. "blame": true,
  805. "copy": true,
  806. "details": true,
  807. "fileDiff": true,
  808. "history": true,
  809. "lineDiff": true,
  810. "remote": true
  811. },
  812. "editorTitle": {
  813. "blame": true,
  814. "fileDiff": false,
  815. "history": false,
  816. "remote": false,
  817. "status": false
  818. },
  819. "editorTitleContext": {
  820. "blame": false,
  821. "fileDiff": false,
  822. "history": false,
  823. "remote": false
  824. },
  825. "explorerContext": {
  826. "fileDiff": true,
  827. "history": true,
  828. "remote": true
  829. }
  830. },
  831. "properties": {
  832. "editorContext": {
  833. "type": "object",
  834. "default": {
  835. "blame": true,
  836. "copy": true,
  837. "details": true,
  838. "fileDiff": true,
  839. "history": true,
  840. "lineDiff": true,
  841. "remote": true
  842. },
  843. "properties": {
  844. "blame": {
  845. "type": "boolean",
  846. "default": true
  847. },
  848. "copy": {
  849. "type": "boolean",
  850. "default": true
  851. },
  852. "details": {
  853. "type": "boolean",
  854. "default": true
  855. },
  856. "fileDiff": {
  857. "type": "boolean",
  858. "default": true
  859. },
  860. "history": {
  861. "type": "boolean",
  862. "default": true
  863. },
  864. "lineDiff": {
  865. "type": "boolean",
  866. "default": true
  867. },
  868. "remote": {
  869. "type": "boolean",
  870. "default": true
  871. }
  872. }
  873. },
  874. "editorTitle": {
  875. "type": "object",
  876. "default": {
  877. "blame": true,
  878. "fileDiff": true,
  879. "history": true,
  880. "remote": true,
  881. "status": true
  882. },
  883. "properties": {
  884. "blame": {
  885. "type": "boolean",
  886. "default": true
  887. },
  888. "fileDiff": {
  889. "type": "boolean",
  890. "default": true
  891. },
  892. "history": {
  893. "type": "boolean",
  894. "default": true
  895. },
  896. "remote": {
  897. "type": "boolean",
  898. "default": true
  899. },
  900. "status": {
  901. "type": "boolean",
  902. "default": true
  903. }
  904. }
  905. },
  906. "editorTitleContext": {
  907. "type": "object",
  908. "default": {
  909. "blame": true,
  910. "fileDiff": true,
  911. "history": true,
  912. "remote": true
  913. },
  914. "properties": {
  915. "blame": {
  916. "type": "boolean",
  917. "default": true
  918. },
  919. "fileDiff": {
  920. "type": "boolean",
  921. "default": true
  922. },
  923. "history": {
  924. "type": "boolean",
  925. "default": true
  926. },
  927. "remote": {
  928. "type": "boolean",
  929. "default": true
  930. }
  931. }
  932. },
  933. "explorerContext": {
  934. "type": "object",
  935. "default": {
  936. "fileDiff": true,
  937. "history": true,
  938. "remote": true
  939. },
  940. "properties": {
  941. "fileDiff": {
  942. "type": "boolean",
  943. "default": true
  944. },
  945. "history": {
  946. "type": "boolean",
  947. "default": true
  948. },
  949. "remote": {
  950. "type": "boolean",
  951. "default": true
  952. }
  953. }
  954. }
  955. },
  956. "description": "Specifies which commands will be added to which menus",
  957. "scope": "window"
  958. },
  959. "gitlens.advanced.messages": {
  960. "type": "object",
  961. "default": {
  962. "suppressCommitHasNoPreviousCommitWarning": false,
  963. "suppressCommitNotFoundWarning": false,
  964. "suppressFileNotUnderSourceControlWarning": false,
  965. "suppressGitVersionWarning": false,
  966. "suppressLineUncommittedWarning": false,
  967. "suppressNoRepositoryWarning": false,
  968. "suppressResultsExplorerNotice": false
  969. },
  970. "properties": {
  971. "suppressCommitHasNoPreviousCommitWarning": {
  972. "type": "boolean",
  973. "default": false
  974. },
  975. "suppressCommitNotFoundWarning": {
  976. "type": "boolean",
  977. "default": false
  978. },
  979. "suppressFileNotUnderSourceControlWarning": {
  980. "type": "boolean",
  981. "default": false
  982. },
  983. "suppressGitVersionWarning": {
  984. "type": "boolean",
  985. "default": false
  986. },
  987. "suppressLineUncommittedWarning": {
  988. "type": "boolean",
  989. "default": false
  990. },
  991. "suppressNoRepositoryWarning": {
  992. "type": "boolean",
  993. "default": false
  994. },
  995. "suppressResultsExplorerNotice": {
  996. "type": "boolean",
  997. "default": false
  998. }
  999. },
  1000. "description": "Specifies which messages should be suppressed",
  1001. "scope": "window"
  1002. },
  1003. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1004. "type": "boolean",
  1005. "default": true,
  1006. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1007. "scope": "window"
  1008. },
  1009. "gitlens.advanced.repositorySearchDepth": {
  1010. "type": "number",
  1011. "default": 1,
  1012. "description": "Specifies how many folders deep to search for repositories",
  1013. "scope": "resource"
  1014. },
  1015. "gitlens.advanced.telemetry.enabled": {
  1016. "type": "boolean",
  1017. "default": true,
  1018. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1019. "scope": "window"
  1020. }
  1021. }
  1022. },
  1023. "colors": [
  1024. {
  1025. "id": "gitlens.gutterBackgroundColor",
  1026. "description": "Specifies the background color of the gutter blame annotations",
  1027. "defaults": {
  1028. "dark": "#FFFFFF13",
  1029. "light": "#0000000C",
  1030. "highContrast": "#FFFFFF13"
  1031. }
  1032. },
  1033. {
  1034. "id": "gitlens.gutterForegroundColor",
  1035. "description": "Specifies the foreground color of the gutter blame annotations",
  1036. "defaults": {
  1037. "dark": "#BEBEBE",
  1038. "light": "#747474",
  1039. "highContrast": "#BEBEBE"
  1040. }
  1041. },
  1042. {
  1043. "id": "gitlens.gutterUncommittedForegroundColor",
  1044. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1045. "defaults": {
  1046. "dark": "#00BCF299",
  1047. "light": "#00BCF299",
  1048. "highContrast": "#00BCF2FF"
  1049. }
  1050. },
  1051. {
  1052. "id": "gitlens.trailingLineBackgroundColor",
  1053. "description": "Specifies the background color of the trailing blame annotation",
  1054. "defaults": {
  1055. "dark": "#00000000",
  1056. "light": "#00000000",
  1057. "highContrast": "#00000000"
  1058. }
  1059. },
  1060. {
  1061. "id": "gitlens.trailingLineForegroundColor",
  1062. "description": "Specifies the foreground color of the trailing blame annotation",
  1063. "defaults": {
  1064. "dark": "#99999959",
  1065. "light": "#99999959",
  1066. "highContrast": "#99999999"
  1067. }
  1068. },
  1069. {
  1070. "id": "gitlens.lineHighlightBackgroundColor",
  1071. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1072. "defaults": {
  1073. "dark": "#00BCF233",
  1074. "light": "#00BCF233",
  1075. "highContrast": "#00BCF233"
  1076. }
  1077. },
  1078. {
  1079. "id": "gitlens.lineHighlightOverviewRulerColor",
  1080. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1081. "defaults": {
  1082. "dark": "#00BCF299",
  1083. "light": "#00BCF299",
  1084. "highContrast": "#00BCF299"
  1085. }
  1086. }
  1087. ],
  1088. "commands": [
  1089. {
  1090. "command": "gitlens.showSettingsPage",
  1091. "title": "Open Settings",
  1092. "category": "GitLens"
  1093. },
  1094. {
  1095. "command": "gitlens.showWelcomePage",
  1096. "title": "Welcome",
  1097. "category": "GitLens"
  1098. },
  1099. {
  1100. "command": "gitlens.diffDirectory",
  1101. "title": "Directory Compare Working Tree with...",
  1102. "category": "GitLens"
  1103. },
  1104. {
  1105. "command": "gitlens.diffHeadWithBranch",
  1106. "title": "Compare Index (HEAD) with Branch or Tag...",
  1107. "category": "GitLens"
  1108. },
  1109. {
  1110. "command": "gitlens.diffWith",
  1111. "title": "Compare File Revisions",
  1112. "category": "GitLens"
  1113. },
  1114. {
  1115. "command": "gitlens.diffWithBranch",
  1116. "title": "Compare File with Branch or Tag...",
  1117. "category": "GitLens"
  1118. },
  1119. {
  1120. "command": "gitlens.diffWithNext",
  1121. "title": "Compare File with Next Revision",
  1122. "category": "GitLens"
  1123. },
  1124. {
  1125. "command": "gitlens.diffWithPrevious",
  1126. "title": "Compare File with Previous Revision",
  1127. "category": "GitLens"
  1128. },
  1129. {
  1130. "command": "gitlens.diffLineWithPrevious",
  1131. "title": "Compare Line Revision with Previous",
  1132. "category": "GitLens"
  1133. },
  1134. {
  1135. "command": "gitlens.diffWithRevision",
  1136. "title": "Compare File with Revision...",
  1137. "category": "GitLens"
  1138. },
  1139. {
  1140. "command": "gitlens.diffWithWorking",
  1141. "title": "Compare File with Working Revision",
  1142. "category": "GitLens"
  1143. },
  1144. {
  1145. "command": "gitlens.diffLineWithWorking",
  1146. "title": "Compare Line Revision with Working File",
  1147. "category": "GitLens"
  1148. },
  1149. {
  1150. "command": "gitlens.showFileBlame",
  1151. "title": "Show File Blame Annotations",
  1152. "category": "GitLens"
  1153. },
  1154. {
  1155. "command": "gitlens.showLineBlame",
  1156. "title": "Show Line Blame Annotations",
  1157. "category": "GitLens"
  1158. },
  1159. {
  1160. "command": "gitlens.toggleFileBlame",
  1161. "title": "Toggle File Blame Annotations",
  1162. "category": "GitLens",
  1163. "icon": {
  1164. "dark": "images/dark/git-icon.svg",
  1165. "light": "images/light/git-icon.svg"
  1166. }
  1167. },
  1168. {
  1169. "command": "gitlens.clearFileAnnotations",
  1170. "title": "Clear File Annotations",
  1171. "category": "GitLens",
  1172. "icon": {
  1173. "dark": "images/dark/git-icon-orange.svg",
  1174. "light": "images/light/git-icon-orange.svg"
  1175. }
  1176. },
  1177. {
  1178. "command": "gitlens.computingFileAnnotations",
  1179. "title": "Computing File Annotations...",
  1180. "category": "GitLens",
  1181. "icon": {
  1182. "dark": "images/dark/git-icon-progress.svg",
  1183. "light": "images/light/git-icon-progress.svg"
  1184. }
  1185. },
  1186. {
  1187. "command": "gitlens.toggleFileHeatmap",
  1188. "title": "Toggle File Heatmap Annotations",
  1189. "category": "GitLens"
  1190. },
  1191. {
  1192. "command": "gitlens.toggleFileRecentChanges",
  1193. "title": "Toggle Recent File Changes Annotations",
  1194. "category": "GitLens",
  1195. "icon": {
  1196. "dark": "images/dark/git-icon.svg",
  1197. "light": "images/light/git-icon.svg"
  1198. }
  1199. },
  1200. {
  1201. "command": "gitlens.toggleLineBlame",
  1202. "title": "Toggle Line Blame Annotations",
  1203. "category": "GitLens"
  1204. },
  1205. {
  1206. "command": "gitlens.toggleCodeLens",
  1207. "title": "Toggle Git Code Lens",
  1208. "category": "GitLens"
  1209. },
  1210. {
  1211. "command": "gitlens.showCommitSearch",
  1212. "title": "Search Commits",
  1213. "category": "GitLens",
  1214. "icon": {
  1215. "dark": "images/dark/icon-search.svg",
  1216. "light": "images/light/icon-search.svg"
  1217. }
  1218. },
  1219. {
  1220. "command": "gitlens.showLastQuickPick",
  1221. "title": "Show Last Opened Quick Pick",
  1222. "category": "GitLens"
  1223. },
  1224. {
  1225. "command": "gitlens.showQuickCommitDetails",
  1226. "title": "Show Commit Details",
  1227. "category": "GitLens"
  1228. },
  1229. {
  1230. "command": "gitlens.showQuickCommitFileDetails",
  1231. "title": "Show Commit File Details",
  1232. "category": "GitLens"
  1233. },
  1234. {
  1235. "command": "gitlens.showQuickFileHistory",
  1236. "title": "Show File History",
  1237. "category": "GitLens"
  1238. },
  1239. {
  1240. "command": "gitlens.showQuickBranchHistory",
  1241. "title": "Show Branch History",
  1242. "category": "GitLens"
  1243. },
  1244. {
  1245. "command": "gitlens.showQuickRepoHistory",
  1246. "title": "Show Current Branch History",
  1247. "category": "GitLens"
  1248. },
  1249. {
  1250. "command": "gitlens.showQuickRepoStatus",
  1251. "title": "Show Repository Status",
  1252. "category": "GitLens"
  1253. },
  1254. {
  1255. "command": "gitlens.showQuickStashList",
  1256. "title": "Show Stashed Changes",
  1257. "category": "GitLens"
  1258. },
  1259. {
  1260. "command": "gitlens.copyShaToClipboard",
  1261. "title": "Copy Commit ID to Clipboard",
  1262. "category": "GitLens"
  1263. },
  1264. {
  1265. "command": "gitlens.copyMessageToClipboard",
  1266. "title": "Copy Commit Message to Clipboard",
  1267. "category": "GitLens"
  1268. },
  1269. {
  1270. "command": "gitlens.closeUnchangedFiles",
  1271. "title": "Close Unchanged Files",
  1272. "category": "GitLens"
  1273. },
  1274. {
  1275. "command": "gitlens.openChangedFiles",
  1276. "title": "Open Changed Files",
  1277. "category": "GitLens"
  1278. },
  1279. {
  1280. "command": "gitlens.openBranchesInRemote",
  1281. "title": "Open Branches in Remote",
  1282. "category": "GitLens"
  1283. },
  1284. {
  1285. "command": "gitlens.openBranchInRemote",
  1286. "title": "Open Branch in Remote",
  1287. "category": "GitLens"
  1288. },
  1289. {
  1290. "command": "gitlens.openCommitInRemote",
  1291. "title": "Open Commit in Remote",
  1292. "category": "GitLens"
  1293. },
  1294. {
  1295. "command": "gitlens.openFileInRemote",
  1296. "title": "Open File in Remote",
  1297. "category": "GitLens"
  1298. },
  1299. {
  1300. "command": "gitlens.openFileRevision",
  1301. "title": "Open Revision...",
  1302. "category": "GitLens"
  1303. },
  1304. {
  1305. "command": "gitlens.openRepoInRemote",
  1306. "title": "Open Repository in Remote",
  1307. "category": "GitLens"
  1308. },
  1309. {
  1310. "command": "gitlens.openWorkingFile",
  1311. "title": "Open Working File",
  1312. "category": "GitLens",
  1313. "icon": {
  1314. "dark": "images/dark/icon-open-working-file.svg",
  1315. "light": "images/light/icon-open-working-file.svg"
  1316. }
  1317. },
  1318. {
  1319. "command": "gitlens.stashApply",
  1320. "title": "Apply Stashed Changes",
  1321. "category": "GitLens"
  1322. },
  1323. {
  1324. "command": "gitlens.stashDelete",
  1325. "title": "Delete Stashed Changes",
  1326. "category": "GitLens"
  1327. },
  1328. {
  1329. "command": "gitlens.stashSave",
  1330. "title": "Stash Changes",
  1331. "category": "GitLens",
  1332. "icon": {
  1333. "dark": "images/dark/icon-add.svg",
  1334. "light": "images/light/icon-add.svg"
  1335. }
  1336. },
  1337. {
  1338. "command": "gitlens.externalDiff",
  1339. "title": "Open Changes (with difftool)",
  1340. "category": "GitLens"
  1341. },
  1342. {
  1343. "command": "gitlens.externalDiffAll",
  1344. "title": "Open All Changes (with difftool)",
  1345. "category": "GitLens"
  1346. },
  1347. {
  1348. "command": "gitlens.resetSuppressedWarnings",
  1349. "title": "Reset Suppressed Warnings",
  1350. "category": "GitLens"
  1351. },
  1352. {
  1353. "command": "gitlens.explorers.openDirectoryDiff",
  1354. "title": "Open Directory Compare",
  1355. "category": "GitLens"
  1356. },
  1357. {
  1358. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1359. "title": "Open Directory Compare with Working Tree",
  1360. "category": "GitLens"
  1361. },
  1362. {
  1363. "command": "gitlens.explorers.openChanges",
  1364. "title": "Open Changes",
  1365. "category": "GitLens"
  1366. },
  1367. {
  1368. "command": "gitlens.explorers.openChangesWithWorking",
  1369. "title": "Open Changes with Working File",
  1370. "category": "GitLens"
  1371. },
  1372. {
  1373. "command": "gitlens.explorers.openFile",
  1374. "title": "Open File",
  1375. "category": "GitLens",
  1376. "icon": {
  1377. "dark": "images/dark/icon-open-file.svg",
  1378. "light": "images/light/icon-open-file.svg"
  1379. }
  1380. },
  1381. {
  1382. "command": "gitlens.explorers.openFileRevision",
  1383. "title": "Open Revision",
  1384. "category": "GitLens"
  1385. },
  1386. {
  1387. "command": "gitlens.explorers.openFileRevisionInRemote",
  1388. "title": "Open Revision in Remote",
  1389. "category": "GitLens"
  1390. },
  1391. {
  1392. "command": "gitlens.explorers.openChangedFiles",
  1393. "title": "Open Files",
  1394. "category": "GitLens"
  1395. },
  1396. {
  1397. "command": "gitlens.explorers.openChangedFileChanges",
  1398. "title": "Open All Changes",
  1399. "category": "GitLens"
  1400. },
  1401. {
  1402. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1403. "title": "Open All Changes with Working Tree",
  1404. "category": "GitLens"
  1405. },
  1406. {
  1407. "command": "gitlens.explorers.openChangedFileRevisions",
  1408. "title": "Open Revisions",
  1409. "category": "GitLens"
  1410. },
  1411. {
  1412. "command": "gitlens.explorers.applyChanges",
  1413. "title": "Apply Changes",
  1414. "category": "GitLens"
  1415. },
  1416. {
  1417. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1418. "title": "Compare Selected Ancestor with Working Tree",
  1419. "category": "GitLens"
  1420. },
  1421. {
  1422. "command": "gitlens.explorers.compareWithHead",
  1423. "title": "Compare with Index (HEAD)",
  1424. "category": "GitLens"
  1425. },
  1426. {
  1427. "command": "gitlens.explorers.compareWithRemote",
  1428. "title": "Compare with Remote",
  1429. "category": "GitLens"
  1430. },
  1431. {
  1432. "command": "gitlens.explorers.compareWithSelected",
  1433. "title": "Compare with Selected",
  1434. "category": "GitLens"
  1435. },
  1436. {
  1437. "command": "gitlens.explorers.compareWithWorking",
  1438. "title": "Compare with Working Tree",
  1439. "category": "GitLens"
  1440. },
  1441. {
  1442. "command": "gitlens.explorers.selectForCompare",
  1443. "title": "Select for Compare",
  1444. "category": "GitLens"
  1445. },
  1446. {
  1447. "command": "gitlens.explorers.terminalCheckoutBranch",
  1448. "title": "Checkout Branch (via Terminal)",
  1449. "category": "GitLens"
  1450. },
  1451. {
  1452. "command": "gitlens.explorers.terminalCreateBranch",
  1453. "title": "Create Branch (via Terminal)...",
  1454. "category": "GitLens"
  1455. },
  1456. {
  1457. "command": "gitlens.explorers.terminalDeleteBranch",
  1458. "title": "Delete Branch (via Terminal)",
  1459. "category": "GitLens"
  1460. },
  1461. {
  1462. "command": "gitlens.explorers.terminalMergeBranch",
  1463. "title": "Merge Branch (via Terminal)",
  1464. "category": "GitLens"
  1465. },
  1466. {
  1467. "command": "gitlens.explorers.terminalRebaseBranch",
  1468. "title": "Rebase (Interactive) Branch (via Terminal)",
  1469. "category": "GitLens"
  1470. },
  1471. {
  1472. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1473. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1474. "category": "GitLens"
  1475. },
  1476. {
  1477. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1478. "title": "Squash Branch into Commit (via Terminal)",
  1479. "category": "GitLens"
  1480. },
  1481. {
  1482. "command": "gitlens.explorers.terminalCherryPickCommit",
  1483. "title": "Cherry Pick Commit (via Terminal)",
  1484. "category": "GitLens"
  1485. },
  1486. {
  1487. "command": "gitlens.explorers.terminalPushCommit",
  1488. "title": "Push to Commit (via Terminal)",
  1489. "category": "GitLens"
  1490. },
  1491. {
  1492. "command": "gitlens.explorers.terminalRebaseCommit",
  1493. "title": "Rebase to Commit (via Terminal)",
  1494. "category": "GitLens"
  1495. },
  1496. {
  1497. "command": "gitlens.explorers.terminalResetCommit",
  1498. "title": "Reset to Commit (via Terminal)",
  1499. "category": "GitLens"
  1500. },
  1501. {
  1502. "command": "gitlens.explorers.terminalRevertCommit",
  1503. "title": "Revert Commit (via Terminal)",
  1504. "category": "GitLens"
  1505. },
  1506. {
  1507. "command": "gitlens.explorers.terminalRemoveRemote",
  1508. "title": "Remove Remote (via Terminal)",
  1509. "category": "GitLens"
  1510. },
  1511. {
  1512. "command": "gitlens.explorers.terminalCreateTag",
  1513. "title": "Create Tag (via Terminal)...",
  1514. "category": "GitLens"
  1515. },
  1516. {
  1517. "command": "gitlens.explorers.terminalDeleteTag",
  1518. "title": "Delete Tag (via Terminal)",
  1519. "category": "GitLens"
  1520. },
  1521. {
  1522. "command": "gitlens.gitExplorer.refresh",
  1523. "title": "Refresh",
  1524. "category": "GitLens",
  1525. "icon": {
  1526. "dark": "images/dark/icon-refresh.svg",
  1527. "light": "images/light/icon-refresh.svg"
  1528. }
  1529. },
  1530. {
  1531. "command": "gitlens.gitExplorer.refreshNode",
  1532. "title": "Refresh",
  1533. "category": "GitLens"
  1534. },
  1535. {
  1536. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1537. "title": "Automatic Layout",
  1538. "category": "GitLens"
  1539. },
  1540. {
  1541. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1542. "title": "List Layout",
  1543. "category": "GitLens"
  1544. },
  1545. {
  1546. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1547. "title": "Tree Layout",
  1548. "category": "GitLens"
  1549. },
  1550. {
  1551. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1552. "title": "Enable Automatic Refresh",
  1553. "category": "GitLens"
  1554. },
  1555. {
  1556. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1557. "title": "Disable Automatic Refresh",
  1558. "category": "GitLens"
  1559. },
  1560. {
  1561. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1562. "title": "Follow Renames",
  1563. "category": "GitLens"
  1564. },
  1565. {
  1566. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  1567. "title": "Don't Follow Renames",
  1568. "category": "GitLens"
  1569. },
  1570. {
  1571. "command": "gitlens.gitExplorer.switchToHistoryView",
  1572. "title": "Switch to History View",
  1573. "category": "GitLens",
  1574. "icon": {
  1575. "dark": "images/dark/icon-history.svg",
  1576. "light": "images/light/icon-history.svg"
  1577. }
  1578. },
  1579. {
  1580. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1581. "title": "Switch to Repository View",
  1582. "category": "GitLens",
  1583. "icon": {
  1584. "dark": "images/dark/icon-repo.svg",
  1585. "light": "images/light/icon-repo.svg"
  1586. }
  1587. },
  1588. {
  1589. "command": "gitlens.resultsExplorer.clearResultsNode",
  1590. "title": "Clear Results",
  1591. "category": "GitLens",
  1592. "icon": {
  1593. "dark": "images/dark/icon-close-small.svg",
  1594. "light": "images/light/icon-close-small.svg"
  1595. }
  1596. },
  1597. {
  1598. "command": "gitlens.resultsExplorer.close",
  1599. "title": "Close",
  1600. "category": "GitLens",
  1601. "icon": {
  1602. "dark": "images/dark/icon-close.svg",
  1603. "light": "images/light/icon-close.svg"
  1604. }
  1605. },
  1606. {
  1607. "command": "gitlens.resultsExplorer.refresh",
  1608. "title": "Refresh",
  1609. "category": "GitLens",
  1610. "icon": {
  1611. "dark": "images/dark/icon-refresh.svg",
  1612. "light": "images/light/icon-refresh.svg"
  1613. }
  1614. },
  1615. {
  1616. "command": "gitlens.resultsExplorer.refreshNode",
  1617. "title": "Refresh",
  1618. "category": "GitLens"
  1619. },
  1620. {
  1621. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1622. "title": "Automatic Layout",
  1623. "category": "GitLens"
  1624. },
  1625. {
  1626. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1627. "title": "List Layout",
  1628. "category": "GitLens"
  1629. },
  1630. {
  1631. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1632. "title": "Tree Layout",
  1633. "category": "GitLens"
  1634. },
  1635. {
  1636. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1637. "title": "Keep Results",
  1638. "category": "GitLens",
  1639. "icon": {
  1640. "dark": "images/dark/icon-lock.svg",
  1641. "light": "images/light/icon-lock.svg"
  1642. }
  1643. },
  1644. {
  1645. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1646. "title": "Keep Results",
  1647. "category": "GitLens",
  1648. "icon": {
  1649. "dark": "images/dark/icon-locked.svg",
  1650. "light": "images/light/icon-locked.svg"
  1651. }
  1652. }
  1653. ],
  1654. "menus": {
  1655. "commandPalette": [
  1656. {
  1657. "command": "gitlens.diffDirectory",
  1658. "when": "gitlens:enabled"
  1659. },
  1660. {
  1661. "command": "gitlens.diffHeadWithBranch",
  1662. "when": "gitlens:enabled"
  1663. },
  1664. {
  1665. "command": "gitlens.diffWith",
  1666. "when": "false"
  1667. },
  1668. {
  1669. "command": "gitlens.diffWithBranch",
  1670. "when": "gitlens:activeIsTracked"
  1671. },
  1672. {
  1673. "command": "gitlens.diffWithNext",
  1674. "when": "gitlens:activeIsTracked"
  1675. },
  1676. {
  1677. "command": "gitlens.diffWithPrevious",
  1678. "when": "gitlens:activeIsTracked"
  1679. },
  1680. {
  1681. "command": "gitlens.diffLineWithPrevious",
  1682. "when": "gitlens:activeIsBlameable"
  1683. },
  1684. {
  1685. "command": "gitlens.diffWithRevision",
  1686. "when": "gitlens:activeIsTracked"
  1687. },
  1688. {
  1689. "command": "gitlens.diffWithWorking",
  1690. "when": "gitlens:activeIsTracked"
  1691. },
  1692. {
  1693. "command": "gitlens.diffLineWithWorking",
  1694. "when": "gitlens:activeIsBlameable"
  1695. },
  1696. {
  1697. "command": "gitlens.externalDiff",
  1698. "when": "gitlens:enabled"
  1699. },
  1700. {
  1701. "command": "gitlens.externalDiffAll",
  1702. "when": "gitlens:enabled"
  1703. },
  1704. {
  1705. "command": "gitlens.showFileBlame",
  1706. "when": "gitlens:activeIsBlameable"
  1707. },
  1708. {
  1709. "command": "gitlens.showLineBlame",
  1710. "when": "gitlens:activeIsBlameable"
  1711. },
  1712. {
  1713. "command": "gitlens.toggleFileBlame",
  1714. "when": "gitlens:activeIsBlameable"
  1715. },
  1716. {
  1717. "command": "gitlens.clearFileAnnotations",
  1718. "when": "gitlens:annotationStatus == computed"
  1719. },
  1720. {
  1721. "command": "gitlens.computingFileAnnotations",
  1722. "when": "false"
  1723. },
  1724. {
  1725. "command": "gitlens.toggleFileHeatmap",
  1726. "when": "gitlens:activeIsBlameable"
  1727. },
  1728. {
  1729. "command": "gitlens.toggleFileRecentChanges",
  1730. "when": "gitlens:activeIsBlameable"
  1731. },
  1732. {
  1733. "command": "gitlens.toggleLineBlame",
  1734. "when": "gitlens:enabled"
  1735. },
  1736. {
  1737. "command": "gitlens.toggleCodeLens",
  1738. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  1739. },
  1740. {
  1741. "command": "gitlens.showLastQuickPick",
  1742. "when": "gitlens:enabled"
  1743. },
  1744. {
  1745. "command": "gitlens.showCommitSearch",
  1746. "when": "gitlens:enabled"
  1747. },
  1748. {
  1749. "command": "gitlens.showQuickCommitDetails",
  1750. "when": "gitlens:activeIsBlameable"
  1751. },
  1752. {
  1753. "command": "gitlens.showQuickCommitFileDetails",
  1754. "when": "gitlens:activeIsBlameable"
  1755. },
  1756. {
  1757. "command": "gitlens.showQuickFileHistory",
  1758. "when": "gitlens:activeIsTracked"
  1759. },
  1760. {
  1761. "command": "gitlens.showQuickBranchHistory",
  1762. "when": "gitlens:enabled"
  1763. },
  1764. {
  1765. "command": "gitlens.showQuickRepoHistory",
  1766. "when": "gitlens:enabled"
  1767. },
  1768. {
  1769. "command": "gitlens.showQuickRepoStatus",
  1770. "when": "gitlens:enabled"
  1771. },
  1772. {
  1773. "command": "gitlens.showQuickStashList",
  1774. "when": "gitlens:enabled"
  1775. },
  1776. {
  1777. "command": "gitlens.copyShaToClipboard",
  1778. "when": "gitlens:activeIsBlameable"
  1779. },
  1780. {
  1781. "command": "gitlens.copyMessageToClipboard",
  1782. "when": "gitlens:activeIsBlameable"
  1783. },
  1784. {
  1785. "command": "gitlens.closeUnchangedFiles",
  1786. "when": "gitlens:enabled"
  1787. },
  1788. {
  1789. "command": "gitlens.openChangedFiles",
  1790. "when": "gitlens:enabled"
  1791. },
  1792. {
  1793. "command": "gitlens.openBranchesInRemote",
  1794. "when": "gitlens:activeHasRemote"
  1795. },
  1796. {
  1797. "command": "gitlens.openBranchInRemote",
  1798. "when": "gitlens:activeHasRemote"
  1799. },
  1800. {
  1801. "command": "gitlens.openCommitInRemote",
  1802. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1803. },
  1804. {
  1805. "command": "gitlens.openFileInRemote",
  1806. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1807. },
  1808. {
  1809. "command": "gitlens.openFileRevision",
  1810. "when": "gitlens:activeIsTracked"
  1811. },
  1812. {
  1813. "command": "gitlens.openRepoInRemote",
  1814. "when": "gitlens:activeHasRemote"
  1815. },
  1816. {
  1817. "command": "gitlens.openWorkingFile",
  1818. "when": "gitlens:activeIsRevision"
  1819. },
  1820. {
  1821. "command": "gitlens.stashApply",
  1822. "when": "gitlens:enabled"
  1823. },
  1824. {
  1825. "command": "gitlens.stashDelete",
  1826. "when": "false"
  1827. },
  1828. {
  1829. "command": "gitlens.stashSave",
  1830. "when": "gitlens:enabled"
  1831. },
  1832. {
  1833. "command": "gitlens.resetSuppressedWarnings",
  1834. "when": "gitlens:enabled"
  1835. },
  1836. {
  1837. "command": "gitlens.explorers.openChanges",
  1838. "when": "false"
  1839. },
  1840. {
  1841. "command": "gitlens.explorers.openDirectoryDiff",
  1842. "when": "false"
  1843. },
  1844. {
  1845. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1846. "when": "false"
  1847. },
  1848. {
  1849. "command": "gitlens.explorers.openChangesWithWorking",
  1850. "when": "false"
  1851. },
  1852. {
  1853. "command": "gitlens.explorers.openFile",
  1854. "when": "false"
  1855. },
  1856. {
  1857. "command": "gitlens.explorers.openFileRevision",
  1858. "when": "false"
  1859. },
  1860. {
  1861. "command": "gitlens.explorers.openFileRevisionInRemote",
  1862. "when": "false"
  1863. },
  1864. {
  1865. "command": "gitlens.explorers.openChangedFiles",
  1866. "when": "false"
  1867. },
  1868. {
  1869. "command": "gitlens.explorers.openChangedFileChanges",
  1870. "when": "false"
  1871. },
  1872. {
  1873. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1874. "when": "false"
  1875. },
  1876. {
  1877. "command": "gitlens.explorers.openChangedFileRevisions",
  1878. "when": "false"
  1879. },
  1880. {
  1881. "command": "gitlens.explorers.applyChanges",
  1882. "when": "false"
  1883. },
  1884. {
  1885. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1886. "when": "false"
  1887. },
  1888. {
  1889. "command": "gitlens.explorers.compareWithHead",
  1890. "when": "false"
  1891. },
  1892. {
  1893. "command": "gitlens.explorers.compareWithRemote",
  1894. "when": "false"
  1895. },
  1896. {
  1897. "command": "gitlens.explorers.compareWithSelected",
  1898. "when": "false"
  1899. },
  1900. {
  1901. "command": "gitlens.explorers.compareWithWorking",
  1902. "when": "false"
  1903. },
  1904. {
  1905. "command": "gitlens.explorers.selectForCompare",
  1906. "when": "false"
  1907. },
  1908. {
  1909. "command": "gitlens.explorers.terminalCheckoutBranch",
  1910. "when": "false"
  1911. },
  1912. {
  1913. "command": "gitlens.explorers.terminalCreateBranch",
  1914. "when": "false"
  1915. },
  1916. {
  1917. "command": "gitlens.explorers.terminalDeleteBranch",
  1918. "when": "false"
  1919. },
  1920. {
  1921. "command": "gitlens.explorers.terminalMergeBranch",
  1922. "when": "false"
  1923. },
  1924. {
  1925. "command": "gitlens.explorers.terminalRebaseBranch",
  1926. "when": "false"
  1927. },
  1928. {
  1929. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1930. "when": "false"
  1931. },
  1932. {
  1933. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1934. "when": "false"
  1935. },
  1936. {
  1937. "command": "gitlens.explorers.terminalCherryPickCommit",
  1938. "when": "false"
  1939. },
  1940. {
  1941. "command": "gitlens.explorers.terminalPushCommit",
  1942. "when": "false"
  1943. },
  1944. {
  1945. "command": "gitlens.explorers.terminalRebaseCommit",
  1946. "when": "false"
  1947. },
  1948. {
  1949. "command": "gitlens.explorers.terminalResetCommit",
  1950. "when": "false"
  1951. },
  1952. {
  1953. "command": "gitlens.explorers.terminalRevertCommit",
  1954. "when": "false"
  1955. },
  1956. {
  1957. "command": "gitlens.explorers.terminalRemoveRemote",
  1958. "when": "false"
  1959. },
  1960. {
  1961. "command": "gitlens.explorers.terminalCreateTag",
  1962. "when": "false"
  1963. },
  1964. {
  1965. "command": "gitlens.explorers.terminalDeleteTag",
  1966. "when": "false"
  1967. },
  1968. {
  1969. "command": "gitlens.gitExplorer.refresh",
  1970. "when": "false"
  1971. },
  1972. {
  1973. "command": "gitlens.gitExplorer.refreshNode",
  1974. "when": "false"
  1975. },
  1976. {
  1977. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1978. "when": "false"
  1979. },
  1980. {
  1981. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1982. "when": "false"
  1983. },
  1984. {
  1985. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1986. "when": "false"
  1987. },
  1988. {
  1989. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1990. "when": "false"
  1991. },
  1992. {
  1993. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1994. "when": "false"
  1995. },
  1996. {
  1997. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1998. "when": "false"
  1999. },
  2000. {
  2001. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2002. "when": "false"
  2003. },
  2004. {
  2005. "command": "gitlens.gitExplorer.switchToHistoryView",
  2006. "when": "gitlens:enabled && gitlens:gitExplorer:view == repository"
  2007. },
  2008. {
  2009. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2010. "when": "gitlens:enabled && gitlens:gitExplorer:view == history"
  2011. },
  2012. {
  2013. "command": "gitlens.resultsExplorer.clearResultsNode",
  2014. "when": "false"
  2015. },
  2016. {
  2017. "command": "gitlens.resultsExplorer.close",
  2018. "when": "false"
  2019. },
  2020. {
  2021. "command": "gitlens.resultsExplorer.refresh",
  2022. "when": "false"
  2023. },
  2024. {
  2025. "command": "gitlens.resultsExplorer.refreshNode",
  2026. "when": "false"
  2027. },
  2028. {
  2029. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2030. "when": "false"
  2031. },
  2032. {
  2033. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2034. "when": "false"
  2035. },
  2036. {
  2037. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2038. "when": "false"
  2039. },
  2040. {
  2041. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2042. "when": "false"
  2043. },
  2044. {
  2045. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2046. "when": "false"
  2047. }
  2048. ],
  2049. "editor/context": [
  2050. {
  2051. "command": "gitlens.openFileInRemote",
  2052. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  2053. "group": "navigation@100"
  2054. },
  2055. {
  2056. "command": "gitlens.diffLineWithPrevious",
  2057. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2058. "group": "1_gitlens@1"
  2059. },
  2060. {
  2061. "command": "gitlens.diffLineWithWorking",
  2062. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2063. "group": "1_gitlens@2"
  2064. },
  2065. {
  2066. "command": "gitlens.showQuickCommitFileDetails",
  2067. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2068. "group": "1_gitlens@3"
  2069. },
  2070. {
  2071. "command": "gitlens.diffWithPrevious",
  2072. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2073. "group": "1_gitlens_1@1"
  2074. },
  2075. {
  2076. "command": "gitlens.diffWithWorking",
  2077. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2078. "group": "1_gitlens_1@2"
  2079. },
  2080. {
  2081. "command": "gitlens.showQuickFileHistory",
  2082. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2083. "group": "3_gitlens@1"
  2084. },
  2085. {
  2086. "command": "gitlens.toggleFileBlame",
  2087. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2088. "group": "3_gitlens@2"
  2089. },
  2090. {
  2091. "command": "gitlens.copyShaToClipboard",
  2092. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2093. "group": "9_gitlens@1"
  2094. },
  2095. {
  2096. "command": "gitlens.copyMessageToClipboard",
  2097. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2098. "group": "9_gitlens@2"
  2099. }
  2100. ],
  2101. "editor/title": [
  2102. {
  2103. "command": "gitlens.openWorkingFile",
  2104. "when": "gitlens:activeIsRevision",
  2105. "group": "navigation@1"
  2106. },
  2107. {
  2108. "command": "gitlens.toggleFileBlame",
  2109. "alt": "gitlens.toggleFileRecentChanges",
  2110. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2111. "group": "navigation@100"
  2112. },
  2113. {
  2114. "command": "gitlens.computingFileAnnotations",
  2115. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2116. "group": "navigation@100"
  2117. },
  2118. {
  2119. "command": "gitlens.clearFileAnnotations",
  2120. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2121. "group": "navigation@100"
  2122. },
  2123. {
  2124. "command": "gitlens.openFileInRemote",
  2125. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2126. "group": "2_gitlens"
  2127. },
  2128. {
  2129. "command": "gitlens.openRepoInRemote",
  2130. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2131. "group": "2_gitlens"
  2132. },
  2133. {
  2134. "command": "gitlens.diffWithPrevious",
  2135. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2136. "group": "2_gitlens_1"
  2137. },
  2138. {
  2139. "command": "gitlens.diffWithWorking",
  2140. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2141. "group": "2_gitlens_1"
  2142. },
  2143. {
  2144. "command": "gitlens.showQuickFileHistory",
  2145. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2146. "group": "2_gitlens_2"
  2147. },
  2148. {
  2149. "command": "gitlens.showQuickRepoHistory",
  2150. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2151. "group": "2_gitlens_2"
  2152. },
  2153. {
  2154. "command": "gitlens.showQuickRepoStatus",
  2155. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2156. "group": "2_gitlens_2"
  2157. }
  2158. ],
  2159. "editor/title/context": [
  2160. {
  2161. "command": "gitlens.openFileInRemote",
  2162. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2163. "group": "1_gitlens"
  2164. },
  2165. {
  2166. "command": "gitlens.diffWithPrevious",
  2167. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2168. "group": "1_gitlens_1@1"
  2169. },
  2170. {
  2171. "command": "gitlens.diffWithWorking",
  2172. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2173. "group": "1_gitlens_1@2"
  2174. },
  2175. {
  2176. "command": "gitlens.showQuickFileHistory",
  2177. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2178. "group": "1_gitlens_2@1"
  2179. },
  2180. {
  2181. "command": "gitlens.toggleFileBlame",
  2182. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2183. "group": "1_gitlens_2@2"
  2184. }
  2185. ],
  2186. "explorer/context": [
  2187. {
  2188. "command": "gitlens.openFileInRemote",
  2189. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2190. "group": "navigation@100"
  2191. },
  2192. {
  2193. "command": "gitlens.diffWithPrevious",
  2194. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2195. "group": "1_gitlens@1"
  2196. },
  2197. {
  2198. "command": "gitlens.diffWithWorking",
  2199. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2200. "group": "1_gitlens@2"
  2201. },
  2202. {
  2203. "command": "gitlens.showQuickFileHistory",
  2204. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2205. "group": "1_gitlens_1@1"
  2206. }
  2207. ],
  2208. "scm/resourceGroup/context": [
  2209. {
  2210. "command": "gitlens.openChangedFiles",
  2211. "when": "gitlens:enabled",
  2212. "group": "2_gitlens@1"
  2213. },
  2214. {
  2215. "command": "gitlens.closeUnchangedFiles",
  2216. "when": "gitlens:enabled",
  2217. "group": "2_gitlens@2"
  2218. },
  2219. {
  2220. "command": "gitlens.externalDiff",
  2221. "when": "gitlens:enabled",
  2222. "group": "2_gitlens@3"
  2223. },
  2224. {
  2225. "command": "gitlens.externalDiffAll",
  2226. "when": "gitlens:enabled",
  2227. "group": "2_gitlens@4"
  2228. },
  2229. {
  2230. "command": "gitlens.stashSave",
  2231. "when": "gitlens:enabled",
  2232. "group": "3_gitlens@1"
  2233. }
  2234. ],
  2235. "scm/resourceState/context": [
  2236. {
  2237. "command": "gitlens.openFileInRemote",
  2238. "when": "gitlens:enabled && gitlens:hasRemotes",
  2239. "group": "navigation"
  2240. },
  2241. {
  2242. "command": "gitlens.externalDiff",
  2243. "when": "gitlens:enabled",
  2244. "group": "navigation"
  2245. },
  2246. {
  2247. "command": "gitlens.diffWithRevision",
  2248. "when": "gitlens:enabled",
  2249. "group": "1_gitlens@1"
  2250. },
  2251. {
  2252. "command": "gitlens.diffWithBranch",
  2253. "when": "gitlens:enabled",
  2254. "group": "1_gitlens@2"
  2255. },
  2256. {
  2257. "command": "gitlens.showQuickFileHistory",
  2258. "when": "gitlens:enabled",
  2259. "group": "1_gitlens_1@1"
  2260. },
  2261. {
  2262. "command": "gitlens.stashSave",
  2263. "when": "gitlens:enabled",
  2264. "group": "2_gitlens@1"
  2265. }
  2266. ],
  2267. "view/title": [
  2268. {
  2269. "command": "gitlens.showCommitSearch",
  2270. "when": "view == gitlens.gitExplorer",
  2271. "group": "navigation@1"
  2272. },
  2273. {
  2274. "command": "gitlens.gitExplorer.switchToHistoryView",
  2275. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2276. "group": "navigation@2"
  2277. },
  2278. {
  2279. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2280. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2281. "group": "navigation@3"
  2282. },
  2283. {
  2284. "command": "gitlens.gitExplorer.refresh",
  2285. "when": "view == gitlens.gitExplorer",
  2286. "group": "navigation@4"
  2287. },
  2288. {
  2289. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2290. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2291. "group": "1_gitlens"
  2292. },
  2293. {
  2294. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2295. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2296. "group": "1_gitlens"
  2297. },
  2298. {
  2299. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2300. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2301. "group": "1_gitlens"
  2302. },
  2303. {
  2304. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2305. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2306. "group": "2_gitlens"
  2307. },
  2308. {
  2309. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2310. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2311. "group": "2_gitlens"
  2312. },
  2313. {
  2314. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2315. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2316. "group": "2_gitlens_1"
  2317. },
  2318. {
  2319. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2320. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2321. "group": "2_gitlens_1"
  2322. },
  2323. {
  2324. "command": "gitlens.showCommitSearch",
  2325. "when": "view == gitlens.resultsExplorer",
  2326. "group": "navigation@1"
  2327. },
  2328. {
  2329. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2330. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2331. "group": "navigation@2"
  2332. },
  2333. {
  2334. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2335. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2336. "group": "navigation@2"
  2337. },
  2338. {
  2339. "command": "gitlens.resultsExplorer.refresh",
  2340. "when": "view == gitlens.resultsExplorer",
  2341. "group": "navigation@3"
  2342. },
  2343. {
  2344. "command": "gitlens.resultsExplorer.close",
  2345. "when": "view == gitlens.resultsExplorer",
  2346. "group": "navigation@9"
  2347. },
  2348. {
  2349. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2350. "when": "view == gitlens.resultsExplorer",
  2351. "group": "1_gitlens"
  2352. },
  2353. {
  2354. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2355. "when": "view == gitlens.resultsExplorer",
  2356. "group": "1_gitlens"
  2357. },
  2358. {
  2359. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2360. "when": "view == gitlens.resultsExplorer",
  2361. "group": "1_gitlens"
  2362. }
  2363. ],
  2364. "view/item/context": [
  2365. {
  2366. "command": "gitlens.openBranchesInRemote",
  2367. "when": "viewItem == gitlens:branches:remotes",
  2368. "group": "1_gitlens@1"
  2369. },
  2370. {
  2371. "command": "gitlens.openBranchInRemote",
  2372. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  2373. "group": "1_gitlens@1"
  2374. },
  2375. {
  2376. "command": "gitlens.explorers.compareWithRemote",
  2377. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  2378. "group": "7_gitlens@1"
  2379. },
  2380. {
  2381. "command": "gitlens.explorers.compareWithHead",
  2382. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2383. "group": "7_gitlens@2"
  2384. },
  2385. {
  2386. "command": "gitlens.explorers.compareWithWorking",
  2387. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2388. "group": "7_gitlens@3"
  2389. },
  2390. {
  2391. "command": "gitlens.explorers.compareWithSelected",
  2392. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:explorers:canCompare",
  2393. "group": "7_gitlens_@1"
  2394. },
  2395. {
  2396. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2397. "when": "viewItem =~ /gitlens:branch\\b/ && gitlens:explorers:canCompare == branch",
  2398. "group": "7_gitlens_@2"
  2399. },
  2400. {
  2401. "command": "gitlens.explorers.selectForCompare",
  2402. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2403. "group": "7_gitlens_@3"
  2404. },
  2405. {
  2406. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2407. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  2408. "group": "7_gitlens_diff@1"
  2409. },
  2410. {
  2411. "command": "gitlens.explorers.terminalCheckoutBranch",
  2412. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2413. "group": "8_gitlens@1"
  2414. },
  2415. {
  2416. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2417. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  2418. "group": "8_gitlens@1"
  2419. },
  2420. {
  2421. "command": "gitlens.explorers.terminalMergeBranch",
  2422. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2423. "group": "8_gitlens@2"
  2424. },
  2425. {
  2426. "command": "gitlens.explorers.terminalRebaseBranch",
  2427. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2428. "group": "8_gitlens@3"
  2429. },
  2430. {
  2431. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2432. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2433. "group": "8_gitlens@4"
  2434. },
  2435. {
  2436. "command": "gitlens.explorers.terminalCreateBranch",
  2437. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  2438. "group": "8_gitlens@5"
  2439. },
  2440. {
  2441. "command": "gitlens.explorers.terminalDeleteBranch",
  2442. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2443. "group": "8_gitlens@6"
  2444. },
  2445. {
  2446. "command": "gitlens.explorers.terminalCreateTag",
  2447. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  2448. "group": "8_gitlens@7"
  2449. },
  2450. {
  2451. "command": "gitlens.openCommitInRemote",
  2452. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  2453. "group": "1_gitlens@1"
  2454. },
  2455. {
  2456. "command": "gitlens.explorers.openChangedFileChanges",
  2457. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2458. "group": "2_gitlens@1"
  2459. },
  2460. {
  2461. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2462. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2463. "group": "2_gitlens@2"
  2464. },
  2465. {
  2466. "command": "gitlens.explorers.openChangedFiles",
  2467. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2468. "group": "3_gitlens@1"
  2469. },
  2470. {
  2471. "command": "gitlens.explorers.openChangedFileRevisions",
  2472. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2473. "group": "3_gitlens@2"
  2474. },
  2475. {
  2476. "command": "gitlens.copyShaToClipboard",
  2477. "when": "viewItem =~ /gitlens:commit\\b/",
  2478. "group": "4_gitlens@1"
  2479. },
  2480. {
  2481. "command": "gitlens.copyMessageToClipboard",
  2482. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2483. "group": "4_gitlens@2"
  2484. },
  2485. {
  2486. "command": "gitlens.showQuickCommitDetails",
  2487. "when": "viewItem =~ /gitlens:commit\\b/",
  2488. "group": "5_gitlens@1"
  2489. },
  2490. {
  2491. "command": "gitlens.explorers.terminalCherryPickCommit",
  2492. "when": "viewItem == gitlens:commit",
  2493. "group": "8_gitlens@1"
  2494. },
  2495. {
  2496. "command": "gitlens.explorers.terminalPushCommit",
  2497. "when": "viewItem == gitlens:commit:current",
  2498. "group": "8_gitlens@1"
  2499. },
  2500. {
  2501. "command": "gitlens.explorers.terminalRevertCommit",
  2502. "when": "viewItem == gitlens:commit:current",
  2503. "group": "8_gitlens@1"
  2504. },
  2505. {
  2506. "command": "gitlens.explorers.terminalRebaseCommit",
  2507. "when": "viewItem == gitlens:commit:current",
  2508. "group": "8_gitlens@2"
  2509. },
  2510. {
  2511. "command": "gitlens.explorers.terminalResetCommit",
  2512. "when": "viewItem == gitlens:commit:current",
  2513. "group": "8_gitlens@3"
  2514. },
  2515. {
  2516. "command": "gitlens.explorers.openFile",
  2517. "when": "viewItem =~ /gitlens:file\\b/",
  2518. "group": "inline"
  2519. },
  2520. {
  2521. "command": "gitlens.explorers.openChanges",
  2522. "when": "viewItem =~ /gitlens:file\\b/",
  2523. "group": "2_gitlens@1"
  2524. },
  2525. {
  2526. "command": "gitlens.explorers.openChangesWithWorking",
  2527. "when": "viewItem =~ /gitlens:file\\b/",
  2528. "group": "2_gitlens@2"
  2529. },
  2530. {
  2531. "command": "gitlens.explorers.openFile",
  2532. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  2533. "group": "3_gitlens@1"
  2534. },
  2535. {
  2536. "command": "gitlens.explorers.openFileRevision",
  2537. "when": "viewItem =~ /gitlens:file\\b/",
  2538. "group": "3_gitlens@2"
  2539. },
  2540. {
  2541. "command": "gitlens.openFileInRemote",
  2542. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  2543. "group": "4_gitlens@1"
  2544. },
  2545. {
  2546. "command": "gitlens.explorers.openFileRevisionInRemote",
  2547. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  2548. "group": "4_gitlens@2"
  2549. },
  2550. {
  2551. "command": "gitlens.openFileInRemote",
  2552. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  2553. "group": "3_gitlens@2"
  2554. },
  2555. {
  2556. "command": "gitlens.showQuickFileHistory",
  2557. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:gitExplorer:view == repository",
  2558. "group": "8_gitlens@1"
  2559. },
  2560. {
  2561. "command": "gitlens.showQuickCommitFileDetails",
  2562. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  2563. "group": "8_gitlens@2"
  2564. },
  2565. {
  2566. "command": "gitlens.explorers.applyChanges",
  2567. "when": "viewItem == gitlens:file:commit",
  2568. "group": "5_gitlens@1"
  2569. },
  2570. {
  2571. "command": "gitlens.explorers.applyChanges",
  2572. "when": "viewItem == gitlens:file:stash",
  2573. "group": "1_gitlens@1"
  2574. },
  2575. {
  2576. "command": "gitlens.openRepoInRemote",
  2577. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2578. "group": "1_gitlens@1"
  2579. },
  2580. {
  2581. "command": "gitlens.openBranchesInRemote",
  2582. "when": "viewItem == gitlens:remote",
  2583. "group": "1_gitlens@1"
  2584. },
  2585. {
  2586. "command": "gitlens.openRepoInRemote",
  2587. "when": "viewItem == gitlens:remote",
  2588. "group": "1_gitlens@2"
  2589. },
  2590. {
  2591. "command": "gitlens.explorers.terminalRemoveRemote",
  2592. "when": "viewItem == gitlens:remote",
  2593. "group": "8_gitlens@1"
  2594. },
  2595. {
  2596. "command": "gitlens.openRepoInRemote",
  2597. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2598. "group": "1_gitlens@1"
  2599. },
  2600. {
  2601. "command": "gitlens.resultsExplorer.clearResultsNode",
  2602. "when": "viewItem =~ /gitlens:results\\b/",
  2603. "group": "inline"
  2604. },
  2605. {
  2606. "command": "gitlens.resultsExplorer.clearResultsNode",
  2607. "when": "viewItem =~ /gitlens:results\\b/",
  2608. "group": "1_gitlens@1"
  2609. },
  2610. {
  2611. "command": "gitlens.explorers.openDirectoryDiff",
  2612. "when": "viewItem == gitlens:results:comparison",
  2613. "group": "7_gitlens@1"
  2614. },
  2615. {
  2616. "command": "gitlens.stashSave",
  2617. "when": "viewItem == gitlens:stashes",
  2618. "group": "1_gitlens@1"
  2619. },
  2620. {
  2621. "command": "gitlens.stashApply",
  2622. "when": "viewItem == gitlens:stash",
  2623. "group": "1_gitlens@1"
  2624. },
  2625. {
  2626. "command": "gitlens.stashDelete",
  2627. "when": "viewItem == gitlens:stash",
  2628. "group": "1_gitlens@2"
  2629. },
  2630. {
  2631. "command": "gitlens.explorers.terminalDeleteTag",
  2632. "when": "viewItem == gitlens:tag",
  2633. "group": "8_gitlens"
  2634. },
  2635. {
  2636. "command": "gitlens.gitExplorer.refreshNode",
  2637. "when": "view =~ /gitlens\\.(git|results)Explorer/ && viewItem =~ /gitlens:(?!file\\b)/",
  2638. "group": "9_gitlens@1"
  2639. }
  2640. ]
  2641. },
  2642. "keybindings": [
  2643. {
  2644. "command": "gitlens.key.left",
  2645. "key": "alt+left",
  2646. "when": "gitlens:key:left"
  2647. },
  2648. {
  2649. "command": "gitlens.key.right",
  2650. "key": "alt+right",
  2651. "when": "gitlens:key:right"
  2652. },
  2653. {
  2654. "command": "gitlens.key.,",
  2655. "key": "alt+,",
  2656. "when": "gitlens:key:,"
  2657. },
  2658. {
  2659. "command": "gitlens.key..",
  2660. "key": "alt+.",
  2661. "when": "gitlens:key:."
  2662. },
  2663. {
  2664. "command": "gitlens.key.escape",
  2665. "key": "escape",
  2666. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  2667. },
  2668. {
  2669. "command": "gitlens.toggleFileBlame",
  2670. "key": "ctrl+shift+g b",
  2671. "mac": "cmd+alt+g b",
  2672. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  2673. },
  2674. {
  2675. "command": "gitlens.toggleCodeLens",
  2676. "key": "ctrl+shift+g shift+b",
  2677. "mac": "cmd+alt+g shift+b",
  2678. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  2679. },
  2680. {
  2681. "command": "gitlens.showLastQuickPick",
  2682. "key": "ctrl+shift+g -",
  2683. "mac": "cmd+alt+g -",
  2684. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2685. },
  2686. {
  2687. "command": "gitlens.showCommitSearch",
  2688. "key": "ctrl+shift+g /",
  2689. "mac": "cmd+alt+g /",
  2690. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2691. },
  2692. {
  2693. "command": "gitlens.showQuickFileHistory",
  2694. "key": "ctrl+shift+g h",
  2695. "mac": "cmd+alt+g h",
  2696. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2697. },
  2698. {
  2699. "command": "gitlens.showQuickRepoHistory",
  2700. "key": "ctrl+shift+g shift+h",
  2701. "mac": "cmd+alt+g shift+h",
  2702. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2703. },
  2704. {
  2705. "command": "gitlens.showQuickRepoStatus",
  2706. "key": "ctrl+shift+g s",
  2707. "mac": "cmd+alt+g s",
  2708. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2709. },
  2710. {
  2711. "command": "gitlens.showQuickCommitFileDetails",
  2712. "key": "ctrl+shift+g c",
  2713. "mac": "cmd+alt+g c",
  2714. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  2715. },
  2716. {
  2717. "command": "gitlens.diffWithNext",
  2718. "key": "ctrl+shift+g .",
  2719. "mac": "cmd+alt+g .",
  2720. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2721. },
  2722. {
  2723. "command": "gitlens.diffLineWithPrevious",
  2724. "key": "ctrl+shift+g shift+,",
  2725. "mac": "cmd+alt+g shift+,",
  2726. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2727. },
  2728. {
  2729. "command": "gitlens.diffWithPrevious",
  2730. "key": "ctrl+shift+g ,",
  2731. "mac": "cmd+alt+g ,",
  2732. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2733. },
  2734. {
  2735. "command": "gitlens.diffLineWithWorking",
  2736. "key": "ctrl+shift+g w",
  2737. "mac": "cmd+alt+g w",
  2738. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2739. },
  2740. {
  2741. "command": "gitlens.diffWithWorking",
  2742. "key": "ctrl+shift+g shift+w",
  2743. "mac": "cmd+alt+g shift+w",
  2744. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2745. },
  2746. {
  2747. "command": "gitlens.toggleFileBlame",
  2748. "key": "alt+b",
  2749. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  2750. },
  2751. {
  2752. "command": "gitlens.toggleCodeLens",
  2753. "key": "shift+alt+b",
  2754. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  2755. },
  2756. {
  2757. "command": "gitlens.showLastQuickPick",
  2758. "key": "alt+-",
  2759. "when": "gitlens:keymap == standard && gitlens:enabled"
  2760. },
  2761. {
  2762. "command": "gitlens.showCommitSearch",
  2763. "key": "alt+/",
  2764. "when": "gitlens:keymap == standard && gitlens:enabled"
  2765. },
  2766. {
  2767. "command": "gitlens.showQuickFileHistory",
  2768. "key": "alt+h",
  2769. "when": "gitlens:keymap == standard && gitlens:enabled"
  2770. },
  2771. {
  2772. "command": "gitlens.showQuickRepoHistory",
  2773. "key": "shift+alt+h",
  2774. "when": "gitlens:keymap == standard && gitlens:enabled"
  2775. },
  2776. {
  2777. "command": "gitlens.showQuickRepoStatus",
  2778. "key": "alt+s",
  2779. "when": "gitlens:keymap == standard && gitlens:enabled"
  2780. },
  2781. {
  2782. "command": "gitlens.showQuickCommitFileDetails",
  2783. "key": "alt+c",
  2784. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  2785. },
  2786. {
  2787. "command": "gitlens.diffWithNext",
  2788. "key": "alt+.",
  2789. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2790. },
  2791. {
  2792. "command": "gitlens.diffLineWithPrevious",
  2793. "key": "shift+alt+,",
  2794. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2795. },
  2796. {
  2797. "command": "gitlens.diffWithPrevious",
  2798. "key": "alt+,",
  2799. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2800. },
  2801. {
  2802. "command": "gitlens.diffLineWithWorking",
  2803. "key": "alt+w",
  2804. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2805. },
  2806. {
  2807. "command": "gitlens.diffWithWorking",
  2808. "key": "shift+alt+w",
  2809. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2810. },
  2811. {
  2812. "command": "workbench.view.scm",
  2813. "key": "ctrl+shift+g g",
  2814. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2815. }
  2816. ],
  2817. "views": {
  2818. "explorer": [
  2819. {
  2820. "id": "gitlens.gitExplorer",
  2821. "name": "GitLens",
  2822. "when": "gitlens:enabled && gitlens:gitExplorer"
  2823. },
  2824. {
  2825. "id": "gitlens.resultsExplorer",
  2826. "name": "GitLens Results",
  2827. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2828. }
  2829. ]
  2830. }
  2831. },
  2832. "activationEvents": [
  2833. "*"
  2834. ],
  2835. "scripts": {
  2836. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  2837. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  2838. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  2839. "clean": "git clean -Xdf",
  2840. "lint": "tslint --project tslint.json",
  2841. "pack": "vsce package",
  2842. "pub": "vsce publish",
  2843. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  2844. "reset": "npm run clean && npm install --no-save",
  2845. "watch": "tsc -watch -p ./",
  2846. "postinstall": "node ./node_modules/vscode/bin/install && pushd \"./src/ui\" && npm install --no-save && popd",
  2847. "prepush": "npm run build",
  2848. "vscode:prepublish": "npm run reset && npm run bundle"
  2849. },
  2850. "dependencies": {
  2851. "copy-paste": "1.3.0",
  2852. "date-fns": "1.29.0",
  2853. "iconv-lite": "0.4.19",
  2854. "lodash.debounce": "4.0.8",
  2855. "lodash.once": "4.1.1",
  2856. "tmp": "0.0.33",
  2857. "tslib": "1.9.0"
  2858. },
  2859. "devDependencies": {
  2860. "@types/copy-paste": "1.1.30",
  2861. "@types/node": "9.4.6",
  2862. "@types/tmp": "0.0.33",
  2863. "husky": "0.14.3",
  2864. "ts-loader": "3.5.0",
  2865. "tslint": "5.9.1",
  2866. "typescript": "2.7.2",
  2867. "uglify-es": "3.3.9",
  2868. "uglifyjs-webpack-plugin": "1.2.0",
  2869. "vscode": "1.1.10",
  2870. "webpack": "3.11.0",
  2871. "webpack-node-externals": "1.6.0"
  2872. }
  2873. }