選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

3871 行
170 KiB

  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.setEditorFollowingOn",
  2138. "title": "Resume File Tracking",
  2139. "category": "GitLens",
  2140. "icon": {
  2141. "dark": "images/dark/icon-location.svg",
  2142. "light": "images/light/icon-location.svg"
  2143. }
  2144. },
  2145. {
  2146. "command": "gitlens.fileHistoryExplorer.setEditorFollowingOff",
  2147. "title": "Pause File Tracking",
  2148. "category": "GitLens",
  2149. "icon": {
  2150. "dark": "images/dark/icon-location-filled.svg",
  2151. "light": "images/light/icon-location-filled.svg"
  2152. }
  2153. },
  2154. {
  2155. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOn",
  2156. "title": "Follow Renames",
  2157. "category": "GitLens"
  2158. },
  2159. {
  2160. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOff",
  2161. "title": "Don't Follow Renames",
  2162. "category": "GitLens"
  2163. },
  2164. {
  2165. "command": "gitlens.lineHistoryExplorer.refresh",
  2166. "title": "Refresh",
  2167. "category": "GitLens",
  2168. "icon": {
  2169. "dark": "images/dark/icon-refresh.svg",
  2170. "light": "images/light/icon-refresh.svg"
  2171. }
  2172. },
  2173. {
  2174. "command": "gitlens.lineHistoryExplorer.refreshNode",
  2175. "title": "Refresh",
  2176. "category": "GitLens"
  2177. },
  2178. {
  2179. "command": "gitlens.lineHistoryExplorer.setEditorFollowingOn",
  2180. "title": "Resume Line Tracking",
  2181. "category": "GitLens",
  2182. "icon": {
  2183. "dark": "images/dark/icon-location.svg",
  2184. "light": "images/light/icon-location.svg"
  2185. }
  2186. },
  2187. {
  2188. "command": "gitlens.lineHistoryExplorer.setEditorFollowingOff",
  2189. "title": "Pause Line Tracking",
  2190. "category": "GitLens",
  2191. "icon": {
  2192. "dark": "images/dark/icon-location-filled.svg",
  2193. "light": "images/light/icon-location-filled.svg"
  2194. }
  2195. },
  2196. {
  2197. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOn",
  2198. "title": "Follow Renames",
  2199. "category": "GitLens"
  2200. },
  2201. {
  2202. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOff",
  2203. "title": "Don't Follow Renames",
  2204. "category": "GitLens"
  2205. },
  2206. {
  2207. "command": "gitlens.resultsExplorer.close",
  2208. "title": "Close",
  2209. "category": "GitLens",
  2210. "icon": {
  2211. "dark": "images/dark/icon-close.svg",
  2212. "light": "images/light/icon-close.svg"
  2213. }
  2214. },
  2215. {
  2216. "command": "gitlens.resultsExplorer.dismissNode",
  2217. "title": "Dismiss",
  2218. "category": "GitLens",
  2219. "icon": {
  2220. "dark": "images/dark/icon-close-small.svg",
  2221. "light": "images/light/icon-close-small.svg"
  2222. }
  2223. },
  2224. {
  2225. "command": "gitlens.resultsExplorer.refresh",
  2226. "title": "Refresh",
  2227. "category": "GitLens",
  2228. "icon": {
  2229. "dark": "images/dark/icon-refresh.svg",
  2230. "light": "images/light/icon-refresh.svg"
  2231. }
  2232. },
  2233. {
  2234. "command": "gitlens.resultsExplorer.refreshNode",
  2235. "title": "Refresh",
  2236. "category": "GitLens"
  2237. },
  2238. {
  2239. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2240. "title": "Automatic Layout",
  2241. "category": "GitLens"
  2242. },
  2243. {
  2244. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2245. "title": "List Layout",
  2246. "category": "GitLens"
  2247. },
  2248. {
  2249. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2250. "title": "Tree Layout",
  2251. "category": "GitLens"
  2252. },
  2253. {
  2254. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2255. "title": "Keep Results",
  2256. "category": "GitLens",
  2257. "icon": {
  2258. "dark": "images/dark/icon-lock.svg",
  2259. "light": "images/light/icon-lock.svg"
  2260. }
  2261. },
  2262. {
  2263. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2264. "title": "Keep Results",
  2265. "category": "GitLens",
  2266. "icon": {
  2267. "dark": "images/dark/icon-locked.svg",
  2268. "light": "images/light/icon-locked.svg"
  2269. }
  2270. },
  2271. {
  2272. "command": "gitlens.resultsExplorer.swapComparision",
  2273. "title": "Swap Comparision",
  2274. "category": "GitLens",
  2275. "icon": {
  2276. "dark": "images/dark/icon-swap.svg",
  2277. "light": "images/light/icon-swap.svg"
  2278. }
  2279. }
  2280. ],
  2281. "menus": {
  2282. "commandPalette": [
  2283. {
  2284. "command": "gitlens.showRepositoriesExplorer",
  2285. "when": "gitlens:enabled && gitlens:repositoriesExplorer"
  2286. },
  2287. {
  2288. "command": "gitlens.showFileHistoryExplorer",
  2289. "when": "gitlens:enabled && gitlens:fileHistoryExplorer"
  2290. },
  2291. {
  2292. "command": "gitlens.showLineHistoryExplorer",
  2293. "title": "Show Line History Explorer",
  2294. "when": "gitlens:enabled && gitlens:lineHistoryExplorer"
  2295. },
  2296. {
  2297. "command": "gitlens.showResultsExplorer",
  2298. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2299. },
  2300. {
  2301. "command": "gitlens.diffDirectory",
  2302. "when": "gitlens:enabled"
  2303. },
  2304. {
  2305. "command": "gitlens.diffHeadWithBranch",
  2306. "when": "gitlens:enabled"
  2307. },
  2308. {
  2309. "command": "gitlens.diffWorkingWithBranch",
  2310. "when": "gitlens:enabled"
  2311. },
  2312. {
  2313. "command": "gitlens.diffWithBranch",
  2314. "when": "gitlens:activeFileStatus =~ /tracked/"
  2315. },
  2316. {
  2317. "command": "gitlens.diffWithNext",
  2318. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2319. },
  2320. {
  2321. "command": "gitlens.diffWithPrevious",
  2322. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2323. },
  2324. {
  2325. "command": "gitlens.diffWithPreviousInDiff",
  2326. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2327. },
  2328. {
  2329. "command": "gitlens.diffLineWithPrevious",
  2330. "when": "gitlens:activeFileStatus =~ /blameable/"
  2331. },
  2332. {
  2333. "command": "gitlens.diffWithRevision",
  2334. "when": "gitlens:activeFileStatus =~ /tracked/"
  2335. },
  2336. {
  2337. "command": "gitlens.diffWithWorking",
  2338. "when": "gitlens:activeFileStatus =~ /tracked/"
  2339. },
  2340. {
  2341. "command": "gitlens.diffLineWithWorking",
  2342. "when": "gitlens:activeFileStatus =~ /blameable/"
  2343. },
  2344. {
  2345. "command": "gitlens.externalDiff",
  2346. "when": "gitlens:activeFileStatus =~ /tracked/"
  2347. },
  2348. {
  2349. "command": "gitlens.externalDiffAll",
  2350. "when": "gitlens:enabled"
  2351. },
  2352. {
  2353. "command": "gitlens.toggleFileBlame",
  2354. "when": "gitlens:activeFileStatus =~ /blameable/"
  2355. },
  2356. {
  2357. "command": "gitlens.clearFileAnnotations",
  2358. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2359. },
  2360. {
  2361. "command": "gitlens.computingFileAnnotations",
  2362. "when": "false"
  2363. },
  2364. {
  2365. "command": "gitlens.toggleFileHeatmap",
  2366. "when": "gitlens:activeFileStatus =~ /blameable/"
  2367. },
  2368. {
  2369. "command": "gitlens.toggleFileRecentChanges",
  2370. "when": "gitlens:activeFileStatus =~ /blameable/"
  2371. },
  2372. {
  2373. "command": "gitlens.toggleLineBlame",
  2374. "when": "gitlens:enabled"
  2375. },
  2376. {
  2377. "command": "gitlens.toggleCodeLens",
  2378. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2379. },
  2380. {
  2381. "command": "gitlens.switchMode",
  2382. "when": "gitlens:enabled"
  2383. },
  2384. {
  2385. "command": "gitlens.toggleReviewMode",
  2386. "when": "gitlens:enabled"
  2387. },
  2388. {
  2389. "command": "gitlens.toggleZenMode",
  2390. "when": "gitlens:enabled"
  2391. },
  2392. {
  2393. "command": "gitlens.showCommitSearch",
  2394. "when": "gitlens:enabled"
  2395. },
  2396. {
  2397. "command": "gitlens.showLastQuickPick",
  2398. "when": "gitlens:enabled"
  2399. },
  2400. {
  2401. "command": "gitlens.showQuickCommitDetails",
  2402. "when": "gitlens:activeFileStatus =~ /blameable/"
  2403. },
  2404. {
  2405. "command": "gitlens.showQuickCommitFileDetails",
  2406. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  2407. },
  2408. {
  2409. "command": "gitlens.showQuickFileHistory",
  2410. "when": "gitlens:activeFileStatus =~ /tracked/"
  2411. },
  2412. {
  2413. "command": "gitlens.showQuickBranchHistory",
  2414. "when": "gitlens:enabled"
  2415. },
  2416. {
  2417. "command": "gitlens.showQuickRepoHistory",
  2418. "when": "gitlens:enabled"
  2419. },
  2420. {
  2421. "command": "gitlens.showQuickRepoStatus",
  2422. "when": "gitlens:enabled"
  2423. },
  2424. {
  2425. "command": "gitlens.showQuickStashList",
  2426. "when": "gitlens:enabled"
  2427. },
  2428. {
  2429. "command": "gitlens.copyMessageToClipboard",
  2430. "when": "gitlens:activeFileStatus =~ /blameable/"
  2431. },
  2432. {
  2433. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2434. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2435. },
  2436. {
  2437. "command": "gitlens.copyShaToClipboard",
  2438. "when": "gitlens:activeFileStatus =~ /blameable/"
  2439. },
  2440. {
  2441. "command": "gitlens.closeUnchangedFiles",
  2442. "when": "gitlens:enabled"
  2443. },
  2444. {
  2445. "command": "gitlens.openChangedFiles",
  2446. "when": "gitlens:enabled"
  2447. },
  2448. {
  2449. "command": "gitlens.openBranchesInRemote",
  2450. "when": "gitlens:hasRemotes"
  2451. },
  2452. {
  2453. "command": "gitlens.openBranchInRemote",
  2454. "when": "gitlens:hasRemotes"
  2455. },
  2456. {
  2457. "command": "gitlens.openCommitInRemote",
  2458. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2459. },
  2460. {
  2461. "command": "gitlens.openFileInRemote",
  2462. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2463. },
  2464. {
  2465. "command": "gitlens.openFileRevision",
  2466. "when": "gitlens:activeFileStatus =~ /tracked/"
  2467. },
  2468. {
  2469. "command": "gitlens.openRepoInRemote",
  2470. "when": "gitlens:hasRemotes"
  2471. },
  2472. {
  2473. "command": "gitlens.openWorkingFile",
  2474. "when": "gitlens:activeFileStatus =~ /revision/"
  2475. },
  2476. {
  2477. "command": "gitlens.stashApply",
  2478. "when": "gitlens:enabled"
  2479. },
  2480. {
  2481. "command": "gitlens.stashDelete",
  2482. "when": "false"
  2483. },
  2484. {
  2485. "command": "gitlens.stashSave",
  2486. "when": "gitlens:enabled"
  2487. },
  2488. {
  2489. "command": "gitlens.resetSuppressedWarnings",
  2490. "when": "gitlens:enabled"
  2491. },
  2492. {
  2493. "command": "gitlens.explorers.exploreRepoRevision",
  2494. "when": "false"
  2495. },
  2496. {
  2497. "command": "gitlens.repositoriesExplorer.fetchAll",
  2498. "when": "false"
  2499. },
  2500. {
  2501. "command": "gitlens.repositoriesExplorer.pullAll",
  2502. "when": "false"
  2503. },
  2504. {
  2505. "command": "gitlens.explorers.fetch",
  2506. "when": "false"
  2507. },
  2508. {
  2509. "command": "gitlens.explorers.pull",
  2510. "when": "false"
  2511. },
  2512. {
  2513. "command": "gitlens.explorers.push",
  2514. "when": "false"
  2515. },
  2516. {
  2517. "command": "gitlens.explorers.stageFile",
  2518. "when": "false"
  2519. },
  2520. {
  2521. "command": "gitlens.explorers.unstageFile",
  2522. "when": "false"
  2523. },
  2524. {
  2525. "command": "gitlens.explorers.openChanges",
  2526. "when": "false"
  2527. },
  2528. {
  2529. "command": "gitlens.explorers.openDirectoryDiff",
  2530. "when": "false"
  2531. },
  2532. {
  2533. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2534. "when": "false"
  2535. },
  2536. {
  2537. "command": "gitlens.explorers.openChangesWithWorking",
  2538. "when": "false"
  2539. },
  2540. {
  2541. "command": "gitlens.explorers.openFile",
  2542. "when": "false"
  2543. },
  2544. {
  2545. "command": "gitlens.explorers.openFileRevision",
  2546. "when": "false"
  2547. },
  2548. {
  2549. "command": "gitlens.explorers.openFileRevisionInRemote",
  2550. "when": "false"
  2551. },
  2552. {
  2553. "command": "gitlens.explorers.openChangedFiles",
  2554. "when": "false"
  2555. },
  2556. {
  2557. "command": "gitlens.explorers.openChangedFileChanges",
  2558. "when": "false"
  2559. },
  2560. {
  2561. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2562. "when": "false"
  2563. },
  2564. {
  2565. "command": "gitlens.explorers.openChangedFileRevisions",
  2566. "when": "false"
  2567. },
  2568. {
  2569. "command": "gitlens.explorers.applyChanges",
  2570. "when": "false"
  2571. },
  2572. {
  2573. "command": "gitlens.explorers.closeRepository",
  2574. "when": "false"
  2575. },
  2576. {
  2577. "command": "gitlens.explorers.compareAncestryWithWorking",
  2578. "when": "false"
  2579. },
  2580. {
  2581. "command": "gitlens.explorers.compareWithHead",
  2582. "when": "false"
  2583. },
  2584. {
  2585. "command": "gitlens.explorers.compareWithRemote",
  2586. "when": "false"
  2587. },
  2588. {
  2589. "command": "gitlens.explorers.compareWithSelected",
  2590. "when": "false"
  2591. },
  2592. {
  2593. "command": "gitlens.explorers.compareWithWorking",
  2594. "when": "false"
  2595. },
  2596. {
  2597. "command": "gitlens.explorers.selectForCompare",
  2598. "when": "false"
  2599. },
  2600. {
  2601. "command": "gitlens.explorers.terminalCheckoutBranch",
  2602. "when": "false"
  2603. },
  2604. {
  2605. "command": "gitlens.explorers.terminalCreateBranch",
  2606. "when": "false"
  2607. },
  2608. {
  2609. "command": "gitlens.explorers.terminalDeleteBranch",
  2610. "when": "false"
  2611. },
  2612. {
  2613. "command": "gitlens.explorers.terminalMergeBranch",
  2614. "when": "false"
  2615. },
  2616. {
  2617. "command": "gitlens.explorers.terminalRebaseBranch",
  2618. "when": "false"
  2619. },
  2620. {
  2621. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2622. "when": "false"
  2623. },
  2624. {
  2625. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2626. "when": "false"
  2627. },
  2628. {
  2629. "command": "gitlens.explorers.terminalCheckoutCommit",
  2630. "when": "false"
  2631. },
  2632. {
  2633. "command": "gitlens.explorers.terminalCherryPickCommit",
  2634. "when": "false"
  2635. },
  2636. {
  2637. "command": "gitlens.explorers.terminalPushCommit",
  2638. "when": "false"
  2639. },
  2640. {
  2641. "command": "gitlens.explorers.terminalRebaseCommit",
  2642. "when": "false"
  2643. },
  2644. {
  2645. "command": "gitlens.explorers.terminalResetCommit",
  2646. "when": "false"
  2647. },
  2648. {
  2649. "command": "gitlens.explorers.terminalRevertCommit",
  2650. "when": "false"
  2651. },
  2652. {
  2653. "command": "gitlens.explorers.terminalRemoveRemote",
  2654. "when": "false"
  2655. },
  2656. {
  2657. "command": "gitlens.explorers.terminalCreateTag",
  2658. "when": "false"
  2659. },
  2660. {
  2661. "command": "gitlens.explorers.terminalDeleteTag",
  2662. "when": "false"
  2663. },
  2664. {
  2665. "command": "gitlens.repositoriesExplorer.refresh",
  2666. "when": "false"
  2667. },
  2668. {
  2669. "command": "gitlens.repositoriesExplorer.refreshNode",
  2670. "when": "false"
  2671. },
  2672. {
  2673. "command": "gitlens.repositoriesExplorer.setFilesLayoutToAuto",
  2674. "when": "false"
  2675. },
  2676. {
  2677. "command": "gitlens.repositoriesExplorer.setFilesLayoutToList",
  2678. "when": "false"
  2679. },
  2680. {
  2681. "command": "gitlens.repositoriesExplorer.setFilesLayoutToTree",
  2682. "when": "false"
  2683. },
  2684. {
  2685. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOn",
  2686. "when": "false"
  2687. },
  2688. {
  2689. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOff",
  2690. "when": "false"
  2691. },
  2692. {
  2693. "command": "gitlens.fileHistoryExplorer.refresh",
  2694. "when": "false"
  2695. },
  2696. {
  2697. "command": "gitlens.fileHistoryExplorer.refreshNode",
  2698. "when": "false"
  2699. },
  2700. {
  2701. "command": "gitlens.fileHistoryExplorer.setEditorFollowingOn",
  2702. "when": "false"
  2703. },
  2704. {
  2705. "command": "gitlens.fileHistoryExplorer.setEditorFollowingOff",
  2706. "when": "false"
  2707. },
  2708. {
  2709. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOn",
  2710. "when": "false"
  2711. },
  2712. {
  2713. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOff",
  2714. "when": "false"
  2715. },
  2716. {
  2717. "command": "gitlens.lineHistoryExplorer.refresh",
  2718. "when": "false"
  2719. },
  2720. {
  2721. "command": "gitlens.lineHistoryExplorer.refreshNode",
  2722. "when": "false"
  2723. },
  2724. {
  2725. "command": "gitlens.lineHistoryExplorer.setEditorFollowingOn",
  2726. "when": "false"
  2727. },
  2728. {
  2729. "command": "gitlens.lineHistoryExplorer.setEditorFollowingOff",
  2730. "when": "false"
  2731. },
  2732. {
  2733. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOn",
  2734. "when": "false"
  2735. },
  2736. {
  2737. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOff",
  2738. "when": "false"
  2739. },
  2740. {
  2741. "command": "gitlens.resultsExplorer.close",
  2742. "when": "false"
  2743. },
  2744. {
  2745. "command": "gitlens.resultsExplorer.dismissNode",
  2746. "when": "false"
  2747. },
  2748. {
  2749. "command": "gitlens.resultsExplorer.refresh",
  2750. "when": "false"
  2751. },
  2752. {
  2753. "command": "gitlens.resultsExplorer.refreshNode",
  2754. "when": "false"
  2755. },
  2756. {
  2757. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2758. "when": "false"
  2759. },
  2760. {
  2761. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2762. "when": "false"
  2763. },
  2764. {
  2765. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2766. "when": "false"
  2767. },
  2768. {
  2769. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2770. "when": "false"
  2771. },
  2772. {
  2773. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2774. "when": "false"
  2775. },
  2776. {
  2777. "command": "gitlens.resultsExplorer.swapComparision",
  2778. "when": "false"
  2779. }
  2780. ],
  2781. "editor/context": [
  2782. {
  2783. "command": "gitlens.diffLineWithPrevious",
  2784. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2785. "group": "1_gitlens@1"
  2786. },
  2787. {
  2788. "command": "gitlens.diffLineWithWorking",
  2789. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2790. "group": "1_gitlens@2"
  2791. },
  2792. {
  2793. "command": "gitlens.openFileInRemote",
  2794. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2795. "group": "1_gitlens_1@1"
  2796. },
  2797. {
  2798. "command": "gitlens.openCommitInRemote",
  2799. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2800. "group": "1_gitlens_1@2"
  2801. },
  2802. {
  2803. "command": "gitlens.showQuickCommitFileDetails",
  2804. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  2805. "group": "1_gitlens_1@3"
  2806. },
  2807. {
  2808. "command": "gitlens.showQuickFileHistory",
  2809. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  2810. "group": "3_gitlens@1"
  2811. },
  2812. {
  2813. "command": "gitlens.toggleFileBlame",
  2814. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  2815. "group": "3_gitlens@2"
  2816. },
  2817. {
  2818. "command": "gitlens.copyShaToClipboard",
  2819. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2820. "group": "9_gitlens@1"
  2821. },
  2822. {
  2823. "command": "gitlens.copyMessageToClipboard",
  2824. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2825. "group": "9_gitlens@2"
  2826. },
  2827. {
  2828. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2829. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  2830. "group": "9_gitlens@3"
  2831. }
  2832. ],
  2833. "editor/title": [
  2834. {
  2835. "command": "gitlens.diffWithWorking",
  2836. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  2837. "group": "navigation@0"
  2838. },
  2839. {
  2840. "command": "gitlens.openWorkingFile",
  2841. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
  2842. "group": "navigation@0"
  2843. },
  2844. {
  2845. "command": "gitlens.openWorkingFile",
  2846. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
  2847. "group": "navigation@0"
  2848. },
  2849. {
  2850. "command": "gitlens.openWorkingFile",
  2851. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  2852. "group": "navigation@0"
  2853. },
  2854. {
  2855. "command": "gitlens.diffWithPrevious",
  2856. "alt": "gitlens.diffWithRevision",
  2857. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2858. "group": "navigation@98"
  2859. },
  2860. {
  2861. "command": "gitlens.diffWithPreviousInDiff",
  2862. "alt": "gitlens.diffWithRevision",
  2863. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2864. "group": "navigation@98"
  2865. },
  2866. {
  2867. "command": "gitlens.diffWithNext",
  2868. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  2869. "group": "navigation@99"
  2870. },
  2871. {
  2872. "command": "gitlens.toggleFileBlame",
  2873. "alt": "gitlens.toggleFileRecentChanges",
  2874. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  2875. "group": "navigation@100"
  2876. },
  2877. {
  2878. "command": "gitlens.computingFileAnnotations",
  2879. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  2880. "group": "navigation@100"
  2881. },
  2882. {
  2883. "command": "gitlens.clearFileAnnotations",
  2884. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  2885. "group": "navigation@100"
  2886. },
  2887. {
  2888. "command": "gitlens.openFileInRemote",
  2889. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  2890. "group": "4_gitlens"
  2891. },
  2892. {
  2893. "command": "gitlens.showQuickFileHistory",
  2894. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  2895. "group": "4_gitlens"
  2896. }
  2897. ],
  2898. "editor/title/context": [
  2899. {
  2900. "command": "gitlens.openFileInRemote",
  2901. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2902. "group": "2_files@100"
  2903. },
  2904. {
  2905. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2906. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2907. "group": "2_files@101"
  2908. },
  2909. {
  2910. "command": "gitlens.diffWithPrevious",
  2911. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2912. "group": "1_gitlens_1@1"
  2913. },
  2914. {
  2915. "command": "gitlens.diffWithWorking",
  2916. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2917. "group": "1_gitlens_1@2"
  2918. },
  2919. {
  2920. "command": "gitlens.showQuickFileHistory",
  2921. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  2922. "group": "1_gitlens_2@1"
  2923. }
  2924. ],
  2925. "explorer/context": [
  2926. {
  2927. "command": "gitlens.openFileInRemote",
  2928. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2929. "group": "navigation@100"
  2930. },
  2931. {
  2932. "command": "gitlens.showQuickFileHistory",
  2933. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  2934. "group": "1_gitlens_1@1"
  2935. },
  2936. {
  2937. "command": "gitlens.diffWithPrevious",
  2938. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  2939. "group": "3_compare@1"
  2940. },
  2941. {
  2942. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2943. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2944. "group": "9_gitlens@1"
  2945. }
  2946. ],
  2947. "scm/resourceGroup/context": [
  2948. {
  2949. "command": "gitlens.openChangedFiles",
  2950. "when": "gitlens:enabled",
  2951. "group": "2_gitlens@1"
  2952. },
  2953. {
  2954. "command": "gitlens.closeUnchangedFiles",
  2955. "when": "gitlens:enabled",
  2956. "group": "2_gitlens@2"
  2957. },
  2958. {
  2959. "command": "gitlens.externalDiff",
  2960. "when": "gitlens:enabled",
  2961. "group": "2_gitlens@3"
  2962. },
  2963. {
  2964. "command": "gitlens.stashSave",
  2965. "when": "gitlens:enabled",
  2966. "group": "3_gitlens@1"
  2967. }
  2968. ],
  2969. "scm/resourceState/context": [
  2970. {
  2971. "command": "gitlens.openFileInRemote",
  2972. "when": "gitlens:enabled && gitlens:hasRemotes",
  2973. "group": "navigation"
  2974. },
  2975. {
  2976. "command": "gitlens.externalDiff",
  2977. "when": "gitlens:enabled",
  2978. "group": "navigation"
  2979. },
  2980. {
  2981. "command": "gitlens.diffWithRevision",
  2982. "when": "gitlens:enabled",
  2983. "group": "1_gitlens@1"
  2984. },
  2985. {
  2986. "command": "gitlens.diffWithBranch",
  2987. "when": "gitlens:enabled",
  2988. "group": "1_gitlens@2"
  2989. },
  2990. {
  2991. "command": "gitlens.showQuickFileHistory",
  2992. "when": "gitlens:enabled",
  2993. "group": "1_gitlens_1@1"
  2994. },
  2995. {
  2996. "command": "gitlens.stashSave",
  2997. "when": "gitlens:enabled",
  2998. "group": "2_gitlens@1"
  2999. },
  3000. {
  3001. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3002. "when": "gitlens:enabled && gitlens:hasRemotes",
  3003. "group": "9_gitlens@1"
  3004. }
  3005. ],
  3006. "view/title": [
  3007. {
  3008. "command": "gitlens.showCommitSearch",
  3009. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3010. "group": "navigation@1"
  3011. },
  3012. {
  3013. "command": "gitlens.repositoriesExplorer.pullAll",
  3014. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3015. "group": "navigation@7"
  3016. },
  3017. {
  3018. "command": "gitlens.repositoriesExplorer.fetchAll",
  3019. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3020. "group": "navigation@8"
  3021. },
  3022. {
  3023. "command": "gitlens.repositoriesExplorer.refresh",
  3024. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3025. "group": "navigation@9"
  3026. },
  3027. {
  3028. "command": "gitlens.repositoriesExplorer.setFilesLayoutToAuto",
  3029. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3030. "group": "1_gitlens"
  3031. },
  3032. {
  3033. "command": "gitlens.repositoriesExplorer.setFilesLayoutToList",
  3034. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3035. "group": "1_gitlens"
  3036. },
  3037. {
  3038. "command": "gitlens.repositoriesExplorer.setFilesLayoutToTree",
  3039. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  3040. "group": "1_gitlens"
  3041. },
  3042. {
  3043. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOn",
  3044. "when": "view =~ /^gitlens.repositoriesExplorer:/ && config.gitlens.repositoriesExplorer.autoRefresh && !gitlens:repositoriesExplorer:autoRefresh",
  3045. "group": "2_gitlens"
  3046. },
  3047. {
  3048. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOff",
  3049. "when": "view =~ /^gitlens.repositoriesExplorer:/ && config.gitlens.repositoriesExplorer.autoRefresh && gitlens:repositoriesExplorer:autoRefresh",
  3050. "group": "2_gitlens"
  3051. },
  3052. {
  3053. "command": "gitlens.fileHistoryExplorer.setEditorFollowingOn",
  3054. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && !gitlens:fileHistoryExplorer:editorFollowing",
  3055. "group": "navigation@1"
  3056. },
  3057. {
  3058. "command": "gitlens.fileHistoryExplorer.setEditorFollowingOff",
  3059. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && gitlens:fileHistoryExplorer:editorFollowing",
  3060. "group": "navigation@1"
  3061. },
  3062. {
  3063. "command": "gitlens.fileHistoryExplorer.refresh",
  3064. "when": "view =~ /^gitlens.fileHistoryExplorer:/",
  3065. "group": "navigation@2"
  3066. },
  3067. {
  3068. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOn",
  3069. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3070. "group": "1_gitlens"
  3071. },
  3072. {
  3073. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOff",
  3074. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3075. "group": "1_gitlens"
  3076. },
  3077. {
  3078. "command": "gitlens.lineHistoryExplorer.setEditorFollowingOn",
  3079. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && !gitlens:lineHistoryExplorer:editorFollowing",
  3080. "group": "navigation@1"
  3081. },
  3082. {
  3083. "command": "gitlens.lineHistoryExplorer.setEditorFollowingOff",
  3084. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && gitlens:lineHistoryExplorer:editorFollowing",
  3085. "group": "navigation@1"
  3086. },
  3087. {
  3088. "command": "gitlens.lineHistoryExplorer.refresh",
  3089. "when": "view =~ /^gitlens.lineHistoryExplorer:/",
  3090. "group": "navigation@2"
  3091. },
  3092. {
  3093. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOn",
  3094. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  3095. "group": "1_gitlens"
  3096. },
  3097. {
  3098. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOff",
  3099. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3100. "group": "1_gitlens"
  3101. },
  3102. {
  3103. "command": "gitlens.showCommitSearch",
  3104. "when": "view =~ /^gitlens.resultsExplorer:/",
  3105. "group": "navigation@1"
  3106. },
  3107. {
  3108. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  3109. "when": "view =~ /^gitlens.resultsExplorer:/ && !gitlens:resultsExplorer:keepResults",
  3110. "group": "navigation@2"
  3111. },
  3112. {
  3113. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  3114. "when": "view =~ /^gitlens.resultsExplorer:/ && gitlens:resultsExplorer:keepResults",
  3115. "group": "navigation@2"
  3116. },
  3117. {
  3118. "command": "gitlens.resultsExplorer.refresh",
  3119. "when": "view =~ /^gitlens.resultsExplorer:/",
  3120. "group": "navigation@3"
  3121. },
  3122. {
  3123. "command": "gitlens.resultsExplorer.close",
  3124. "when": "view =~ /^gitlens.resultsExplorer:/",
  3125. "group": "navigation@9"
  3126. },
  3127. {
  3128. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  3129. "when": "view =~ /^gitlens.resultsExplorer:/",
  3130. "group": "1_gitlens"
  3131. },
  3132. {
  3133. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  3134. "when": "view =~ /^gitlens.resultsExplorer:/",
  3135. "group": "1_gitlens"
  3136. },
  3137. {
  3138. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  3139. "when": "view =~ /^gitlens.resultsExplorer:/",
  3140. "group": "1_gitlens"
  3141. }
  3142. ],
  3143. "view/item/context": [
  3144. {
  3145. "command": "gitlens.openBranchesInRemote",
  3146. "when": "viewItem == gitlens:branches:remotes",
  3147. "group": "1_gitlens@1"
  3148. },
  3149. {
  3150. "command": "gitlens.openBranchInRemote",
  3151. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  3152. "group": "1_gitlens@1"
  3153. },
  3154. {
  3155. "command": "gitlens.explorers.compareWithRemote",
  3156. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3157. "group": "7_gitlens@1"
  3158. },
  3159. {
  3160. "command": "gitlens.explorers.compareWithHead",
  3161. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3162. "group": "7_gitlens@2"
  3163. },
  3164. {
  3165. "command": "gitlens.explorers.compareWithWorking",
  3166. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3167. "group": "7_gitlens@3"
  3168. },
  3169. {
  3170. "command": "gitlens.explorers.compareAncestryWithWorking",
  3171. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3172. "group": "7_gitlens@4"
  3173. },
  3174. {
  3175. "command": "gitlens.explorers.compareWithSelected",
  3176. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/ && gitlens:explorers:canCompare",
  3177. "group": "7_gitlens_@1"
  3178. },
  3179. {
  3180. "command": "gitlens.explorers.selectForCompare",
  3181. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/",
  3182. "group": "7_gitlens_@2"
  3183. },
  3184. {
  3185. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3186. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3187. "group": "7_gitlens_more@2"
  3188. },
  3189. {
  3190. "command": "gitlens.explorers.terminalCheckoutBranch",
  3191. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3192. "group": "8_gitlens@1"
  3193. },
  3194. {
  3195. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  3196. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  3197. "group": "8_gitlens@1"
  3198. },
  3199. {
  3200. "command": "gitlens.explorers.terminalMergeBranch",
  3201. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3202. "group": "8_gitlens@2"
  3203. },
  3204. {
  3205. "command": "gitlens.explorers.terminalRebaseBranch",
  3206. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3207. "group": "8_gitlens@3"
  3208. },
  3209. {
  3210. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  3211. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3212. "group": "8_gitlens@4"
  3213. },
  3214. {
  3215. "command": "gitlens.explorers.terminalCreateBranch",
  3216. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  3217. "group": "8_gitlens@5"
  3218. },
  3219. {
  3220. "command": "gitlens.explorers.terminalDeleteBranch",
  3221. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3222. "group": "8_gitlens@6"
  3223. },
  3224. {
  3225. "command": "gitlens.explorers.terminalCreateTag",
  3226. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  3227. "group": "8_gitlens@7"
  3228. },
  3229. {
  3230. "command": "gitlens.openCommitInRemote",
  3231. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3232. "group": "1_gitlens@1"
  3233. },
  3234. {
  3235. "command": "gitlens.explorers.openChangedFileChanges",
  3236. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3237. "group": "2_gitlens@1"
  3238. },
  3239. {
  3240. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  3241. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3242. "group": "2_gitlens@2"
  3243. },
  3244. {
  3245. "command": "gitlens.explorers.openChangedFiles",
  3246. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3247. "group": "3_gitlens@1"
  3248. },
  3249. {
  3250. "command": "gitlens.explorers.openChangedFileRevisions",
  3251. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3252. "group": "3_gitlens@2"
  3253. },
  3254. {
  3255. "command": "gitlens.copyShaToClipboard",
  3256. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3257. "group": "5_gitlens@1"
  3258. },
  3259. {
  3260. "command": "gitlens.copyMessageToClipboard",
  3261. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3262. "group": "5_gitlens@2"
  3263. },
  3264. {
  3265. "command": "gitlens.showQuickCommitDetails",
  3266. "when": "viewItem =~ /gitlens:commit\\b/",
  3267. "group": "5_gitlens_1@1"
  3268. },
  3269. {
  3270. "command": "gitlens.explorers.terminalCherryPickCommit",
  3271. "when": "viewItem == gitlens:commit",
  3272. "group": "8_gitlens@1"
  3273. },
  3274. {
  3275. "command": "gitlens.explorers.terminalPushCommit",
  3276. "when": "viewItem == gitlens:commit:current",
  3277. "group": "8_gitlens@2"
  3278. },
  3279. {
  3280. "command": "gitlens.explorers.terminalRevertCommit",
  3281. "when": "viewItem == gitlens:commit:current",
  3282. "group": "8_gitlens@3"
  3283. },
  3284. {
  3285. "command": "gitlens.explorers.terminalCheckoutCommit",
  3286. "when": "viewItem =~ /gitlens:commit\\b/",
  3287. "group": "8_gitlens@4"
  3288. },
  3289. {
  3290. "command": "gitlens.explorers.terminalRebaseCommit",
  3291. "when": "viewItem =~ /gitlens:commit\\b/",
  3292. "group": "8_gitlens@5"
  3293. },
  3294. {
  3295. "command": "gitlens.explorers.terminalResetCommit",
  3296. "when": "viewItem =~ /gitlens:commit\\b/",
  3297. "group": "8_gitlens@6"
  3298. },
  3299. {
  3300. "command": "gitlens.explorers.openFile",
  3301. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  3302. "group": "inline"
  3303. },
  3304. {
  3305. "command": "gitlens.explorers.stageFile",
  3306. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3307. "group": "inline"
  3308. },
  3309. {
  3310. "command": "gitlens.explorers.unstageFile",
  3311. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3312. "group": "inline"
  3313. },
  3314. {
  3315. "command": "gitlens.explorers.stageFile",
  3316. "when": "viewItem =~ /gitlens:file\\b.*:unstaged\\b/",
  3317. "group": "1_gitlens@1"
  3318. },
  3319. {
  3320. "command": "gitlens.explorers.unstageFile",
  3321. "when": "viewItem =~ /gitlens:file\\b.*:staged\\b/",
  3322. "group": "1_gitlens@1"
  3323. },
  3324. {
  3325. "command": "gitlens.stashSave",
  3326. "when": "viewItem =~ /gitlens:file\\b.*:(un)?staged\\b/",
  3327. "group": "1_gitlens@2"
  3328. },
  3329. {
  3330. "command": "gitlens.explorers.openChanges",
  3331. "when": "viewItem =~ /gitlens:file\\b/",
  3332. "group": "2_gitlens@1"
  3333. },
  3334. {
  3335. "command": "gitlens.externalDiff",
  3336. "when": "viewItem =~ /gitlens:file\\b/",
  3337. "group": "2_gitlens@2"
  3338. },
  3339. {
  3340. "command": "gitlens.explorers.openChangesWithWorking",
  3341. "when": "viewItem =~ /gitlens:file\\b/",
  3342. "group": "2_gitlens@3"
  3343. },
  3344. {
  3345. "command": "gitlens.explorers.openFile",
  3346. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  3347. "group": "3_gitlens@1"
  3348. },
  3349. {
  3350. "command": "gitlens.explorers.openFileRevision",
  3351. "when": "viewItem =~ /gitlens:file\\b/",
  3352. "group": "3_gitlens@2"
  3353. },
  3354. {
  3355. "command": "gitlens.openFileInRemote",
  3356. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3357. "group": "4_gitlens@1"
  3358. },
  3359. {
  3360. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3361. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3362. "group": "5_gitlens@3"
  3363. },
  3364. {
  3365. "command": "gitlens.explorers.openFileRevisionInRemote",
  3366. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3367. "group": "4_gitlens@2"
  3368. },
  3369. {
  3370. "command": "gitlens.openFileInRemote",
  3371. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3372. "group": "3_gitlens@2"
  3373. },
  3374. {
  3375. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3376. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3377. "group": "5_gitlens@3"
  3378. },
  3379. {
  3380. "command": "gitlens.showQuickFileHistory",
  3381. "when": "viewItem =~ /gitlens:file\\b/",
  3382. "group": "8_gitlens@1"
  3383. },
  3384. {
  3385. "command": "gitlens.showQuickCommitDetails",
  3386. "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
  3387. "group": "8_gitlens@2"
  3388. },
  3389. {
  3390. "command": "gitlens.explorers.applyChanges",
  3391. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  3392. "group": "5_gitlens_1@1"
  3393. },
  3394. {
  3395. "command": "gitlens.explorers.applyChanges",
  3396. "when": "viewItem == gitlens:file:stash",
  3397. "group": "1_gitlens@1"
  3398. },
  3399. {
  3400. "command": "gitlens.openBranchesInRemote",
  3401. "when": "viewItem == gitlens:remote",
  3402. "group": "1_gitlens@1"
  3403. },
  3404. {
  3405. "command": "gitlens.openRepoInRemote",
  3406. "when": "viewItem == gitlens:remote",
  3407. "group": "1_gitlens@2"
  3408. },
  3409. {
  3410. "command": "gitlens.explorers.terminalRemoveRemote",
  3411. "when": "viewItem == gitlens:remote",
  3412. "group": "8_gitlens@1"
  3413. },
  3414. {
  3415. "command": "gitlens.explorers.exploreRepoRevision",
  3416. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results)|stash|tag)\\b/",
  3417. "group": "7_gitlens_more@1"
  3418. },
  3419. {
  3420. "command": "gitlens.explorers.push",
  3421. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3422. "group": "inline@97"
  3423. },
  3424. {
  3425. "command": "gitlens.explorers.pull",
  3426. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3427. "group": "inline@98"
  3428. },
  3429. {
  3430. "command": "gitlens.explorers.fetch",
  3431. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3432. "group": "inline@99"
  3433. },
  3434. {
  3435. "command": "gitlens.explorers.fetch",
  3436. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3437. "group": "1_gitlens@1"
  3438. },
  3439. {
  3440. "command": "gitlens.explorers.pull",
  3441. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3442. "group": "1_gitlens@2"
  3443. },
  3444. {
  3445. "command": "gitlens.explorers.push",
  3446. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3447. "group": "1_gitlens@3"
  3448. },
  3449. {
  3450. "command": "gitlens.showCommitSearch",
  3451. "when": "viewItem == gitlens:repository",
  3452. "group": "2_gitlens@1"
  3453. },
  3454. {
  3455. "command": "gitlens.stashSave",
  3456. "when": "viewItem == gitlens:repository",
  3457. "group": "3_gitlens@1"
  3458. },
  3459. {
  3460. "command": "gitlens.stashApply",
  3461. "when": "viewItem == gitlens:repository",
  3462. "group": "3_gitlens@2"
  3463. },
  3464. {
  3465. "command": "gitlens.openRepoInRemote",
  3466. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3467. "group": "4_gitlens@1"
  3468. },
  3469. {
  3470. "command": "gitlens.explorers.closeRepository",
  3471. "when": "viewItem == gitlens:repository",
  3472. "group": "8_gitlens@1"
  3473. },
  3474. {
  3475. "command": "gitlens.resultsExplorer.swapComparision",
  3476. "when": "viewItem == gitlens:results:comparison",
  3477. "group": "inline@1"
  3478. },
  3479. {
  3480. "command": "gitlens.resultsExplorer.dismissNode",
  3481. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3482. "group": "inline@2"
  3483. },
  3484. {
  3485. "command": "gitlens.resultsExplorer.dismissNode",
  3486. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3487. "group": "1_gitlens@1"
  3488. },
  3489. {
  3490. "command": "gitlens.resultsExplorer.swapComparision",
  3491. "when": "viewItem == gitlens:results:comparison",
  3492. "group": "2_gitlens@1"
  3493. },
  3494. {
  3495. "command": "gitlens.explorers.openDirectoryDiff",
  3496. "when": "viewItem == gitlens:results:comparison",
  3497. "group": "7_gitlens@1"
  3498. },
  3499. {
  3500. "command": "gitlens.stashSave",
  3501. "when": "viewItem == gitlens:stashes",
  3502. "group": "inline@1"
  3503. },
  3504. {
  3505. "command": "gitlens.stashSave",
  3506. "when": "viewItem == gitlens:stashes",
  3507. "group": "1_gitlens@1"
  3508. },
  3509. {
  3510. "command": "gitlens.stashApply",
  3511. "when": "viewItem == gitlens:stashes",
  3512. "group": "1_gitlens@2"
  3513. },
  3514. {
  3515. "command": "gitlens.stashApply",
  3516. "when": "viewItem == gitlens:stash",
  3517. "group": "inline@1"
  3518. },
  3519. {
  3520. "command": "gitlens.stashApply",
  3521. "when": "viewItem == gitlens:stash",
  3522. "group": "1_gitlens@1"
  3523. },
  3524. {
  3525. "command": "gitlens.stashDelete",
  3526. "when": "viewItem == gitlens:stash",
  3527. "group": "1_gitlens@2"
  3528. },
  3529. {
  3530. "command": "gitlens.explorers.terminalDeleteTag",
  3531. "when": "viewItem == gitlens:tag",
  3532. "group": "8_gitlens"
  3533. },
  3534. {
  3535. "command": "gitlens.repositoriesExplorer.refreshNode",
  3536. "when": "view =~ /^gitlens.repositoriesExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3537. "group": "9_gitlens@1"
  3538. },
  3539. {
  3540. "command": "gitlens.resultsExplorer.refreshNode",
  3541. "when": "view =~ /^gitlens.resultsExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3542. "group": "9_gitlens@1"
  3543. },
  3544. {
  3545. "command": "gitlens.fileHistoryExplorer.refreshNode",
  3546. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3547. "group": "9_gitlens@1"
  3548. },
  3549. {
  3550. "command": "gitlens.lineHistoryExplorer.refreshNode",
  3551. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3552. "group": "9_gitlens@1"
  3553. }
  3554. ]
  3555. },
  3556. "keybindings": [
  3557. {
  3558. "command": "gitlens.key.left",
  3559. "key": "alt+left",
  3560. "when": "gitlens:key:left"
  3561. },
  3562. {
  3563. "command": "gitlens.key.right",
  3564. "key": "alt+right",
  3565. "when": "gitlens:key:right"
  3566. },
  3567. {
  3568. "command": "gitlens.key.,",
  3569. "key": "alt+,",
  3570. "when": "gitlens:key:,"
  3571. },
  3572. {
  3573. "command": "gitlens.key..",
  3574. "key": "alt+.",
  3575. "when": "gitlens:key:."
  3576. },
  3577. {
  3578. "command": "gitlens.key.escape",
  3579. "key": "escape",
  3580. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3581. },
  3582. {
  3583. "command": "gitlens.toggleFileBlame",
  3584. "key": "alt+b",
  3585. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3586. },
  3587. {
  3588. "command": "gitlens.toggleCodeLens",
  3589. "key": "shift+alt+b",
  3590. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3591. },
  3592. {
  3593. "command": "gitlens.showLastQuickPick",
  3594. "key": "alt+-",
  3595. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3596. },
  3597. {
  3598. "command": "gitlens.showCommitSearch",
  3599. "key": "alt+/",
  3600. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3601. },
  3602. {
  3603. "command": "gitlens.showQuickFileHistory",
  3604. "key": "alt+h",
  3605. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3606. },
  3607. {
  3608. "command": "gitlens.showQuickRepoHistory",
  3609. "key": "shift+alt+h",
  3610. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3611. },
  3612. {
  3613. "command": "gitlens.showQuickRepoStatus",
  3614. "key": "alt+s",
  3615. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3616. },
  3617. {
  3618. "command": "gitlens.showQuickCommitFileDetails",
  3619. "key": "alt+c",
  3620. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  3621. },
  3622. {
  3623. "command": "gitlens.diffWithNext",
  3624. "key": "alt+.",
  3625. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3626. },
  3627. {
  3628. "command": "gitlens.diffLineWithPrevious",
  3629. "key": "shift+alt+,",
  3630. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3631. },
  3632. {
  3633. "command": "gitlens.diffWithPrevious",
  3634. "key": "alt+,",
  3635. "when": "gitlens:keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3636. },
  3637. {
  3638. "command": "gitlens.diffWithPreviousInDiff",
  3639. "key": "alt+,",
  3640. "when": "gitlens:keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3641. },
  3642. {
  3643. "command": "gitlens.diffLineWithWorking",
  3644. "key": "alt+w",
  3645. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3646. },
  3647. {
  3648. "command": "gitlens.diffWithWorking",
  3649. "key": "shift+alt+w",
  3650. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3651. },
  3652. {
  3653. "command": "gitlens.toggleFileBlame",
  3654. "key": "ctrl+shift+g b",
  3655. "mac": "cmd+alt+g b",
  3656. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3657. },
  3658. {
  3659. "command": "gitlens.toggleCodeLens",
  3660. "key": "ctrl+shift+g shift+b",
  3661. "mac": "cmd+alt+g shift+b",
  3662. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3663. },
  3664. {
  3665. "command": "gitlens.showLastQuickPick",
  3666. "key": "ctrl+shift+g -",
  3667. "mac": "cmd+alt+g -",
  3668. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3669. },
  3670. {
  3671. "command": "gitlens.showCommitSearch",
  3672. "key": "ctrl+shift+g /",
  3673. "mac": "cmd+alt+g /",
  3674. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3675. },
  3676. {
  3677. "command": "gitlens.showQuickFileHistory",
  3678. "key": "ctrl+shift+g h",
  3679. "mac": "cmd+alt+g h",
  3680. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3681. },
  3682. {
  3683. "command": "gitlens.showQuickRepoHistory",
  3684. "key": "ctrl+shift+g shift+h",
  3685. "mac": "cmd+alt+g shift+h",
  3686. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3687. },
  3688. {
  3689. "command": "gitlens.showQuickRepoStatus",
  3690. "key": "ctrl+shift+g s",
  3691. "mac": "cmd+alt+g s",
  3692. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3693. },
  3694. {
  3695. "command": "gitlens.showQuickCommitFileDetails",
  3696. "key": "ctrl+shift+g c",
  3697. "mac": "cmd+alt+g c",
  3698. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3699. },
  3700. {
  3701. "command": "gitlens.diffWithNext",
  3702. "key": "ctrl+shift+g .",
  3703. "mac": "cmd+alt+g .",
  3704. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3705. },
  3706. {
  3707. "command": "gitlens.diffLineWithPrevious",
  3708. "key": "ctrl+shift+g shift+,",
  3709. "mac": "cmd+alt+g shift+,",
  3710. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3711. },
  3712. {
  3713. "command": "gitlens.diffWithPrevious",
  3714. "key": "ctrl+shift+g ,",
  3715. "mac": "cmd+alt+g ,",
  3716. "when": "gitlens:keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3717. },
  3718. {
  3719. "command": "gitlens.diffWithPreviousInDiff",
  3720. "key": "ctrl+shift+g ,",
  3721. "mac": "cmd+alt+g ,",
  3722. "when": "gitlens:keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3723. },
  3724. {
  3725. "command": "gitlens.diffLineWithWorking",
  3726. "key": "ctrl+shift+g w",
  3727. "mac": "cmd+alt+g w",
  3728. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3729. },
  3730. {
  3731. "command": "gitlens.diffWithWorking",
  3732. "key": "ctrl+shift+g shift+w",
  3733. "mac": "cmd+alt+g shift+w",
  3734. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3735. },
  3736. {
  3737. "command": "workbench.view.scm",
  3738. "key": "ctrl+shift+g g",
  3739. "mac": "ctrl+shift+g",
  3740. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3741. }
  3742. ],
  3743. "viewsContainers": {
  3744. "activitybar": [
  3745. {
  3746. "id": "gitlens",
  3747. "title": "GitLens",
  3748. "icon": "images/gitlens-activitybar.svg"
  3749. }
  3750. ]
  3751. },
  3752. "views": {
  3753. "gitlens": [
  3754. {
  3755. "id": "gitlens.repositoriesExplorer:gitlens",
  3756. "name": "Repositories",
  3757. "when": "gitlens:enabled && gitlens:repositoriesExplorer == gitlens"
  3758. },
  3759. {
  3760. "id": "gitlens.fileHistoryExplorer:gitlens",
  3761. "name": "File History",
  3762. "when": "gitlens:enabled && gitlens:fileHistoryExplorer == gitlens"
  3763. },
  3764. {
  3765. "id": "gitlens.lineHistoryExplorer:gitlens",
  3766. "name": "Line History",
  3767. "when": "gitlens:enabled && gitlens:lineHistoryExplorer == gitlens"
  3768. },
  3769. {
  3770. "id": "gitlens.resultsExplorer:gitlens",
  3771. "name": "Results",
  3772. "when": "gitlens:enabled && gitlens:resultsExplorer == gitlens"
  3773. }
  3774. ],
  3775. "explorer": [
  3776. {
  3777. "id": "gitlens.repositoriesExplorer:explorer",
  3778. "name": "GitLens Repositories",
  3779. "when": "gitlens:enabled && gitlens:repositoriesExplorer == explorer"
  3780. },
  3781. {
  3782. "id": "gitlens.fileHistoryExplorer:explorer",
  3783. "name": "GitLens File History",
  3784. "when": "gitlens:enabled && gitlens:fileHistoryExplorer == explorer"
  3785. },
  3786. {
  3787. "id": "gitlens.lineHistoryExplorer:explorer",
  3788. "name": "GitLens Line History",
  3789. "when": "gitlens:enabled && gitlens:lineHistoryExplorer == explorer"
  3790. },
  3791. {
  3792. "id": "gitlens.resultsExplorer:explorer",
  3793. "name": "GitLens Results",
  3794. "when": "gitlens:enabled && gitlens:resultsExplorer == explorer"
  3795. }
  3796. ],
  3797. "scm": [
  3798. {
  3799. "id": "gitlens.repositoriesExplorer:scm",
  3800. "name": "GitLens Repositories",
  3801. "when": "gitlens:enabled && gitlens:repositoriesExplorer == scm"
  3802. },
  3803. {
  3804. "id": "gitlens.fileHistoryExplorer:scm",
  3805. "name": "GitLens File History",
  3806. "when": "gitlens:enabled && gitlens:fileHistoryExplorer == scm"
  3807. },
  3808. {
  3809. "id": "gitlens.lineHistoryExplorer:scm",
  3810. "name": "GitLens Line History",
  3811. "when": "gitlens:enabled && gitlens:lineHistoryExplorer == scm"
  3812. },
  3813. {
  3814. "id": "gitlens.resultsExplorer:scm",
  3815. "name": "GitLens Results",
  3816. "when": "gitlens:enabled && gitlens:resultsExplorer == scm"
  3817. }
  3818. ]
  3819. }
  3820. },
  3821. "scripts": {
  3822. "build": "webpack --env.development",
  3823. "bundle": "webpack --env.production",
  3824. "clean": "git clean -Xdf -e !.cache-images",
  3825. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  3826. "pack": "vsce package",
  3827. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  3828. "pub": "vsce publish",
  3829. "rebuild": "npm run reset && npm run build",
  3830. "reset": "npm run clean && npm install --no-save",
  3831. "watch": "webpack --watch --env.development --info-verbosity verbose",
  3832. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  3833. "ui:watch": "webpack --watch --config-name ui --env.development --info-verbosity verbose",
  3834. "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
  3835. "postinstall": "node ./node_modules/vscode/bin/install",
  3836. "vscode:prepublish": "npm run reset && npm run bundle"
  3837. },
  3838. "dependencies": {
  3839. "clipboardy": "1.2.3",
  3840. "date-fns": "1.29.0",
  3841. "iconv-lite": "0.4.24",
  3842. "lodash.debounce": "4.0.8",
  3843. "lodash.once": "4.1.1",
  3844. "tslib": "1.9.3"
  3845. },
  3846. "devDependencies": {
  3847. "@types/clipboardy": "1.1.0",
  3848. "@types/node": "8.10.30",
  3849. "clean-webpack-plugin": "0.1.19",
  3850. "css-loader": "1.0.0",
  3851. "filemanager-webpack-plugin": "2.0.5",
  3852. "html-webpack-inline-source-plugin": "0.0.10",
  3853. "html-webpack-plugin": "3.2.0",
  3854. "imagemin-webpack-plugin": "2.3.0",
  3855. "mini-css-extract-plugin": "0.4.3",
  3856. "node-sass": "4.9.3",
  3857. "prettier": "1.14.3",
  3858. "prettier-tslint": "0.4.0",
  3859. "sass-loader": "7.1.0",
  3860. "size-plugin": "1.0.1",
  3861. "tslint": "5.11.0",
  3862. "tslint-loader": "3.6.0",
  3863. "tslint-prettiest": "0.0.1",
  3864. "ts-loader": "5.2.1",
  3865. "typescript": "3.1.1",
  3866. "vscode": "1.1.21",
  3867. "webpack": "4.20.2",
  3868. "webpack-cli": "3.1.2",
  3869. "webpack-deep-scope-plugin": "1.6.0"
  3870. }
  3871. }