Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

3616 Zeilen
159 KiB

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