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

3622 řádky
160 KiB

před 6 roky
před 6 roky
před 6 roky
před 7 roky
před 7 roky
před 6 roky
před 7 roky
před 7 roky
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — 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",
  5. "version": "8.5.6",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.25.0"
  22. },
  23. "main": "./dist/extension",
  24. "icon": "images/gitlens-icon.png",
  25. "preview": false,
  26. "badges": [
  27. {
  28. "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack",
  29. "href": "https://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  30. "description": "Join us in the #gitlens channel"
  31. }
  32. ],
  33. "categories": [
  34. "Other"
  35. ],
  36. "galleryBanner": {
  37. "color": "#8647ae",
  38. "theme": "dark"
  39. },
  40. "keywords": [
  41. "gitlens",
  42. "git",
  43. "blame",
  44. "log",
  45. "annotation",
  46. "multi-root ready"
  47. ],
  48. "activationEvents": [
  49. "*"
  50. ],
  51. "contributes": {
  52. "configuration": {
  53. "type": "object",
  54. "title": "GitLens",
  55. "properties": {
  56. "gitlens.blame.avatars": {
  57. "type": "boolean",
  58. "default": true,
  59. "description": "Specifies whether to show avatar images in the gutter blame annotations",
  60. "scope": "window"
  61. },
  62. "gitlens.blame.compact": {
  63. "type": "boolean",
  64. "default": true,
  65. "description": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  66. "scope": "window"
  67. },
  68. "gitlens.blame.dateFormat": {
  69. "type": "string",
  70. "default": null,
  71. "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",
  72. "scope": "window"
  73. },
  74. "gitlens.blame.format": {
  75. "type": "string",
  76. "default": "${message|40?} ${agoOrDate|14-}",
  77. "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 ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  78. "scope": "window"
  79. },
  80. "gitlens.blame.heatmap.enabled": {
  81. "type": "boolean",
  82. "default": true,
  83. "description": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  84. "scope": "window"
  85. },
  86. "gitlens.blame.heatmap.location": {
  87. "type": "string",
  88. "default": "right",
  89. "enum": [
  90. "left",
  91. "right"
  92. ],
  93. "enumDescriptions": [
  94. "Adds a heatmap indicator on the left edge of the gutter blame annotations",
  95. "Adds a heatmap indicator on the right edge of the gutter blame annotations"
  96. ],
  97. "description": "Specifies where the heatmap indicators will be shown in the gutter blame annotations",
  98. "scope": "window"
  99. },
  100. "gitlens.blame.highlight.enabled": {
  101. "type": "boolean",
  102. "default": true,
  103. "description": "Specifies whether to highlight lines associated with the current line",
  104. "scope": "window"
  105. },
  106. "gitlens.blame.highlight.locations": {
  107. "type": "array",
  108. "default": [
  109. "gutter",
  110. "line",
  111. "overview"
  112. ],
  113. "items": {
  114. "type": "string",
  115. "enum": [
  116. "gutter",
  117. "line",
  118. "overview"
  119. ],
  120. "enumDescriptions": [
  121. "Adds a gutter glyph",
  122. "Adds a full-line highlight background color",
  123. "Adds a decoration to the overview ruler (scroll bar)"
  124. ]
  125. },
  126. "minItems": 1,
  127. "maxItems": 3,
  128. "uniqueItems": true,
  129. "description": "Specifies where the associated line highlights will be shown",
  130. "scope": "window"
  131. },
  132. "gitlens.blame.ignoreWhitespace": {
  133. "type": "boolean",
  134. "default": false,
  135. "description": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  136. "scope": "resource"
  137. },
  138. "gitlens.blame.separateLines": {
  139. "type": "boolean",
  140. "default": true,
  141. "description": "Specifies whether gutter blame annotations will be separated by a small gap",
  142. "scope": "window"
  143. },
  144. "gitlens.blame.toggleMode": {
  145. "type": "string",
  146. "default": "file",
  147. "enum": [
  148. "file",
  149. "window"
  150. ],
  151. "enumDescriptions": [
  152. "Toggles each file individually",
  153. "Toggles the window, i.e. all files at once"
  154. ],
  155. "description": "Specifies how the gutter blame annotations will be toggled",
  156. "scope": "window"
  157. },
  158. "gitlens.codeLens.authors.command": {
  159. "type": "string",
  160. "default": "gitlens.toggleFileBlame",
  161. "enum": [
  162. "gitlens.toggleFileBlame",
  163. "gitlens.diffWithPrevious",
  164. "gitlens.showQuickCommitDetails",
  165. "gitlens.showQuickCommitFileDetails",
  166. "gitlens.showQuickFileHistory",
  167. "gitlens.showQuickRepoHistory"
  168. ],
  169. "enumDescriptions": [
  170. "Toggles file blame annotations",
  171. "Compares the current committed file with the previous commit",
  172. "Shows a commit details quick pick",
  173. "Shows a commit file details quick pick",
  174. "Shows a file history quick pick",
  175. "Shows a branch history quick pick"
  176. ],
  177. "description": "Specifies the command to be executed when the `authors` code lens is clicked",
  178. "scope": "window"
  179. },
  180. "gitlens.codeLens.authors.enabled": {
  181. "type": "boolean",
  182. "default": true,
  183. "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)",
  184. "scope": "window"
  185. },
  186. "gitlens.codeLens.enabled": {
  187. "type": "boolean",
  188. "default": true,
  189. "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",
  190. "scope": "window"
  191. },
  192. "gitlens.codeLens.recentChange.command": {
  193. "type": "string",
  194. "default": "gitlens.showQuickCommitFileDetails",
  195. "enum": [
  196. "gitlens.toggleFileBlame",
  197. "gitlens.diffWithPrevious",
  198. "gitlens.showQuickCommitDetails",
  199. "gitlens.showQuickCommitFileDetails",
  200. "gitlens.showQuickFileHistory",
  201. "gitlens.showQuickRepoHistory"
  202. ],
  203. "enumDescriptions": [
  204. "Toggles file blame annotations",
  205. "Compares the current committed file with the previous commit",
  206. "Shows a commit details quick pick",
  207. "Shows a commit file details quick pick",
  208. "Shows a file history quick pick",
  209. "Shows a branch history quick pick"
  210. ],
  211. "description": "Specifies the command to be executed when the `recent change` code lens is clicked",
  212. "scope": "window"
  213. },
  214. "gitlens.codeLens.recentChange.enabled": {
  215. "type": "boolean",
  216. "default": true,
  217. "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",
  218. "scope": "window"
  219. },
  220. "gitlens.codeLens.scopes": {
  221. "type": "array",
  222. "default": [
  223. "document",
  224. "containers"
  225. ],
  226. "items": {
  227. "type": "string",
  228. "enum": [
  229. "document",
  230. "containers",
  231. "blocks"
  232. ],
  233. "enumDescriptions": [
  234. "Adds code lens at the top of the document",
  235. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  236. "Adds code lens at the start of block-like symbols (functions, methods, etc) lines"
  237. ]
  238. },
  239. "minItems": 1,
  240. "maxItems": 4,
  241. "uniqueItems": true,
  242. "description": "Specifies where Git code lens will be shown in the document",
  243. "scope": "resource"
  244. },
  245. "gitlens.codeLens.scopesByLanguage": {
  246. "type": "array",
  247. "default": [
  248. {
  249. "language": "css",
  250. "scopes": [
  251. "document"
  252. ]
  253. },
  254. {
  255. "language": "html",
  256. "scopes": [
  257. "document"
  258. ]
  259. },
  260. {
  261. "language": "json",
  262. "scopes": [
  263. "document"
  264. ]
  265. },
  266. {
  267. "language": "jsonc",
  268. "scopes": [
  269. "document"
  270. ]
  271. },
  272. {
  273. "language": "less",
  274. "scopes": [
  275. "document"
  276. ]
  277. },
  278. {
  279. "language": "postcss",
  280. "scopes": [
  281. "document"
  282. ]
  283. },
  284. {
  285. "language": "python",
  286. "symbolScopes": [
  287. "!Module"
  288. ]
  289. },
  290. {
  291. "language": "scss",
  292. "scopes": [
  293. "document"
  294. ]
  295. },
  296. {
  297. "language": "stylus",
  298. "scopes": [
  299. "document"
  300. ]
  301. },
  302. {
  303. "language": "vue",
  304. "scopes": [
  305. "document"
  306. ]
  307. }
  308. ],
  309. "items": {
  310. "type": "object",
  311. "required": [
  312. "language"
  313. ],
  314. "properties": {
  315. "language": {
  316. "type": "string",
  317. "description": "Specifies the language to which this code lens override applies"
  318. },
  319. "scopes": {
  320. "type": "array",
  321. "default": [
  322. "document",
  323. "containers"
  324. ],
  325. "items": {
  326. "type": "string",
  327. "enum": [
  328. "document",
  329. "containers",
  330. "blocks",
  331. "custom"
  332. ],
  333. "enumDescriptions": [
  334. "Adds code lens at the top of the document",
  335. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  336. "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
  337. "Adds code lens at the start of symbols contained in `symbolScopes`"
  338. ]
  339. },
  340. "minItems": 1,
  341. "maxItems": 4,
  342. "uniqueItems": true,
  343. "description": "Specifies where Git code lens will be shown in the document for the specified language"
  344. },
  345. "symbolScopes": {
  346. "type": "array",
  347. "items": {
  348. "type": "string"
  349. },
  350. "uniqueItems": true,
  351. "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`"
  352. }
  353. }
  354. },
  355. "uniqueItems": true,
  356. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  357. "scope": "resource"
  358. },
  359. "gitlens.codeLens.symbolScopes": {
  360. "type": "array",
  361. "items": {
  362. "type": "string"
  363. },
  364. "uniqueItems": true,
  365. "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`",
  366. "scope": "resource"
  367. },
  368. "gitlens.currentLine.dateFormat": {
  369. "type": "string",
  370. "default": null,
  371. "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",
  372. "scope": "window"
  373. },
  374. "gitlens.currentLine.enabled": {
  375. "type": "boolean",
  376. "default": true,
  377. "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",
  378. "scope": "window"
  379. },
  380. "gitlens.currentLine.format": {
  381. "type": "string",
  382. "default": "${authorAgoOrDate} • ${message}",
  383. "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.currentLine.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  384. "scope": "window"
  385. },
  386. "gitlens.currentLine.scrollable": {
  387. "type": "boolean",
  388. "default": true,
  389. "description": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  390. "scope": "window"
  391. },
  392. "gitlens.debug": {
  393. "type": "boolean",
  394. "default": false,
  395. "description": "Specifies debug mode",
  396. "scope": "window"
  397. },
  398. "gitlens.defaultDateFormat": {
  399. "type": "string",
  400. "default": null,
  401. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  402. "scope": "window"
  403. },
  404. "gitlens.defaultDateStyle": {
  405. "type": "string",
  406. "default": "relative",
  407. "enum": [
  408. "relative",
  409. "absolute"
  410. ],
  411. "enumDescriptions": [
  412. "e.g. 1 day ago",
  413. "e.g. July 25th, 2018 7:18pm"
  414. ],
  415. "description": "Specifies how dates will be displayed by default",
  416. "scope": "window"
  417. },
  418. "gitlens.defaultGravatarsStyle": {
  419. "type": "string",
  420. "default": "robohash",
  421. "enum": [
  422. "identicon",
  423. "mm",
  424. "monsterid",
  425. "retro",
  426. "robohash",
  427. "wavatar"
  428. ],
  429. "enumDescriptions": [
  430. "A geometric pattern",
  431. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  432. "A monster with different colors, faces, etc",
  433. "8-bit arcade-style pixelated faces",
  434. "A robot with different colors, faces, etc",
  435. "A face with differing features and backgrounds"
  436. ],
  437. "description": "Specifies the style of the gravatar default (fallback) images",
  438. "scope": "window"
  439. },
  440. "gitlens.explorers.avatars": {
  441. "type": "boolean",
  442. "default": true,
  443. "description": "Specifies whether to show avatar images instead of commit (or status) icons in the `GitLens` and `GitLens Results` explorers",
  444. "scope": "window"
  445. },
  446. "gitlens.explorers.commitFileFormat": {
  447. "type": "string",
  448. "default": "${filePath}",
  449. "description": "Specifies the format of a committed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  450. "scope": "window"
  451. },
  452. "gitlens.explorers.commitFormat": {
  453. "type": "string",
  454. "default": "${message} • ${authorAgoOrDate} (${id})",
  455. "description": "Specifies the format of committed changes in the `GitLens` and `GitLens Results` explorers\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.defaultDateFormat`)\\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  456. "scope": "window"
  457. },
  458. "gitlens.explorers.stashFileFormat": {
  459. "type": "string",
  460. "default": "${filePath}",
  461. "description": "Specifies the format of a stashed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  462. "scope": "window"
  463. },
  464. "gitlens.explorers.stashFormat": {
  465. "type": "string",
  466. "default": "${message}",
  467. "description": "Specifies the format of stashed changes in the `GitLens` and `GitLens Results` explorers\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 ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  468. "scope": "window"
  469. },
  470. "gitlens.explorers.statusFileFormat": {
  471. "type": "string",
  472. "default": "${working}${filePath}",
  473. "description": "Specifies the format of the status of a working or committed file in the `GitLens` and `GitLens Results` explorers\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",
  474. "scope": "window"
  475. },
  476. "gitlens.gitExplorer.autoRefresh": {
  477. "type": "boolean",
  478. "default": true,
  479. "description": "Specifies whether to automatically refresh the `GitLens` explorer when the repository or the file system changes",
  480. "scope": "window"
  481. },
  482. "gitlens.gitExplorer.branches.layout": {
  483. "type": "string",
  484. "default": "tree",
  485. "enum": [
  486. "list",
  487. "tree"
  488. ],
  489. "enumDescriptions": [
  490. "Displays branches as a list",
  491. "Displays branches as a tree when branch names contain slashes `/`"
  492. ],
  493. "description": "Specifies how the `GitLens` explorer will display branches",
  494. "scope": "window"
  495. },
  496. "gitlens.gitExplorer.enabled": {
  497. "type": "boolean",
  498. "default": true,
  499. "description": "Specifies whether to show the `GitLens` explorer",
  500. "scope": "window"
  501. },
  502. "gitlens.gitExplorer.files.compact": {
  503. "type": "boolean",
  504. "default": true,
  505. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens` explorer\nOnly applies when `#gitlens.gitExplorer.files.layout#` is set to `tree` or `auto`",
  506. "scope": "window"
  507. },
  508. "gitlens.gitExplorer.files.layout": {
  509. "type": "string",
  510. "default": "auto",
  511. "enum": [
  512. "auto",
  513. "list",
  514. "tree"
  515. ],
  516. "enumDescriptions": [
  517. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.gitExplorer.files.threshold#` value and the number of files at each nesting level",
  518. "Displays files as a list",
  519. "Displays files as a tree"
  520. ],
  521. "description": "Specifies how the `GitLens` explorer will display files",
  522. "scope": "window"
  523. },
  524. "gitlens.gitExplorer.files.threshold": {
  525. "type": "number",
  526. "default": 5,
  527. "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 `#gitlens.gitExplorer.files.layout#` is set to `auto`",
  528. "scope": "window"
  529. },
  530. "gitlens.gitExplorer.includeWorkingTree": {
  531. "type": "boolean",
  532. "default": true,
  533. "description": "Specifies whether to include working tree files inside the `Repository Status` node of the `GitLens` explorer",
  534. "scope": "window"
  535. },
  536. "gitlens.gitExplorer.location": {
  537. "type": "string",
  538. "default": "gitlens",
  539. "enum": [
  540. "gitlens",
  541. "explorer",
  542. "scm"
  543. ],
  544. "enumDescriptions": [
  545. "Adds to the GitLens view",
  546. "Adds to the Explorer view",
  547. "Adds to the Source Control view"
  548. ],
  549. "description": "Specifies where to show the `GitLens` explorer",
  550. "scope": "window"
  551. },
  552. "gitlens.gitExplorer.showTrackingBranch": {
  553. "type": "boolean",
  554. "default": true,
  555. "description": "Specifies whether to show the tracking branch when displaying local branches in the `GitLens` explorer",
  556. "scope": "window"
  557. },
  558. "gitlens.gitExplorer.view": {
  559. "type": "string",
  560. "default": "auto",
  561. "enum": [
  562. "auto",
  563. "history",
  564. "repository"
  565. ],
  566. "enumDescriptions": [
  567. "Shows the last selected view, defaults to `repository`",
  568. "Shows the commit history of the current file",
  569. "Shows a repository explorer"
  570. ],
  571. "description": "Specifies the starting view of the `GitLens` explorer",
  572. "scope": "window"
  573. },
  574. "gitlens.heatmap.ageThreshold": {
  575. "type": "string",
  576. "default": "90",
  577. "description": "Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `#gitlens.heatmap.coldColor#` instead of `#gitlens.heatmap.hotColor#`)",
  578. "scope": "window"
  579. },
  580. "gitlens.heatmap.coldColor": {
  581. "type": "string",
  582. "default": "#0a60f6",
  583. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  584. "scope": "window"
  585. },
  586. "gitlens.heatmap.hotColor": {
  587. "type": "string",
  588. "default": "#f66a0a",
  589. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  590. "scope": "window"
  591. },
  592. "gitlens.heatmap.toggleMode": {
  593. "type": "string",
  594. "default": "file",
  595. "enum": [
  596. "file",
  597. "window"
  598. ],
  599. "enumDescriptions": [
  600. "Toggles each file individually",
  601. "Toggles the window, i.e. all files at once"
  602. ],
  603. "description": "Specifies how the gutter heatmap annotations will be toggled",
  604. "scope": "window"
  605. },
  606. "gitlens.historyExplorer.avatars": {
  607. "type": "boolean",
  608. "default": true,
  609. "description": "Specifies whether to show avatar images instead of status icons in the `GitLens File History` explorer",
  610. "scope": "window"
  611. },
  612. "gitlens.historyExplorer.enabled": {
  613. "type": "boolean",
  614. "default": true,
  615. "description": "Specifies whether to show the current file history undocked in a `GitLens File History` explorer",
  616. "scope": "window"
  617. },
  618. "gitlens.historyExplorer.location": {
  619. "type": "string",
  620. "default": "gitlens",
  621. "enum": [
  622. "gitlens",
  623. "explorer",
  624. "scm"
  625. ],
  626. "enumDescriptions": [
  627. "Adds to the GitLens view",
  628. "Adds to the Explorer view",
  629. "Adds to the Source Control view"
  630. ],
  631. "description": "Specifies where to show the `GitLens File History` explorer",
  632. "scope": "window"
  633. },
  634. "gitlens.hovers.annotations.changes": {
  635. "type": "boolean",
  636. "default": true,
  637. "description": "Specifies whether to provide a changes (diff) hover for all lines when showing blame annotations",
  638. "scope": "window"
  639. },
  640. "gitlens.hovers.annotations.details": {
  641. "type": "boolean",
  642. "default": true,
  643. "description": "Specifies whether to provide a commit details hover for all lines when showing blame annotations",
  644. "scope": "window"
  645. },
  646. "gitlens.hovers.annotations.enabled": {
  647. "type": "boolean",
  648. "default": true,
  649. "description": "Specifies whether to provide any hovers when showing blame annotations",
  650. "scope": "window"
  651. },
  652. "gitlens.hovers.annotations.over": {
  653. "type": "string",
  654. "default": "line",
  655. "enum": [
  656. "annotation",
  657. "line"
  658. ],
  659. "enumDescriptions": [
  660. "Only shown when hovering over the line annotation",
  661. "Shown when hovering anywhere over the line"
  662. ],
  663. "description": "Specifies when to trigger hovers when showing blame annotations",
  664. "scope": "window"
  665. },
  666. "gitlens.hovers.currentLine.changes": {
  667. "type": "boolean",
  668. "default": true,
  669. "description": "Specifies whether to provide a changes (diff) hover for the current line",
  670. "scope": "window"
  671. },
  672. "gitlens.hovers.currentLine.details": {
  673. "type": "boolean",
  674. "default": true,
  675. "description": "Specifies whether to provide a commit details hover for the current line",
  676. "scope": "window"
  677. },
  678. "gitlens.hovers.currentLine.enabled": {
  679. "type": "boolean",
  680. "default": true,
  681. "description": "Specifies whether to provide any hovers for the current line",
  682. "scope": "window"
  683. },
  684. "gitlens.hovers.currentLine.over": {
  685. "type": "string",
  686. "default": "annotation",
  687. "enum": [
  688. "annotation",
  689. "line"
  690. ],
  691. "enumDescriptions": [
  692. "Only shown when hovering over the line annotation",
  693. "Shown when hovering anywhere over the line"
  694. ],
  695. "description": "Specifies when to trigger hovers for the current line",
  696. "scope": "window"
  697. },
  698. "gitlens.hovers.avatars": {
  699. "type": "boolean",
  700. "default": true,
  701. "description": "Specifies whether to show avatar images in hovers",
  702. "scope": "window"
  703. },
  704. "gitlens.hovers.enabled": {
  705. "type": "boolean",
  706. "default": true,
  707. "description": "Specifies whether to provide any hovers",
  708. "scope": "window"
  709. },
  710. "gitlens.insiders": {
  711. "type": "boolean",
  712. "default": false,
  713. "description": "Specifies whether to enable experimental features",
  714. "scope": "window"
  715. },
  716. "gitlens.keymap": {
  717. "type": "string",
  718. "default": "chorded",
  719. "enum": [
  720. "alternate",
  721. "chorded",
  722. "none"
  723. ],
  724. "enumDescriptions": [
  725. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  726. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  727. "No shortcut keys will be added"
  728. ],
  729. "description": "Specifies the keymap to use for GitLens shortcut keys",
  730. "scope": "window"
  731. },
  732. "gitlens.menus": {
  733. "anyOf": [
  734. {
  735. "enum": [
  736. false
  737. ]
  738. },
  739. {
  740. "type": "object",
  741. "properties": {
  742. "editor": {
  743. "anyOf": [
  744. {
  745. "enum": [
  746. false
  747. ]
  748. },
  749. {
  750. "type": "object",
  751. "properties": {
  752. "blame": {
  753. "type": "boolean"
  754. },
  755. "clipboard": {
  756. "type": "boolean"
  757. },
  758. "compare": {
  759. "type": "boolean"
  760. },
  761. "details": {
  762. "type": "boolean"
  763. },
  764. "history": {
  765. "type": "boolean"
  766. },
  767. "remote": {
  768. "type": "boolean"
  769. }
  770. }
  771. }
  772. ]
  773. },
  774. "editorGroup": {
  775. "anyOf": [
  776. {
  777. "enum": [
  778. false
  779. ]
  780. },
  781. {
  782. "type": "object",
  783. "properties": {
  784. "blame": {
  785. "type": "boolean"
  786. },
  787. "compare": {
  788. "type": "boolean"
  789. },
  790. "history": {
  791. "type": "boolean"
  792. },
  793. "remote": {
  794. "type": "boolean"
  795. }
  796. }
  797. }
  798. ]
  799. },
  800. "editorTab": {
  801. "anyOf": [
  802. {
  803. "enum": [
  804. false
  805. ]
  806. },
  807. {
  808. "type": "object",
  809. "properties": {
  810. "compare": {
  811. "type": "boolean"
  812. },
  813. "history": {
  814. "type": "boolean"
  815. },
  816. "remote": {
  817. "type": "boolean"
  818. }
  819. }
  820. }
  821. ]
  822. },
  823. "explorer": {
  824. "anyOf": [
  825. {
  826. "enum": [
  827. false
  828. ]
  829. },
  830. {
  831. "type": "object",
  832. "properties": {
  833. "compare": {
  834. "type": "boolean"
  835. },
  836. "history": {
  837. "type": "boolean"
  838. },
  839. "remote": {
  840. "type": "boolean"
  841. }
  842. }
  843. }
  844. ]
  845. }
  846. }
  847. }
  848. ],
  849. "default": {
  850. "editor": {
  851. "blame": false,
  852. "clipboard": true,
  853. "compare": true,
  854. "details": true,
  855. "history": false,
  856. "remote": true
  857. },
  858. "editorGroup": {
  859. "blame": true,
  860. "compare": true,
  861. "history": false,
  862. "remote": false
  863. },
  864. "editorTab": {
  865. "compare": false,
  866. "history": false,
  867. "remote": true
  868. },
  869. "explorer": {
  870. "compare": true,
  871. "history": true,
  872. "remote": true
  873. }
  874. },
  875. "description": "Specifies which commands will be added to which menus",
  876. "scope": "window"
  877. },
  878. "gitlens.mode.active": {
  879. "type": "string",
  880. "description": "Specifies the active GitLens mode, if any",
  881. "scope": "window"
  882. },
  883. "gitlens.mode.statusBar.enabled": {
  884. "type": "boolean",
  885. "default": true,
  886. "description": "Specifies whether to provide the active GitLens mode on the status bar",
  887. "scope": "window"
  888. },
  889. "gitlens.mode.statusBar.alignment": {
  890. "type": "string",
  891. "default": "right",
  892. "enum": [
  893. "left",
  894. "right"
  895. ],
  896. "enumDescriptions": [
  897. "Aligns to the left",
  898. "Aligns to the right"
  899. ],
  900. "description": "Specifies the active GitLens mode alignment in the status bar",
  901. "scope": "window"
  902. },
  903. "gitlens.modes": {
  904. "type": "object",
  905. "properties": {
  906. "zen": {
  907. "type": "object",
  908. "required": [
  909. "name"
  910. ],
  911. "properties": {
  912. "name": {
  913. "type": "string"
  914. },
  915. "statusBarItemName": {
  916. "type": "string"
  917. },
  918. "description": {
  919. "type": "string"
  920. },
  921. "codeLens": {
  922. "type": "boolean"
  923. },
  924. "currentLine": {
  925. "type": "boolean"
  926. },
  927. "explorers": {
  928. "type": "boolean"
  929. },
  930. "hovers": {
  931. "type": "boolean"
  932. },
  933. "statusBar": {
  934. "type": "boolean"
  935. }
  936. }
  937. },
  938. "review": {
  939. "type": "object",
  940. "required": [
  941. "name"
  942. ],
  943. "properties": {
  944. "name": {
  945. "type": "string"
  946. },
  947. "statusBarItemName": {
  948. "type": "string"
  949. },
  950. "description": {
  951. "type": "string"
  952. },
  953. "codeLens": {
  954. "type": "boolean"
  955. },
  956. "currentLine": {
  957. "type": "boolean"
  958. },
  959. "explorers": {
  960. "type": "boolean"
  961. },
  962. "hovers": {
  963. "type": "boolean"
  964. },
  965. "statusBar": {
  966. "type": "boolean"
  967. }
  968. }
  969. }
  970. },
  971. "additionalProperties": {
  972. "type": "object",
  973. "required": [
  974. "name"
  975. ],
  976. "properties": {
  977. "name": {
  978. "type": "string"
  979. },
  980. "statusBarItemName": {
  981. "type": "string"
  982. },
  983. "description": {
  984. "type": "string"
  985. },
  986. "codeLens": {
  987. "type": "boolean"
  988. },
  989. "currentLine": {
  990. "type": "boolean"
  991. },
  992. "explorers": {
  993. "type": "boolean"
  994. },
  995. "hovers": {
  996. "type": "boolean"
  997. },
  998. "statusBar": {
  999. "type": "boolean"
  1000. }
  1001. }
  1002. },
  1003. "default": {
  1004. "zen": {
  1005. "name": "Zen",
  1006. "statusBarItemName": "Zen",
  1007. "description": "for a zen-like experience, disables many visual features",
  1008. "codeLens": false,
  1009. "currentLine": false,
  1010. "hovers": false,
  1011. "statusBar": false
  1012. },
  1013. "review": {
  1014. "name": "Review",
  1015. "statusBarItemName": "Reviewing",
  1016. "description": "for reviewing code, enables many visual features",
  1017. "codeLens": true,
  1018. "currentLine": true,
  1019. "hovers": true
  1020. }
  1021. },
  1022. "description": "Specifies the user-defined GitLens modes",
  1023. "scope": "window"
  1024. },
  1025. "gitlens.outputLevel": {
  1026. "type": "string",
  1027. "default": "silent",
  1028. "enum": [
  1029. "silent",
  1030. "errors",
  1031. "verbose",
  1032. "debug"
  1033. ],
  1034. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  1035. "scope": "window"
  1036. },
  1037. "gitlens.recentChanges.highlight.locations": {
  1038. "type": "array",
  1039. "default": [
  1040. "gutter",
  1041. "line",
  1042. "overview"
  1043. ],
  1044. "items": {
  1045. "type": "string",
  1046. "enum": [
  1047. "gutter",
  1048. "line",
  1049. "overview"
  1050. ],
  1051. "enumDescriptions": [
  1052. "Adds a gutter glyph",
  1053. "Adds a full-line highlight background color",
  1054. "Adds a decoration to the overview ruler (scroll bar)"
  1055. ]
  1056. },
  1057. "minItems": 1,
  1058. "maxItems": 3,
  1059. "uniqueItems": true,
  1060. "description": "Specifies where the highlights of the recently changed lines will be shown",
  1061. "scope": "window"
  1062. },
  1063. "gitlens.recentChanges.toggleMode": {
  1064. "type": "string",
  1065. "default": "file",
  1066. "enum": [
  1067. "file",
  1068. "window"
  1069. ],
  1070. "enumDescriptions": [
  1071. "Toggles each file individually",
  1072. "Toggles the window, i.e. all files at once"
  1073. ],
  1074. "description": "Specifies how the recently changed lines annotations will be toggled",
  1075. "scope": "window"
  1076. },
  1077. "gitlens.remotes": {
  1078. "type": "array",
  1079. "default": null,
  1080. "items": {
  1081. "type": "object",
  1082. "required": [
  1083. "type",
  1084. "domain"
  1085. ],
  1086. "properties": {
  1087. "type": {
  1088. "type": "string",
  1089. "enum": [
  1090. "Bitbucket",
  1091. "BitbucketServer",
  1092. "Custom",
  1093. "GitHub",
  1094. "GitLab"
  1095. ],
  1096. "description": "Specifies the type of the custom remote service"
  1097. },
  1098. "domain": {
  1099. "type": "string",
  1100. "description": "Specifies the domain name of the custom remote service"
  1101. },
  1102. "name": {
  1103. "type": "string",
  1104. "description": "Specifies an optional friendly name for the custom remote service"
  1105. },
  1106. "protocol": {
  1107. "type": "string",
  1108. "default": "https",
  1109. "description": "Specifies an optional url protocol for the custom remote service"
  1110. },
  1111. "urls": {
  1112. "type": "object",
  1113. "required": [
  1114. "repository",
  1115. "branches",
  1116. "branch",
  1117. "commit",
  1118. "file",
  1119. "fileInCommit",
  1120. "fileInBranch",
  1121. "fileLine",
  1122. "fileRange"
  1123. ],
  1124. "properties": {
  1125. "repository": {
  1126. "type": "string",
  1127. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  1128. },
  1129. "branches": {
  1130. "type": "string",
  1131. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  1132. },
  1133. "branch": {
  1134. "type": "string",
  1135. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  1136. },
  1137. "commit": {
  1138. "type": "string",
  1139. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  1140. },
  1141. "file": {
  1142. "type": "string",
  1143. "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"
  1144. },
  1145. "fileInBranch": {
  1146. "type": "string",
  1147. "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"
  1148. },
  1149. "fileInCommit": {
  1150. "type": "string",
  1151. "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"
  1152. },
  1153. "fileLine": {
  1154. "type": "string",
  1155. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  1156. },
  1157. "fileRange": {
  1158. "type": "string",
  1159. "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"
  1160. }
  1161. }
  1162. },
  1163. "description": "Specifies the url formats of the custom remote service"
  1164. }
  1165. },
  1166. "uniqueItems": true,
  1167. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1168. "scope": "resource"
  1169. },
  1170. "gitlens.resultsExplorer.files.compact": {
  1171. "type": "boolean",
  1172. "default": true,
  1173. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens Results` explorer\nOnly applies when `#gitlens.resultsExplorer.files.layout#` is set to `tree` or `auto`",
  1174. "scope": "window"
  1175. },
  1176. "gitlens.resultsExplorer.files.layout": {
  1177. "type": "string",
  1178. "default": "auto",
  1179. "enum": [
  1180. "auto",
  1181. "list",
  1182. "tree"
  1183. ],
  1184. "enumDescriptions": [
  1185. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.gitExplorer.files.threshold#` value and the number of files at each nesting level",
  1186. "Displays files as a list",
  1187. "Displays files as a tree"
  1188. ],
  1189. "description": "Specifies how the `GitLens Results` explorer will display files",
  1190. "scope": "window"
  1191. },
  1192. "gitlens.resultsExplorer.files.threshold": {
  1193. "type": "number",
  1194. "default": 5,
  1195. "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` explorer\nOnly applies when `#gitlens.resultsExplorer.files.layout#` is set to `auto`",
  1196. "scope": "window"
  1197. },
  1198. "gitlens.resultsExplorer.location": {
  1199. "type": "string",
  1200. "default": "gitlens",
  1201. "enum": [
  1202. "gitlens",
  1203. "explorer",
  1204. "scm"
  1205. ],
  1206. "enumDescriptions": [
  1207. "Adds to the GitLens view",
  1208. "Adds to the Explorer view",
  1209. "Adds to the Source Control view"
  1210. ],
  1211. "description": "Specifies where to show the `GitLens Results` explorer",
  1212. "scope": "window"
  1213. },
  1214. "gitlens.settings.mode": {
  1215. "type": "string",
  1216. "default": "simple",
  1217. "enum": [
  1218. "simple",
  1219. "advanced"
  1220. ],
  1221. "enumDescriptions": [
  1222. "Only displays common settings",
  1223. "Displays all settings"
  1224. ],
  1225. "description": "Specifies the display mode of the interactive settings editor",
  1226. "scope": "window"
  1227. },
  1228. "gitlens.showWhatsNewAfterUpgrades": {
  1229. "type": "boolean",
  1230. "default": true,
  1231. "description": "Specifies whether to show What's New after upgrading to new feature releases",
  1232. "scope": "window"
  1233. },
  1234. "gitlens.statusBar.alignment": {
  1235. "type": "string",
  1236. "default": "right",
  1237. "enum": [
  1238. "left",
  1239. "right"
  1240. ],
  1241. "enumDescriptions": [
  1242. "Aligns to the left",
  1243. "Aligns to the right"
  1244. ],
  1245. "description": "Specifies the blame alignment in the status bar",
  1246. "scope": "window"
  1247. },
  1248. "gitlens.statusBar.command": {
  1249. "type": "string",
  1250. "default": "gitlens.showQuickCommitDetails",
  1251. "enum": [
  1252. "gitlens.toggleFileBlame",
  1253. "gitlens.diffWithPrevious",
  1254. "gitlens.diffWithWorking",
  1255. "gitlens.toggleCodeLens",
  1256. "gitlens.showQuickCommitDetails",
  1257. "gitlens.showQuickCommitFileDetails",
  1258. "gitlens.showQuickFileHistory",
  1259. "gitlens.showQuickRepoHistory"
  1260. ],
  1261. "enumDescriptions": [
  1262. "Toggles file blame annotations",
  1263. "Compares the current line commit with the previous",
  1264. "Compares the current line commit with the working tree",
  1265. "Toggles Git code lens",
  1266. "Shows a commit details quick pick",
  1267. "Shows a commit file details quick pick",
  1268. "Shows a file history quick pick",
  1269. "Shows a branch history quick pick"
  1270. ],
  1271. "description": "Specifies the command to be executed when the blame status bar item is clicked",
  1272. "scope": "window"
  1273. },
  1274. "gitlens.statusBar.dateFormat": {
  1275. "type": "string",
  1276. "default": null,
  1277. "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",
  1278. "scope": "window"
  1279. },
  1280. "gitlens.statusBar.enabled": {
  1281. "type": "boolean",
  1282. "default": true,
  1283. "description": "Specifies whether to provide blame information on the status bar",
  1284. "scope": "window"
  1285. },
  1286. "gitlens.statusBar.format": {
  1287. "type": "string",
  1288. "default": "${authorAgoOrDate}",
  1289. "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 ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1290. "scope": "window"
  1291. },
  1292. "gitlens.statusBar.reduceFlicker": {
  1293. "type": "boolean",
  1294. "default": false,
  1295. "description": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1296. "scope": "window"
  1297. },
  1298. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1299. "type": "string",
  1300. "default": "Unsaved changes (cannot determine recent change or authors)",
  1301. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  1302. "scope": "window"
  1303. },
  1304. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1305. "type": "string",
  1306. "default": "Unsaved changes (cannot determine recent change)",
  1307. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  1308. "scope": "window"
  1309. },
  1310. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1311. "type": "string",
  1312. "default": "Unsaved changes (cannot determine authors)",
  1313. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  1314. "scope": "window"
  1315. },
  1316. "gitlens.advanced.blame.customArguments": {
  1317. "type": "array",
  1318. "default": null,
  1319. "items": {
  1320. "type": "string"
  1321. },
  1322. "description": "Specifies additional arguments to pass to the `git blame` command",
  1323. "scope": "resource"
  1324. },
  1325. "gitlens.advanced.blame.delayAfterEdit": {
  1326. "type": "number",
  1327. "default": 5000,
  1328. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1329. "scope": "window"
  1330. },
  1331. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1332. "type": "number",
  1333. "default": 5000,
  1334. "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",
  1335. "scope": "window"
  1336. },
  1337. "gitlens.advanced.caching.enabled": {
  1338. "type": "boolean",
  1339. "default": true,
  1340. "description": "Specifies whether git output will be cached — changing the default is not recommended",
  1341. "scope": "window"
  1342. },
  1343. "gitlens.advanced.git": {
  1344. "type": "string",
  1345. "default": null,
  1346. "description": "Specifies the path to the git executable to use. Use as a last resort as GitLens will use the built-in `git.path` setting first",
  1347. "scope": "window"
  1348. },
  1349. "gitlens.advanced.fileHistoryFollowsRenames": {
  1350. "type": "boolean",
  1351. "default": true,
  1352. "description": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
  1353. "scope": "window"
  1354. },
  1355. "gitlens.advanced.maxListItems": {
  1356. "type": "number",
  1357. "default": 200,
  1358. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  1359. "scope": "window"
  1360. },
  1361. "gitlens.advanced.messages": {
  1362. "type": "object",
  1363. "default": {
  1364. "suppressCommitHasNoPreviousCommitWarning": false,
  1365. "suppressCommitNotFoundWarning": false,
  1366. "suppressFileNotUnderSourceControlWarning": false,
  1367. "suppressGitDisabledWarning": false,
  1368. "suppressGitVersionWarning": false,
  1369. "suppressLineUncommittedWarning": false,
  1370. "suppressNoRepositoryWarning": false,
  1371. "suppressShowKeyBindingsNotice": false
  1372. },
  1373. "properties": {
  1374. "suppressCommitHasNoPreviousCommitWarning": {
  1375. "type": "boolean",
  1376. "default": false
  1377. },
  1378. "suppressCommitNotFoundWarning": {
  1379. "type": "boolean",
  1380. "default": false
  1381. },
  1382. "suppressFileNotUnderSourceControlWarning": {
  1383. "type": "boolean",
  1384. "default": false
  1385. },
  1386. "suppressGitDisabledWarning": {
  1387. "type": "boolean",
  1388. "default": false
  1389. },
  1390. "suppressGitVersionWarning": {
  1391. "type": "boolean",
  1392. "default": false
  1393. },
  1394. "suppressLineUncommittedWarning": {
  1395. "type": "boolean",
  1396. "default": false
  1397. },
  1398. "suppressNoRepositoryWarning": {
  1399. "type": "boolean",
  1400. "default": false
  1401. },
  1402. "suppressShowKeyBindingsNotice": {
  1403. "type": "boolean",
  1404. "default": false
  1405. }
  1406. },
  1407. "description": "Specifies which messages should be suppressed",
  1408. "scope": "window"
  1409. },
  1410. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1411. "type": "boolean",
  1412. "default": true,
  1413. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1414. "scope": "window"
  1415. },
  1416. "gitlens.advanced.repositorySearchDepth": {
  1417. "type": "number",
  1418. "default": 1,
  1419. "description": "Specifies how many folders deep to search for repositories",
  1420. "scope": "resource"
  1421. },
  1422. "gitlens.advanced.telemetry.enabled": {
  1423. "type": "boolean",
  1424. "default": true,
  1425. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1426. "scope": "window"
  1427. }
  1428. }
  1429. },
  1430. "colors": [
  1431. {
  1432. "id": "gitlens.gutterBackgroundColor",
  1433. "description": "Specifies the background color of the gutter blame annotations",
  1434. "defaults": {
  1435. "dark": "#FFFFFF13",
  1436. "light": "#0000000C",
  1437. "highContrast": "#FFFFFF13"
  1438. }
  1439. },
  1440. {
  1441. "id": "gitlens.gutterForegroundColor",
  1442. "description": "Specifies the foreground color of the gutter blame annotations",
  1443. "defaults": {
  1444. "dark": "#BEBEBE",
  1445. "light": "#747474",
  1446. "highContrast": "#BEBEBE"
  1447. }
  1448. },
  1449. {
  1450. "id": "gitlens.gutterUncommittedForegroundColor",
  1451. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1452. "defaults": {
  1453. "dark": "#00BCF299",
  1454. "light": "#00BCF299",
  1455. "highContrast": "#00BCF2FF"
  1456. }
  1457. },
  1458. {
  1459. "id": "gitlens.trailingLineBackgroundColor",
  1460. "description": "Specifies the background color of the blame annotation for the current line",
  1461. "defaults": {
  1462. "dark": "#00000000",
  1463. "light": "#00000000",
  1464. "highContrast": "#00000000"
  1465. }
  1466. },
  1467. {
  1468. "id": "gitlens.trailingLineForegroundColor",
  1469. "description": "Specifies the foreground color of the blame annotation for the current line",
  1470. "defaults": {
  1471. "dark": "#99999959",
  1472. "light": "#99999959",
  1473. "highContrast": "#99999999"
  1474. }
  1475. },
  1476. {
  1477. "id": "gitlens.lineHighlightBackgroundColor",
  1478. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1479. "defaults": {
  1480. "dark": "#00BCF233",
  1481. "light": "#00BCF233",
  1482. "highContrast": "#00BCF233"
  1483. }
  1484. },
  1485. {
  1486. "id": "gitlens.lineHighlightOverviewRulerColor",
  1487. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1488. "defaults": {
  1489. "dark": "#00BCF299",
  1490. "light": "#00BCF299",
  1491. "highContrast": "#00BCF299"
  1492. }
  1493. }
  1494. ],
  1495. "commands": [
  1496. {
  1497. "command": "gitlens.showSettingsPage",
  1498. "title": "Open Settings",
  1499. "category": "GitLens"
  1500. },
  1501. {
  1502. "command": "gitlens.showWelcomePage",
  1503. "title": "Welcome",
  1504. "category": "GitLens"
  1505. },
  1506. {
  1507. "command": "gitlens.showGitExplorer",
  1508. "title": "Show GitLens Explorer",
  1509. "category": "GitLens"
  1510. },
  1511. {
  1512. "command": "gitlens.showHistoryExplorer",
  1513. "title": "Show File History Explorer",
  1514. "category": "GitLens"
  1515. },
  1516. {
  1517. "command": "gitlens.showResultsExplorer",
  1518. "title": "Show Results Explorer",
  1519. "category": "GitLens"
  1520. },
  1521. {
  1522. "command": "gitlens.diffDirectory",
  1523. "title": "Directory Compare Working Tree with...",
  1524. "category": "GitLens"
  1525. },
  1526. {
  1527. "command": "gitlens.diffHeadWithBranch",
  1528. "title": "Compare HEAD with Branch or Tag...",
  1529. "category": "GitLens"
  1530. },
  1531. {
  1532. "command": "gitlens.diffWorkingWithBranch",
  1533. "title": "Compare Working Tree with Branch or Tag...",
  1534. "category": "GitLens"
  1535. },
  1536. {
  1537. "command": "gitlens.diffWith",
  1538. "title": "Compare File Revisions",
  1539. "category": "GitLens"
  1540. },
  1541. {
  1542. "command": "gitlens.diffWithBranch",
  1543. "title": "Compare File with Branch or Tag...",
  1544. "category": "GitLens"
  1545. },
  1546. {
  1547. "command": "gitlens.diffWithNext",
  1548. "title": "Compare File with Next Revision",
  1549. "category": "GitLens",
  1550. "icon": {
  1551. "dark": "images/dark/icon-next-commit.svg",
  1552. "light": "images/light/icon-next-commit.svg"
  1553. }
  1554. },
  1555. {
  1556. "command": "gitlens.diffWithPrevious",
  1557. "title": "Compare File with Previous Revision",
  1558. "category": "GitLens",
  1559. "icon": {
  1560. "dark": "images/dark/icon-prev-commit.svg",
  1561. "light": "images/light/icon-prev-commit.svg"
  1562. }
  1563. },
  1564. {
  1565. "command": "gitlens.diffWithPreviousInDiff",
  1566. "title": "Compare File with Previous Revision",
  1567. "category": "GitLens",
  1568. "icon": {
  1569. "dark": "images/dark/icon-prev-commit.svg",
  1570. "light": "images/light/icon-prev-commit.svg"
  1571. }
  1572. },
  1573. {
  1574. "command": "gitlens.diffLineWithPrevious",
  1575. "title": "Compare Commit with Previous",
  1576. "category": "GitLens"
  1577. },
  1578. {
  1579. "command": "gitlens.diffWithRevision",
  1580. "title": "Compare File with Revision...",
  1581. "category": "GitLens",
  1582. "icon": {
  1583. "dark": "images/dark/icon-prev-commit-menu.svg",
  1584. "light": "images/light/icon-prev-commit-menu.svg"
  1585. }
  1586. },
  1587. {
  1588. "command": "gitlens.diffWithWorking",
  1589. "title": "Compare File with Working Revision",
  1590. "category": "GitLens"
  1591. },
  1592. {
  1593. "command": "gitlens.diffLineWithWorking",
  1594. "title": "Compare Commit with Working File",
  1595. "category": "GitLens"
  1596. },
  1597. {
  1598. "command": "gitlens.toggleFileBlame",
  1599. "title": "Toggle File Blame Annotations",
  1600. "category": "GitLens",
  1601. "icon": {
  1602. "dark": "images/dark/git-icon.svg",
  1603. "light": "images/light/git-icon.svg"
  1604. }
  1605. },
  1606. {
  1607. "command": "gitlens.clearFileAnnotations",
  1608. "title": "Clear File Annotations",
  1609. "category": "GitLens",
  1610. "icon": {
  1611. "dark": "images/dark/git-icon-orange.svg",
  1612. "light": "images/light/git-icon-orange.svg"
  1613. }
  1614. },
  1615. {
  1616. "command": "gitlens.computingFileAnnotations",
  1617. "title": "Computing File Annotations...",
  1618. "category": "GitLens",
  1619. "icon": {
  1620. "dark": "images/dark/git-icon-progress.svg",
  1621. "light": "images/light/git-icon-progress.svg"
  1622. }
  1623. },
  1624. {
  1625. "command": "gitlens.toggleFileHeatmap",
  1626. "title": "Toggle File Heatmap Annotations",
  1627. "category": "GitLens"
  1628. },
  1629. {
  1630. "command": "gitlens.toggleFileRecentChanges",
  1631. "title": "Toggle Recent File Changes Annotations",
  1632. "category": "GitLens",
  1633. "icon": {
  1634. "dark": "images/dark/git-icon.svg",
  1635. "light": "images/light/git-icon.svg"
  1636. }
  1637. },
  1638. {
  1639. "command": "gitlens.toggleLineBlame",
  1640. "title": "Toggle Line Blame Annotations",
  1641. "category": "GitLens"
  1642. },
  1643. {
  1644. "command": "gitlens.toggleCodeLens",
  1645. "title": "Toggle Git Code Lens",
  1646. "category": "GitLens"
  1647. },
  1648. {
  1649. "command": "gitlens.switchMode",
  1650. "title": "Switch Mode",
  1651. "category": "GitLens"
  1652. },
  1653. {
  1654. "command": "gitlens.toggleReviewMode",
  1655. "title": "Toggle Review Mode",
  1656. "category": "GitLens"
  1657. },
  1658. {
  1659. "command": "gitlens.toggleZenMode",
  1660. "title": "Toggle Zen Mode",
  1661. "category": "GitLens"
  1662. },
  1663. {
  1664. "command": "gitlens.showCommitSearch",
  1665. "title": "Search Commits",
  1666. "category": "GitLens",
  1667. "icon": {
  1668. "dark": "images/dark/icon-search.svg",
  1669. "light": "images/light/icon-search.svg"
  1670. }
  1671. },
  1672. {
  1673. "command": "gitlens.showLastQuickPick",
  1674. "title": "Show Last Opened Quick Pick",
  1675. "category": "GitLens"
  1676. },
  1677. {
  1678. "command": "gitlens.showQuickCommitDetails",
  1679. "title": "Show Commit Details",
  1680. "category": "GitLens"
  1681. },
  1682. {
  1683. "command": "gitlens.showQuickCommitFileDetails",
  1684. "title": "Show Commit Details",
  1685. "category": "GitLens"
  1686. },
  1687. {
  1688. "command": "gitlens.showQuickFileHistory",
  1689. "title": "Show File History",
  1690. "category": "GitLens"
  1691. },
  1692. {
  1693. "command": "gitlens.showQuickBranchHistory",
  1694. "title": "Show Branch History",
  1695. "category": "GitLens"
  1696. },
  1697. {
  1698. "command": "gitlens.showQuickRepoHistory",
  1699. "title": "Show Current Branch History",
  1700. "category": "GitLens"
  1701. },
  1702. {
  1703. "command": "gitlens.showQuickRepoStatus",
  1704. "title": "Show Repository Status",
  1705. "category": "GitLens"
  1706. },
  1707. {
  1708. "command": "gitlens.showQuickStashList",
  1709. "title": "Show Stashed Changes",
  1710. "category": "GitLens"
  1711. },
  1712. {
  1713. "command": "gitlens.copyMessageToClipboard",
  1714. "title": "Copy Commit Message to Clipboard",
  1715. "category": "GitLens"
  1716. },
  1717. {
  1718. "command": "gitlens.copyRemoteFileUrlToClipboard",
  1719. "title": "Copy Remote File Url to Clipboard",
  1720. "category": "GitLens"
  1721. },
  1722. {
  1723. "command": "gitlens.copyShaToClipboard",
  1724. "title": "Copy Commit ID to Clipboard",
  1725. "category": "GitLens"
  1726. },
  1727. {
  1728. "command": "gitlens.closeUnchangedFiles",
  1729. "title": "Close Unchanged Files",
  1730. "category": "GitLens"
  1731. },
  1732. {
  1733. "command": "gitlens.openChangedFiles",
  1734. "title": "Open Changed Files",
  1735. "category": "GitLens"
  1736. },
  1737. {
  1738. "command": "gitlens.openBranchesInRemote",
  1739. "title": "Open Branches in Remote",
  1740. "category": "GitLens"
  1741. },
  1742. {
  1743. "command": "gitlens.openBranchInRemote",
  1744. "title": "Open Branch in Remote",
  1745. "category": "GitLens"
  1746. },
  1747. {
  1748. "command": "gitlens.openCommitInRemote",
  1749. "title": "Open Commit in Remote",
  1750. "category": "GitLens"
  1751. },
  1752. {
  1753. "command": "gitlens.openFileInRemote",
  1754. "title": "Open File in Remote",
  1755. "category": "GitLens"
  1756. },
  1757. {
  1758. "command": "gitlens.openFileRevision",
  1759. "title": "Open Revision...",
  1760. "category": "GitLens"
  1761. },
  1762. {
  1763. "command": "gitlens.openRepoInRemote",
  1764. "title": "Open Repository in Remote",
  1765. "category": "GitLens"
  1766. },
  1767. {
  1768. "command": "gitlens.openWorkingFile",
  1769. "title": "Open Working File",
  1770. "category": "GitLens",
  1771. "icon": {
  1772. "dark": "images/dark/icon-open-working-file.svg",
  1773. "light": "images/light/icon-open-working-file.svg"
  1774. }
  1775. },
  1776. {
  1777. "command": "gitlens.stashApply",
  1778. "title": "Apply Stashed Changes",
  1779. "category": "GitLens"
  1780. },
  1781. {
  1782. "command": "gitlens.stashDelete",
  1783. "title": "Delete Stashed Changes",
  1784. "category": "GitLens"
  1785. },
  1786. {
  1787. "command": "gitlens.stashSave",
  1788. "title": "Stash Changes",
  1789. "category": "GitLens",
  1790. "icon": {
  1791. "dark": "images/dark/icon-add.svg",
  1792. "light": "images/light/icon-add.svg"
  1793. }
  1794. },
  1795. {
  1796. "command": "gitlens.externalDiff",
  1797. "title": "Open Changes (with difftool)",
  1798. "category": "GitLens"
  1799. },
  1800. {
  1801. "command": "gitlens.externalDiffAll",
  1802. "title": "Open All Changes (with difftool)",
  1803. "category": "GitLens"
  1804. },
  1805. {
  1806. "command": "gitlens.resetSuppressedWarnings",
  1807. "title": "Reset Suppressed Warnings",
  1808. "category": "GitLens"
  1809. },
  1810. {
  1811. "command": "gitlens.explorers.openDirectoryDiff",
  1812. "title": "Open Directory Compare",
  1813. "category": "GitLens"
  1814. },
  1815. {
  1816. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1817. "title": "Open Directory Compare with Working Tree",
  1818. "category": "GitLens"
  1819. },
  1820. {
  1821. "command": "gitlens.explorers.openChanges",
  1822. "title": "Open Changes",
  1823. "category": "GitLens"
  1824. },
  1825. {
  1826. "command": "gitlens.explorers.openChangesWithWorking",
  1827. "title": "Open Changes with Working File",
  1828. "category": "GitLens"
  1829. },
  1830. {
  1831. "command": "gitlens.explorers.openFile",
  1832. "title": "Open File",
  1833. "category": "GitLens",
  1834. "icon": {
  1835. "dark": "images/dark/icon-open-file.svg",
  1836. "light": "images/light/icon-open-file.svg"
  1837. }
  1838. },
  1839. {
  1840. "command": "gitlens.explorers.openFileRevision",
  1841. "title": "Open Revision",
  1842. "category": "GitLens"
  1843. },
  1844. {
  1845. "command": "gitlens.explorers.openFileRevisionInRemote",
  1846. "title": "Open Revision in Remote",
  1847. "category": "GitLens"
  1848. },
  1849. {
  1850. "command": "gitlens.explorers.openChangedFiles",
  1851. "title": "Open Files",
  1852. "category": "GitLens"
  1853. },
  1854. {
  1855. "command": "gitlens.explorers.openChangedFileChanges",
  1856. "title": "Open All Changes",
  1857. "category": "GitLens"
  1858. },
  1859. {
  1860. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1861. "title": "Open All Changes with Working Tree",
  1862. "category": "GitLens"
  1863. },
  1864. {
  1865. "command": "gitlens.explorers.openChangedFileRevisions",
  1866. "title": "Open Revisions",
  1867. "category": "GitLens"
  1868. },
  1869. {
  1870. "command": "gitlens.explorers.applyChanges",
  1871. "title": "Apply Changes",
  1872. "category": "GitLens"
  1873. },
  1874. {
  1875. "command": "gitlens.explorers.closeRepository",
  1876. "title": "Close Repository",
  1877. "category": "GitLens"
  1878. },
  1879. {
  1880. "command": "gitlens.explorers.compareAncestryWithWorking",
  1881. "title": "Compare Ancestry with Working Tree",
  1882. "category": "GitLens"
  1883. },
  1884. {
  1885. "command": "gitlens.explorers.compareWithHead",
  1886. "title": "Compare with HEAD",
  1887. "category": "GitLens"
  1888. },
  1889. {
  1890. "command": "gitlens.explorers.compareWithRemote",
  1891. "title": "Compare with Remote",
  1892. "category": "GitLens"
  1893. },
  1894. {
  1895. "command": "gitlens.explorers.compareWithSelected",
  1896. "title": "Compare with Selected",
  1897. "category": "GitLens"
  1898. },
  1899. {
  1900. "command": "gitlens.explorers.compareWithWorking",
  1901. "title": "Compare with Working Tree",
  1902. "category": "GitLens"
  1903. },
  1904. {
  1905. "command": "gitlens.explorers.selectForCompare",
  1906. "title": "Select for Compare",
  1907. "category": "GitLens"
  1908. },
  1909. {
  1910. "command": "gitlens.explorers.terminalCheckoutBranch",
  1911. "title": "Checkout Branch (via Terminal)",
  1912. "category": "GitLens"
  1913. },
  1914. {
  1915. "command": "gitlens.explorers.terminalCreateBranch",
  1916. "title": "Create Branch (via Terminal)...",
  1917. "category": "GitLens"
  1918. },
  1919. {
  1920. "command": "gitlens.explorers.terminalDeleteBranch",
  1921. "title": "Delete Branch (via Terminal)",
  1922. "category": "GitLens"
  1923. },
  1924. {
  1925. "command": "gitlens.explorers.terminalMergeBranch",
  1926. "title": "Merge Branch (via Terminal)",
  1927. "category": "GitLens"
  1928. },
  1929. {
  1930. "command": "gitlens.explorers.terminalRebaseBranch",
  1931. "title": "Rebase (Interactive) Branch (via Terminal)",
  1932. "category": "GitLens"
  1933. },
  1934. {
  1935. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1936. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1937. "category": "GitLens"
  1938. },
  1939. {
  1940. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1941. "title": "Squash Branch into Commit (via Terminal)",
  1942. "category": "GitLens"
  1943. },
  1944. {
  1945. "command": "gitlens.explorers.terminalCheckoutCommit",
  1946. "title": "Checkout Commit (via Terminal)",
  1947. "category": "GitLens"
  1948. },
  1949. {
  1950. "command": "gitlens.explorers.terminalCherryPickCommit",
  1951. "title": "Cherry Pick Commit (via Terminal)",
  1952. "category": "GitLens"
  1953. },
  1954. {
  1955. "command": "gitlens.explorers.terminalPushCommit",
  1956. "title": "Push to Commit (via Terminal)",
  1957. "category": "GitLens"
  1958. },
  1959. {
  1960. "command": "gitlens.explorers.terminalRebaseCommit",
  1961. "title": "Rebase to Commit (via Terminal)",
  1962. "category": "GitLens"
  1963. },
  1964. {
  1965. "command": "gitlens.explorers.terminalResetCommit",
  1966. "title": "Reset to Commit (via Terminal)",
  1967. "category": "GitLens"
  1968. },
  1969. {
  1970. "command": "gitlens.explorers.terminalRevertCommit",
  1971. "title": "Revert Commit (via Terminal)",
  1972. "category": "GitLens"
  1973. },
  1974. {
  1975. "command": "gitlens.explorers.terminalRemoveRemote",
  1976. "title": "Remove Remote (via Terminal)",
  1977. "category": "GitLens"
  1978. },
  1979. {
  1980. "command": "gitlens.explorers.terminalCreateTag",
  1981. "title": "Create Tag (via Terminal)...",
  1982. "category": "GitLens"
  1983. },
  1984. {
  1985. "command": "gitlens.explorers.terminalDeleteTag",
  1986. "title": "Delete Tag (via Terminal)",
  1987. "category": "GitLens"
  1988. },
  1989. {
  1990. "command": "gitlens.gitExplorer.undockHistory",
  1991. "title": "Undock File History from GitLens Explorer",
  1992. "category": "GitLens",
  1993. "icon": {
  1994. "dark": "images/dark/icon-undock.svg",
  1995. "light": "images/light/icon-undock.svg"
  1996. }
  1997. },
  1998. {
  1999. "command": "gitlens.gitExplorer.refresh",
  2000. "title": "Refresh",
  2001. "category": "GitLens",
  2002. "icon": {
  2003. "dark": "images/dark/icon-refresh.svg",
  2004. "light": "images/light/icon-refresh.svg"
  2005. }
  2006. },
  2007. {
  2008. "command": "gitlens.gitExplorer.refreshNode",
  2009. "title": "Refresh",
  2010. "category": "GitLens"
  2011. },
  2012. {
  2013. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2014. "title": "Automatic Layout",
  2015. "category": "GitLens"
  2016. },
  2017. {
  2018. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2019. "title": "List Layout",
  2020. "category": "GitLens"
  2021. },
  2022. {
  2023. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2024. "title": "Tree Layout",
  2025. "category": "GitLens"
  2026. },
  2027. {
  2028. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2029. "title": "Enable Automatic Refresh",
  2030. "category": "GitLens"
  2031. },
  2032. {
  2033. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2034. "title": "Disable Automatic Refresh",
  2035. "category": "GitLens"
  2036. },
  2037. {
  2038. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2039. "title": "Follow Renames",
  2040. "category": "GitLens"
  2041. },
  2042. {
  2043. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2044. "title": "Don't Follow Renames",
  2045. "category": "GitLens"
  2046. },
  2047. {
  2048. "command": "gitlens.gitExplorer.switchToHistoryView",
  2049. "title": "Switch to File History View",
  2050. "category": "GitLens",
  2051. "icon": {
  2052. "dark": "images/dark/icon-history.svg",
  2053. "light": "images/light/icon-history.svg"
  2054. }
  2055. },
  2056. {
  2057. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2058. "title": "Switch to Repository View",
  2059. "category": "GitLens",
  2060. "icon": {
  2061. "dark": "images/dark/icon-repo.svg",
  2062. "light": "images/light/icon-repo.svg"
  2063. }
  2064. },
  2065. {
  2066. "command": "gitlens.historyExplorer.close",
  2067. "title": "Close",
  2068. "category": "GitLens",
  2069. "icon": {
  2070. "dark": "images/dark/icon-close.svg",
  2071. "light": "images/light/icon-close.svg"
  2072. }
  2073. },
  2074. {
  2075. "command": "gitlens.historyExplorer.dock",
  2076. "title": "Dock File History to GitLens Explorer",
  2077. "category": "GitLens",
  2078. "icon": {
  2079. "dark": "images/dark/icon-dock.svg",
  2080. "light": "images/light/icon-dock.svg"
  2081. }
  2082. },
  2083. {
  2084. "command": "gitlens.historyExplorer.refresh",
  2085. "title": "Refresh",
  2086. "category": "GitLens",
  2087. "icon": {
  2088. "dark": "images/dark/icon-refresh.svg",
  2089. "light": "images/light/icon-refresh.svg"
  2090. }
  2091. },
  2092. {
  2093. "command": "gitlens.historyExplorer.refreshNode",
  2094. "title": "Refresh",
  2095. "category": "GitLens"
  2096. },
  2097. {
  2098. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2099. "title": "Follow Renames",
  2100. "category": "GitLens"
  2101. },
  2102. {
  2103. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2104. "title": "Don't Follow Renames",
  2105. "category": "GitLens"
  2106. },
  2107. {
  2108. "command": "gitlens.resultsExplorer.clearResultsNode",
  2109. "title": "Clear Results",
  2110. "category": "GitLens",
  2111. "icon": {
  2112. "dark": "images/dark/icon-close-small.svg",
  2113. "light": "images/light/icon-close-small.svg"
  2114. }
  2115. },
  2116. {
  2117. "command": "gitlens.resultsExplorer.close",
  2118. "title": "Close",
  2119. "category": "GitLens",
  2120. "icon": {
  2121. "dark": "images/dark/icon-close.svg",
  2122. "light": "images/light/icon-close.svg"
  2123. }
  2124. },
  2125. {
  2126. "command": "gitlens.resultsExplorer.refresh",
  2127. "title": "Refresh",
  2128. "category": "GitLens",
  2129. "icon": {
  2130. "dark": "images/dark/icon-refresh.svg",
  2131. "light": "images/light/icon-refresh.svg"
  2132. }
  2133. },
  2134. {
  2135. "command": "gitlens.resultsExplorer.refreshNode",
  2136. "title": "Refresh",
  2137. "category": "GitLens"
  2138. },
  2139. {
  2140. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2141. "title": "Automatic Layout",
  2142. "category": "GitLens"
  2143. },
  2144. {
  2145. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2146. "title": "List Layout",
  2147. "category": "GitLens"
  2148. },
  2149. {
  2150. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2151. "title": "Tree Layout",
  2152. "category": "GitLens"
  2153. },
  2154. {
  2155. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2156. "title": "Keep Results",
  2157. "category": "GitLens",
  2158. "icon": {
  2159. "dark": "images/dark/icon-lock.svg",
  2160. "light": "images/light/icon-lock.svg"
  2161. }
  2162. },
  2163. {
  2164. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2165. "title": "Keep Results",
  2166. "category": "GitLens",
  2167. "icon": {
  2168. "dark": "images/dark/icon-locked.svg",
  2169. "light": "images/light/icon-locked.svg"
  2170. }
  2171. },
  2172. {
  2173. "command": "gitlens.resultsExplorer.swapComparision",
  2174. "title": "Swap Comparision",
  2175. "category": "GitLens",
  2176. "icon": {
  2177. "dark": "images/dark/icon-swap.svg",
  2178. "light": "images/light/icon-swap.svg"
  2179. }
  2180. }
  2181. ],
  2182. "menus": {
  2183. "commandPalette": [
  2184. {
  2185. "command": "gitlens.showGitExplorer",
  2186. "when": "gitlens:enabled && gitlens:gitExplorer"
  2187. },
  2188. {
  2189. "command": "gitlens.showHistoryExplorer",
  2190. "when": "gitlens:enabled && gitlens:historyExplorer"
  2191. },
  2192. {
  2193. "command": "gitlens.showHistoryExplorer",
  2194. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer"
  2195. },
  2196. {
  2197. "command": "gitlens.showResultsExplorer",
  2198. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2199. },
  2200. {
  2201. "command": "gitlens.diffDirectory",
  2202. "when": "gitlens:enabled"
  2203. },
  2204. {
  2205. "command": "gitlens.diffHeadWithBranch",
  2206. "when": "gitlens:enabled"
  2207. },
  2208. {
  2209. "command": "gitlens.diffWorkingWithBranch",
  2210. "when": "gitlens:enabled"
  2211. },
  2212. {
  2213. "command": "gitlens.diffWith",
  2214. "when": "false"
  2215. },
  2216. {
  2217. "command": "gitlens.diffWithBranch",
  2218. "when": "gitlens:activeFileStatus =~ /tracked/"
  2219. },
  2220. {
  2221. "command": "gitlens.diffWithNext",
  2222. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2223. },
  2224. {
  2225. "command": "gitlens.diffWithPrevious",
  2226. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2227. },
  2228. {
  2229. "command": "gitlens.diffWithPreviousInDiff",
  2230. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2231. },
  2232. {
  2233. "command": "gitlens.diffLineWithPrevious",
  2234. "when": "gitlens:activeFileStatus =~ /blameable/"
  2235. },
  2236. {
  2237. "command": "gitlens.diffWithRevision",
  2238. "when": "gitlens:activeFileStatus =~ /tracked/"
  2239. },
  2240. {
  2241. "command": "gitlens.diffWithWorking",
  2242. "when": "gitlens:activeFileStatus =~ /tracked/"
  2243. },
  2244. {
  2245. "command": "gitlens.diffLineWithWorking",
  2246. "when": "gitlens:activeFileStatus =~ /blameable/"
  2247. },
  2248. {
  2249. "command": "gitlens.externalDiff",
  2250. "when": "gitlens:enabled"
  2251. },
  2252. {
  2253. "command": "gitlens.externalDiffAll",
  2254. "when": "gitlens:enabled"
  2255. },
  2256. {
  2257. "command": "gitlens.toggleFileBlame",
  2258. "when": "gitlens:activeFileStatus =~ /blameable/"
  2259. },
  2260. {
  2261. "command": "gitlens.clearFileAnnotations",
  2262. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2263. },
  2264. {
  2265. "command": "gitlens.computingFileAnnotations",
  2266. "when": "false"
  2267. },
  2268. {
  2269. "command": "gitlens.toggleFileHeatmap",
  2270. "when": "gitlens:activeFileStatus =~ /blameable/"
  2271. },
  2272. {
  2273. "command": "gitlens.toggleFileRecentChanges",
  2274. "when": "gitlens:activeFileStatus =~ /blameable/"
  2275. },
  2276. {
  2277. "command": "gitlens.toggleLineBlame",
  2278. "when": "gitlens:enabled"
  2279. },
  2280. {
  2281. "command": "gitlens.toggleCodeLens",
  2282. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2283. },
  2284. {
  2285. "command": "gitlens.switchMode",
  2286. "when": "gitlens:enabled"
  2287. },
  2288. {
  2289. "command": "gitlens.toggleReviewMode",
  2290. "when": "gitlens:enabled"
  2291. },
  2292. {
  2293. "command": "gitlens.toggleZenMode",
  2294. "when": "gitlens:enabled"
  2295. },
  2296. {
  2297. "command": "gitlens.showCommitSearch",
  2298. "when": "gitlens:enabled"
  2299. },
  2300. {
  2301. "command": "gitlens.showLastQuickPick",
  2302. "when": "gitlens:enabled"
  2303. },
  2304. {
  2305. "command": "gitlens.showQuickCommitDetails",
  2306. "when": "gitlens:activeFileStatus =~ /blameable/"
  2307. },
  2308. {
  2309. "command": "gitlens.showQuickCommitFileDetails",
  2310. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  2311. },
  2312. {
  2313. "command": "gitlens.showQuickFileHistory",
  2314. "when": "gitlens:activeFileStatus =~ /tracked/"
  2315. },
  2316. {
  2317. "command": "gitlens.showQuickBranchHistory",
  2318. "when": "gitlens:enabled"
  2319. },
  2320. {
  2321. "command": "gitlens.showQuickRepoHistory",
  2322. "when": "gitlens:enabled"
  2323. },
  2324. {
  2325. "command": "gitlens.showQuickRepoStatus",
  2326. "when": "gitlens:enabled"
  2327. },
  2328. {
  2329. "command": "gitlens.showQuickStashList",
  2330. "when": "gitlens:enabled"
  2331. },
  2332. {
  2333. "command": "gitlens.copyMessageToClipboard",
  2334. "when": "gitlens:activeFileStatus =~ /blameable/"
  2335. },
  2336. {
  2337. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2338. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2339. },
  2340. {
  2341. "command": "gitlens.copyShaToClipboard",
  2342. "when": "gitlens:activeFileStatus =~ /blameable/"
  2343. },
  2344. {
  2345. "command": "gitlens.closeUnchangedFiles",
  2346. "when": "gitlens:enabled"
  2347. },
  2348. {
  2349. "command": "gitlens.openChangedFiles",
  2350. "when": "gitlens:enabled"
  2351. },
  2352. {
  2353. "command": "gitlens.openBranchesInRemote",
  2354. "when": "gitlens:hasRemotes"
  2355. },
  2356. {
  2357. "command": "gitlens.openBranchInRemote",
  2358. "when": "gitlens:hasRemotes"
  2359. },
  2360. {
  2361. "command": "gitlens.openCommitInRemote",
  2362. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2363. },
  2364. {
  2365. "command": "gitlens.openFileInRemote",
  2366. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2367. },
  2368. {
  2369. "command": "gitlens.openFileRevision",
  2370. "when": "gitlens:activeFileStatus =~ /tracked/"
  2371. },
  2372. {
  2373. "command": "gitlens.openRepoInRemote",
  2374. "when": "gitlens:hasRemotes"
  2375. },
  2376. {
  2377. "command": "gitlens.openWorkingFile",
  2378. "when": "gitlens:activeFileStatus =~ /revision/"
  2379. },
  2380. {
  2381. "command": "gitlens.stashApply",
  2382. "when": "gitlens:enabled"
  2383. },
  2384. {
  2385. "command": "gitlens.stashDelete",
  2386. "when": "false"
  2387. },
  2388. {
  2389. "command": "gitlens.stashSave",
  2390. "when": "gitlens:enabled"
  2391. },
  2392. {
  2393. "command": "gitlens.resetSuppressedWarnings",
  2394. "when": "gitlens:enabled"
  2395. },
  2396. {
  2397. "command": "gitlens.explorers.openChanges",
  2398. "when": "false"
  2399. },
  2400. {
  2401. "command": "gitlens.explorers.openDirectoryDiff",
  2402. "when": "false"
  2403. },
  2404. {
  2405. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2406. "when": "false"
  2407. },
  2408. {
  2409. "command": "gitlens.explorers.openChangesWithWorking",
  2410. "when": "false"
  2411. },
  2412. {
  2413. "command": "gitlens.explorers.openFile",
  2414. "when": "false"
  2415. },
  2416. {
  2417. "command": "gitlens.explorers.openFileRevision",
  2418. "when": "false"
  2419. },
  2420. {
  2421. "command": "gitlens.explorers.openFileRevisionInRemote",
  2422. "when": "false"
  2423. },
  2424. {
  2425. "command": "gitlens.explorers.openChangedFiles",
  2426. "when": "false"
  2427. },
  2428. {
  2429. "command": "gitlens.explorers.openChangedFileChanges",
  2430. "when": "false"
  2431. },
  2432. {
  2433. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2434. "when": "false"
  2435. },
  2436. {
  2437. "command": "gitlens.explorers.openChangedFileRevisions",
  2438. "when": "false"
  2439. },
  2440. {
  2441. "command": "gitlens.explorers.applyChanges",
  2442. "when": "false"
  2443. },
  2444. {
  2445. "command": "gitlens.explorers.closeRepository",
  2446. "when": "false"
  2447. },
  2448. {
  2449. "command": "gitlens.explorers.compareAncestryWithWorking",
  2450. "when": "false"
  2451. },
  2452. {
  2453. "command": "gitlens.explorers.compareWithHead",
  2454. "when": "false"
  2455. },
  2456. {
  2457. "command": "gitlens.explorers.compareWithRemote",
  2458. "when": "false"
  2459. },
  2460. {
  2461. "command": "gitlens.explorers.compareWithSelected",
  2462. "when": "false"
  2463. },
  2464. {
  2465. "command": "gitlens.explorers.compareWithWorking",
  2466. "when": "false"
  2467. },
  2468. {
  2469. "command": "gitlens.explorers.selectForCompare",
  2470. "when": "false"
  2471. },
  2472. {
  2473. "command": "gitlens.explorers.terminalCheckoutBranch",
  2474. "when": "false"
  2475. },
  2476. {
  2477. "command": "gitlens.explorers.terminalCreateBranch",
  2478. "when": "false"
  2479. },
  2480. {
  2481. "command": "gitlens.explorers.terminalDeleteBranch",
  2482. "when": "false"
  2483. },
  2484. {
  2485. "command": "gitlens.explorers.terminalMergeBranch",
  2486. "when": "false"
  2487. },
  2488. {
  2489. "command": "gitlens.explorers.terminalRebaseBranch",
  2490. "when": "false"
  2491. },
  2492. {
  2493. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2494. "when": "false"
  2495. },
  2496. {
  2497. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2498. "when": "false"
  2499. },
  2500. {
  2501. "command": "gitlens.explorers.terminalCheckoutCommit",
  2502. "when": "false"
  2503. },
  2504. {
  2505. "command": "gitlens.explorers.terminalCherryPickCommit",
  2506. "when": "false"
  2507. },
  2508. {
  2509. "command": "gitlens.explorers.terminalPushCommit",
  2510. "when": "false"
  2511. },
  2512. {
  2513. "command": "gitlens.explorers.terminalRebaseCommit",
  2514. "when": "false"
  2515. },
  2516. {
  2517. "command": "gitlens.explorers.terminalResetCommit",
  2518. "when": "false"
  2519. },
  2520. {
  2521. "command": "gitlens.explorers.terminalRevertCommit",
  2522. "when": "false"
  2523. },
  2524. {
  2525. "command": "gitlens.explorers.terminalRemoveRemote",
  2526. "when": "false"
  2527. },
  2528. {
  2529. "command": "gitlens.explorers.terminalCreateTag",
  2530. "when": "false"
  2531. },
  2532. {
  2533. "command": "gitlens.explorers.terminalDeleteTag",
  2534. "when": "false"
  2535. },
  2536. {
  2537. "command": "gitlens.gitExplorer.refresh",
  2538. "when": "false"
  2539. },
  2540. {
  2541. "command": "gitlens.gitExplorer.refreshNode",
  2542. "when": "false"
  2543. },
  2544. {
  2545. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2546. "when": "false"
  2547. },
  2548. {
  2549. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2550. "when": "false"
  2551. },
  2552. {
  2553. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2554. "when": "false"
  2555. },
  2556. {
  2557. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2558. "when": "false"
  2559. },
  2560. {
  2561. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2562. "when": "false"
  2563. },
  2564. {
  2565. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2566. "when": "false"
  2567. },
  2568. {
  2569. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2570. "when": "false"
  2571. },
  2572. {
  2573. "command": "gitlens.gitExplorer.switchToHistoryView",
  2574. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository"
  2575. },
  2576. {
  2577. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2578. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == history"
  2579. },
  2580. {
  2581. "command": "gitlens.gitExplorer.undockHistory",
  2582. "when": "gitlens:enabled && !gitlens:historyExplorer"
  2583. },
  2584. {
  2585. "command": "gitlens.historyExplorer.close",
  2586. "when": "false"
  2587. },
  2588. {
  2589. "command": "gitlens.historyExplorer.dock",
  2590. "when": "gitlens:enabled && gitlens:historyExplorer"
  2591. },
  2592. {
  2593. "command": "gitlens.historyExplorer.refresh",
  2594. "when": "false"
  2595. },
  2596. {
  2597. "command": "gitlens.historyExplorer.refreshNode",
  2598. "when": "false"
  2599. },
  2600. {
  2601. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2602. "when": "false"
  2603. },
  2604. {
  2605. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2606. "when": "false"
  2607. },
  2608. {
  2609. "command": "gitlens.resultsExplorer.clearResultsNode",
  2610. "when": "false"
  2611. },
  2612. {
  2613. "command": "gitlens.resultsExplorer.close",
  2614. "when": "false"
  2615. },
  2616. {
  2617. "command": "gitlens.resultsExplorer.refresh",
  2618. "when": "false"
  2619. },
  2620. {
  2621. "command": "gitlens.resultsExplorer.refreshNode",
  2622. "when": "false"
  2623. },
  2624. {
  2625. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2626. "when": "false"
  2627. },
  2628. {
  2629. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2630. "when": "false"
  2631. },
  2632. {
  2633. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2634. "when": "false"
  2635. },
  2636. {
  2637. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2638. "when": "false"
  2639. },
  2640. {
  2641. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2642. "when": "false"
  2643. },
  2644. {
  2645. "command": "gitlens.resultsExplorer.swapComparision",
  2646. "when": "false"
  2647. }
  2648. ],
  2649. "editor/context": [
  2650. {
  2651. "command": "gitlens.diffLineWithPrevious",
  2652. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2653. "group": "1_gitlens@1"
  2654. },
  2655. {
  2656. "command": "gitlens.diffLineWithWorking",
  2657. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2658. "group": "1_gitlens@2"
  2659. },
  2660. {
  2661. "command": "gitlens.openFileInRemote",
  2662. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2663. "group": "1_gitlens_1@1"
  2664. },
  2665. {
  2666. "command": "gitlens.openCommitInRemote",
  2667. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2668. "group": "1_gitlens_1@2"
  2669. },
  2670. {
  2671. "command": "gitlens.showQuickCommitFileDetails",
  2672. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  2673. "group": "1_gitlens_1@3"
  2674. },
  2675. {
  2676. "command": "gitlens.showQuickFileHistory",
  2677. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  2678. "group": "3_gitlens@1"
  2679. },
  2680. {
  2681. "command": "gitlens.toggleFileBlame",
  2682. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  2683. "group": "3_gitlens@2"
  2684. },
  2685. {
  2686. "command": "gitlens.copyShaToClipboard",
  2687. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2688. "group": "9_gitlens@1"
  2689. },
  2690. {
  2691. "command": "gitlens.copyMessageToClipboard",
  2692. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2693. "group": "9_gitlens@2"
  2694. },
  2695. {
  2696. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2697. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  2698. "group": "9_gitlens@3"
  2699. }
  2700. ],
  2701. "editor/title": [
  2702. {
  2703. "command": "gitlens.diffWithPrevious",
  2704. "alt": "gitlens.diffWithRevision",
  2705. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2706. "group": "navigation@97"
  2707. },
  2708. {
  2709. "command": "gitlens.diffWithPreviousInDiff",
  2710. "alt": "gitlens.diffWithRevision",
  2711. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2712. "group": "navigation@97"
  2713. },
  2714. {
  2715. "command": "gitlens.diffWithNext",
  2716. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  2717. "group": "navigation@98"
  2718. },
  2719. {
  2720. "command": "gitlens.openWorkingFile",
  2721. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  2722. "group": "navigation@99"
  2723. },
  2724. {
  2725. "command": "gitlens.openWorkingFile",
  2726. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && isInDiffEditor",
  2727. "group": "navigation@99"
  2728. },
  2729. {
  2730. "command": "gitlens.openWorkingFile",
  2731. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  2732. "group": "navigation@99"
  2733. },
  2734. {
  2735. "command": "gitlens.toggleFileBlame",
  2736. "alt": "gitlens.toggleFileRecentChanges",
  2737. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  2738. "group": "navigation@100"
  2739. },
  2740. {
  2741. "command": "gitlens.computingFileAnnotations",
  2742. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  2743. "group": "navigation@100"
  2744. },
  2745. {
  2746. "command": "gitlens.clearFileAnnotations",
  2747. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  2748. "group": "navigation@100"
  2749. },
  2750. {
  2751. "command": "gitlens.openFileInRemote",
  2752. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  2753. "group": "4_gitlens"
  2754. },
  2755. {
  2756. "command": "gitlens.showQuickFileHistory",
  2757. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  2758. "group": "4_gitlens"
  2759. }
  2760. ],
  2761. "editor/title/context": [
  2762. {
  2763. "command": "gitlens.openFileInRemote",
  2764. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2765. "group": "2_files@100"
  2766. },
  2767. {
  2768. "command": "gitlens.diffWithPrevious",
  2769. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2770. "group": "1_gitlens_1@1"
  2771. },
  2772. {
  2773. "command": "gitlens.diffWithWorking",
  2774. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2775. "group": "1_gitlens_1@2"
  2776. },
  2777. {
  2778. "command": "gitlens.showQuickFileHistory",
  2779. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  2780. "group": "1_gitlens_2@1"
  2781. }
  2782. ],
  2783. "explorer/context": [
  2784. {
  2785. "command": "gitlens.openFileInRemote",
  2786. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2787. "group": "navigation@100"
  2788. },
  2789. {
  2790. "command": "gitlens.showQuickFileHistory",
  2791. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  2792. "group": "1_gitlens_1@1"
  2793. },
  2794. {
  2795. "command": "gitlens.diffWithPrevious",
  2796. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  2797. "group": "3_compare@1"
  2798. },
  2799. {
  2800. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2801. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2802. "group": "9_gitlens@1"
  2803. }
  2804. ],
  2805. "scm/resourceGroup/context": [
  2806. {
  2807. "command": "gitlens.openChangedFiles",
  2808. "when": "gitlens:enabled",
  2809. "group": "2_gitlens@1"
  2810. },
  2811. {
  2812. "command": "gitlens.closeUnchangedFiles",
  2813. "when": "gitlens:enabled",
  2814. "group": "2_gitlens@2"
  2815. },
  2816. {
  2817. "command": "gitlens.externalDiff",
  2818. "when": "gitlens:enabled",
  2819. "group": "2_gitlens@3"
  2820. },
  2821. {
  2822. "command": "gitlens.externalDiffAll",
  2823. "when": "gitlens:enabled",
  2824. "group": "2_gitlens@4"
  2825. },
  2826. {
  2827. "command": "gitlens.stashSave",
  2828. "when": "gitlens:enabled",
  2829. "group": "3_gitlens@1"
  2830. }
  2831. ],
  2832. "scm/resourceState/context": [
  2833. {
  2834. "command": "gitlens.openFileInRemote",
  2835. "when": "gitlens:enabled && gitlens:hasRemotes",
  2836. "group": "navigation"
  2837. },
  2838. {
  2839. "command": "gitlens.externalDiff",
  2840. "when": "gitlens:enabled",
  2841. "group": "navigation"
  2842. },
  2843. {
  2844. "command": "gitlens.diffWithRevision",
  2845. "when": "gitlens:enabled",
  2846. "group": "1_gitlens@1"
  2847. },
  2848. {
  2849. "command": "gitlens.diffWithBranch",
  2850. "when": "gitlens:enabled",
  2851. "group": "1_gitlens@2"
  2852. },
  2853. {
  2854. "command": "gitlens.showQuickFileHistory",
  2855. "when": "gitlens:enabled",
  2856. "group": "1_gitlens_1@1"
  2857. },
  2858. {
  2859. "command": "gitlens.stashSave",
  2860. "when": "gitlens:enabled",
  2861. "group": "2_gitlens@1"
  2862. },
  2863. {
  2864. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2865. "when": "gitlens:enabled && gitlens:hasRemotes",
  2866. "group": "9_gitlens@1"
  2867. }
  2868. ],
  2869. "view/title": [
  2870. {
  2871. "command": "gitlens.showCommitSearch",
  2872. "when": "view =~ /^gitlens.gitExplorer:/",
  2873. "group": "navigation@1"
  2874. },
  2875. {
  2876. "command": "gitlens.gitExplorer.undockHistory",
  2877. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && !gitlens:historyExplorer",
  2878. "group": "navigation@2"
  2879. },
  2880. {
  2881. "command": "gitlens.gitExplorer.switchToHistoryView",
  2882. "when": "view =~ /^gitlens.gitExplorer:/ && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository",
  2883. "group": "navigation@3"
  2884. },
  2885. {
  2886. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2887. "when": "view =~ /^gitlens.gitExplorer:/ && !gitlens:historyExplorer && gitlens:gitExplorer:view == history",
  2888. "group": "navigation@3"
  2889. },
  2890. {
  2891. "command": "gitlens.gitExplorer.refresh",
  2892. "when": "view =~ /^gitlens.gitExplorer:/",
  2893. "group": "navigation@8"
  2894. },
  2895. {
  2896. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2897. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2898. "group": "1_gitlens"
  2899. },
  2900. {
  2901. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2902. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2903. "group": "1_gitlens"
  2904. },
  2905. {
  2906. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2907. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2908. "group": "1_gitlens"
  2909. },
  2910. {
  2911. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2912. "when": "view =~ /^gitlens.gitExplorer:/ && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2913. "group": "2_gitlens"
  2914. },
  2915. {
  2916. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2917. "when": "view =~ /^gitlens.gitExplorer:/ && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2918. "group": "2_gitlens"
  2919. },
  2920. {
  2921. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2922. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2923. "group": "2_gitlens_1"
  2924. },
  2925. {
  2926. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2927. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2928. "group": "2_gitlens_1"
  2929. },
  2930. {
  2931. "command": "gitlens.historyExplorer.refresh",
  2932. "when": "view =~ /^gitlens.historyExplorer:/",
  2933. "group": "navigation@1"
  2934. },
  2935. {
  2936. "command": "gitlens.historyExplorer.dock",
  2937. "when": "view =~ /^gitlens.historyExplorer:/ && gitlens:gitExplorer",
  2938. "group": "navigation@9"
  2939. },
  2940. {
  2941. "command": "gitlens.historyExplorer.close",
  2942. "when": "view =~ /^gitlens.historyExplorer:/ && !gitlens:gitExplorer",
  2943. "group": "navigation@9"
  2944. },
  2945. {
  2946. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2947. "when": "view =~ /^gitlens.historyExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2948. "group": "1_gitlens"
  2949. },
  2950. {
  2951. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2952. "when": "view =~ /^gitlens.historyExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  2953. "group": "1_gitlens"
  2954. },
  2955. {
  2956. "command": "gitlens.showCommitSearch",
  2957. "when": "view =~ /^gitlens.resultsExplorer:/",
  2958. "group": "navigation@1"
  2959. },
  2960. {
  2961. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2962. "when": "view =~ /^gitlens.resultsExplorer:/ && !gitlens:resultsExplorer:keepResults",
  2963. "group": "navigation@2"
  2964. },
  2965. {
  2966. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2967. "when": "view =~ /^gitlens.resultsExplorer:/ && gitlens:resultsExplorer:keepResults",
  2968. "group": "navigation@2"
  2969. },
  2970. {
  2971. "command": "gitlens.resultsExplorer.refresh",
  2972. "when": "view =~ /^gitlens.resultsExplorer:/",
  2973. "group": "navigation@3"
  2974. },
  2975. {
  2976. "command": "gitlens.resultsExplorer.close",
  2977. "when": "view =~ /^gitlens.resultsExplorer:/",
  2978. "group": "navigation@9"
  2979. },
  2980. {
  2981. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2982. "when": "view =~ /^gitlens.resultsExplorer:/",
  2983. "group": "1_gitlens"
  2984. },
  2985. {
  2986. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2987. "when": "view =~ /^gitlens.resultsExplorer:/",
  2988. "group": "1_gitlens"
  2989. },
  2990. {
  2991. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2992. "when": "view =~ /^gitlens.resultsExplorer:/",
  2993. "group": "1_gitlens"
  2994. }
  2995. ],
  2996. "view/item/context": [
  2997. {
  2998. "command": "gitlens.openBranchesInRemote",
  2999. "when": "viewItem == gitlens:branches:remotes",
  3000. "group": "1_gitlens@1"
  3001. },
  3002. {
  3003. "command": "gitlens.openBranchInRemote",
  3004. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  3005. "group": "1_gitlens@1"
  3006. },
  3007. {
  3008. "command": "gitlens.explorers.compareWithRemote",
  3009. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3010. "group": "7_gitlens@1"
  3011. },
  3012. {
  3013. "command": "gitlens.explorers.compareWithHead",
  3014. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3015. "group": "7_gitlens@2"
  3016. },
  3017. {
  3018. "command": "gitlens.explorers.compareWithWorking",
  3019. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3020. "group": "7_gitlens@3"
  3021. },
  3022. {
  3023. "command": "gitlens.explorers.compareAncestryWithWorking",
  3024. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3025. "group": "7_gitlens@4"
  3026. },
  3027. {
  3028. "command": "gitlens.explorers.compareWithSelected",
  3029. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/ && gitlens:explorers:canCompare",
  3030. "group": "7_gitlens_@1"
  3031. },
  3032. {
  3033. "command": "gitlens.explorers.selectForCompare",
  3034. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/",
  3035. "group": "7_gitlens_@2"
  3036. },
  3037. {
  3038. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3039. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3040. "group": "7_gitlens_diff@1"
  3041. },
  3042. {
  3043. "command": "gitlens.explorers.terminalCheckoutBranch",
  3044. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3045. "group": "8_gitlens@1"
  3046. },
  3047. {
  3048. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  3049. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  3050. "group": "8_gitlens@1"
  3051. },
  3052. {
  3053. "command": "gitlens.explorers.terminalMergeBranch",
  3054. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3055. "group": "8_gitlens@2"
  3056. },
  3057. {
  3058. "command": "gitlens.explorers.terminalRebaseBranch",
  3059. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3060. "group": "8_gitlens@3"
  3061. },
  3062. {
  3063. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  3064. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3065. "group": "8_gitlens@4"
  3066. },
  3067. {
  3068. "command": "gitlens.explorers.terminalCreateBranch",
  3069. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  3070. "group": "8_gitlens@5"
  3071. },
  3072. {
  3073. "command": "gitlens.explorers.terminalDeleteBranch",
  3074. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3075. "group": "8_gitlens@6"
  3076. },
  3077. {
  3078. "command": "gitlens.explorers.terminalCreateTag",
  3079. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  3080. "group": "8_gitlens@7"
  3081. },
  3082. {
  3083. "command": "gitlens.openCommitInRemote",
  3084. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3085. "group": "1_gitlens@1"
  3086. },
  3087. {
  3088. "command": "gitlens.explorers.openChangedFileChanges",
  3089. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3090. "group": "2_gitlens@1"
  3091. },
  3092. {
  3093. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  3094. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3095. "group": "2_gitlens@2"
  3096. },
  3097. {
  3098. "command": "gitlens.explorers.openChangedFiles",
  3099. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3100. "group": "3_gitlens@1"
  3101. },
  3102. {
  3103. "command": "gitlens.explorers.openChangedFileRevisions",
  3104. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3105. "group": "3_gitlens@2"
  3106. },
  3107. {
  3108. "command": "gitlens.copyShaToClipboard",
  3109. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3110. "group": "5_gitlens@1"
  3111. },
  3112. {
  3113. "command": "gitlens.copyMessageToClipboard",
  3114. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3115. "group": "5_gitlens@2"
  3116. },
  3117. {
  3118. "command": "gitlens.showQuickCommitDetails",
  3119. "when": "viewItem =~ /gitlens:commit\\b/",
  3120. "group": "5_gitlens_1@1"
  3121. },
  3122. {
  3123. "command": "gitlens.explorers.terminalCherryPickCommit",
  3124. "when": "viewItem == gitlens:commit",
  3125. "group": "8_gitlens@1"
  3126. },
  3127. {
  3128. "command": "gitlens.explorers.terminalPushCommit",
  3129. "when": "viewItem == gitlens:commit:current",
  3130. "group": "8_gitlens@2"
  3131. },
  3132. {
  3133. "command": "gitlens.explorers.terminalRevertCommit",
  3134. "when": "viewItem == gitlens:commit:current",
  3135. "group": "8_gitlens@3"
  3136. },
  3137. {
  3138. "command": "gitlens.explorers.terminalCheckoutCommit",
  3139. "when": "viewItem =~ /gitlens:commit\\b/",
  3140. "group": "8_gitlens@4"
  3141. },
  3142. {
  3143. "command": "gitlens.explorers.terminalRebaseCommit",
  3144. "when": "viewItem =~ /gitlens:commit\\b/",
  3145. "group": "8_gitlens@5"
  3146. },
  3147. {
  3148. "command": "gitlens.explorers.terminalResetCommit",
  3149. "when": "viewItem =~ /gitlens:commit\\b/",
  3150. "group": "8_gitlens@6"
  3151. },
  3152. {
  3153. "command": "gitlens.explorers.openFile",
  3154. "when": "viewItem =~ /gitlens:file\\b/",
  3155. "group": "inline"
  3156. },
  3157. {
  3158. "command": "gitlens.explorers.openChanges",
  3159. "when": "viewItem =~ /gitlens:file\\b/",
  3160. "group": "2_gitlens@1"
  3161. },
  3162. {
  3163. "command": "gitlens.explorers.openChangesWithWorking",
  3164. "when": "viewItem =~ /gitlens:file\\b/",
  3165. "group": "2_gitlens@2"
  3166. },
  3167. {
  3168. "command": "gitlens.explorers.openFile",
  3169. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  3170. "group": "3_gitlens@1"
  3171. },
  3172. {
  3173. "command": "gitlens.explorers.openFileRevision",
  3174. "when": "viewItem =~ /gitlens:file\\b/",
  3175. "group": "3_gitlens@2"
  3176. },
  3177. {
  3178. "command": "gitlens.openFileInRemote",
  3179. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3180. "group": "4_gitlens@1"
  3181. },
  3182. {
  3183. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3184. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3185. "group": "5_gitlens@3"
  3186. },
  3187. {
  3188. "command": "gitlens.explorers.openFileRevisionInRemote",
  3189. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3190. "group": "4_gitlens@2"
  3191. },
  3192. {
  3193. "command": "gitlens.openFileInRemote",
  3194. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3195. "group": "3_gitlens@2"
  3196. },
  3197. {
  3198. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3199. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3200. "group": "5_gitlens@3"
  3201. },
  3202. {
  3203. "command": "gitlens.showQuickFileHistory",
  3204. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:gitExplorer:view == repository",
  3205. "group": "8_gitlens@1"
  3206. },
  3207. {
  3208. "command": "gitlens.showQuickCommitFileDetails",
  3209. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  3210. "group": "8_gitlens@2"
  3211. },
  3212. {
  3213. "command": "gitlens.explorers.applyChanges",
  3214. "when": "viewItem =~ /gitlens:file:(commit|status)\\b/",
  3215. "group": "5_gitlens_1@1"
  3216. },
  3217. {
  3218. "command": "gitlens.explorers.applyChanges",
  3219. "when": "viewItem == gitlens:file:stash",
  3220. "group": "1_gitlens@1"
  3221. },
  3222. {
  3223. "command": "gitlens.openRepoInRemote",
  3224. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  3225. "group": "1_gitlens@1"
  3226. },
  3227. {
  3228. "command": "gitlens.explorers.closeRepository",
  3229. "when": "viewItem == gitlens:status",
  3230. "group": "8_gitlens@1"
  3231. },
  3232. {
  3233. "command": "gitlens.openBranchesInRemote",
  3234. "when": "viewItem == gitlens:remote",
  3235. "group": "1_gitlens@1"
  3236. },
  3237. {
  3238. "command": "gitlens.openRepoInRemote",
  3239. "when": "viewItem == gitlens:remote",
  3240. "group": "1_gitlens@2"
  3241. },
  3242. {
  3243. "command": "gitlens.explorers.terminalRemoveRemote",
  3244. "when": "viewItem == gitlens:remote",
  3245. "group": "8_gitlens@1"
  3246. },
  3247. {
  3248. "command": "gitlens.openRepoInRemote",
  3249. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3250. "group": "1_gitlens@1"
  3251. },
  3252. {
  3253. "command": "gitlens.explorers.closeRepository",
  3254. "when": "viewItem == gitlens:repository",
  3255. "group": "8_gitlens@1"
  3256. },
  3257. {
  3258. "command": "gitlens.resultsExplorer.swapComparision",
  3259. "when": "viewItem == gitlens:results:comparison",
  3260. "group": "inline@1"
  3261. },
  3262. {
  3263. "command": "gitlens.resultsExplorer.clearResultsNode",
  3264. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3265. "group": "inline@2"
  3266. },
  3267. {
  3268. "command": "gitlens.resultsExplorer.clearResultsNode",
  3269. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3270. "group": "1_gitlens@1"
  3271. },
  3272. {
  3273. "command": "gitlens.resultsExplorer.swapComparision",
  3274. "when": "viewItem == gitlens:results:comparison",
  3275. "group": "1_gitlens@2"
  3276. },
  3277. {
  3278. "command": "gitlens.explorers.openDirectoryDiff",
  3279. "when": "viewItem == gitlens:results:comparison",
  3280. "group": "7_gitlens@1"
  3281. },
  3282. {
  3283. "command": "gitlens.stashSave",
  3284. "when": "viewItem == gitlens:stashes",
  3285. "group": "1_gitlens@1"
  3286. },
  3287. {
  3288. "command": "gitlens.stashApply",
  3289. "when": "viewItem == gitlens:stash",
  3290. "group": "1_gitlens@1"
  3291. },
  3292. {
  3293. "command": "gitlens.stashDelete",
  3294. "when": "viewItem == gitlens:stash",
  3295. "group": "1_gitlens@2"
  3296. },
  3297. {
  3298. "command": "gitlens.explorers.terminalDeleteTag",
  3299. "when": "viewItem == gitlens:tag",
  3300. "group": "8_gitlens"
  3301. },
  3302. {
  3303. "command": "gitlens.gitExplorer.refreshNode",
  3304. "when": "view =~ /^gitlens.gitExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3305. "group": "9_gitlens@1"
  3306. },
  3307. {
  3308. "command": "gitlens.resultsExplorer.refreshNode",
  3309. "when": "view =~ /^gitlens.resultsExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3310. "group": "9_gitlens@1"
  3311. },
  3312. {
  3313. "command": "gitlens.historyExplorer.refreshNode",
  3314. "when": "view =~ /^gitlens.historyExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3315. "group": "9_gitlens@1"
  3316. }
  3317. ]
  3318. },
  3319. "keybindings": [
  3320. {
  3321. "command": "gitlens.key.left",
  3322. "key": "alt+left",
  3323. "when": "gitlens:key:left"
  3324. },
  3325. {
  3326. "command": "gitlens.key.right",
  3327. "key": "alt+right",
  3328. "when": "gitlens:key:right"
  3329. },
  3330. {
  3331. "command": "gitlens.key.,",
  3332. "key": "alt+,",
  3333. "when": "gitlens:key:,"
  3334. },
  3335. {
  3336. "command": "gitlens.key..",
  3337. "key": "alt+.",
  3338. "when": "gitlens:key:."
  3339. },
  3340. {
  3341. "command": "gitlens.key.escape",
  3342. "key": "escape",
  3343. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3344. },
  3345. {
  3346. "command": "gitlens.toggleFileBlame",
  3347. "key": "alt+b",
  3348. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3349. },
  3350. {
  3351. "command": "gitlens.toggleCodeLens",
  3352. "key": "shift+alt+b",
  3353. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3354. },
  3355. {
  3356. "command": "gitlens.showLastQuickPick",
  3357. "key": "alt+-",
  3358. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3359. },
  3360. {
  3361. "command": "gitlens.showCommitSearch",
  3362. "key": "alt+/",
  3363. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3364. },
  3365. {
  3366. "command": "gitlens.showQuickFileHistory",
  3367. "key": "alt+h",
  3368. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3369. },
  3370. {
  3371. "command": "gitlens.showQuickRepoHistory",
  3372. "key": "shift+alt+h",
  3373. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3374. },
  3375. {
  3376. "command": "gitlens.showQuickRepoStatus",
  3377. "key": "alt+s",
  3378. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3379. },
  3380. {
  3381. "command": "gitlens.showQuickCommitFileDetails",
  3382. "key": "alt+c",
  3383. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  3384. },
  3385. {
  3386. "command": "gitlens.diffWithNext",
  3387. "key": "alt+.",
  3388. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3389. },
  3390. {
  3391. "command": "gitlens.diffLineWithPrevious",
  3392. "key": "shift+alt+,",
  3393. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3394. },
  3395. {
  3396. "command": "gitlens.diffWithPrevious",
  3397. "key": "alt+,",
  3398. "when": "gitlens:keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3399. },
  3400. {
  3401. "command": "gitlens.diffWithPreviousInDiff",
  3402. "key": "alt+,",
  3403. "when": "gitlens:keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3404. },
  3405. {
  3406. "command": "gitlens.diffLineWithWorking",
  3407. "key": "alt+w",
  3408. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3409. },
  3410. {
  3411. "command": "gitlens.diffWithWorking",
  3412. "key": "shift+alt+w",
  3413. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3414. },
  3415. {
  3416. "command": "gitlens.toggleFileBlame",
  3417. "key": "ctrl+shift+g b",
  3418. "mac": "cmd+alt+g b",
  3419. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3420. },
  3421. {
  3422. "command": "gitlens.toggleCodeLens",
  3423. "key": "ctrl+shift+g shift+b",
  3424. "mac": "cmd+alt+g shift+b",
  3425. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3426. },
  3427. {
  3428. "command": "gitlens.showLastQuickPick",
  3429. "key": "ctrl+shift+g -",
  3430. "mac": "cmd+alt+g -",
  3431. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3432. },
  3433. {
  3434. "command": "gitlens.showCommitSearch",
  3435. "key": "ctrl+shift+g /",
  3436. "mac": "cmd+alt+g /",
  3437. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3438. },
  3439. {
  3440. "command": "gitlens.showQuickFileHistory",
  3441. "key": "ctrl+shift+g h",
  3442. "mac": "cmd+alt+g h",
  3443. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3444. },
  3445. {
  3446. "command": "gitlens.showQuickRepoHistory",
  3447. "key": "ctrl+shift+g shift+h",
  3448. "mac": "cmd+alt+g shift+h",
  3449. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3450. },
  3451. {
  3452. "command": "gitlens.showQuickRepoStatus",
  3453. "key": "ctrl+shift+g s",
  3454. "mac": "cmd+alt+g s",
  3455. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3456. },
  3457. {
  3458. "command": "gitlens.showQuickCommitFileDetails",
  3459. "key": "ctrl+shift+g c",
  3460. "mac": "cmd+alt+g c",
  3461. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3462. },
  3463. {
  3464. "command": "gitlens.diffWithNext",
  3465. "key": "ctrl+shift+g .",
  3466. "mac": "cmd+alt+g .",
  3467. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3468. },
  3469. {
  3470. "command": "gitlens.diffLineWithPrevious",
  3471. "key": "ctrl+shift+g shift+,",
  3472. "mac": "cmd+alt+g shift+,",
  3473. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3474. },
  3475. {
  3476. "command": "gitlens.diffWithPrevious",
  3477. "key": "ctrl+shift+g ,",
  3478. "mac": "cmd+alt+g ,",
  3479. "when": "gitlens:keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3480. },
  3481. {
  3482. "command": "gitlens.diffWithPreviousInDiff",
  3483. "key": "ctrl+shift+g ,",
  3484. "mac": "cmd+alt+g ,",
  3485. "when": "gitlens:keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3486. },
  3487. {
  3488. "command": "gitlens.diffLineWithWorking",
  3489. "key": "ctrl+shift+g w",
  3490. "mac": "cmd+alt+g w",
  3491. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3492. },
  3493. {
  3494. "command": "gitlens.diffWithWorking",
  3495. "key": "ctrl+shift+g shift+w",
  3496. "mac": "cmd+alt+g shift+w",
  3497. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3498. },
  3499. {
  3500. "command": "workbench.view.scm",
  3501. "key": "ctrl+shift+g g",
  3502. "mac": "ctrl+shift+g",
  3503. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3504. }
  3505. ],
  3506. "viewsContainers": {
  3507. "activitybar": [
  3508. {
  3509. "id": "gitlens",
  3510. "title": "GitLens",
  3511. "icon": "images/gitlens-activitybar.svg"
  3512. }
  3513. ]
  3514. },
  3515. "views": {
  3516. "gitlens": [
  3517. {
  3518. "id": "gitlens.gitExplorer:gitlens",
  3519. "name": "Explorer",
  3520. "when": "gitlens:enabled && gitlens:gitExplorer == gitlens"
  3521. },
  3522. {
  3523. "id": "gitlens.historyExplorer:gitlens",
  3524. "name": "File History",
  3525. "when": "gitlens:enabled && gitlens:historyExplorer == gitlens"
  3526. },
  3527. {
  3528. "id": "gitlens.resultsExplorer:gitlens",
  3529. "name": "Results",
  3530. "when": "gitlens:enabled && gitlens:resultsExplorer == gitlens"
  3531. }
  3532. ],
  3533. "explorer": [
  3534. {
  3535. "id": "gitlens.gitExplorer:explorer",
  3536. "name": "GitLens",
  3537. "when": "gitlens:enabled && gitlens:gitExplorer == explorer"
  3538. },
  3539. {
  3540. "id": "gitlens.historyExplorer:explorer",
  3541. "name": "GitLens File History",
  3542. "when": "gitlens:enabled && gitlens:historyExplorer == explorer"
  3543. },
  3544. {
  3545. "id": "gitlens.resultsExplorer:explorer",
  3546. "name": "GitLens Results",
  3547. "when": "gitlens:enabled && gitlens:resultsExplorer == explorer"
  3548. }
  3549. ],
  3550. "scm": [
  3551. {
  3552. "id": "gitlens.gitExplorer:scm",
  3553. "name": "GitLens",
  3554. "when": "gitlens:enabled && gitlens:gitExplorer == scm"
  3555. },
  3556. {
  3557. "id": "gitlens.historyExplorer:scm",
  3558. "name": "GitLens File History",
  3559. "when": "gitlens:enabled && gitlens:historyExplorer == scm"
  3560. },
  3561. {
  3562. "id": "gitlens.resultsExplorer:scm",
  3563. "name": "GitLens Results",
  3564. "when": "gitlens:enabled && gitlens:resultsExplorer == scm"
  3565. }
  3566. ]
  3567. }
  3568. },
  3569. "scripts": {
  3570. "build": "webpack --env.development",
  3571. "bundle": "webpack --env.production",
  3572. "clean": "git clean -Xdf",
  3573. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  3574. "pack": "vsce package",
  3575. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  3576. "pub": "vsce publish",
  3577. "rebuild": "npm run reset && npm run build",
  3578. "reset": "npm run clean && npm install --no-save",
  3579. "watch": "webpack --watch --env.development",
  3580. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  3581. "ui:watch": "webpack --watch --config-name ui --env.development",
  3582. "postinstall": "node ./node_modules/vscode/bin/install",
  3583. "vscode:prepublish": "npm run reset && npm run bundle"
  3584. },
  3585. "dependencies": {
  3586. "clipboardy": "1.2.3",
  3587. "date-fns": "1.29.0",
  3588. "iconv-lite": "0.4.24",
  3589. "lodash.debounce": "4.0.8",
  3590. "lodash.once": "4.1.1",
  3591. "tmp": "0.0.33",
  3592. "tslib": "1.9.3"
  3593. },
  3594. "devDependencies": {
  3595. "@types/clipboardy": "1.1.0",
  3596. "@types/node": "8.10.29",
  3597. "@types/tmp": "0.0.33",
  3598. "clean-webpack-plugin": "0.1.19",
  3599. "css-loader": "1.0.0",
  3600. "html-webpack-inline-source-plugin": "0.0.10",
  3601. "html-webpack-plugin": "3.2.0",
  3602. "husky": "0.14.3",
  3603. "imagemin-webpack-plugin": "2.2.0",
  3604. "mini-css-extract-plugin": "0.4.2",
  3605. "node-sass": "4.9.3",
  3606. "prettier": "1.14.2",
  3607. "prettier-tslint": "0.4.0",
  3608. "sass-loader": "7.1.0",
  3609. "size-plugin": "1.0.1",
  3610. "style-loader": "0.23.0",
  3611. "tslint": "5.11.0",
  3612. "tslint-loader": "3.6.0",
  3613. "tslint-prettiest": "0.0.1",
  3614. "ts-loader": "5.0.0",
  3615. "typescript": "3.0.3",
  3616. "vscode": "1.1.21",
  3617. "webpack": "4.17.2",
  3618. "webpack-cli": "3.1.0",
  3619. "webpack-deep-scope-plugin": "1.5.3",
  3620. "webpack-node-externals": "1.7.2"
  3621. }
  3622. }