You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3794 lines
167 KiB

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