Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

3317 righe
147 KiB

7 anni fa
7 anni fa
7 anni fa
  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.19.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.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  741. "type": "string",
  742. "default": "Unsaved changes (cannot determine recent change or authors)",
  743. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  744. "scope": "window"
  745. },
  746. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  747. "type": "string",
  748. "default": "Unsaved changes (cannot determine recent change)",
  749. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  750. "scope": "window"
  751. },
  752. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  753. "type": "string",
  754. "default": "Unsaved changes (cannot determine authors)",
  755. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  756. "scope": "window"
  757. },
  758. "gitlens.advanced.blame.delayAfterEdit": {
  759. "type": "number",
  760. "default": 5000,
  761. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  762. "scope": "window"
  763. },
  764. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  765. "type": "number",
  766. "default": 5000,
  767. "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",
  768. "scope": "window"
  769. },
  770. "gitlens.advanced.caching.enabled": {
  771. "type": "boolean",
  772. "default": true,
  773. "description": "Specifies whether git output will be cached -- changing the default is not recommended",
  774. "scope": "window"
  775. },
  776. "gitlens.advanced.git": {
  777. "type": "string",
  778. "default": null,
  779. "description": "Specifies the git path to use",
  780. "scope": "window"
  781. },
  782. "gitlens.advanced.fileHistoryFollowsRenames": {
  783. "type": "boolean",
  784. "default": true,
  785. "description": "Specifies whether file histories will follow renames -- will affect how merge commits are shown in histories",
  786. "scope": "window"
  787. },
  788. "gitlens.advanced.maxListItems": {
  789. "type": "number",
  790. "default": 200,
  791. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  792. "scope": "window"
  793. },
  794. "gitlens.advanced.menus": {
  795. "type": "object",
  796. "default": {
  797. "editorContext": {
  798. "blame": true,
  799. "copy": true,
  800. "details": true,
  801. "fileDiff": true,
  802. "history": true,
  803. "lineDiff": true,
  804. "remote": true
  805. },
  806. "editorTitle": {
  807. "blame": true,
  808. "fileDiff": false,
  809. "history": false,
  810. "remote": false,
  811. "status": false
  812. },
  813. "editorTitleContext": {
  814. "blame": false,
  815. "fileDiff": false,
  816. "history": false,
  817. "remote": false
  818. },
  819. "explorerContext": {
  820. "fileDiff": true,
  821. "history": true,
  822. "remote": true
  823. }
  824. },
  825. "properties": {
  826. "editorContext": {
  827. "type": "object",
  828. "default": {
  829. "blame": true,
  830. "copy": true,
  831. "details": true,
  832. "fileDiff": true,
  833. "history": true,
  834. "lineDiff": true,
  835. "remote": true
  836. },
  837. "properties": {
  838. "blame": {
  839. "type": "boolean",
  840. "default": true
  841. },
  842. "copy": {
  843. "type": "boolean",
  844. "default": true
  845. },
  846. "details": {
  847. "type": "boolean",
  848. "default": true
  849. },
  850. "fileDiff": {
  851. "type": "boolean",
  852. "default": true
  853. },
  854. "history": {
  855. "type": "boolean",
  856. "default": true
  857. },
  858. "lineDiff": {
  859. "type": "boolean",
  860. "default": true
  861. },
  862. "remote": {
  863. "type": "boolean",
  864. "default": true
  865. }
  866. }
  867. },
  868. "editorTitle": {
  869. "type": "object",
  870. "default": {
  871. "blame": true,
  872. "fileDiff": true,
  873. "history": true,
  874. "remote": true,
  875. "status": true
  876. },
  877. "properties": {
  878. "blame": {
  879. "type": "boolean",
  880. "default": true
  881. },
  882. "fileDiff": {
  883. "type": "boolean",
  884. "default": true
  885. },
  886. "history": {
  887. "type": "boolean",
  888. "default": true
  889. },
  890. "remote": {
  891. "type": "boolean",
  892. "default": true
  893. },
  894. "status": {
  895. "type": "boolean",
  896. "default": true
  897. }
  898. }
  899. },
  900. "editorTitleContext": {
  901. "type": "object",
  902. "default": {
  903. "blame": true,
  904. "fileDiff": true,
  905. "history": true,
  906. "remote": true
  907. },
  908. "properties": {
  909. "blame": {
  910. "type": "boolean",
  911. "default": true
  912. },
  913. "fileDiff": {
  914. "type": "boolean",
  915. "default": true
  916. },
  917. "history": {
  918. "type": "boolean",
  919. "default": true
  920. },
  921. "remote": {
  922. "type": "boolean",
  923. "default": true
  924. }
  925. }
  926. },
  927. "explorerContext": {
  928. "type": "object",
  929. "default": {
  930. "fileDiff": true,
  931. "history": true,
  932. "remote": true
  933. },
  934. "properties": {
  935. "fileDiff": {
  936. "type": "boolean",
  937. "default": true
  938. },
  939. "history": {
  940. "type": "boolean",
  941. "default": true
  942. },
  943. "remote": {
  944. "type": "boolean",
  945. "default": true
  946. }
  947. }
  948. }
  949. },
  950. "description": "Specifies which commands will be added to which menus",
  951. "scope": "window"
  952. },
  953. "gitlens.advanced.messages": {
  954. "type": "object",
  955. "default": {
  956. "suppressCommitHasNoPreviousCommitWarning": false,
  957. "suppressCommitNotFoundWarning": false,
  958. "suppressFileNotUnderSourceControlWarning": false,
  959. "suppressGitVersionWarning": false,
  960. "suppressLineUncommittedWarning": false,
  961. "suppressNoRepositoryWarning": false,
  962. "suppressResultsExplorerNotice": false
  963. },
  964. "properties": {
  965. "suppressCommitHasNoPreviousCommitWarning": {
  966. "type": "boolean",
  967. "default": false
  968. },
  969. "suppressCommitNotFoundWarning": {
  970. "type": "boolean",
  971. "default": false
  972. },
  973. "suppressFileNotUnderSourceControlWarning": {
  974. "type": "boolean",
  975. "default": false
  976. },
  977. "suppressGitVersionWarning": {
  978. "type": "boolean",
  979. "default": false
  980. },
  981. "suppressLineUncommittedWarning": {
  982. "type": "boolean",
  983. "default": false
  984. },
  985. "suppressNoRepositoryWarning": {
  986. "type": "boolean",
  987. "default": false
  988. },
  989. "suppressResultsExplorerNotice": {
  990. "type": "boolean",
  991. "default": false
  992. }
  993. },
  994. "description": "Specifies which messages should be suppressed",
  995. "scope": "window"
  996. },
  997. "gitlens.advanced.quickPick.closeOnFocusOut": {
  998. "type": "boolean",
  999. "default": true,
  1000. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1001. "scope": "window"
  1002. },
  1003. "gitlens.advanced.repositorySearchDepth": {
  1004. "type": "number",
  1005. "default": 1,
  1006. "description": "Specifies how many folders deep to search for repositories",
  1007. "scope": "resource"
  1008. },
  1009. "gitlens.advanced.telemetry.enabled": {
  1010. "type": "boolean",
  1011. "default": true,
  1012. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1013. "scope": "window"
  1014. }
  1015. }
  1016. },
  1017. "colors": [
  1018. {
  1019. "id": "gitlens.gutterBackgroundColor",
  1020. "description": "Specifies the background color of the gutter blame annotations",
  1021. "defaults": {
  1022. "dark": "#FFFFFF13",
  1023. "light": "#0000000C",
  1024. "highContrast": "#FFFFFF13"
  1025. }
  1026. },
  1027. {
  1028. "id": "gitlens.gutterForegroundColor",
  1029. "description": "Specifies the foreground color of the gutter blame annotations",
  1030. "defaults": {
  1031. "dark": "#BEBEBE",
  1032. "light": "#747474",
  1033. "highContrast": "#BEBEBE"
  1034. }
  1035. },
  1036. {
  1037. "id": "gitlens.gutterUncommittedForegroundColor",
  1038. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1039. "defaults": {
  1040. "dark": "#00BCF299",
  1041. "light": "#00BCF299",
  1042. "highContrast": "#00BCF2FF"
  1043. }
  1044. },
  1045. {
  1046. "id": "gitlens.trailingLineBackgroundColor",
  1047. "description": "Specifies the background color of the trailing blame annotation",
  1048. "defaults": {
  1049. "dark": "#00000000",
  1050. "light": "#00000000",
  1051. "highContrast": "#00000000"
  1052. }
  1053. },
  1054. {
  1055. "id": "gitlens.trailingLineForegroundColor",
  1056. "description": "Specifies the foreground color of the trailing blame annotation",
  1057. "defaults": {
  1058. "dark": "#99999959",
  1059. "light": "#99999959",
  1060. "highContrast": "#99999999"
  1061. }
  1062. },
  1063. {
  1064. "id": "gitlens.lineHighlightBackgroundColor",
  1065. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1066. "defaults": {
  1067. "dark": "#00BCF233",
  1068. "light": "#00BCF233",
  1069. "highContrast": "#00BCF233"
  1070. }
  1071. },
  1072. {
  1073. "id": "gitlens.lineHighlightOverviewRulerColor",
  1074. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1075. "defaults": {
  1076. "dark": "#00BCF299",
  1077. "light": "#00BCF299",
  1078. "highContrast": "#00BCF299"
  1079. }
  1080. }
  1081. ],
  1082. "commands": [
  1083. {
  1084. "command": "gitlens.showSettingsPage",
  1085. "title": "Open Settings",
  1086. "category": "GitLens"
  1087. },
  1088. {
  1089. "command": "gitlens.showWelcomePage",
  1090. "title": "Welcome",
  1091. "category": "GitLens"
  1092. },
  1093. {
  1094. "command": "gitlens.diffDirectory",
  1095. "title": "Directory Compare Working Tree with...",
  1096. "category": "GitLens"
  1097. },
  1098. {
  1099. "command": "gitlens.diffWith",
  1100. "title": "Compare File Revisions",
  1101. "category": "GitLens"
  1102. },
  1103. {
  1104. "command": "gitlens.diffWithBranch",
  1105. "title": "Compare File with Branch or Tag...",
  1106. "category": "GitLens"
  1107. },
  1108. {
  1109. "command": "gitlens.diffWithNext",
  1110. "title": "Compare File with Next Revision",
  1111. "category": "GitLens"
  1112. },
  1113. {
  1114. "command": "gitlens.diffWithPrevious",
  1115. "title": "Compare File with Previous Revision",
  1116. "category": "GitLens"
  1117. },
  1118. {
  1119. "command": "gitlens.diffLineWithPrevious",
  1120. "title": "Compare Line Revision with Previous",
  1121. "category": "GitLens"
  1122. },
  1123. {
  1124. "command": "gitlens.diffWithRevision",
  1125. "title": "Compare File with Revision...",
  1126. "category": "GitLens"
  1127. },
  1128. {
  1129. "command": "gitlens.diffWithWorking",
  1130. "title": "Compare File with Working Revision",
  1131. "category": "GitLens"
  1132. },
  1133. {
  1134. "command": "gitlens.diffLineWithWorking",
  1135. "title": "Compare Line Revision with Working File",
  1136. "category": "GitLens"
  1137. },
  1138. {
  1139. "command": "gitlens.showFileBlame",
  1140. "title": "Show File Blame Annotations",
  1141. "category": "GitLens"
  1142. },
  1143. {
  1144. "command": "gitlens.showLineBlame",
  1145. "title": "Show Line Blame Annotations",
  1146. "category": "GitLens"
  1147. },
  1148. {
  1149. "command": "gitlens.toggleFileBlame",
  1150. "title": "Toggle File Blame Annotations",
  1151. "category": "GitLens",
  1152. "icon": {
  1153. "dark": "images/dark/git-icon.svg",
  1154. "light": "images/light/git-icon.svg"
  1155. }
  1156. },
  1157. {
  1158. "command": "gitlens.clearFileAnnotations",
  1159. "title": "Clear File Annotations",
  1160. "category": "GitLens",
  1161. "icon": {
  1162. "dark": "images/dark/git-icon-orange.svg",
  1163. "light": "images/light/git-icon-orange.svg"
  1164. }
  1165. },
  1166. {
  1167. "command": "gitlens.computingFileAnnotations",
  1168. "title": "Computing File Annotations...",
  1169. "category": "GitLens",
  1170. "icon": {
  1171. "dark": "images/dark/git-icon-progress.svg",
  1172. "light": "images/light/git-icon-progress.svg"
  1173. }
  1174. },
  1175. {
  1176. "command": "gitlens.toggleFileHeatmap",
  1177. "title": "Toggle File Heatmap Annotations",
  1178. "category": "GitLens"
  1179. },
  1180. {
  1181. "command": "gitlens.toggleFileRecentChanges",
  1182. "title": "Toggle Recent File Changes Annotations",
  1183. "category": "GitLens",
  1184. "icon": {
  1185. "dark": "images/dark/git-icon.svg",
  1186. "light": "images/light/git-icon.svg"
  1187. }
  1188. },
  1189. {
  1190. "command": "gitlens.toggleLineBlame",
  1191. "title": "Toggle Line Blame Annotations",
  1192. "category": "GitLens"
  1193. },
  1194. {
  1195. "command": "gitlens.toggleCodeLens",
  1196. "title": "Toggle Git Code Lens",
  1197. "category": "GitLens"
  1198. },
  1199. {
  1200. "command": "gitlens.showCommitSearch",
  1201. "title": "Search Commits",
  1202. "category": "GitLens",
  1203. "icon": {
  1204. "dark": "images/dark/icon-search.svg",
  1205. "light": "images/light/icon-search.svg"
  1206. }
  1207. },
  1208. {
  1209. "command": "gitlens.showLastQuickPick",
  1210. "title": "Show Last Opened Quick Pick",
  1211. "category": "GitLens"
  1212. },
  1213. {
  1214. "command": "gitlens.showQuickCommitDetails",
  1215. "title": "Show Commit Details",
  1216. "category": "GitLens"
  1217. },
  1218. {
  1219. "command": "gitlens.showQuickCommitFileDetails",
  1220. "title": "Show Commit File Details",
  1221. "category": "GitLens"
  1222. },
  1223. {
  1224. "command": "gitlens.showQuickFileHistory",
  1225. "title": "Show File History",
  1226. "category": "GitLens"
  1227. },
  1228. {
  1229. "command": "gitlens.showQuickBranchHistory",
  1230. "title": "Show Branch History",
  1231. "category": "GitLens"
  1232. },
  1233. {
  1234. "command": "gitlens.showQuickRepoHistory",
  1235. "title": "Show Current Branch History",
  1236. "category": "GitLens"
  1237. },
  1238. {
  1239. "command": "gitlens.showQuickRepoStatus",
  1240. "title": "Show Repository Status",
  1241. "category": "GitLens"
  1242. },
  1243. {
  1244. "command": "gitlens.showQuickStashList",
  1245. "title": "Show Stashed Changes",
  1246. "category": "GitLens"
  1247. },
  1248. {
  1249. "command": "gitlens.copyShaToClipboard",
  1250. "title": "Copy Commit ID to Clipboard",
  1251. "category": "GitLens"
  1252. },
  1253. {
  1254. "command": "gitlens.copyMessageToClipboard",
  1255. "title": "Copy Commit Message to Clipboard",
  1256. "category": "GitLens"
  1257. },
  1258. {
  1259. "command": "gitlens.closeUnchangedFiles",
  1260. "title": "Close Unchanged Files",
  1261. "category": "GitLens"
  1262. },
  1263. {
  1264. "command": "gitlens.openChangedFiles",
  1265. "title": "Open Changed Files",
  1266. "category": "GitLens"
  1267. },
  1268. {
  1269. "command": "gitlens.openBranchesInRemote",
  1270. "title": "Open Branches in Remote",
  1271. "category": "GitLens"
  1272. },
  1273. {
  1274. "command": "gitlens.openBranchInRemote",
  1275. "title": "Open Branch in Remote",
  1276. "category": "GitLens"
  1277. },
  1278. {
  1279. "command": "gitlens.openCommitInRemote",
  1280. "title": "Open Commit in Remote",
  1281. "category": "GitLens"
  1282. },
  1283. {
  1284. "command": "gitlens.openFileInRemote",
  1285. "title": "Open File in Remote",
  1286. "category": "GitLens"
  1287. },
  1288. {
  1289. "command": "gitlens.openFileRevision",
  1290. "title": "Open Revision...",
  1291. "category": "GitLens"
  1292. },
  1293. {
  1294. "command": "gitlens.openRepoInRemote",
  1295. "title": "Open Repository in Remote",
  1296. "category": "GitLens"
  1297. },
  1298. {
  1299. "command": "gitlens.openWorkingFile",
  1300. "title": "Open Working File",
  1301. "category": "GitLens",
  1302. "icon": {
  1303. "dark": "images/dark/open-file.svg",
  1304. "light": "images/light/open-file.svg"
  1305. }
  1306. },
  1307. {
  1308. "command": "gitlens.stashApply",
  1309. "title": "Apply Stashed Changes",
  1310. "category": "GitLens"
  1311. },
  1312. {
  1313. "command": "gitlens.stashDelete",
  1314. "title": "Delete Stashed Changes",
  1315. "category": "GitLens"
  1316. },
  1317. {
  1318. "command": "gitlens.stashSave",
  1319. "title": "Stash Changes",
  1320. "category": "GitLens",
  1321. "icon": {
  1322. "dark": "images/dark/icon-add.svg",
  1323. "light": "images/light/icon-add.svg"
  1324. }
  1325. },
  1326. {
  1327. "command": "gitlens.externalDiff",
  1328. "title": "Open Changes (with difftool)",
  1329. "category": "GitLens"
  1330. },
  1331. {
  1332. "command": "gitlens.externalDiffAll",
  1333. "title": "Open All Changes (with difftool)",
  1334. "category": "GitLens"
  1335. },
  1336. {
  1337. "command": "gitlens.resetSuppressedWarnings",
  1338. "title": "Reset Suppressed Warnings",
  1339. "category": "GitLens"
  1340. },
  1341. {
  1342. "command": "gitlens.explorers.openDirectoryDiff",
  1343. "title": "Open Directory Compare",
  1344. "category": "GitLens"
  1345. },
  1346. {
  1347. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1348. "title": "Open Directory Compare with Working Tree",
  1349. "category": "GitLens"
  1350. },
  1351. {
  1352. "command": "gitlens.explorers.openChanges",
  1353. "title": "Open Changes",
  1354. "category": "GitLens"
  1355. },
  1356. {
  1357. "command": "gitlens.explorers.openChangesWithWorking",
  1358. "title": "Open Changes with Working File",
  1359. "category": "GitLens"
  1360. },
  1361. {
  1362. "command": "gitlens.explorers.openFile",
  1363. "title": "Open File",
  1364. "category": "GitLens"
  1365. },
  1366. {
  1367. "command": "gitlens.explorers.openFileRevision",
  1368. "title": "Open Revision",
  1369. "category": "GitLens"
  1370. },
  1371. {
  1372. "command": "gitlens.explorers.openFileRevisionInRemote",
  1373. "title": "Open Revision in Remote",
  1374. "category": "GitLens"
  1375. },
  1376. {
  1377. "command": "gitlens.explorers.openChangedFiles",
  1378. "title": "Open Files",
  1379. "category": "GitLens"
  1380. },
  1381. {
  1382. "command": "gitlens.explorers.openChangedFileChanges",
  1383. "title": "Open All Changes",
  1384. "category": "GitLens"
  1385. },
  1386. {
  1387. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1388. "title": "Open All Changes with Working Tree",
  1389. "category": "GitLens"
  1390. },
  1391. {
  1392. "command": "gitlens.explorers.openChangedFileRevisions",
  1393. "title": "Open Revisions",
  1394. "category": "GitLens"
  1395. },
  1396. {
  1397. "command": "gitlens.explorers.applyChanges",
  1398. "title": "Apply Changes",
  1399. "category": "GitLens"
  1400. },
  1401. {
  1402. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1403. "title": "Compare Selected Ancestor with Working Tree",
  1404. "category": "GitLens"
  1405. },
  1406. {
  1407. "command": "gitlens.explorers.compareWithHead",
  1408. "title": "Compare with Index (HEAD)",
  1409. "category": "GitLens"
  1410. },
  1411. {
  1412. "command": "gitlens.explorers.compareWithRemote",
  1413. "title": "Compare with Remote",
  1414. "category": "GitLens"
  1415. },
  1416. {
  1417. "command": "gitlens.explorers.compareWithSelected",
  1418. "title": "Compare with Selected",
  1419. "category": "GitLens"
  1420. },
  1421. {
  1422. "command": "gitlens.explorers.compareWithWorking",
  1423. "title": "Compare with Working Tree",
  1424. "category": "GitLens"
  1425. },
  1426. {
  1427. "command": "gitlens.explorers.selectForCompare",
  1428. "title": "Select for Compare",
  1429. "category": "GitLens"
  1430. },
  1431. {
  1432. "command": "gitlens.explorers.terminalCheckoutBranch",
  1433. "title": "Checkout Branch (via Terminal)",
  1434. "category": "GitLens"
  1435. },
  1436. {
  1437. "command": "gitlens.explorers.terminalCreateBranch",
  1438. "title": "Create Branch (via Terminal)...",
  1439. "category": "GitLens"
  1440. },
  1441. {
  1442. "command": "gitlens.explorers.terminalDeleteBranch",
  1443. "title": "Delete Branch (via Terminal)",
  1444. "category": "GitLens"
  1445. },
  1446. {
  1447. "command": "gitlens.explorers.terminalMergeBranch",
  1448. "title": "Merge Branch (via Terminal)",
  1449. "category": "GitLens"
  1450. },
  1451. {
  1452. "command": "gitlens.explorers.terminalRebaseBranch",
  1453. "title": "Rebase (Interactive) Branch (via Terminal)",
  1454. "category": "GitLens"
  1455. },
  1456. {
  1457. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1458. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1459. "category": "GitLens"
  1460. },
  1461. {
  1462. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1463. "title": "Squash Branch into Commit (via Terminal)",
  1464. "category": "GitLens"
  1465. },
  1466. {
  1467. "command": "gitlens.explorers.terminalCherryPickCommit",
  1468. "title": "Cherry Pick Commit (via Terminal)",
  1469. "category": "GitLens"
  1470. },
  1471. {
  1472. "command": "gitlens.explorers.terminalRebaseCommit",
  1473. "title": "Rebase to Commit (via Terminal)",
  1474. "category": "GitLens"
  1475. },
  1476. {
  1477. "command": "gitlens.explorers.terminalResetCommit",
  1478. "title": "Reset to Commit (via Terminal)",
  1479. "category": "GitLens"
  1480. },
  1481. {
  1482. "command": "gitlens.explorers.terminalRevertCommit",
  1483. "title": "Revert Commit (via Terminal)",
  1484. "category": "GitLens"
  1485. },
  1486. {
  1487. "command": "gitlens.explorers.terminalRemoveRemote",
  1488. "title": "Remove Remote (via Terminal)",
  1489. "category": "GitLens"
  1490. },
  1491. {
  1492. "command": "gitlens.explorers.terminalCreateTag",
  1493. "title": "Create Tag (via Terminal)...",
  1494. "category": "GitLens"
  1495. },
  1496. {
  1497. "command": "gitlens.explorers.terminalDeleteTag",
  1498. "title": "Delete Tag (via Terminal)",
  1499. "category": "GitLens"
  1500. },
  1501. {
  1502. "command": "gitlens.gitExplorer.refresh",
  1503. "title": "Refresh",
  1504. "category": "GitLens",
  1505. "icon": {
  1506. "dark": "images/dark/icon-refresh.svg",
  1507. "light": "images/light/icon-refresh.svg"
  1508. }
  1509. },
  1510. {
  1511. "command": "gitlens.gitExplorer.refreshNode",
  1512. "title": "Refresh",
  1513. "category": "GitLens"
  1514. },
  1515. {
  1516. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1517. "title": "Automatic Layout",
  1518. "category": "GitLens"
  1519. },
  1520. {
  1521. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1522. "title": "List Layout",
  1523. "category": "GitLens"
  1524. },
  1525. {
  1526. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1527. "title": "Tree Layout",
  1528. "category": "GitLens"
  1529. },
  1530. {
  1531. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1532. "title": "Enable Automatic Refresh",
  1533. "category": "GitLens"
  1534. },
  1535. {
  1536. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1537. "title": "Disable Automatic Refresh",
  1538. "category": "GitLens"
  1539. },
  1540. {
  1541. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1542. "title": "Follow Renames",
  1543. "category": "GitLens"
  1544. },
  1545. {
  1546. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  1547. "title": "Don't Follow Renames",
  1548. "category": "GitLens"
  1549. },
  1550. {
  1551. "command": "gitlens.gitExplorer.switchToHistoryView",
  1552. "title": "Switch to History View",
  1553. "category": "GitLens",
  1554. "icon": {
  1555. "dark": "images/dark/icon-history.svg",
  1556. "light": "images/light/icon-history.svg"
  1557. }
  1558. },
  1559. {
  1560. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1561. "title": "Switch to Repository View",
  1562. "category": "GitLens",
  1563. "icon": {
  1564. "dark": "images/dark/icon-repo.svg",
  1565. "light": "images/light/icon-repo.svg"
  1566. }
  1567. },
  1568. {
  1569. "command": "gitlens.resultsExplorer.clearResultsNode",
  1570. "title": "Clear Results",
  1571. "category": "GitLens"
  1572. },
  1573. {
  1574. "command": "gitlens.resultsExplorer.close",
  1575. "title": "Close",
  1576. "category": "GitLens",
  1577. "icon": {
  1578. "dark": "images/dark/icon-close.svg",
  1579. "light": "images/light/icon-close.svg"
  1580. }
  1581. },
  1582. {
  1583. "command": "gitlens.resultsExplorer.refresh",
  1584. "title": "Refresh",
  1585. "category": "GitLens",
  1586. "icon": {
  1587. "dark": "images/dark/icon-refresh.svg",
  1588. "light": "images/light/icon-refresh.svg"
  1589. }
  1590. },
  1591. {
  1592. "command": "gitlens.resultsExplorer.refreshNode",
  1593. "title": "Refresh",
  1594. "category": "GitLens"
  1595. },
  1596. {
  1597. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1598. "title": "Automatic Layout",
  1599. "category": "GitLens"
  1600. },
  1601. {
  1602. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1603. "title": "List Layout",
  1604. "category": "GitLens"
  1605. },
  1606. {
  1607. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1608. "title": "Tree Layout",
  1609. "category": "GitLens"
  1610. },
  1611. {
  1612. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1613. "title": "Keep Results",
  1614. "category": "GitLens",
  1615. "icon": {
  1616. "dark": "images/dark/icon-lock.svg",
  1617. "light": "images/light/icon-lock.svg"
  1618. }
  1619. },
  1620. {
  1621. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1622. "title": "Keep Results",
  1623. "category": "GitLens",
  1624. "icon": {
  1625. "dark": "images/dark/icon-locked.svg",
  1626. "light": "images/light/icon-locked.svg"
  1627. }
  1628. }
  1629. ],
  1630. "menus": {
  1631. "commandPalette": [
  1632. {
  1633. "command": "gitlens.diffDirectory",
  1634. "when": "gitlens:enabled"
  1635. },
  1636. {
  1637. "command": "gitlens.diffWith",
  1638. "when": "false"
  1639. },
  1640. {
  1641. "command": "gitlens.diffWithBranch",
  1642. "when": "gitlens:activeIsTracked"
  1643. },
  1644. {
  1645. "command": "gitlens.diffWithNext",
  1646. "when": "gitlens:activeIsTracked"
  1647. },
  1648. {
  1649. "command": "gitlens.diffWithPrevious",
  1650. "when": "gitlens:activeIsTracked"
  1651. },
  1652. {
  1653. "command": "gitlens.diffLineWithPrevious",
  1654. "when": "gitlens:activeIsBlameable"
  1655. },
  1656. {
  1657. "command": "gitlens.diffWithRevision",
  1658. "when": "gitlens:activeIsTracked"
  1659. },
  1660. {
  1661. "command": "gitlens.diffWithWorking",
  1662. "when": "gitlens:activeIsTracked"
  1663. },
  1664. {
  1665. "command": "gitlens.diffLineWithWorking",
  1666. "when": "gitlens:activeIsBlameable"
  1667. },
  1668. {
  1669. "command": "gitlens.externalDiff",
  1670. "when": "gitlens:enabled"
  1671. },
  1672. {
  1673. "command": "gitlens.externalDiffAll",
  1674. "when": "gitlens:enabled"
  1675. },
  1676. {
  1677. "command": "gitlens.showFileBlame",
  1678. "when": "gitlens:activeIsBlameable"
  1679. },
  1680. {
  1681. "command": "gitlens.showLineBlame",
  1682. "when": "gitlens:activeIsBlameable"
  1683. },
  1684. {
  1685. "command": "gitlens.toggleFileBlame",
  1686. "when": "gitlens:activeIsBlameable"
  1687. },
  1688. {
  1689. "command": "gitlens.clearFileAnnotations",
  1690. "when": "gitlens:annotationStatus == computed"
  1691. },
  1692. {
  1693. "command": "gitlens.computingFileAnnotations",
  1694. "when": "false"
  1695. },
  1696. {
  1697. "command": "gitlens.toggleFileHeatmap",
  1698. "when": "gitlens:activeIsBlameable"
  1699. },
  1700. {
  1701. "command": "gitlens.toggleFileRecentChanges",
  1702. "when": "gitlens:activeIsBlameable"
  1703. },
  1704. {
  1705. "command": "gitlens.toggleLineBlame",
  1706. "when": "gitlens:enabled"
  1707. },
  1708. {
  1709. "command": "gitlens.toggleCodeLens",
  1710. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  1711. },
  1712. {
  1713. "command": "gitlens.showLastQuickPick",
  1714. "when": "gitlens:enabled"
  1715. },
  1716. {
  1717. "command": "gitlens.showCommitSearch",
  1718. "when": "gitlens:enabled"
  1719. },
  1720. {
  1721. "command": "gitlens.showQuickCommitDetails",
  1722. "when": "gitlens:activeIsBlameable"
  1723. },
  1724. {
  1725. "command": "gitlens.showQuickCommitFileDetails",
  1726. "when": "gitlens:activeIsBlameable"
  1727. },
  1728. {
  1729. "command": "gitlens.showQuickFileHistory",
  1730. "when": "gitlens:activeIsTracked"
  1731. },
  1732. {
  1733. "command": "gitlens.showQuickBranchHistory",
  1734. "when": "gitlens:enabled"
  1735. },
  1736. {
  1737. "command": "gitlens.showQuickRepoHistory",
  1738. "when": "gitlens:enabled"
  1739. },
  1740. {
  1741. "command": "gitlens.showQuickRepoStatus",
  1742. "when": "gitlens:enabled"
  1743. },
  1744. {
  1745. "command": "gitlens.showQuickStashList",
  1746. "when": "gitlens:enabled"
  1747. },
  1748. {
  1749. "command": "gitlens.copyShaToClipboard",
  1750. "when": "gitlens:activeIsBlameable"
  1751. },
  1752. {
  1753. "command": "gitlens.copyMessageToClipboard",
  1754. "when": "gitlens:activeIsBlameable"
  1755. },
  1756. {
  1757. "command": "gitlens.closeUnchangedFiles",
  1758. "when": "gitlens:enabled"
  1759. },
  1760. {
  1761. "command": "gitlens.openChangedFiles",
  1762. "when": "gitlens:enabled"
  1763. },
  1764. {
  1765. "command": "gitlens.openBranchesInRemote",
  1766. "when": "gitlens:activeHasRemote"
  1767. },
  1768. {
  1769. "command": "gitlens.openBranchInRemote",
  1770. "when": "gitlens:activeHasRemote"
  1771. },
  1772. {
  1773. "command": "gitlens.openCommitInRemote",
  1774. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1775. },
  1776. {
  1777. "command": "gitlens.openFileInRemote",
  1778. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1779. },
  1780. {
  1781. "command": "gitlens.openFileRevision",
  1782. "when": "gitlens:activeIsTracked"
  1783. },
  1784. {
  1785. "command": "gitlens.openRepoInRemote",
  1786. "when": "gitlens:activeHasRemote"
  1787. },
  1788. {
  1789. "command": "gitlens.openWorkingFile",
  1790. "when": "gitlens:activeIsRevision"
  1791. },
  1792. {
  1793. "command": "gitlens.stashApply",
  1794. "when": "gitlens:enabled"
  1795. },
  1796. {
  1797. "command": "gitlens.stashDelete",
  1798. "when": "false"
  1799. },
  1800. {
  1801. "command": "gitlens.stashSave",
  1802. "when": "gitlens:enabled"
  1803. },
  1804. {
  1805. "command": "gitlens.resetSuppressedWarnings",
  1806. "when": "gitlens:enabled"
  1807. },
  1808. {
  1809. "command": "gitlens.explorers.openChanges",
  1810. "when": "false"
  1811. },
  1812. {
  1813. "command": "gitlens.explorers.openDirectoryDiff",
  1814. "when": "false"
  1815. },
  1816. {
  1817. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1818. "when": "false"
  1819. },
  1820. {
  1821. "command": "gitlens.explorers.openChangesWithWorking",
  1822. "when": "false"
  1823. },
  1824. {
  1825. "command": "gitlens.explorers.openFile",
  1826. "when": "false"
  1827. },
  1828. {
  1829. "command": "gitlens.explorers.openFileRevision",
  1830. "when": "false"
  1831. },
  1832. {
  1833. "command": "gitlens.explorers.openFileRevisionInRemote",
  1834. "when": "false"
  1835. },
  1836. {
  1837. "command": "gitlens.explorers.openChangedFiles",
  1838. "when": "false"
  1839. },
  1840. {
  1841. "command": "gitlens.explorers.openChangedFileChanges",
  1842. "when": "false"
  1843. },
  1844. {
  1845. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1846. "when": "false"
  1847. },
  1848. {
  1849. "command": "gitlens.explorers.openChangedFileRevisions",
  1850. "when": "false"
  1851. },
  1852. {
  1853. "command": "gitlens.explorers.applyChanges",
  1854. "when": "false"
  1855. },
  1856. {
  1857. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1858. "when": "false"
  1859. },
  1860. {
  1861. "command": "gitlens.explorers.compareWithHead",
  1862. "when": "false"
  1863. },
  1864. {
  1865. "command": "gitlens.explorers.compareWithRemote",
  1866. "when": "false"
  1867. },
  1868. {
  1869. "command": "gitlens.explorers.compareWithSelected",
  1870. "when": "false"
  1871. },
  1872. {
  1873. "command": "gitlens.explorers.compareWithWorking",
  1874. "when": "false"
  1875. },
  1876. {
  1877. "command": "gitlens.explorers.selectForCompare",
  1878. "when": "false"
  1879. },
  1880. {
  1881. "command": "gitlens.explorers.terminalCheckoutBranch",
  1882. "when": "false"
  1883. },
  1884. {
  1885. "command": "gitlens.explorers.terminalCreateBranch",
  1886. "when": "false"
  1887. },
  1888. {
  1889. "command": "gitlens.explorers.terminalDeleteBranch",
  1890. "when": "false"
  1891. },
  1892. {
  1893. "command": "gitlens.explorers.terminalMergeBranch",
  1894. "when": "false"
  1895. },
  1896. {
  1897. "command": "gitlens.explorers.terminalRebaseBranch",
  1898. "when": "false"
  1899. },
  1900. {
  1901. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1902. "when": "false"
  1903. },
  1904. {
  1905. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1906. "when": "false"
  1907. },
  1908. {
  1909. "command": "gitlens.explorers.terminalCherryPickCommit",
  1910. "when": "false"
  1911. },
  1912. {
  1913. "command": "gitlens.explorers.terminalRebaseCommit",
  1914. "when": "false"
  1915. },
  1916. {
  1917. "command": "gitlens.explorers.terminalResetCommit",
  1918. "when": "false"
  1919. },
  1920. {
  1921. "command": "gitlens.explorers.terminalRevertCommit",
  1922. "when": "false"
  1923. },
  1924. {
  1925. "command": "gitlens.explorers.terminalRemoveRemote",
  1926. "when": "false"
  1927. },
  1928. {
  1929. "command": "gitlens.explorers.terminalCreateTag",
  1930. "when": "false"
  1931. },
  1932. {
  1933. "command": "gitlens.explorers.terminalDeleteTag",
  1934. "when": "false"
  1935. },
  1936. {
  1937. "command": "gitlens.gitExplorer.refresh",
  1938. "when": "false"
  1939. },
  1940. {
  1941. "command": "gitlens.gitExplorer.refreshNode",
  1942. "when": "false"
  1943. },
  1944. {
  1945. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1946. "when": "false"
  1947. },
  1948. {
  1949. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1950. "when": "false"
  1951. },
  1952. {
  1953. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1954. "when": "false"
  1955. },
  1956. {
  1957. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1958. "when": "false"
  1959. },
  1960. {
  1961. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1962. "when": "false"
  1963. },
  1964. {
  1965. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1966. "when": "false"
  1967. },
  1968. {
  1969. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  1970. "when": "false"
  1971. },
  1972. {
  1973. "command": "gitlens.gitExplorer.switchToHistoryView",
  1974. "when": "gitlens:enabled && gitlens:gitExplorer:view == repository"
  1975. },
  1976. {
  1977. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1978. "when": "gitlens:enabled && gitlens:gitExplorer:view == history"
  1979. },
  1980. {
  1981. "command": "gitlens.resultsExplorer.clearResultsNode",
  1982. "when": "false"
  1983. },
  1984. {
  1985. "command": "gitlens.resultsExplorer.close",
  1986. "when": "false"
  1987. },
  1988. {
  1989. "command": "gitlens.resultsExplorer.refresh",
  1990. "when": "false"
  1991. },
  1992. {
  1993. "command": "gitlens.resultsExplorer.refreshNode",
  1994. "when": "false"
  1995. },
  1996. {
  1997. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1998. "when": "false"
  1999. },
  2000. {
  2001. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2002. "when": "false"
  2003. },
  2004. {
  2005. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2006. "when": "false"
  2007. },
  2008. {
  2009. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2010. "when": "false"
  2011. },
  2012. {
  2013. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2014. "when": "false"
  2015. }
  2016. ],
  2017. "editor/context": [
  2018. {
  2019. "command": "gitlens.openFileInRemote",
  2020. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  2021. "group": "navigation@100"
  2022. },
  2023. {
  2024. "command": "gitlens.diffLineWithPrevious",
  2025. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2026. "group": "1_gitlens@1"
  2027. },
  2028. {
  2029. "command": "gitlens.diffLineWithWorking",
  2030. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2031. "group": "1_gitlens@2"
  2032. },
  2033. {
  2034. "command": "gitlens.showQuickCommitFileDetails",
  2035. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2036. "group": "1_gitlens@3"
  2037. },
  2038. {
  2039. "command": "gitlens.diffWithPrevious",
  2040. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2041. "group": "1_gitlens_1@1"
  2042. },
  2043. {
  2044. "command": "gitlens.diffWithWorking",
  2045. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2046. "group": "1_gitlens_1@2"
  2047. },
  2048. {
  2049. "command": "gitlens.showQuickFileHistory",
  2050. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2051. "group": "3_gitlens@1"
  2052. },
  2053. {
  2054. "command": "gitlens.toggleFileBlame",
  2055. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2056. "group": "3_gitlens@2"
  2057. },
  2058. {
  2059. "command": "gitlens.copyShaToClipboard",
  2060. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2061. "group": "9_gitlens@1"
  2062. },
  2063. {
  2064. "command": "gitlens.copyMessageToClipboard",
  2065. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2066. "group": "9_gitlens@2"
  2067. }
  2068. ],
  2069. "editor/title": [
  2070. {
  2071. "command": "gitlens.openWorkingFile",
  2072. "when": "gitlens:activeIsRevision",
  2073. "group": "navigation@1"
  2074. },
  2075. {
  2076. "command": "gitlens.toggleFileBlame",
  2077. "alt": "gitlens.toggleFileRecentChanges",
  2078. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2079. "group": "navigation@100"
  2080. },
  2081. {
  2082. "command": "gitlens.computingFileAnnotations",
  2083. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2084. "group": "navigation@100"
  2085. },
  2086. {
  2087. "command": "gitlens.clearFileAnnotations",
  2088. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2089. "group": "navigation@100"
  2090. },
  2091. {
  2092. "command": "gitlens.openFileInRemote",
  2093. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2094. "group": "2_gitlens"
  2095. },
  2096. {
  2097. "command": "gitlens.openRepoInRemote",
  2098. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2099. "group": "2_gitlens"
  2100. },
  2101. {
  2102. "command": "gitlens.diffWithPrevious",
  2103. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2104. "group": "2_gitlens_1"
  2105. },
  2106. {
  2107. "command": "gitlens.diffWithWorking",
  2108. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2109. "group": "2_gitlens_1"
  2110. },
  2111. {
  2112. "command": "gitlens.showQuickFileHistory",
  2113. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2114. "group": "2_gitlens_2"
  2115. },
  2116. {
  2117. "command": "gitlens.showQuickRepoHistory",
  2118. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2119. "group": "2_gitlens_2"
  2120. },
  2121. {
  2122. "command": "gitlens.showQuickRepoStatus",
  2123. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2124. "group": "2_gitlens_2"
  2125. }
  2126. ],
  2127. "editor/title/context": [
  2128. {
  2129. "command": "gitlens.openFileInRemote",
  2130. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2131. "group": "1_gitlens"
  2132. },
  2133. {
  2134. "command": "gitlens.diffWithPrevious",
  2135. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2136. "group": "1_gitlens_1@1"
  2137. },
  2138. {
  2139. "command": "gitlens.diffWithWorking",
  2140. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2141. "group": "1_gitlens_1@2"
  2142. },
  2143. {
  2144. "command": "gitlens.showQuickFileHistory",
  2145. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2146. "group": "1_gitlens_2@1"
  2147. },
  2148. {
  2149. "command": "gitlens.toggleFileBlame",
  2150. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2151. "group": "1_gitlens_2@2"
  2152. }
  2153. ],
  2154. "explorer/context": [
  2155. {
  2156. "command": "gitlens.openFileInRemote",
  2157. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2158. "group": "navigation@100"
  2159. },
  2160. {
  2161. "command": "gitlens.diffWithPrevious",
  2162. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2163. "group": "1_gitlens@1"
  2164. },
  2165. {
  2166. "command": "gitlens.diffWithWorking",
  2167. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2168. "group": "1_gitlens@2"
  2169. },
  2170. {
  2171. "command": "gitlens.showQuickFileHistory",
  2172. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2173. "group": "1_gitlens_1@1"
  2174. }
  2175. ],
  2176. "scm/resourceGroup/context": [
  2177. {
  2178. "command": "gitlens.openChangedFiles",
  2179. "when": "gitlens:enabled",
  2180. "group": "2_gitlens@1"
  2181. },
  2182. {
  2183. "command": "gitlens.closeUnchangedFiles",
  2184. "when": "gitlens:enabled",
  2185. "group": "2_gitlens@2"
  2186. },
  2187. {
  2188. "command": "gitlens.externalDiff",
  2189. "when": "gitlens:enabled",
  2190. "group": "2_gitlens@3"
  2191. },
  2192. {
  2193. "command": "gitlens.externalDiffAll",
  2194. "when": "gitlens:enabled",
  2195. "group": "2_gitlens@4"
  2196. },
  2197. {
  2198. "command": "gitlens.stashSave",
  2199. "when": "gitlens:enabled",
  2200. "group": "3_gitlens@1"
  2201. }
  2202. ],
  2203. "scm/resourceState/context": [
  2204. {
  2205. "command": "gitlens.openFileInRemote",
  2206. "when": "gitlens:enabled && gitlens:hasRemotes",
  2207. "group": "navigation"
  2208. },
  2209. {
  2210. "command": "gitlens.externalDiff",
  2211. "when": "gitlens:enabled",
  2212. "group": "navigation"
  2213. },
  2214. {
  2215. "command": "gitlens.diffWithRevision",
  2216. "when": "gitlens:enabled",
  2217. "group": "1_gitlens@1"
  2218. },
  2219. {
  2220. "command": "gitlens.diffWithBranch",
  2221. "when": "gitlens:enabled",
  2222. "group": "1_gitlens@2"
  2223. },
  2224. {
  2225. "command": "gitlens.showQuickFileHistory",
  2226. "when": "gitlens:enabled",
  2227. "group": "1_gitlens_1@1"
  2228. },
  2229. {
  2230. "command": "gitlens.stashSave",
  2231. "when": "gitlens:enabled",
  2232. "group": "2_gitlens@1"
  2233. }
  2234. ],
  2235. "view/title": [
  2236. {
  2237. "command": "gitlens.showCommitSearch",
  2238. "when": "view == gitlens.gitExplorer",
  2239. "group": "navigation@1"
  2240. },
  2241. {
  2242. "command": "gitlens.gitExplorer.switchToHistoryView",
  2243. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2244. "group": "navigation@2"
  2245. },
  2246. {
  2247. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2248. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2249. "group": "navigation@3"
  2250. },
  2251. {
  2252. "command": "gitlens.gitExplorer.refresh",
  2253. "when": "view == gitlens.gitExplorer",
  2254. "group": "navigation@4"
  2255. },
  2256. {
  2257. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2258. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2259. "group": "1_gitlens"
  2260. },
  2261. {
  2262. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2263. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2264. "group": "1_gitlens"
  2265. },
  2266. {
  2267. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2268. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2269. "group": "1_gitlens"
  2270. },
  2271. {
  2272. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2273. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2274. "group": "2_gitlens"
  2275. },
  2276. {
  2277. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2278. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2279. "group": "2_gitlens"
  2280. },
  2281. {
  2282. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2283. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2284. "group": "2_gitlens_1"
  2285. },
  2286. {
  2287. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2288. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2289. "group": "2_gitlens_1"
  2290. },
  2291. {
  2292. "command": "gitlens.showCommitSearch",
  2293. "when": "view == gitlens.resultsExplorer",
  2294. "group": "navigation@1"
  2295. },
  2296. {
  2297. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2298. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2299. "group": "navigation@2"
  2300. },
  2301. {
  2302. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2303. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2304. "group": "navigation@2"
  2305. },
  2306. {
  2307. "command": "gitlens.resultsExplorer.refresh",
  2308. "when": "view == gitlens.resultsExplorer",
  2309. "group": "navigation@3"
  2310. },
  2311. {
  2312. "command": "gitlens.resultsExplorer.close",
  2313. "when": "view == gitlens.resultsExplorer",
  2314. "group": "navigation@9"
  2315. },
  2316. {
  2317. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2318. "when": "view == gitlens.resultsExplorer",
  2319. "group": "1_gitlens"
  2320. },
  2321. {
  2322. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2323. "when": "view == gitlens.resultsExplorer",
  2324. "group": "1_gitlens"
  2325. },
  2326. {
  2327. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2328. "when": "view == gitlens.resultsExplorer",
  2329. "group": "1_gitlens"
  2330. }
  2331. ],
  2332. "view/item/context": [
  2333. {
  2334. "command": "gitlens.openBranchesInRemote",
  2335. "when": "viewItem == gitlens:branches:remotes",
  2336. "group": "1_gitlens@1"
  2337. },
  2338. {
  2339. "command": "gitlens.explorers.compareWithHead",
  2340. "when": "viewItem == gitlens:branch",
  2341. "group": "7_gitlens@1"
  2342. },
  2343. {
  2344. "command": "gitlens.explorers.compareWithWorking",
  2345. "when": "viewItem == gitlens:branch",
  2346. "group": "7_gitlens@2"
  2347. },
  2348. {
  2349. "command": "gitlens.explorers.compareWithSelected",
  2350. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare",
  2351. "group": "7_gitlens_@1"
  2352. },
  2353. {
  2354. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2355. "when": "viewItem == gitlens:branch && gitlens:explorers:canCompare == branch",
  2356. "group": "7_gitlens_@2"
  2357. },
  2358. {
  2359. "command": "gitlens.explorers.selectForCompare",
  2360. "when": "viewItem == gitlens:branch",
  2361. "group": "7_gitlens_@3"
  2362. },
  2363. {
  2364. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2365. "when": "viewItem == gitlens:branch",
  2366. "group": "7_gitlens_diff@1"
  2367. },
  2368. {
  2369. "command": "gitlens.explorers.terminalCheckoutBranch",
  2370. "when": "viewItem == gitlens:branch",
  2371. "group": "8_gitlens@1"
  2372. },
  2373. {
  2374. "command": "gitlens.explorers.terminalMergeBranch",
  2375. "when": "viewItem == gitlens:branch",
  2376. "group": "8_gitlens@2"
  2377. },
  2378. {
  2379. "command": "gitlens.explorers.terminalRebaseBranch",
  2380. "when": "viewItem == gitlens:branch",
  2381. "group": "8_gitlens@3"
  2382. },
  2383. {
  2384. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2385. "when": "viewItem == gitlens:branch",
  2386. "group": "8_gitlens@4"
  2387. },
  2388. {
  2389. "command": "gitlens.explorers.terminalCreateBranch",
  2390. "when": "viewItem == gitlens:branch",
  2391. "group": "8_gitlens@5"
  2392. },
  2393. {
  2394. "command": "gitlens.explorers.terminalDeleteBranch",
  2395. "when": "viewItem == gitlens:branch",
  2396. "group": "8_gitlens@6"
  2397. },
  2398. {
  2399. "command": "gitlens.explorers.terminalCreateTag",
  2400. "when": "viewItem == gitlens:branch",
  2401. "group": "8_gitlens@7"
  2402. },
  2403. {
  2404. "command": "gitlens.openBranchInRemote",
  2405. "when": "viewItem == gitlens:branch:tracking",
  2406. "group": "1_gitlens@1"
  2407. },
  2408. {
  2409. "command": "gitlens.explorers.compareWithRemote",
  2410. "when": "viewItem == gitlens:branch:tracking",
  2411. "group": "7_gitlens@1"
  2412. },
  2413. {
  2414. "command": "gitlens.explorers.compareWithHead",
  2415. "when": "viewItem == gitlens:branch:tracking",
  2416. "group": "7_gitlens@2"
  2417. },
  2418. {
  2419. "command": "gitlens.explorers.compareWithWorking",
  2420. "when": "viewItem == gitlens:branch:tracking",
  2421. "group": "7_gitlens@3"
  2422. },
  2423. {
  2424. "command": "gitlens.explorers.compareWithSelected",
  2425. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare",
  2426. "group": "7_gitlens_@1"
  2427. },
  2428. {
  2429. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2430. "when": "viewItem == gitlens:branch:tracking && gitlens:explorers:canCompare == branch",
  2431. "group": "7_gitlens_@2"
  2432. },
  2433. {
  2434. "command": "gitlens.explorers.selectForCompare",
  2435. "when": "viewItem == gitlens:branch:tracking",
  2436. "group": "7_gitlens_@3"
  2437. },
  2438. {
  2439. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2440. "when": "viewItem == gitlens:branch:tracking",
  2441. "group": "7_gitlens_diff@1"
  2442. },
  2443. {
  2444. "command": "gitlens.explorers.terminalCheckoutBranch",
  2445. "when": "viewItem == gitlens:branch:tracking",
  2446. "group": "8_gitlens@1"
  2447. },
  2448. {
  2449. "command": "gitlens.explorers.terminalMergeBranch",
  2450. "when": "viewItem == gitlens:branch:tracking",
  2451. "group": "8_gitlens@2"
  2452. },
  2453. {
  2454. "command": "gitlens.explorers.terminalRebaseBranch",
  2455. "when": "viewItem == gitlens:branch:tracking",
  2456. "group": "8_gitlens@3"
  2457. },
  2458. {
  2459. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2460. "when": "viewItem == gitlens:branch:tracking",
  2461. "group": "8_gitlens@4"
  2462. },
  2463. {
  2464. "command": "gitlens.explorers.terminalCreateBranch",
  2465. "when": "viewItem == gitlens:branch:tracking",
  2466. "group": "8_gitlens@5"
  2467. },
  2468. {
  2469. "command": "gitlens.explorers.terminalDeleteBranch",
  2470. "when": "viewItem == gitlens:branch:tracking",
  2471. "group": "8_gitlens@6"
  2472. },
  2473. {
  2474. "command": "gitlens.explorers.terminalCreateTag",
  2475. "when": "viewItem == gitlens:branch:tracking",
  2476. "group": "8_gitlens@7"
  2477. },
  2478. {
  2479. "command": "gitlens.explorers.compareWithHead",
  2480. "when": "viewItem == gitlens:current-branch",
  2481. "group": "7_gitlens@1"
  2482. },
  2483. {
  2484. "command": "gitlens.explorers.compareWithWorking",
  2485. "when": "viewItem == gitlens:current-branch",
  2486. "group": "7_gitlens@2"
  2487. },
  2488. {
  2489. "command": "gitlens.explorers.compareWithSelected",
  2490. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare",
  2491. "group": "7_gitlens_@1"
  2492. },
  2493. {
  2494. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2495. "when": "viewItem == gitlens:current-branch && gitlens:explorers:canCompare == branch",
  2496. "group": "7_gitlens_@2"
  2497. },
  2498. {
  2499. "command": "gitlens.explorers.selectForCompare",
  2500. "when": "viewItem == gitlens:current-branch",
  2501. "group": "7_gitlens_@3"
  2502. },
  2503. {
  2504. "command": "gitlens.explorers.terminalCreateBranch",
  2505. "when": "viewItem == gitlens:current-branch",
  2506. "group": "8_gitlens@1"
  2507. },
  2508. {
  2509. "command": "gitlens.explorers.terminalCreateTag",
  2510. "when": "viewItem == gitlens:current-branch",
  2511. "group": "8_gitlens@2"
  2512. },
  2513. {
  2514. "command": "gitlens.openBranchInRemote",
  2515. "when": "viewItem == gitlens:current-branch:tracking",
  2516. "group": "1_gitlens@1"
  2517. },
  2518. {
  2519. "command": "gitlens.explorers.compareWithRemote",
  2520. "when": "viewItem == gitlens:current-branch:tracking",
  2521. "group": "7_gitlens@1"
  2522. },
  2523. {
  2524. "command": "gitlens.explorers.compareWithHead",
  2525. "when": "viewItem == gitlens:current-branch:tracking",
  2526. "group": "7_gitlens@2"
  2527. },
  2528. {
  2529. "command": "gitlens.explorers.compareWithWorking",
  2530. "when": "viewItem == gitlens:current-branch:tracking",
  2531. "group": "7_gitlens@3"
  2532. },
  2533. {
  2534. "command": "gitlens.explorers.compareWithSelected",
  2535. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare",
  2536. "group": "7_gitlens_@1"
  2537. },
  2538. {
  2539. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2540. "when": "viewItem == gitlens:current-branch:tracking && gitlens:explorers:canCompare == branch",
  2541. "group": "7_gitlens_@2"
  2542. },
  2543. {
  2544. "command": "gitlens.explorers.selectForCompare",
  2545. "when": "viewItem == gitlens:current-branch:tracking",
  2546. "group": "7_gitlens_@3"
  2547. },
  2548. {
  2549. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2550. "when": "viewItem == gitlens:current-branch:tracking",
  2551. "group": "8_gitlens@1"
  2552. },
  2553. {
  2554. "command": "gitlens.explorers.terminalCreateBranch",
  2555. "when": "viewItem == gitlens:current-branch:tracking",
  2556. "group": "8_gitlens@2"
  2557. },
  2558. {
  2559. "command": "gitlens.explorers.terminalCreateTag",
  2560. "when": "viewItem == gitlens:current-branch:tracking",
  2561. "group": "8_gitlens@3"
  2562. },
  2563. {
  2564. "command": "gitlens.openBranchInRemote",
  2565. "when": "viewItem == gitlens:remote-branch",
  2566. "group": "1_gitlens@1"
  2567. },
  2568. {
  2569. "command": "gitlens.explorers.compareWithHead",
  2570. "when": "viewItem == gitlens:remote-branch",
  2571. "group": "7_gitlens@1"
  2572. },
  2573. {
  2574. "command": "gitlens.explorers.compareWithWorking",
  2575. "when": "viewItem == gitlens:remote-branch",
  2576. "group": "7_gitlens@2"
  2577. },
  2578. {
  2579. "command": "gitlens.explorers.compareWithSelected",
  2580. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare",
  2581. "group": "7_gitlens_@1"
  2582. },
  2583. {
  2584. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2585. "when": "viewItem == gitlens:remote-branch && gitlens:explorers:canCompare == branch",
  2586. "group": "7_gitlens_@2"
  2587. },
  2588. {
  2589. "command": "gitlens.explorers.selectForCompare",
  2590. "when": "viewItem == gitlens:remote-branch",
  2591. "group": "7_gitlens_@3"
  2592. },
  2593. {
  2594. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2595. "when": "viewItem == gitlens:remote-branch",
  2596. "group": "7_gitlens_diff@1"
  2597. },
  2598. {
  2599. "command": "gitlens.explorers.terminalCheckoutBranch",
  2600. "when": "viewItem == gitlens:remote-branch",
  2601. "group": "8_gitlens@1"
  2602. },
  2603. {
  2604. "command": "gitlens.explorers.terminalMergeBranch",
  2605. "when": "viewItem == gitlens:remote-branch",
  2606. "group": "8_gitlens@2"
  2607. },
  2608. {
  2609. "command": "gitlens.explorers.terminalRebaseBranch",
  2610. "when": "viewItem == gitlens:remote-branch",
  2611. "group": "8_gitlens@3"
  2612. },
  2613. {
  2614. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2615. "when": "viewItem == gitlens:remote-branch",
  2616. "group": "8_gitlens@4"
  2617. },
  2618. {
  2619. "command": "gitlens.explorers.terminalCreateBranch",
  2620. "when": "viewItem == gitlens:remote-branch",
  2621. "group": "8_gitlens@5"
  2622. },
  2623. {
  2624. "command": "gitlens.explorers.terminalDeleteBranch",
  2625. "when": "viewItem == gitlens:remote-branch",
  2626. "group": "8_gitlens@6"
  2627. },
  2628. {
  2629. "command": "gitlens.explorers.terminalCreateTag",
  2630. "when": "viewItem == gitlens:remote-branch",
  2631. "group": "8_gitlens@7"
  2632. },
  2633. {
  2634. "command": "gitlens.openCommitInRemote",
  2635. "when": "viewItem == gitlens:commit && gitlens:hasRemotes",
  2636. "group": "1_gitlens@1"
  2637. },
  2638. {
  2639. "command": "gitlens.explorers.openChangedFileChanges",
  2640. "when": "viewItem == gitlens:commit",
  2641. "group": "2_gitlens@1"
  2642. },
  2643. {
  2644. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2645. "when": "viewItem == gitlens:commit",
  2646. "group": "2_gitlens@1"
  2647. },
  2648. {
  2649. "command": "gitlens.explorers.openChangedFiles",
  2650. "when": "viewItem == gitlens:commit",
  2651. "group": "3_gitlens@1"
  2652. },
  2653. {
  2654. "command": "gitlens.explorers.openChangedFileRevisions",
  2655. "when": "viewItem == gitlens:commit",
  2656. "group": "3_gitlens@2"
  2657. },
  2658. {
  2659. "command": "gitlens.copyShaToClipboard",
  2660. "when": "viewItem == gitlens:commit",
  2661. "group": "4_gitlens@1"
  2662. },
  2663. {
  2664. "command": "gitlens.copyMessageToClipboard",
  2665. "when": "viewItem == gitlens:commit",
  2666. "group": "4_gitlens@2"
  2667. },
  2668. {
  2669. "command": "gitlens.showQuickCommitDetails",
  2670. "when": "viewItem == gitlens:commit",
  2671. "group": "5_gitlens@1"
  2672. },
  2673. {
  2674. "command": "gitlens.explorers.compareWithHead",
  2675. "when": "viewItem == gitlens:commit",
  2676. "group": "7_gitlens@1"
  2677. },
  2678. {
  2679. "command": "gitlens.explorers.compareWithWorking",
  2680. "when": "viewItem == gitlens:commit",
  2681. "group": "7_gitlens@2"
  2682. },
  2683. {
  2684. "command": "gitlens.explorers.compareWithSelected",
  2685. "when": "viewItem == gitlens:commit && gitlens:explorers:canCompare",
  2686. "group": "7_gitlens_@1"
  2687. },
  2688. {
  2689. "command": "gitlens.explorers.selectForCompare",
  2690. "when": "viewItem == gitlens:commit",
  2691. "group": "7_gitlens_@2"
  2692. },
  2693. {
  2694. "command": "gitlens.explorers.terminalCherryPickCommit",
  2695. "when": "viewItem == gitlens:commit",
  2696. "group": "8_gitlens@1"
  2697. },
  2698. {
  2699. "command": "gitlens.explorers.terminalCreateBranch",
  2700. "when": "viewItem == gitlens:commit",
  2701. "group": "8_gitlens@2"
  2702. },
  2703. {
  2704. "command": "gitlens.explorers.terminalCreateTag",
  2705. "when": "viewItem == gitlens:commit",
  2706. "group": "8_gitlens@3"
  2707. },
  2708. {
  2709. "command": "gitlens.openCommitInRemote",
  2710. "when": "viewItem == gitlens:commit:current && gitlens:hasRemotes",
  2711. "group": "1_gitlens@1"
  2712. },
  2713. {
  2714. "command": "gitlens.explorers.openChangedFileChanges",
  2715. "when": "viewItem == gitlens:commit:current",
  2716. "group": "2_gitlens@1"
  2717. },
  2718. {
  2719. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2720. "when": "viewItem == gitlens:commit:current",
  2721. "group": "2_gitlens@1"
  2722. },
  2723. {
  2724. "command": "gitlens.explorers.openChangedFiles",
  2725. "when": "viewItem == gitlens:commit:current",
  2726. "group": "3_gitlens@1"
  2727. },
  2728. {
  2729. "command": "gitlens.explorers.openChangedFileRevisions",
  2730. "when": "viewItem == gitlens:commit:current",
  2731. "group": "3_gitlens@2"
  2732. },
  2733. {
  2734. "command": "gitlens.copyShaToClipboard",
  2735. "when": "viewItem == gitlens:commit:current",
  2736. "group": "4_gitlens@1"
  2737. },
  2738. {
  2739. "command": "gitlens.copyMessageToClipboard",
  2740. "when": "viewItem == gitlens:commit:current",
  2741. "group": "4_gitlens@2"
  2742. },
  2743. {
  2744. "command": "gitlens.showQuickCommitDetails",
  2745. "when": "viewItem == gitlens:commit:current",
  2746. "group": "5_gitlens@1"
  2747. },
  2748. {
  2749. "command": "gitlens.explorers.compareWithHead",
  2750. "when": "viewItem == gitlens:commit:current",
  2751. "group": "7_gitlens@1"
  2752. },
  2753. {
  2754. "command": "gitlens.explorers.compareWithWorking",
  2755. "when": "viewItem == gitlens:commit:current",
  2756. "group": "7_gitlens@2"
  2757. },
  2758. {
  2759. "command": "gitlens.explorers.compareWithSelected",
  2760. "when": "viewItem == gitlens:commit:current && gitlens:explorers:canCompare",
  2761. "group": "7_gitlens_@1"
  2762. },
  2763. {
  2764. "command": "gitlens.explorers.selectForCompare",
  2765. "when": "viewItem == gitlens:commit:current",
  2766. "group": "7_gitlens_@2"
  2767. },
  2768. {
  2769. "command": "gitlens.explorers.terminalRevertCommit",
  2770. "when": "viewItem == gitlens:commit:current",
  2771. "group": "8_gitlens@1"
  2772. },
  2773. {
  2774. "command": "gitlens.explorers.terminalRebaseCommit",
  2775. "when": "viewItem == gitlens:commit:current",
  2776. "group": "8_gitlens@2"
  2777. },
  2778. {
  2779. "command": "gitlens.explorers.terminalResetCommit",
  2780. "when": "viewItem == gitlens:commit:current",
  2781. "group": "8_gitlens@3"
  2782. },
  2783. {
  2784. "command": "gitlens.explorers.terminalCreateBranch",
  2785. "when": "viewItem == gitlens:commit:current",
  2786. "group": "8_gitlens@4"
  2787. },
  2788. {
  2789. "command": "gitlens.explorers.terminalCreateTag",
  2790. "when": "viewItem == gitlens:commit:current",
  2791. "group": "8_gitlens@5"
  2792. },
  2793. {
  2794. "command": "gitlens.explorers.openChanges",
  2795. "when": "viewItem == gitlens:commit-file",
  2796. "group": "1_gitlens@1"
  2797. },
  2798. {
  2799. "command": "gitlens.explorers.openChangesWithWorking",
  2800. "when": "viewItem == gitlens:commit-file",
  2801. "group": "1_gitlens@2"
  2802. },
  2803. {
  2804. "command": "gitlens.explorers.openFile",
  2805. "when": "viewItem == gitlens:commit-file",
  2806. "group": "2_gitlens@1"
  2807. },
  2808. {
  2809. "command": "gitlens.explorers.openFileRevision",
  2810. "when": "viewItem == gitlens:commit-file",
  2811. "group": "2_gitlens@2"
  2812. },
  2813. {
  2814. "command": "gitlens.openFileInRemote",
  2815. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2816. "group": "3_gitlens@1"
  2817. },
  2818. {
  2819. "command": "gitlens.explorers.openFileRevisionInRemote",
  2820. "when": "viewItem == gitlens:commit-file && gitlens:hasRemotes",
  2821. "group": "3_gitlens@2"
  2822. },
  2823. {
  2824. "command": "gitlens.explorers.applyChanges",
  2825. "when": "viewItem == gitlens:commit-file",
  2826. "group": "4_gitlens@1"
  2827. },
  2828. {
  2829. "command": "gitlens.showQuickFileHistory",
  2830. "when": "viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  2831. "group": "5_gitlens@1"
  2832. },
  2833. {
  2834. "command": "gitlens.showQuickCommitFileDetails",
  2835. "when": "viewItem == gitlens:commit-file",
  2836. "group": "5_gitlens@2"
  2837. },
  2838. {
  2839. "command": "gitlens.explorers.openFile",
  2840. "when": "viewItem == gitlens:file-history",
  2841. "group": "1_gitlens@1"
  2842. },
  2843. {
  2844. "command": "gitlens.openFileInRemote",
  2845. "when": "viewItem == gitlens:file-history && gitlens:hasRemotes",
  2846. "group": "1_gitlens@2"
  2847. },
  2848. {
  2849. "command": "gitlens.openBranchesInRemote",
  2850. "when": "viewItem == gitlens:remote",
  2851. "group": "1_gitlens@1"
  2852. },
  2853. {
  2854. "command": "gitlens.openRepoInRemote",
  2855. "when": "viewItem == gitlens:remote",
  2856. "group": "1_gitlens@2"
  2857. },
  2858. {
  2859. "command": "gitlens.explorers.terminalRemoveRemote",
  2860. "when": "viewItem == gitlens:remote",
  2861. "group": "8_gitlens@1"
  2862. },
  2863. {
  2864. "command": "gitlens.openRepoInRemote",
  2865. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2866. "group": "1_gitlens@1"
  2867. },
  2868. {
  2869. "command": "gitlens.resultsExplorer.clearResultsNode",
  2870. "when": "viewItem == gitlens:comparison-results",
  2871. "group": "1_gitlens@1"
  2872. },
  2873. {
  2874. "command": "gitlens.explorers.openDirectoryDiff",
  2875. "when": "viewItem == gitlens:comparison-results",
  2876. "group": "7_gitlens@1"
  2877. },
  2878. {
  2879. "command": "gitlens.resultsExplorer.clearResultsNode",
  2880. "when": "viewItem == gitlens:search-results",
  2881. "group": "1_gitlens@1"
  2882. },
  2883. {
  2884. "command": "gitlens.stashSave",
  2885. "when": "viewItem == gitlens:stashes",
  2886. "group": "1_gitlens@1"
  2887. },
  2888. {
  2889. "command": "gitlens.stashApply",
  2890. "when": "viewItem == gitlens:stash",
  2891. "group": "1_gitlens@1"
  2892. },
  2893. {
  2894. "command": "gitlens.stashDelete",
  2895. "when": "viewItem == gitlens:stash",
  2896. "group": "1_gitlens@2"
  2897. },
  2898. {
  2899. "command": "gitlens.explorers.openChangedFileChanges",
  2900. "when": "viewItem == gitlens:stash",
  2901. "group": "2_gitlens@1"
  2902. },
  2903. {
  2904. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2905. "when": "viewItem == gitlens:stash",
  2906. "group": "2_gitlens@1"
  2907. },
  2908. {
  2909. "command": "gitlens.explorers.openChangedFiles",
  2910. "when": "viewItem == gitlens:stash",
  2911. "group": "3_gitlens@1"
  2912. },
  2913. {
  2914. "command": "gitlens.explorers.openChangedFileRevisions",
  2915. "when": "viewItem == gitlens:stash",
  2916. "group": "3_gitlens@2"
  2917. },
  2918. {
  2919. "command": "gitlens.copyMessageToClipboard",
  2920. "when": "viewItem == gitlens:stash",
  2921. "group": "4_gitlens@1"
  2922. },
  2923. {
  2924. "command": "gitlens.explorers.compareWithHead",
  2925. "when": "viewItem == gitlens:stash",
  2926. "group": "7_gitlens@1"
  2927. },
  2928. {
  2929. "command": "gitlens.explorers.compareWithWorking",
  2930. "when": "viewItem == gitlens:stash",
  2931. "group": "7_gitlens@2"
  2932. },
  2933. {
  2934. "command": "gitlens.explorers.compareWithSelected",
  2935. "when": "viewItem == gitlens:stash && gitlens:explorers:canCompare",
  2936. "group": "7_gitlens_@1"
  2937. },
  2938. {
  2939. "command": "gitlens.explorers.selectForCompare",
  2940. "when": "viewItem == gitlens:stash",
  2941. "group": "7_gitlens_@2"
  2942. },
  2943. {
  2944. "command": "gitlens.explorers.applyChanges",
  2945. "when": "viewItem == gitlens:stash-file",
  2946. "group": "1_gitlens@1"
  2947. },
  2948. {
  2949. "command": "gitlens.explorers.openChanges",
  2950. "when": "viewItem == gitlens:stash-file",
  2951. "group": "2_gitlens@1"
  2952. },
  2953. {
  2954. "command": "gitlens.explorers.openChangesWithWorking",
  2955. "when": "viewItem == gitlens:stash-file",
  2956. "group": "2_gitlens@2"
  2957. },
  2958. {
  2959. "command": "gitlens.explorers.openFile",
  2960. "when": "viewItem == gitlens:stash-file",
  2961. "group": "3_gitlens@1"
  2962. },
  2963. {
  2964. "command": "gitlens.explorers.openFileRevision",
  2965. "when": "viewItem == gitlens:stash-file",
  2966. "group": "3_gitlens@2"
  2967. },
  2968. {
  2969. "command": "gitlens.openFileInRemote",
  2970. "when": "viewItem == gitlens:stash-file && gitlens:hasRemotes",
  2971. "group": "4_gitlens@1"
  2972. },
  2973. {
  2974. "command": "gitlens.showQuickFileHistory",
  2975. "when": "viewItem == gitlens:stash-file",
  2976. "group": "5_gitlens@1"
  2977. },
  2978. {
  2979. "command": "gitlens.openRepoInRemote",
  2980. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2981. "group": "1_gitlens@1"
  2982. },
  2983. {
  2984. "command": "gitlens.explorers.openChanges",
  2985. "when": "viewItem == gitlens:status-file",
  2986. "group": "1_gitlens@1"
  2987. },
  2988. {
  2989. "command": "gitlens.explorers.openChangesWithWorking",
  2990. "when": "viewItem == gitlens:status-file",
  2991. "group": "1_gitlens@2"
  2992. },
  2993. {
  2994. "command": "gitlens.explorers.openFile",
  2995. "when": "viewItem == gitlens:status-file",
  2996. "group": "2_gitlens@1"
  2997. },
  2998. {
  2999. "command": "gitlens.explorers.openFileRevision",
  3000. "when": "viewItem == gitlens:status-file",
  3001. "group": "2_gitlens@2"
  3002. },
  3003. {
  3004. "command": "gitlens.openFileInRemote",
  3005. "when": "viewItem == gitlens:status-file && gitlens:hasRemotes",
  3006. "group": "3_gitlens@1"
  3007. },
  3008. {
  3009. "command": "gitlens.showQuickFileHistory",
  3010. "when": "viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  3011. "group": "5_gitlens@1"
  3012. },
  3013. {
  3014. "command": "gitlens.showQuickCommitFileDetails",
  3015. "when": "viewItem == gitlens:status-file",
  3016. "group": "5_gitlens@2"
  3017. },
  3018. {
  3019. "command": "gitlens.explorers.openFile",
  3020. "when": "viewItem == gitlens:status-file-commits",
  3021. "group": "1_gitlens@1"
  3022. },
  3023. {
  3024. "command": "gitlens.openFileInRemote",
  3025. "when": "viewItem == gitlens:status-file-commits && gitlens:hasRemotes",
  3026. "group": "1_gitlens@2"
  3027. },
  3028. {
  3029. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  3030. "when": "viewItem == gitlens:status-upstream",
  3031. "group": "8_gitlens@1"
  3032. },
  3033. {
  3034. "command": "gitlens.explorers.terminalCreateBranch",
  3035. "when": "viewItem == gitlens:status-upstream",
  3036. "group": "8_gitlens@2"
  3037. },
  3038. {
  3039. "command": "gitlens.explorers.terminalCreateTag",
  3040. "when": "viewItem == gitlens:status-upstream",
  3041. "group": "8_gitlens@3"
  3042. },
  3043. {
  3044. "command": "gitlens.explorers.compareWithHead",
  3045. "when": "viewItem == gitlens:tag",
  3046. "group": "7_gitlens@1"
  3047. },
  3048. {
  3049. "command": "gitlens.explorers.compareWithWorking",
  3050. "when": "viewItem == gitlens:tag",
  3051. "group": "7_gitlens@2"
  3052. },
  3053. {
  3054. "command": "gitlens.explorers.compareWithSelected",
  3055. "when": "viewItem == gitlens:tag && gitlens:explorers:canCompare",
  3056. "group": "7_gitlens_@1"
  3057. },
  3058. {
  3059. "command": "gitlens.explorers.selectForCompare",
  3060. "when": "viewItem == gitlens:tag",
  3061. "group": "7_gitlens_@2"
  3062. },
  3063. {
  3064. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3065. "when": "viewItem == gitlens:tag",
  3066. "group": "7_gitlens_diff@1"
  3067. },
  3068. {
  3069. "command": "gitlens.explorers.terminalDeleteTag",
  3070. "when": "viewItem == gitlens:tag",
  3071. "group": "8_gitlens"
  3072. },
  3073. {
  3074. "command": "gitlens.gitExplorer.refreshNode",
  3075. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3076. "group": "9_gitlens@1"
  3077. },
  3078. {
  3079. "command": "gitlens.resultsExplorer.refreshNode",
  3080. "when": "view == gitlens.resultsExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  3081. "group": "9_gitlens@1"
  3082. }
  3083. ]
  3084. },
  3085. "keybindings": [
  3086. {
  3087. "command": "gitlens.key.left",
  3088. "key": "alt+left",
  3089. "when": "gitlens:key:left"
  3090. },
  3091. {
  3092. "command": "gitlens.key.right",
  3093. "key": "alt+right",
  3094. "when": "gitlens:key:right"
  3095. },
  3096. {
  3097. "command": "gitlens.key.,",
  3098. "key": "alt+,",
  3099. "when": "gitlens:key:,"
  3100. },
  3101. {
  3102. "command": "gitlens.key..",
  3103. "key": "alt+.",
  3104. "when": "gitlens:key:."
  3105. },
  3106. {
  3107. "command": "gitlens.key.escape",
  3108. "key": "escape",
  3109. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3110. },
  3111. {
  3112. "command": "gitlens.toggleFileBlame",
  3113. "key": "ctrl+shift+g b",
  3114. "mac": "cmd+alt+g b",
  3115. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  3116. },
  3117. {
  3118. "command": "gitlens.toggleCodeLens",
  3119. "key": "ctrl+shift+g shift+b",
  3120. "mac": "cmd+alt+g shift+b",
  3121. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3122. },
  3123. {
  3124. "command": "gitlens.showLastQuickPick",
  3125. "key": "ctrl+shift+g -",
  3126. "mac": "cmd+alt+g -",
  3127. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3128. },
  3129. {
  3130. "command": "gitlens.showCommitSearch",
  3131. "key": "ctrl+shift+g /",
  3132. "mac": "cmd+alt+g /",
  3133. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3134. },
  3135. {
  3136. "command": "gitlens.showQuickFileHistory",
  3137. "key": "ctrl+shift+g h",
  3138. "mac": "cmd+alt+g h",
  3139. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3140. },
  3141. {
  3142. "command": "gitlens.showQuickRepoHistory",
  3143. "key": "ctrl+shift+g shift+h",
  3144. "mac": "cmd+alt+g shift+h",
  3145. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3146. },
  3147. {
  3148. "command": "gitlens.showQuickRepoStatus",
  3149. "key": "ctrl+shift+g s",
  3150. "mac": "cmd+alt+g s",
  3151. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3152. },
  3153. {
  3154. "command": "gitlens.showQuickCommitFileDetails",
  3155. "key": "ctrl+shift+g c",
  3156. "mac": "cmd+alt+g c",
  3157. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3158. },
  3159. {
  3160. "command": "gitlens.diffWithNext",
  3161. "key": "ctrl+shift+g .",
  3162. "mac": "cmd+alt+g .",
  3163. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3164. },
  3165. {
  3166. "command": "gitlens.diffLineWithPrevious",
  3167. "key": "ctrl+shift+g shift+,",
  3168. "mac": "cmd+alt+g shift+,",
  3169. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3170. },
  3171. {
  3172. "command": "gitlens.diffWithPrevious",
  3173. "key": "ctrl+shift+g ,",
  3174. "mac": "cmd+alt+g ,",
  3175. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3176. },
  3177. {
  3178. "command": "gitlens.diffLineWithWorking",
  3179. "key": "ctrl+shift+g w",
  3180. "mac": "cmd+alt+g w",
  3181. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3182. },
  3183. {
  3184. "command": "gitlens.diffWithWorking",
  3185. "key": "ctrl+shift+g shift+w",
  3186. "mac": "cmd+alt+g shift+w",
  3187. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3188. },
  3189. {
  3190. "command": "gitlens.toggleFileBlame",
  3191. "key": "alt+b",
  3192. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  3193. },
  3194. {
  3195. "command": "gitlens.toggleCodeLens",
  3196. "key": "shift+alt+b",
  3197. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3198. },
  3199. {
  3200. "command": "gitlens.showLastQuickPick",
  3201. "key": "alt+-",
  3202. "when": "gitlens:keymap == standard && gitlens:enabled"
  3203. },
  3204. {
  3205. "command": "gitlens.showCommitSearch",
  3206. "key": "alt+/",
  3207. "when": "gitlens:keymap == standard && gitlens:enabled"
  3208. },
  3209. {
  3210. "command": "gitlens.showQuickFileHistory",
  3211. "key": "alt+h",
  3212. "when": "gitlens:keymap == standard && gitlens:enabled"
  3213. },
  3214. {
  3215. "command": "gitlens.showQuickRepoHistory",
  3216. "key": "shift+alt+h",
  3217. "when": "gitlens:keymap == standard && gitlens:enabled"
  3218. },
  3219. {
  3220. "command": "gitlens.showQuickRepoStatus",
  3221. "key": "alt+s",
  3222. "when": "gitlens:keymap == standard && gitlens:enabled"
  3223. },
  3224. {
  3225. "command": "gitlens.showQuickCommitFileDetails",
  3226. "key": "alt+c",
  3227. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  3228. },
  3229. {
  3230. "command": "gitlens.diffWithNext",
  3231. "key": "alt+.",
  3232. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3233. },
  3234. {
  3235. "command": "gitlens.diffLineWithPrevious",
  3236. "key": "shift+alt+,",
  3237. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3238. },
  3239. {
  3240. "command": "gitlens.diffWithPrevious",
  3241. "key": "alt+,",
  3242. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3243. },
  3244. {
  3245. "command": "gitlens.diffLineWithWorking",
  3246. "key": "alt+w",
  3247. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3248. },
  3249. {
  3250. "command": "gitlens.diffWithWorking",
  3251. "key": "shift+alt+w",
  3252. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  3253. },
  3254. {
  3255. "command": "workbench.view.scm",
  3256. "key": "ctrl+shift+g g",
  3257. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3258. }
  3259. ],
  3260. "views": {
  3261. "explorer": [
  3262. {
  3263. "id": "gitlens.gitExplorer",
  3264. "name": "GitLens",
  3265. "when": "gitlens:enabled && gitlens:gitExplorer"
  3266. },
  3267. {
  3268. "id": "gitlens.resultsExplorer",
  3269. "name": "GitLens Results",
  3270. "when": "gitlens:enabled && gitlens:resultsExplorer"
  3271. }
  3272. ]
  3273. }
  3274. },
  3275. "activationEvents": [
  3276. "*"
  3277. ],
  3278. "scripts": {
  3279. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  3280. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  3281. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  3282. "clean": "git clean -Xdf",
  3283. "lint": "tslint --project tslint.json",
  3284. "pack": "vsce package",
  3285. "pub": "vsce publish",
  3286. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  3287. "reset": "npm run clean && npm install --no-save",
  3288. "watch": "tsc -watch -p ./",
  3289. "postinstall": "node ./node_modules/vscode/bin/install && pushd \"./src/ui\" && npm install --no-save && popd",
  3290. "prepush": "npm run build",
  3291. "vscode:prepublish": "npm run reset && npm run bundle"
  3292. },
  3293. "dependencies": {
  3294. "copy-paste": "1.3.0",
  3295. "date-fns": "1.29.0",
  3296. "iconv-lite": "0.4.19",
  3297. "lodash.debounce": "4.0.8",
  3298. "lodash.once": "4.1.1",
  3299. "tmp": "0.0.33",
  3300. "tslib": "1.9.0"
  3301. },
  3302. "devDependencies": {
  3303. "@types/copy-paste": "1.1.30",
  3304. "@types/node": "9.4.1",
  3305. "@types/tmp": "0.0.33",
  3306. "husky": "0.14.3",
  3307. "ts-loader": "3.4.0",
  3308. "tslint": "5.9.1",
  3309. "typescript": "2.7.1",
  3310. "uglify-es": "3.3.9",
  3311. "uglifyjs-webpack-plugin": "1.1.8",
  3312. "vscode": "1.1.10",
  3313. "webpack": "3.10.0",
  3314. "webpack-node-externals": "1.6.0"
  3315. }
  3316. }