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

3698 行
163 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 on 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 on 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 on 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/git-icon.svg",
  1625. "light": "images/light/git-icon.svg"
  1626. }
  1627. },
  1628. {
  1629. "command": "gitlens.clearFileAnnotations",
  1630. "title": "Clear File Annotations",
  1631. "category": "GitLens",
  1632. "icon": {
  1633. "dark": "images/dark/git-icon-orange.svg",
  1634. "light": "images/light/git-icon-orange.svg"
  1635. }
  1636. },
  1637. {
  1638. "command": "gitlens.computingFileAnnotations",
  1639. "title": "Computing File Annotations...",
  1640. "category": "GitLens",
  1641. "icon": {
  1642. "dark": "images/dark/git-icon-progress.svg",
  1643. "light": "images/light/git-icon-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/git-icon.svg",
  1657. "light": "images/light/git-icon.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 in Remote",
  1762. "category": "GitLens"
  1763. },
  1764. {
  1765. "command": "gitlens.openBranchInRemote",
  1766. "title": "Open Branch in Remote",
  1767. "category": "GitLens"
  1768. },
  1769. {
  1770. "command": "gitlens.openCommitInRemote",
  1771. "title": "Open Commit in Remote",
  1772. "category": "GitLens"
  1773. },
  1774. {
  1775. "command": "gitlens.openFileInRemote",
  1776. "title": "Open File in 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 in 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. },
  1803. {
  1804. "command": "gitlens.stashDelete",
  1805. "title": "Delete Stashed Changes",
  1806. "category": "GitLens"
  1807. },
  1808. {
  1809. "command": "gitlens.stashSave",
  1810. "title": "Stash Changes",
  1811. "category": "GitLens",
  1812. "icon": {
  1813. "dark": "images/dark/icon-add.svg",
  1814. "light": "images/light/icon-add.svg"
  1815. }
  1816. },
  1817. {
  1818. "command": "gitlens.externalDiff",
  1819. "title": "Open Changes (with difftool)",
  1820. "category": "GitLens"
  1821. },
  1822. {
  1823. "command": "gitlens.externalDiffAll",
  1824. "title": "Open All Changes (with difftool)",
  1825. "category": "GitLens"
  1826. },
  1827. {
  1828. "command": "gitlens.resetSuppressedWarnings",
  1829. "title": "Reset Suppressed Warnings",
  1830. "category": "GitLens"
  1831. },
  1832. {
  1833. "command": "gitlens.explorers.exploreRepoRevision",
  1834. "title": "Explore the Repository from Here",
  1835. "category": "GitLens"
  1836. },
  1837. {
  1838. "command": "gitlens.repositoriesExplorer.fetchAll",
  1839. "title": "Fetch Repositories",
  1840. "category": "GitLens",
  1841. "icon": {
  1842. "dark": "images/dark/icon-sync.svg",
  1843. "light": "images/light/icon-sync.svg"
  1844. }
  1845. },
  1846. {
  1847. "command": "gitlens.repositoriesExplorer.pullAll",
  1848. "title": "Pull Repositories",
  1849. "category": "GitLens",
  1850. "icon": {
  1851. "dark": "images/dark/icon-pull.svg",
  1852. "light": "images/light/icon-pull.svg"
  1853. }
  1854. },
  1855. {
  1856. "command": "gitlens.explorers.fetch",
  1857. "title": "Fetch Repository",
  1858. "category": "GitLens",
  1859. "icon": {
  1860. "dark": "images/dark/icon-sync.svg",
  1861. "light": "images/light/icon-sync.svg"
  1862. }
  1863. },
  1864. {
  1865. "command": "gitlens.explorers.pull",
  1866. "title": "Pull Repository",
  1867. "category": "GitLens",
  1868. "icon": {
  1869. "dark": "images/dark/icon-pull.svg",
  1870. "light": "images/light/icon-pull.svg"
  1871. }
  1872. },
  1873. {
  1874. "command": "gitlens.explorers.push",
  1875. "title": "Push Repository",
  1876. "category": "GitLens",
  1877. "icon": {
  1878. "dark": "images/dark/icon-push.svg",
  1879. "light": "images/light/icon-push.svg"
  1880. }
  1881. },
  1882. {
  1883. "command": "gitlens.explorers.openDirectoryDiff",
  1884. "title": "Open Directory Compare",
  1885. "category": "GitLens"
  1886. },
  1887. {
  1888. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1889. "title": "Open Directory Compare with Working Tree",
  1890. "category": "GitLens"
  1891. },
  1892. {
  1893. "command": "gitlens.explorers.openChanges",
  1894. "title": "Open Changes",
  1895. "category": "GitLens"
  1896. },
  1897. {
  1898. "command": "gitlens.explorers.openChangesWithWorking",
  1899. "title": "Open Changes with Working File",
  1900. "category": "GitLens"
  1901. },
  1902. {
  1903. "command": "gitlens.explorers.openFile",
  1904. "title": "Open File",
  1905. "category": "GitLens",
  1906. "icon": {
  1907. "dark": "images/dark/icon-open-file.svg",
  1908. "light": "images/light/icon-open-file.svg"
  1909. }
  1910. },
  1911. {
  1912. "command": "gitlens.explorers.openFileRevision",
  1913. "title": "Open Revision",
  1914. "category": "GitLens"
  1915. },
  1916. {
  1917. "command": "gitlens.explorers.openFileRevisionInRemote",
  1918. "title": "Open Revision in Remote",
  1919. "category": "GitLens"
  1920. },
  1921. {
  1922. "command": "gitlens.explorers.openChangedFiles",
  1923. "title": "Open Files",
  1924. "category": "GitLens"
  1925. },
  1926. {
  1927. "command": "gitlens.explorers.openChangedFileChanges",
  1928. "title": "Open All Changes",
  1929. "category": "GitLens"
  1930. },
  1931. {
  1932. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1933. "title": "Open All Changes with Working Tree",
  1934. "category": "GitLens"
  1935. },
  1936. {
  1937. "command": "gitlens.explorers.openChangedFileRevisions",
  1938. "title": "Open Revisions",
  1939. "category": "GitLens"
  1940. },
  1941. {
  1942. "command": "gitlens.explorers.applyChanges",
  1943. "title": "Apply Changes",
  1944. "category": "GitLens"
  1945. },
  1946. {
  1947. "command": "gitlens.explorers.closeRepository",
  1948. "title": "Close Repository",
  1949. "category": "GitLens"
  1950. },
  1951. {
  1952. "command": "gitlens.explorers.compareAncestryWithWorking",
  1953. "title": "Compare Ancestry with Working Tree",
  1954. "category": "GitLens"
  1955. },
  1956. {
  1957. "command": "gitlens.explorers.compareWithHead",
  1958. "title": "Compare with HEAD",
  1959. "category": "GitLens"
  1960. },
  1961. {
  1962. "command": "gitlens.explorers.compareWithRemote",
  1963. "title": "Compare with Remote",
  1964. "category": "GitLens"
  1965. },
  1966. {
  1967. "command": "gitlens.explorers.compareWithSelected",
  1968. "title": "Compare with Selected",
  1969. "category": "GitLens"
  1970. },
  1971. {
  1972. "command": "gitlens.explorers.compareWithWorking",
  1973. "title": "Compare with Working Tree",
  1974. "category": "GitLens"
  1975. },
  1976. {
  1977. "command": "gitlens.explorers.selectForCompare",
  1978. "title": "Select for Compare",
  1979. "category": "GitLens"
  1980. },
  1981. {
  1982. "command": "gitlens.explorers.terminalCheckoutBranch",
  1983. "title": "Checkout Branch (via Terminal)",
  1984. "category": "GitLens"
  1985. },
  1986. {
  1987. "command": "gitlens.explorers.terminalCreateBranch",
  1988. "title": "Create Branch (via Terminal)...",
  1989. "category": "GitLens"
  1990. },
  1991. {
  1992. "command": "gitlens.explorers.terminalDeleteBranch",
  1993. "title": "Delete Branch (via Terminal)",
  1994. "category": "GitLens"
  1995. },
  1996. {
  1997. "command": "gitlens.explorers.terminalMergeBranch",
  1998. "title": "Merge Branch (via Terminal)",
  1999. "category": "GitLens"
  2000. },
  2001. {
  2002. "command": "gitlens.explorers.terminalRebaseBranch",
  2003. "title": "Rebase (Interactive) Branch (via Terminal)",
  2004. "category": "GitLens"
  2005. },
  2006. {
  2007. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2008. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  2009. "category": "GitLens"
  2010. },
  2011. {
  2012. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2013. "title": "Squash Branch into Commit (via Terminal)",
  2014. "category": "GitLens"
  2015. },
  2016. {
  2017. "command": "gitlens.explorers.terminalCheckoutCommit",
  2018. "title": "Checkout Commit (via Terminal)",
  2019. "category": "GitLens"
  2020. },
  2021. {
  2022. "command": "gitlens.explorers.terminalCherryPickCommit",
  2023. "title": "Cherry Pick Commit (via Terminal)",
  2024. "category": "GitLens"
  2025. },
  2026. {
  2027. "command": "gitlens.explorers.terminalPushCommit",
  2028. "title": "Push to Commit (via Terminal)",
  2029. "category": "GitLens"
  2030. },
  2031. {
  2032. "command": "gitlens.explorers.terminalRebaseCommit",
  2033. "title": "Rebase to Commit (via Terminal)",
  2034. "category": "GitLens"
  2035. },
  2036. {
  2037. "command": "gitlens.explorers.terminalResetCommit",
  2038. "title": "Reset to Commit (via Terminal)",
  2039. "category": "GitLens"
  2040. },
  2041. {
  2042. "command": "gitlens.explorers.terminalRevertCommit",
  2043. "title": "Revert Commit (via Terminal)",
  2044. "category": "GitLens"
  2045. },
  2046. {
  2047. "command": "gitlens.explorers.terminalRemoveRemote",
  2048. "title": "Remove Remote (via Terminal)",
  2049. "category": "GitLens"
  2050. },
  2051. {
  2052. "command": "gitlens.explorers.terminalCreateTag",
  2053. "title": "Create Tag (via Terminal)...",
  2054. "category": "GitLens"
  2055. },
  2056. {
  2057. "command": "gitlens.explorers.terminalDeleteTag",
  2058. "title": "Delete Tag (via Terminal)",
  2059. "category": "GitLens"
  2060. },
  2061. {
  2062. "command": "gitlens.repositoriesExplorer.refresh",
  2063. "title": "Refresh",
  2064. "category": "GitLens",
  2065. "icon": {
  2066. "dark": "images/dark/icon-refresh.svg",
  2067. "light": "images/light/icon-refresh.svg"
  2068. }
  2069. },
  2070. {
  2071. "command": "gitlens.repositoriesExplorer.refreshNode",
  2072. "title": "Refresh",
  2073. "category": "GitLens"
  2074. },
  2075. {
  2076. "command": "gitlens.repositoriesExplorer.setFilesLayoutToAuto",
  2077. "title": "Automatic Layout",
  2078. "category": "GitLens"
  2079. },
  2080. {
  2081. "command": "gitlens.repositoriesExplorer.setFilesLayoutToList",
  2082. "title": "List Layout",
  2083. "category": "GitLens"
  2084. },
  2085. {
  2086. "command": "gitlens.repositoriesExplorer.setFilesLayoutToTree",
  2087. "title": "Tree Layout",
  2088. "category": "GitLens"
  2089. },
  2090. {
  2091. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOn",
  2092. "title": "Enable Automatic Refresh",
  2093. "category": "GitLens"
  2094. },
  2095. {
  2096. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOff",
  2097. "title": "Disable Automatic Refresh",
  2098. "category": "GitLens"
  2099. },
  2100. {
  2101. "command": "gitlens.fileHistoryExplorer.refresh",
  2102. "title": "Refresh",
  2103. "category": "GitLens",
  2104. "icon": {
  2105. "dark": "images/dark/icon-refresh.svg",
  2106. "light": "images/light/icon-refresh.svg"
  2107. }
  2108. },
  2109. {
  2110. "command": "gitlens.fileHistoryExplorer.refreshNode",
  2111. "title": "Refresh",
  2112. "category": "GitLens"
  2113. },
  2114. {
  2115. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOn",
  2116. "title": "Follow Renames",
  2117. "category": "GitLens"
  2118. },
  2119. {
  2120. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOff",
  2121. "title": "Don't Follow Renames",
  2122. "category": "GitLens"
  2123. },
  2124. {
  2125. "command": "gitlens.lineHistoryExplorer.refresh",
  2126. "title": "Refresh",
  2127. "category": "GitLens",
  2128. "icon": {
  2129. "dark": "images/dark/icon-refresh.svg",
  2130. "light": "images/light/icon-refresh.svg"
  2131. }
  2132. },
  2133. {
  2134. "command": "gitlens.lineHistoryExplorer.refreshNode",
  2135. "title": "Refresh",
  2136. "category": "GitLens"
  2137. },
  2138. {
  2139. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOn",
  2140. "title": "Follow Renames",
  2141. "category": "GitLens"
  2142. },
  2143. {
  2144. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOff",
  2145. "title": "Don't Follow Renames",
  2146. "category": "GitLens"
  2147. },
  2148. {
  2149. "command": "gitlens.resultsExplorer.close",
  2150. "title": "Close",
  2151. "category": "GitLens",
  2152. "icon": {
  2153. "dark": "images/dark/icon-close.svg",
  2154. "light": "images/light/icon-close.svg"
  2155. }
  2156. },
  2157. {
  2158. "command": "gitlens.resultsExplorer.dismissNode",
  2159. "title": "Dismiss",
  2160. "category": "GitLens",
  2161. "icon": {
  2162. "dark": "images/dark/icon-close-small.svg",
  2163. "light": "images/light/icon-close-small.svg"
  2164. }
  2165. },
  2166. {
  2167. "command": "gitlens.resultsExplorer.refresh",
  2168. "title": "Refresh",
  2169. "category": "GitLens",
  2170. "icon": {
  2171. "dark": "images/dark/icon-refresh.svg",
  2172. "light": "images/light/icon-refresh.svg"
  2173. }
  2174. },
  2175. {
  2176. "command": "gitlens.resultsExplorer.refreshNode",
  2177. "title": "Refresh",
  2178. "category": "GitLens"
  2179. },
  2180. {
  2181. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2182. "title": "Automatic Layout",
  2183. "category": "GitLens"
  2184. },
  2185. {
  2186. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2187. "title": "List Layout",
  2188. "category": "GitLens"
  2189. },
  2190. {
  2191. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2192. "title": "Tree Layout",
  2193. "category": "GitLens"
  2194. },
  2195. {
  2196. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2197. "title": "Keep Results",
  2198. "category": "GitLens",
  2199. "icon": {
  2200. "dark": "images/dark/icon-lock.svg",
  2201. "light": "images/light/icon-lock.svg"
  2202. }
  2203. },
  2204. {
  2205. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2206. "title": "Keep Results",
  2207. "category": "GitLens",
  2208. "icon": {
  2209. "dark": "images/dark/icon-locked.svg",
  2210. "light": "images/light/icon-locked.svg"
  2211. }
  2212. },
  2213. {
  2214. "command": "gitlens.resultsExplorer.swapComparision",
  2215. "title": "Swap Comparision",
  2216. "category": "GitLens",
  2217. "icon": {
  2218. "dark": "images/dark/icon-swap.svg",
  2219. "light": "images/light/icon-swap.svg"
  2220. }
  2221. }
  2222. ],
  2223. "menus": {
  2224. "commandPalette": [
  2225. {
  2226. "command": "gitlens.showRepositoriesExplorer",
  2227. "when": "gitlens:enabled && gitlens:repositoriesExplorer"
  2228. },
  2229. {
  2230. "command": "gitlens.showFileHistoryExplorer",
  2231. "when": "gitlens:enabled && gitlens:fileHistoryExplorer"
  2232. },
  2233. {
  2234. "command": "gitlens.showLineHistoryExplorer",
  2235. "title": "Show Line History Explorer",
  2236. "when": "gitlens:enabled && gitlens:lineHistoryExplorer"
  2237. },
  2238. {
  2239. "command": "gitlens.showResultsExplorer",
  2240. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2241. },
  2242. {
  2243. "command": "gitlens.diffDirectory",
  2244. "when": "gitlens:enabled"
  2245. },
  2246. {
  2247. "command": "gitlens.diffHeadWithBranch",
  2248. "when": "gitlens:enabled"
  2249. },
  2250. {
  2251. "command": "gitlens.diffWorkingWithBranch",
  2252. "when": "gitlens:enabled"
  2253. },
  2254. {
  2255. "command": "gitlens.diffWithBranch",
  2256. "when": "gitlens:activeFileStatus =~ /tracked/"
  2257. },
  2258. {
  2259. "command": "gitlens.diffWithNext",
  2260. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2261. },
  2262. {
  2263. "command": "gitlens.diffWithPrevious",
  2264. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2265. },
  2266. {
  2267. "command": "gitlens.diffWithPreviousInDiff",
  2268. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2269. },
  2270. {
  2271. "command": "gitlens.diffLineWithPrevious",
  2272. "when": "gitlens:activeFileStatus =~ /blameable/"
  2273. },
  2274. {
  2275. "command": "gitlens.diffWithRevision",
  2276. "when": "gitlens:activeFileStatus =~ /tracked/"
  2277. },
  2278. {
  2279. "command": "gitlens.diffWithWorking",
  2280. "when": "gitlens:activeFileStatus =~ /tracked/"
  2281. },
  2282. {
  2283. "command": "gitlens.diffLineWithWorking",
  2284. "when": "gitlens:activeFileStatus =~ /blameable/"
  2285. },
  2286. {
  2287. "command": "gitlens.externalDiff",
  2288. "when": "gitlens:enabled"
  2289. },
  2290. {
  2291. "command": "gitlens.externalDiffAll",
  2292. "when": "gitlens:enabled"
  2293. },
  2294. {
  2295. "command": "gitlens.toggleFileBlame",
  2296. "when": "gitlens:activeFileStatus =~ /blameable/"
  2297. },
  2298. {
  2299. "command": "gitlens.clearFileAnnotations",
  2300. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2301. },
  2302. {
  2303. "command": "gitlens.computingFileAnnotations",
  2304. "when": "false"
  2305. },
  2306. {
  2307. "command": "gitlens.toggleFileHeatmap",
  2308. "when": "gitlens:activeFileStatus =~ /blameable/"
  2309. },
  2310. {
  2311. "command": "gitlens.toggleFileRecentChanges",
  2312. "when": "gitlens:activeFileStatus =~ /blameable/"
  2313. },
  2314. {
  2315. "command": "gitlens.toggleLineBlame",
  2316. "when": "gitlens:enabled"
  2317. },
  2318. {
  2319. "command": "gitlens.toggleCodeLens",
  2320. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2321. },
  2322. {
  2323. "command": "gitlens.switchMode",
  2324. "when": "gitlens:enabled"
  2325. },
  2326. {
  2327. "command": "gitlens.toggleReviewMode",
  2328. "when": "gitlens:enabled"
  2329. },
  2330. {
  2331. "command": "gitlens.toggleZenMode",
  2332. "when": "gitlens:enabled"
  2333. },
  2334. {
  2335. "command": "gitlens.showCommitSearch",
  2336. "when": "gitlens:enabled"
  2337. },
  2338. {
  2339. "command": "gitlens.showLastQuickPick",
  2340. "when": "gitlens:enabled"
  2341. },
  2342. {
  2343. "command": "gitlens.showQuickCommitDetails",
  2344. "when": "gitlens:activeFileStatus =~ /blameable/"
  2345. },
  2346. {
  2347. "command": "gitlens.showQuickCommitFileDetails",
  2348. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  2349. },
  2350. {
  2351. "command": "gitlens.showQuickFileHistory",
  2352. "when": "gitlens:activeFileStatus =~ /tracked/"
  2353. },
  2354. {
  2355. "command": "gitlens.showQuickBranchHistory",
  2356. "when": "gitlens:enabled"
  2357. },
  2358. {
  2359. "command": "gitlens.showQuickRepoHistory",
  2360. "when": "gitlens:enabled"
  2361. },
  2362. {
  2363. "command": "gitlens.showQuickRepoStatus",
  2364. "when": "gitlens:enabled"
  2365. },
  2366. {
  2367. "command": "gitlens.showQuickStashList",
  2368. "when": "gitlens:enabled"
  2369. },
  2370. {
  2371. "command": "gitlens.copyMessageToClipboard",
  2372. "when": "gitlens:activeFileStatus =~ /blameable/"
  2373. },
  2374. {
  2375. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2376. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2377. },
  2378. {
  2379. "command": "gitlens.copyShaToClipboard",
  2380. "when": "gitlens:activeFileStatus =~ /blameable/"
  2381. },
  2382. {
  2383. "command": "gitlens.closeUnchangedFiles",
  2384. "when": "gitlens:enabled"
  2385. },
  2386. {
  2387. "command": "gitlens.openChangedFiles",
  2388. "when": "gitlens:enabled"
  2389. },
  2390. {
  2391. "command": "gitlens.openBranchesInRemote",
  2392. "when": "gitlens:hasRemotes"
  2393. },
  2394. {
  2395. "command": "gitlens.openBranchInRemote",
  2396. "when": "gitlens:hasRemotes"
  2397. },
  2398. {
  2399. "command": "gitlens.openCommitInRemote",
  2400. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2401. },
  2402. {
  2403. "command": "gitlens.openFileInRemote",
  2404. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2405. },
  2406. {
  2407. "command": "gitlens.openFileRevision",
  2408. "when": "gitlens:activeFileStatus =~ /tracked/"
  2409. },
  2410. {
  2411. "command": "gitlens.openRepoInRemote",
  2412. "when": "gitlens:hasRemotes"
  2413. },
  2414. {
  2415. "command": "gitlens.openWorkingFile",
  2416. "when": "gitlens:activeFileStatus =~ /revision/"
  2417. },
  2418. {
  2419. "command": "gitlens.stashApply",
  2420. "when": "gitlens:enabled"
  2421. },
  2422. {
  2423. "command": "gitlens.stashDelete",
  2424. "when": "false"
  2425. },
  2426. {
  2427. "command": "gitlens.stashSave",
  2428. "when": "gitlens:enabled"
  2429. },
  2430. {
  2431. "command": "gitlens.resetSuppressedWarnings",
  2432. "when": "gitlens:enabled"
  2433. },
  2434. {
  2435. "command": "gitlens.explorers.exploreRepoRevision",
  2436. "when": "false"
  2437. },
  2438. {
  2439. "command": "gitlens.repositoriesExplorer.fetchAll",
  2440. "when": "false"
  2441. },
  2442. {
  2443. "command": "gitlens.repositoriesExplorer.pullAll",
  2444. "when": "false"
  2445. },
  2446. {
  2447. "command": "gitlens.explorers.fetch",
  2448. "when": "false"
  2449. },
  2450. {
  2451. "command": "gitlens.explorers.pull",
  2452. "when": "false"
  2453. },
  2454. {
  2455. "command": "gitlens.explorers.push",
  2456. "when": "false"
  2457. },
  2458. {
  2459. "command": "gitlens.explorers.openChanges",
  2460. "when": "false"
  2461. },
  2462. {
  2463. "command": "gitlens.explorers.openDirectoryDiff",
  2464. "when": "false"
  2465. },
  2466. {
  2467. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2468. "when": "false"
  2469. },
  2470. {
  2471. "command": "gitlens.explorers.openChangesWithWorking",
  2472. "when": "false"
  2473. },
  2474. {
  2475. "command": "gitlens.explorers.openFile",
  2476. "when": "false"
  2477. },
  2478. {
  2479. "command": "gitlens.explorers.openFileRevision",
  2480. "when": "false"
  2481. },
  2482. {
  2483. "command": "gitlens.explorers.openFileRevisionInRemote",
  2484. "when": "false"
  2485. },
  2486. {
  2487. "command": "gitlens.explorers.openChangedFiles",
  2488. "when": "false"
  2489. },
  2490. {
  2491. "command": "gitlens.explorers.openChangedFileChanges",
  2492. "when": "false"
  2493. },
  2494. {
  2495. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2496. "when": "false"
  2497. },
  2498. {
  2499. "command": "gitlens.explorers.openChangedFileRevisions",
  2500. "when": "false"
  2501. },
  2502. {
  2503. "command": "gitlens.explorers.applyChanges",
  2504. "when": "false"
  2505. },
  2506. {
  2507. "command": "gitlens.explorers.closeRepository",
  2508. "when": "false"
  2509. },
  2510. {
  2511. "command": "gitlens.explorers.compareAncestryWithWorking",
  2512. "when": "false"
  2513. },
  2514. {
  2515. "command": "gitlens.explorers.compareWithHead",
  2516. "when": "false"
  2517. },
  2518. {
  2519. "command": "gitlens.explorers.compareWithRemote",
  2520. "when": "false"
  2521. },
  2522. {
  2523. "command": "gitlens.explorers.compareWithSelected",
  2524. "when": "false"
  2525. },
  2526. {
  2527. "command": "gitlens.explorers.compareWithWorking",
  2528. "when": "false"
  2529. },
  2530. {
  2531. "command": "gitlens.explorers.selectForCompare",
  2532. "when": "false"
  2533. },
  2534. {
  2535. "command": "gitlens.explorers.terminalCheckoutBranch",
  2536. "when": "false"
  2537. },
  2538. {
  2539. "command": "gitlens.explorers.terminalCreateBranch",
  2540. "when": "false"
  2541. },
  2542. {
  2543. "command": "gitlens.explorers.terminalDeleteBranch",
  2544. "when": "false"
  2545. },
  2546. {
  2547. "command": "gitlens.explorers.terminalMergeBranch",
  2548. "when": "false"
  2549. },
  2550. {
  2551. "command": "gitlens.explorers.terminalRebaseBranch",
  2552. "when": "false"
  2553. },
  2554. {
  2555. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2556. "when": "false"
  2557. },
  2558. {
  2559. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2560. "when": "false"
  2561. },
  2562. {
  2563. "command": "gitlens.explorers.terminalCheckoutCommit",
  2564. "when": "false"
  2565. },
  2566. {
  2567. "command": "gitlens.explorers.terminalCherryPickCommit",
  2568. "when": "false"
  2569. },
  2570. {
  2571. "command": "gitlens.explorers.terminalPushCommit",
  2572. "when": "false"
  2573. },
  2574. {
  2575. "command": "gitlens.explorers.terminalRebaseCommit",
  2576. "when": "false"
  2577. },
  2578. {
  2579. "command": "gitlens.explorers.terminalResetCommit",
  2580. "when": "false"
  2581. },
  2582. {
  2583. "command": "gitlens.explorers.terminalRevertCommit",
  2584. "when": "false"
  2585. },
  2586. {
  2587. "command": "gitlens.explorers.terminalRemoveRemote",
  2588. "when": "false"
  2589. },
  2590. {
  2591. "command": "gitlens.explorers.terminalCreateTag",
  2592. "when": "false"
  2593. },
  2594. {
  2595. "command": "gitlens.explorers.terminalDeleteTag",
  2596. "when": "false"
  2597. },
  2598. {
  2599. "command": "gitlens.repositoriesExplorer.refresh",
  2600. "when": "false"
  2601. },
  2602. {
  2603. "command": "gitlens.repositoriesExplorer.refreshNode",
  2604. "when": "false"
  2605. },
  2606. {
  2607. "command": "gitlens.repositoriesExplorer.setFilesLayoutToAuto",
  2608. "when": "false"
  2609. },
  2610. {
  2611. "command": "gitlens.repositoriesExplorer.setFilesLayoutToList",
  2612. "when": "false"
  2613. },
  2614. {
  2615. "command": "gitlens.repositoriesExplorer.setFilesLayoutToTree",
  2616. "when": "false"
  2617. },
  2618. {
  2619. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOn",
  2620. "when": "false"
  2621. },
  2622. {
  2623. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOff",
  2624. "when": "false"
  2625. },
  2626. {
  2627. "command": "gitlens.fileHistoryExplorer.refresh",
  2628. "when": "false"
  2629. },
  2630. {
  2631. "command": "gitlens.fileHistoryExplorer.refreshNode",
  2632. "when": "false"
  2633. },
  2634. {
  2635. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOn",
  2636. "when": "false"
  2637. },
  2638. {
  2639. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOff",
  2640. "when": "false"
  2641. },
  2642. {
  2643. "command": "gitlens.lineHistoryExplorer.refresh",
  2644. "when": "false"
  2645. },
  2646. {
  2647. "command": "gitlens.lineHistoryExplorer.refreshNode",
  2648. "when": "false"
  2649. },
  2650. {
  2651. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOn",
  2652. "when": "false"
  2653. },
  2654. {
  2655. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOff",
  2656. "when": "false"
  2657. },
  2658. {
  2659. "command": "gitlens.resultsExplorer.close",
  2660. "when": "false"
  2661. },
  2662. {
  2663. "command": "gitlens.resultsExplorer.dismissNode",
  2664. "when": "false"
  2665. },
  2666. {
  2667. "command": "gitlens.resultsExplorer.refresh",
  2668. "when": "false"
  2669. },
  2670. {
  2671. "command": "gitlens.resultsExplorer.refreshNode",
  2672. "when": "false"
  2673. },
  2674. {
  2675. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2676. "when": "false"
  2677. },
  2678. {
  2679. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2680. "when": "false"
  2681. },
  2682. {
  2683. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2684. "when": "false"
  2685. },
  2686. {
  2687. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2688. "when": "false"
  2689. },
  2690. {
  2691. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2692. "when": "false"
  2693. },
  2694. {
  2695. "command": "gitlens.resultsExplorer.swapComparision",
  2696. "when": "false"
  2697. }
  2698. ],
  2699. "editor/context": [
  2700. {
  2701. "command": "gitlens.diffLineWithPrevious",
  2702. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2703. "group": "1_gitlens@1"
  2704. },
  2705. {
  2706. "command": "gitlens.diffLineWithWorking",
  2707. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2708. "group": "1_gitlens@2"
  2709. },
  2710. {
  2711. "command": "gitlens.openFileInRemote",
  2712. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2713. "group": "1_gitlens_1@1"
  2714. },
  2715. {
  2716. "command": "gitlens.openCommitInRemote",
  2717. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2718. "group": "1_gitlens_1@2"
  2719. },
  2720. {
  2721. "command": "gitlens.showQuickCommitFileDetails",
  2722. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  2723. "group": "1_gitlens_1@3"
  2724. },
  2725. {
  2726. "command": "gitlens.showQuickFileHistory",
  2727. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  2728. "group": "3_gitlens@1"
  2729. },
  2730. {
  2731. "command": "gitlens.toggleFileBlame",
  2732. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  2733. "group": "3_gitlens@2"
  2734. },
  2735. {
  2736. "command": "gitlens.copyShaToClipboard",
  2737. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2738. "group": "9_gitlens@1"
  2739. },
  2740. {
  2741. "command": "gitlens.copyMessageToClipboard",
  2742. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2743. "group": "9_gitlens@2"
  2744. },
  2745. {
  2746. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2747. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  2748. "group": "9_gitlens@3"
  2749. }
  2750. ],
  2751. "editor/title": [
  2752. {
  2753. "command": "gitlens.diffWithWorking",
  2754. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  2755. "group": "navigation@0"
  2756. },
  2757. {
  2758. "command": "gitlens.openWorkingFile",
  2759. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  2760. "group": "navigation@0"
  2761. },
  2762. {
  2763. "command": "gitlens.openWorkingFile",
  2764. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && isInDiffEditor",
  2765. "group": "navigation@0"
  2766. },
  2767. {
  2768. "command": "gitlens.openWorkingFile",
  2769. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  2770. "group": "navigation@0"
  2771. },
  2772. {
  2773. "command": "gitlens.diffWithPrevious",
  2774. "alt": "gitlens.diffWithRevision",
  2775. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2776. "group": "navigation@98"
  2777. },
  2778. {
  2779. "command": "gitlens.diffWithPreviousInDiff",
  2780. "alt": "gitlens.diffWithRevision",
  2781. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2782. "group": "navigation@98"
  2783. },
  2784. {
  2785. "command": "gitlens.diffWithNext",
  2786. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  2787. "group": "navigation@99"
  2788. },
  2789. {
  2790. "command": "gitlens.toggleFileBlame",
  2791. "alt": "gitlens.toggleFileRecentChanges",
  2792. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  2793. "group": "navigation@100"
  2794. },
  2795. {
  2796. "command": "gitlens.computingFileAnnotations",
  2797. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  2798. "group": "navigation@100"
  2799. },
  2800. {
  2801. "command": "gitlens.clearFileAnnotations",
  2802. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  2803. "group": "navigation@100"
  2804. },
  2805. {
  2806. "command": "gitlens.openFileInRemote",
  2807. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  2808. "group": "4_gitlens"
  2809. },
  2810. {
  2811. "command": "gitlens.showQuickFileHistory",
  2812. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  2813. "group": "4_gitlens"
  2814. }
  2815. ],
  2816. "editor/title/context": [
  2817. {
  2818. "command": "gitlens.openFileInRemote",
  2819. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2820. "group": "2_files@100"
  2821. },
  2822. {
  2823. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2824. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2825. "group": "2_files@101"
  2826. },
  2827. {
  2828. "command": "gitlens.diffWithPrevious",
  2829. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2830. "group": "1_gitlens_1@1"
  2831. },
  2832. {
  2833. "command": "gitlens.diffWithWorking",
  2834. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2835. "group": "1_gitlens_1@2"
  2836. },
  2837. {
  2838. "command": "gitlens.showQuickFileHistory",
  2839. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  2840. "group": "1_gitlens_2@1"
  2841. }
  2842. ],
  2843. "explorer/context": [
  2844. {
  2845. "command": "gitlens.openFileInRemote",
  2846. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2847. "group": "navigation@100"
  2848. },
  2849. {
  2850. "command": "gitlens.showQuickFileHistory",
  2851. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  2852. "group": "1_gitlens_1@1"
  2853. },
  2854. {
  2855. "command": "gitlens.diffWithPrevious",
  2856. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  2857. "group": "3_compare@1"
  2858. },
  2859. {
  2860. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2861. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2862. "group": "9_gitlens@1"
  2863. }
  2864. ],
  2865. "scm/resourceGroup/context": [
  2866. {
  2867. "command": "gitlens.openChangedFiles",
  2868. "when": "gitlens:enabled",
  2869. "group": "2_gitlens@1"
  2870. },
  2871. {
  2872. "command": "gitlens.closeUnchangedFiles",
  2873. "when": "gitlens:enabled",
  2874. "group": "2_gitlens@2"
  2875. },
  2876. {
  2877. "command": "gitlens.externalDiff",
  2878. "when": "gitlens:enabled",
  2879. "group": "2_gitlens@3"
  2880. },
  2881. {
  2882. "command": "gitlens.externalDiffAll",
  2883. "when": "gitlens:enabled",
  2884. "group": "2_gitlens@4"
  2885. },
  2886. {
  2887. "command": "gitlens.stashSave",
  2888. "when": "gitlens:enabled",
  2889. "group": "3_gitlens@1"
  2890. }
  2891. ],
  2892. "scm/resourceState/context": [
  2893. {
  2894. "command": "gitlens.openFileInRemote",
  2895. "when": "gitlens:enabled && gitlens:hasRemotes",
  2896. "group": "navigation"
  2897. },
  2898. {
  2899. "command": "gitlens.externalDiff",
  2900. "when": "gitlens:enabled",
  2901. "group": "navigation"
  2902. },
  2903. {
  2904. "command": "gitlens.diffWithRevision",
  2905. "when": "gitlens:enabled",
  2906. "group": "1_gitlens@1"
  2907. },
  2908. {
  2909. "command": "gitlens.diffWithBranch",
  2910. "when": "gitlens:enabled",
  2911. "group": "1_gitlens@2"
  2912. },
  2913. {
  2914. "command": "gitlens.showQuickFileHistory",
  2915. "when": "gitlens:enabled",
  2916. "group": "1_gitlens_1@1"
  2917. },
  2918. {
  2919. "command": "gitlens.stashSave",
  2920. "when": "gitlens:enabled",
  2921. "group": "2_gitlens@1"
  2922. },
  2923. {
  2924. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2925. "when": "gitlens:enabled && gitlens:hasRemotes",
  2926. "group": "9_gitlens@1"
  2927. }
  2928. ],
  2929. "view/title": [
  2930. {
  2931. "command": "gitlens.showCommitSearch",
  2932. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2933. "group": "navigation@1"
  2934. },
  2935. {
  2936. "command": "gitlens.repositoriesExplorer.fetchAll",
  2937. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2938. "group": "navigation@7"
  2939. },
  2940. {
  2941. "command": "gitlens.repositoriesExplorer.pullAll",
  2942. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2943. "group": "navigation@8"
  2944. },
  2945. {
  2946. "command": "gitlens.repositoriesExplorer.refresh",
  2947. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2948. "group": "navigation@9"
  2949. },
  2950. {
  2951. "command": "gitlens.repositoriesExplorer.setFilesLayoutToAuto",
  2952. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2953. "group": "1_gitlens"
  2954. },
  2955. {
  2956. "command": "gitlens.repositoriesExplorer.setFilesLayoutToList",
  2957. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2958. "group": "1_gitlens"
  2959. },
  2960. {
  2961. "command": "gitlens.repositoriesExplorer.setFilesLayoutToTree",
  2962. "when": "view =~ /^gitlens.repositoriesExplorer:/",
  2963. "group": "1_gitlens"
  2964. },
  2965. {
  2966. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOn",
  2967. "when": "view =~ /^gitlens.repositoriesExplorer:/ && config.gitlens.repositoriesExplorer.autoRefresh && !gitlens:repositoriesExplorer:autoRefresh",
  2968. "group": "2_gitlens"
  2969. },
  2970. {
  2971. "command": "gitlens.repositoriesExplorer.setAutoRefreshToOff",
  2972. "when": "view =~ /^gitlens.repositoriesExplorer:/ && config.gitlens.repositoriesExplorer.autoRefresh && gitlens:repositoriesExplorer:autoRefresh",
  2973. "group": "2_gitlens"
  2974. },
  2975. {
  2976. "command": "gitlens.fileHistoryExplorer.refresh",
  2977. "when": "view =~ /^gitlens.fileHistoryExplorer:/",
  2978. "group": "navigation@1"
  2979. },
  2980. {
  2981. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOn",
  2982. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2983. "group": "1_gitlens"
  2984. },
  2985. {
  2986. "command": "gitlens.fileHistoryExplorer.setRenameFollowingOff",
  2987. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  2988. "group": "1_gitlens"
  2989. },
  2990. {
  2991. "command": "gitlens.lineHistoryExplorer.refresh",
  2992. "when": "view =~ /^gitlens.lineHistoryExplorer:/",
  2993. "group": "navigation@1"
  2994. },
  2995. {
  2996. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOn",
  2997. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2998. "group": "1_gitlens"
  2999. },
  3000. {
  3001. "command": "gitlens.lineHistoryExplorer.setRenameFollowingOff",
  3002. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  3003. "group": "1_gitlens"
  3004. },
  3005. {
  3006. "command": "gitlens.showCommitSearch",
  3007. "when": "view =~ /^gitlens.resultsExplorer:/",
  3008. "group": "navigation@1"
  3009. },
  3010. {
  3011. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  3012. "when": "view =~ /^gitlens.resultsExplorer:/ && !gitlens:resultsExplorer:keepResults",
  3013. "group": "navigation@2"
  3014. },
  3015. {
  3016. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  3017. "when": "view =~ /^gitlens.resultsExplorer:/ && gitlens:resultsExplorer:keepResults",
  3018. "group": "navigation@2"
  3019. },
  3020. {
  3021. "command": "gitlens.resultsExplorer.refresh",
  3022. "when": "view =~ /^gitlens.resultsExplorer:/",
  3023. "group": "navigation@3"
  3024. },
  3025. {
  3026. "command": "gitlens.resultsExplorer.close",
  3027. "when": "view =~ /^gitlens.resultsExplorer:/",
  3028. "group": "navigation@9"
  3029. },
  3030. {
  3031. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  3032. "when": "view =~ /^gitlens.resultsExplorer:/",
  3033. "group": "1_gitlens"
  3034. },
  3035. {
  3036. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  3037. "when": "view =~ /^gitlens.resultsExplorer:/",
  3038. "group": "1_gitlens"
  3039. },
  3040. {
  3041. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  3042. "when": "view =~ /^gitlens.resultsExplorer:/",
  3043. "group": "1_gitlens"
  3044. }
  3045. ],
  3046. "view/item/context": [
  3047. {
  3048. "command": "gitlens.openBranchesInRemote",
  3049. "when": "viewItem == gitlens:branches:remotes",
  3050. "group": "1_gitlens@1"
  3051. },
  3052. {
  3053. "command": "gitlens.openBranchInRemote",
  3054. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  3055. "group": "1_gitlens@1"
  3056. },
  3057. {
  3058. "command": "gitlens.explorers.compareWithRemote",
  3059. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  3060. "group": "7_gitlens@1"
  3061. },
  3062. {
  3063. "command": "gitlens.explorers.compareWithHead",
  3064. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3065. "group": "7_gitlens@2"
  3066. },
  3067. {
  3068. "command": "gitlens.explorers.compareWithWorking",
  3069. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  3070. "group": "7_gitlens@3"
  3071. },
  3072. {
  3073. "command": "gitlens.explorers.compareAncestryWithWorking",
  3074. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  3075. "group": "7_gitlens@4"
  3076. },
  3077. {
  3078. "command": "gitlens.explorers.compareWithSelected",
  3079. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/ && gitlens:explorers:canCompare",
  3080. "group": "7_gitlens_@1"
  3081. },
  3082. {
  3083. "command": "gitlens.explorers.selectForCompare",
  3084. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file:)\\b/",
  3085. "group": "7_gitlens_@2"
  3086. },
  3087. {
  3088. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  3089. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  3090. "group": "7_gitlens_more@2"
  3091. },
  3092. {
  3093. "command": "gitlens.explorers.terminalCheckoutBranch",
  3094. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3095. "group": "8_gitlens@1"
  3096. },
  3097. {
  3098. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  3099. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  3100. "group": "8_gitlens@1"
  3101. },
  3102. {
  3103. "command": "gitlens.explorers.terminalMergeBranch",
  3104. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3105. "group": "8_gitlens@2"
  3106. },
  3107. {
  3108. "command": "gitlens.explorers.terminalRebaseBranch",
  3109. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3110. "group": "8_gitlens@3"
  3111. },
  3112. {
  3113. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  3114. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3115. "group": "8_gitlens@4"
  3116. },
  3117. {
  3118. "command": "gitlens.explorers.terminalCreateBranch",
  3119. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  3120. "group": "8_gitlens@5"
  3121. },
  3122. {
  3123. "command": "gitlens.explorers.terminalDeleteBranch",
  3124. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  3125. "group": "8_gitlens@6"
  3126. },
  3127. {
  3128. "command": "gitlens.explorers.terminalCreateTag",
  3129. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  3130. "group": "8_gitlens@7"
  3131. },
  3132. {
  3133. "command": "gitlens.openCommitInRemote",
  3134. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  3135. "group": "1_gitlens@1"
  3136. },
  3137. {
  3138. "command": "gitlens.explorers.openChangedFileChanges",
  3139. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3140. "group": "2_gitlens@1"
  3141. },
  3142. {
  3143. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  3144. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3145. "group": "2_gitlens@2"
  3146. },
  3147. {
  3148. "command": "gitlens.explorers.openChangedFiles",
  3149. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3150. "group": "3_gitlens@1"
  3151. },
  3152. {
  3153. "command": "gitlens.explorers.openChangedFileRevisions",
  3154. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  3155. "group": "3_gitlens@2"
  3156. },
  3157. {
  3158. "command": "gitlens.copyShaToClipboard",
  3159. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  3160. "group": "5_gitlens@1"
  3161. },
  3162. {
  3163. "command": "gitlens.copyMessageToClipboard",
  3164. "when": "viewItem =~ /gitlens:(commit|stash|file:commit)\\b/",
  3165. "group": "5_gitlens@2"
  3166. },
  3167. {
  3168. "command": "gitlens.showQuickCommitDetails",
  3169. "when": "viewItem =~ /gitlens:commit\\b/",
  3170. "group": "5_gitlens_1@1"
  3171. },
  3172. {
  3173. "command": "gitlens.explorers.terminalCherryPickCommit",
  3174. "when": "viewItem == gitlens:commit",
  3175. "group": "8_gitlens@1"
  3176. },
  3177. {
  3178. "command": "gitlens.explorers.terminalPushCommit",
  3179. "when": "viewItem == gitlens:commit:current",
  3180. "group": "8_gitlens@2"
  3181. },
  3182. {
  3183. "command": "gitlens.explorers.terminalRevertCommit",
  3184. "when": "viewItem == gitlens:commit:current",
  3185. "group": "8_gitlens@3"
  3186. },
  3187. {
  3188. "command": "gitlens.explorers.terminalCheckoutCommit",
  3189. "when": "viewItem =~ /gitlens:commit\\b/",
  3190. "group": "8_gitlens@4"
  3191. },
  3192. {
  3193. "command": "gitlens.explorers.terminalRebaseCommit",
  3194. "when": "viewItem =~ /gitlens:commit\\b/",
  3195. "group": "8_gitlens@5"
  3196. },
  3197. {
  3198. "command": "gitlens.explorers.terminalResetCommit",
  3199. "when": "viewItem =~ /gitlens:commit\\b/",
  3200. "group": "8_gitlens@6"
  3201. },
  3202. {
  3203. "command": "gitlens.explorers.openFile",
  3204. "when": "viewItem =~ /gitlens:file\\b/",
  3205. "group": "inline"
  3206. },
  3207. {
  3208. "command": "gitlens.explorers.openChanges",
  3209. "when": "viewItem =~ /gitlens:file\\b/",
  3210. "group": "2_gitlens@1"
  3211. },
  3212. {
  3213. "command": "gitlens.explorers.openChangesWithWorking",
  3214. "when": "viewItem =~ /gitlens:file\\b/",
  3215. "group": "2_gitlens@2"
  3216. },
  3217. {
  3218. "command": "gitlens.explorers.openFile",
  3219. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  3220. "group": "3_gitlens@1"
  3221. },
  3222. {
  3223. "command": "gitlens.explorers.openFileRevision",
  3224. "when": "viewItem =~ /gitlens:file\\b/",
  3225. "group": "3_gitlens@2"
  3226. },
  3227. {
  3228. "command": "gitlens.openFileInRemote",
  3229. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3230. "group": "4_gitlens@1"
  3231. },
  3232. {
  3233. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3234. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3235. "group": "5_gitlens@3"
  3236. },
  3237. {
  3238. "command": "gitlens.explorers.openFileRevisionInRemote",
  3239. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3240. "group": "4_gitlens@2"
  3241. },
  3242. {
  3243. "command": "gitlens.openFileInRemote",
  3244. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3245. "group": "3_gitlens@2"
  3246. },
  3247. {
  3248. "command": "gitlens.copyRemoteFileUrlToClipboard",
  3249. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3250. "group": "5_gitlens@3"
  3251. },
  3252. {
  3253. "command": "gitlens.showQuickFileHistory",
  3254. "when": "viewItem =~ /gitlens:file\\b/",
  3255. "group": "8_gitlens@1"
  3256. },
  3257. {
  3258. "command": "gitlens.showQuickCommitFileDetails",
  3259. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  3260. "group": "8_gitlens@2"
  3261. },
  3262. {
  3263. "command": "gitlens.explorers.applyChanges",
  3264. "when": "viewItem =~ /gitlens:file:(commit|results)\\b/",
  3265. "group": "5_gitlens_1@1"
  3266. },
  3267. {
  3268. "command": "gitlens.explorers.applyChanges",
  3269. "when": "viewItem == gitlens:file:stash",
  3270. "group": "1_gitlens@1"
  3271. },
  3272. {
  3273. "command": "gitlens.openBranchesInRemote",
  3274. "when": "viewItem == gitlens:remote",
  3275. "group": "1_gitlens@1"
  3276. },
  3277. {
  3278. "command": "gitlens.openRepoInRemote",
  3279. "when": "viewItem == gitlens:remote",
  3280. "group": "1_gitlens@2"
  3281. },
  3282. {
  3283. "command": "gitlens.explorers.terminalRemoveRemote",
  3284. "when": "viewItem == gitlens:remote",
  3285. "group": "8_gitlens@1"
  3286. },
  3287. {
  3288. "command": "gitlens.explorers.exploreRepoRevision",
  3289. "when": "viewItem =~ /gitlens:(branch|commit|file:(commit|results|status)|stash|tag)\\b/",
  3290. "group": "7_gitlens_more@1"
  3291. },
  3292. {
  3293. "command": "gitlens.explorers.fetch",
  3294. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3295. "group": "inline@97"
  3296. },
  3297. {
  3298. "command": "gitlens.explorers.push",
  3299. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3300. "group": "inline@99"
  3301. },
  3302. {
  3303. "command": "gitlens.explorers.pull",
  3304. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3305. "group": "inline@98"
  3306. },
  3307. {
  3308. "command": "gitlens.openRepoInRemote",
  3309. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3310. "group": "1_gitlens@1"
  3311. },
  3312. {
  3313. "command": "gitlens.explorers.closeRepository",
  3314. "when": "viewItem == gitlens:repository",
  3315. "group": "8_gitlens@1"
  3316. },
  3317. {
  3318. "command": "gitlens.resultsExplorer.swapComparision",
  3319. "when": "viewItem == gitlens:results:comparison",
  3320. "group": "inline@1"
  3321. },
  3322. {
  3323. "command": "gitlens.resultsExplorer.dismissNode",
  3324. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3325. "group": "inline@2"
  3326. },
  3327. {
  3328. "command": "gitlens.resultsExplorer.dismissNode",
  3329. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3330. "group": "1_gitlens@1"
  3331. },
  3332. {
  3333. "command": "gitlens.resultsExplorer.swapComparision",
  3334. "when": "viewItem == gitlens:results:comparison",
  3335. "group": "2_gitlens@1"
  3336. },
  3337. {
  3338. "command": "gitlens.explorers.openDirectoryDiff",
  3339. "when": "viewItem == gitlens:results:comparison",
  3340. "group": "7_gitlens@1"
  3341. },
  3342. {
  3343. "command": "gitlens.stashSave",
  3344. "when": "viewItem == gitlens:stashes",
  3345. "group": "1_gitlens@1"
  3346. },
  3347. {
  3348. "command": "gitlens.stashApply",
  3349. "when": "viewItem == gitlens:stash",
  3350. "group": "1_gitlens@1"
  3351. },
  3352. {
  3353. "command": "gitlens.stashDelete",
  3354. "when": "viewItem == gitlens:stash",
  3355. "group": "1_gitlens@2"
  3356. },
  3357. {
  3358. "command": "gitlens.explorers.terminalDeleteTag",
  3359. "when": "viewItem == gitlens:tag",
  3360. "group": "8_gitlens"
  3361. },
  3362. {
  3363. "command": "gitlens.repositoriesExplorer.refreshNode",
  3364. "when": "view =~ /^gitlens.repositoriesExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3365. "group": "9_gitlens@1"
  3366. },
  3367. {
  3368. "command": "gitlens.resultsExplorer.refreshNode",
  3369. "when": "view =~ /^gitlens.resultsExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3370. "group": "9_gitlens@1"
  3371. },
  3372. {
  3373. "command": "gitlens.fileHistoryExplorer.refreshNode",
  3374. "when": "view =~ /^gitlens.fileHistoryExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3375. "group": "9_gitlens@1"
  3376. },
  3377. {
  3378. "command": "gitlens.lineHistoryExplorer.refreshNode",
  3379. "when": "view =~ /^gitlens.lineHistoryExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3380. "group": "9_gitlens@1"
  3381. }
  3382. ]
  3383. },
  3384. "keybindings": [
  3385. {
  3386. "command": "gitlens.key.left",
  3387. "key": "alt+left",
  3388. "when": "gitlens:key:left"
  3389. },
  3390. {
  3391. "command": "gitlens.key.right",
  3392. "key": "alt+right",
  3393. "when": "gitlens:key:right"
  3394. },
  3395. {
  3396. "command": "gitlens.key.,",
  3397. "key": "alt+,",
  3398. "when": "gitlens:key:,"
  3399. },
  3400. {
  3401. "command": "gitlens.key..",
  3402. "key": "alt+.",
  3403. "when": "gitlens:key:."
  3404. },
  3405. {
  3406. "command": "gitlens.key.escape",
  3407. "key": "escape",
  3408. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3409. },
  3410. {
  3411. "command": "gitlens.toggleFileBlame",
  3412. "key": "alt+b",
  3413. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3414. },
  3415. {
  3416. "command": "gitlens.toggleCodeLens",
  3417. "key": "shift+alt+b",
  3418. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3419. },
  3420. {
  3421. "command": "gitlens.showLastQuickPick",
  3422. "key": "alt+-",
  3423. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3424. },
  3425. {
  3426. "command": "gitlens.showCommitSearch",
  3427. "key": "alt+/",
  3428. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3429. },
  3430. {
  3431. "command": "gitlens.showQuickFileHistory",
  3432. "key": "alt+h",
  3433. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3434. },
  3435. {
  3436. "command": "gitlens.showQuickRepoHistory",
  3437. "key": "shift+alt+h",
  3438. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3439. },
  3440. {
  3441. "command": "gitlens.showQuickRepoStatus",
  3442. "key": "alt+s",
  3443. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3444. },
  3445. {
  3446. "command": "gitlens.showQuickCommitFileDetails",
  3447. "key": "alt+c",
  3448. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  3449. },
  3450. {
  3451. "command": "gitlens.diffWithNext",
  3452. "key": "alt+.",
  3453. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3454. },
  3455. {
  3456. "command": "gitlens.diffLineWithPrevious",
  3457. "key": "shift+alt+,",
  3458. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3459. },
  3460. {
  3461. "command": "gitlens.diffWithPrevious",
  3462. "key": "alt+,",
  3463. "when": "gitlens:keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3464. },
  3465. {
  3466. "command": "gitlens.diffWithPreviousInDiff",
  3467. "key": "alt+,",
  3468. "when": "gitlens:keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3469. },
  3470. {
  3471. "command": "gitlens.diffLineWithWorking",
  3472. "key": "alt+w",
  3473. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3474. },
  3475. {
  3476. "command": "gitlens.diffWithWorking",
  3477. "key": "shift+alt+w",
  3478. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3479. },
  3480. {
  3481. "command": "gitlens.toggleFileBlame",
  3482. "key": "ctrl+shift+g b",
  3483. "mac": "cmd+alt+g b",
  3484. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3485. },
  3486. {
  3487. "command": "gitlens.toggleCodeLens",
  3488. "key": "ctrl+shift+g shift+b",
  3489. "mac": "cmd+alt+g shift+b",
  3490. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3491. },
  3492. {
  3493. "command": "gitlens.showLastQuickPick",
  3494. "key": "ctrl+shift+g -",
  3495. "mac": "cmd+alt+g -",
  3496. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3497. },
  3498. {
  3499. "command": "gitlens.showCommitSearch",
  3500. "key": "ctrl+shift+g /",
  3501. "mac": "cmd+alt+g /",
  3502. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3503. },
  3504. {
  3505. "command": "gitlens.showQuickFileHistory",
  3506. "key": "ctrl+shift+g h",
  3507. "mac": "cmd+alt+g h",
  3508. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3509. },
  3510. {
  3511. "command": "gitlens.showQuickRepoHistory",
  3512. "key": "ctrl+shift+g shift+h",
  3513. "mac": "cmd+alt+g shift+h",
  3514. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3515. },
  3516. {
  3517. "command": "gitlens.showQuickRepoStatus",
  3518. "key": "ctrl+shift+g s",
  3519. "mac": "cmd+alt+g s",
  3520. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3521. },
  3522. {
  3523. "command": "gitlens.showQuickCommitFileDetails",
  3524. "key": "ctrl+shift+g c",
  3525. "mac": "cmd+alt+g c",
  3526. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3527. },
  3528. {
  3529. "command": "gitlens.diffWithNext",
  3530. "key": "ctrl+shift+g .",
  3531. "mac": "cmd+alt+g .",
  3532. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3533. },
  3534. {
  3535. "command": "gitlens.diffLineWithPrevious",
  3536. "key": "ctrl+shift+g shift+,",
  3537. "mac": "cmd+alt+g shift+,",
  3538. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3539. },
  3540. {
  3541. "command": "gitlens.diffWithPrevious",
  3542. "key": "ctrl+shift+g ,",
  3543. "mac": "cmd+alt+g ,",
  3544. "when": "gitlens:keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3545. },
  3546. {
  3547. "command": "gitlens.diffWithPreviousInDiff",
  3548. "key": "ctrl+shift+g ,",
  3549. "mac": "cmd+alt+g ,",
  3550. "when": "gitlens:keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3551. },
  3552. {
  3553. "command": "gitlens.diffLineWithWorking",
  3554. "key": "ctrl+shift+g w",
  3555. "mac": "cmd+alt+g w",
  3556. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3557. },
  3558. {
  3559. "command": "gitlens.diffWithWorking",
  3560. "key": "ctrl+shift+g shift+w",
  3561. "mac": "cmd+alt+g shift+w",
  3562. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3563. },
  3564. {
  3565. "command": "workbench.view.scm",
  3566. "key": "ctrl+shift+g g",
  3567. "mac": "ctrl+shift+g",
  3568. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3569. }
  3570. ],
  3571. "viewsContainers": {
  3572. "activitybar": [
  3573. {
  3574. "id": "gitlens",
  3575. "title": "GitLens",
  3576. "icon": "images/gitlens-activitybar.svg"
  3577. }
  3578. ]
  3579. },
  3580. "views": {
  3581. "gitlens": [
  3582. {
  3583. "id": "gitlens.repositoriesExplorer:gitlens",
  3584. "name": "Repositories",
  3585. "when": "gitlens:enabled && gitlens:repositoriesExplorer == gitlens"
  3586. },
  3587. {
  3588. "id": "gitlens.fileHistoryExplorer:gitlens",
  3589. "name": "File History",
  3590. "when": "gitlens:enabled && gitlens:fileHistoryExplorer == gitlens"
  3591. },
  3592. {
  3593. "id": "gitlens.lineHistoryExplorer:gitlens",
  3594. "name": "Line History",
  3595. "when": "gitlens:enabled && gitlens:lineHistoryExplorer == gitlens"
  3596. },
  3597. {
  3598. "id": "gitlens.resultsExplorer:gitlens",
  3599. "name": "Results",
  3600. "when": "gitlens:enabled && gitlens:resultsExplorer == gitlens"
  3601. }
  3602. ],
  3603. "explorer": [
  3604. {
  3605. "id": "gitlens.repositoriesExplorer:explorer",
  3606. "name": "GitLens Repositories",
  3607. "when": "gitlens:enabled && gitlens:repositoriesExplorer == explorer"
  3608. },
  3609. {
  3610. "id": "gitlens.fileHistoryExplorer:explorer",
  3611. "name": "GitLens File History",
  3612. "when": "gitlens:enabled && gitlens:fileHistoryExplorer == explorer"
  3613. },
  3614. {
  3615. "id": "gitlens.lineHistoryExplorer:explorer",
  3616. "name": "GitLens Line History",
  3617. "when": "gitlens:enabled && gitlens:lineHistoryExplorer == explorer"
  3618. },
  3619. {
  3620. "id": "gitlens.resultsExplorer:explorer",
  3621. "name": "GitLens Results",
  3622. "when": "gitlens:enabled && gitlens:resultsExplorer == explorer"
  3623. }
  3624. ],
  3625. "scm": [
  3626. {
  3627. "id": "gitlens.repositoriesExplorer:scm",
  3628. "name": "GitLens Repositories",
  3629. "when": "gitlens:enabled && gitlens:repositoriesExplorer == scm"
  3630. },
  3631. {
  3632. "id": "gitlens.fileHistoryExplorer:scm",
  3633. "name": "GitLens File History",
  3634. "when": "gitlens:enabled && gitlens:fileHistoryExplorer == scm"
  3635. },
  3636. {
  3637. "id": "gitlens.lineHistoryExplorer:scm",
  3638. "name": "GitLens Line History",
  3639. "when": "gitlens:enabled && gitlens:lineHistoryExplorer == scm"
  3640. },
  3641. {
  3642. "id": "gitlens.resultsExplorer:scm",
  3643. "name": "GitLens Results",
  3644. "when": "gitlens:enabled && gitlens:resultsExplorer == scm"
  3645. }
  3646. ]
  3647. }
  3648. },
  3649. "scripts": {
  3650. "build": "webpack --env.development",
  3651. "bundle": "webpack --env.production",
  3652. "clean": "git clean -Xdf -e !.cache-images",
  3653. "lint": "tslint --project tsconfig.json && tslint --project ui.tsconfig.json",
  3654. "pack": "vsce package",
  3655. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && tslint --project tsconfig.json --fix && tslint --project ui.tsconfig.json --fix",
  3656. "pub": "vsce publish",
  3657. "rebuild": "npm run reset && npm run build",
  3658. "reset": "npm run clean && npm install --no-save",
  3659. "watch": "webpack --watch --env.development",
  3660. "ui:optimize": "webpack --config-name ui --env.optimizeImages",
  3661. "ui:watch": "webpack --watch --config-name ui --env.development",
  3662. "postinstall": "node ./node_modules/vscode/bin/install",
  3663. "vscode:prepublish": "npm run reset && npm run bundle"
  3664. },
  3665. "dependencies": {
  3666. "clipboardy": "1.2.3",
  3667. "date-fns": "1.29.0",
  3668. "iconv-lite": "0.4.24",
  3669. "lodash.debounce": "4.0.8",
  3670. "lodash.once": "4.1.1",
  3671. "tslib": "1.9.3"
  3672. },
  3673. "devDependencies": {
  3674. "@types/clipboardy": "1.1.0",
  3675. "@types/node": "8.10.29",
  3676. "clean-webpack-plugin": "0.1.19",
  3677. "css-loader": "1.0.0",
  3678. "filemanager-webpack-plugin": "2.0.5",
  3679. "html-webpack-inline-source-plugin": "0.0.10",
  3680. "html-webpack-plugin": "3.2.0",
  3681. "imagemin-webpack-plugin": "2.2.0",
  3682. "mini-css-extract-plugin": "0.4.2",
  3683. "node-sass": "4.9.3",
  3684. "prettier": "1.14.2",
  3685. "prettier-tslint": "0.4.0",
  3686. "sass-loader": "7.1.0",
  3687. "size-plugin": "1.0.1",
  3688. "tslint": "5.11.0",
  3689. "tslint-loader": "3.6.0",
  3690. "tslint-prettiest": "0.0.1",
  3691. "ts-loader": "5.1.0",
  3692. "typescript": "3.0.3",
  3693. "vscode": "1.1.21",
  3694. "webpack": "4.19.0",
  3695. "webpack-cli": "3.1.0",
  3696. "webpack-deep-scope-plugin": "1.6.0"
  3697. }
  3698. }