您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3323 行
147 KiB

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