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

3616 lines
159 KiB

6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens — Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
  5. "version": "8.5.6",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.25.0"
  22. },
  23. "main": "./dist/extension",
  24. "icon": "images/gitlens-icon.png",
  25. "preview": false,
  26. "badges": [
  27. {
  28. "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack",
  29. "href": "https://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  30. "description": "Join us in the #gitlens channel"
  31. }
  32. ],
  33. "categories": [
  34. "Other"
  35. ],
  36. "galleryBanner": {
  37. "color": "#8647ae",
  38. "theme": "dark"
  39. },
  40. "keywords": [
  41. "gitlens",
  42. "git",
  43. "blame",
  44. "log",
  45. "annotation",
  46. "multi-root ready"
  47. ],
  48. "activationEvents": [
  49. "*"
  50. ],
  51. "contributes": {
  52. "configuration": {
  53. "type": "object",
  54. "title": "GitLens",
  55. "properties": {
  56. "gitlens.blame.avatars": {
  57. "type": "boolean",
  58. "default": true,
  59. "description": "Specifies whether to show avatar images in the gutter blame annotations",
  60. "scope": "window"
  61. },
  62. "gitlens.blame.compact": {
  63. "type": "boolean",
  64. "default": true,
  65. "description": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  66. "scope": "window"
  67. },
  68. "gitlens.blame.dateFormat": {
  69. "type": "string",
  70. "default": null,
  71. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  72. "scope": "window"
  73. },
  74. "gitlens.blame.format": {
  75. "type": "string",
  76. "default": "${message|40?} ${agoOrDate|14-}",
  77. "description": "Specifies the format of the gutter blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.blame.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  78. "scope": "window"
  79. },
  80. "gitlens.blame.heatmap.enabled": {
  81. "type": "boolean",
  82. "default": true,
  83. "description": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  84. "scope": "window"
  85. },
  86. "gitlens.blame.heatmap.location": {
  87. "type": "string",
  88. "default": "right",
  89. "enum": [
  90. "left",
  91. "right"
  92. ],
  93. "enumDescriptions": [
  94. "Adds a heatmap indicator on the left edge of the gutter blame annotations",
  95. "Adds a heatmap indicator on the right edge of the gutter blame annotations"
  96. ],
  97. "description": "Specifies where the heatmap indicators will be shown in the gutter blame annotations",
  98. "scope": "window"
  99. },
  100. "gitlens.blame.highlight.enabled": {
  101. "type": "boolean",
  102. "default": true,
  103. "description": "Specifies whether to highlight lines associated with the current line",
  104. "scope": "window"
  105. },
  106. "gitlens.blame.highlight.locations": {
  107. "type": "array",
  108. "default": [
  109. "gutter",
  110. "line",
  111. "overview"
  112. ],
  113. "items": {
  114. "type": "string",
  115. "enum": [
  116. "gutter",
  117. "line",
  118. "overview"
  119. ],
  120. "enumDescriptions": [
  121. "Adds a gutter glyph",
  122. "Adds a full-line highlight background color",
  123. "Adds a decoration to the overview ruler (scroll bar)"
  124. ]
  125. },
  126. "minItems": 1,
  127. "maxItems": 3,
  128. "uniqueItems": true,
  129. "description": "Specifies where the associated line highlights will be shown",
  130. "scope": "window"
  131. },
  132. "gitlens.blame.ignoreWhitespace": {
  133. "type": "boolean",
  134. "default": false,
  135. "description": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  136. "scope": "resource"
  137. },
  138. "gitlens.blame.separateLines": {
  139. "type": "boolean",
  140. "default": true,
  141. "description": "Specifies whether gutter blame annotations will be separated by a small gap",
  142. "scope": "window"
  143. },
  144. "gitlens.blame.toggleMode": {
  145. "type": "string",
  146. "default": "file",
  147. "enum": [
  148. "file",
  149. "window"
  150. ],
  151. "enumDescriptions": [
  152. "Toggles each file individually",
  153. "Toggles the window, i.e. all files at once"
  154. ],
  155. "description": "Specifies how the gutter blame annotations will be toggled",
  156. "scope": "window"
  157. },
  158. "gitlens.codeLens.authors.command": {
  159. "type": "string",
  160. "default": "gitlens.toggleFileBlame",
  161. "enum": [
  162. "gitlens.toggleFileBlame",
  163. "gitlens.diffWithPrevious",
  164. "gitlens.showQuickCommitDetails",
  165. "gitlens.showQuickCommitFileDetails",
  166. "gitlens.showQuickFileHistory",
  167. "gitlens.showQuickRepoHistory"
  168. ],
  169. "enumDescriptions": [
  170. "Toggles file blame annotations",
  171. "Compares the current committed file with the previous commit",
  172. "Shows a commit details quick pick",
  173. "Shows a commit file details quick pick",
  174. "Shows a file history quick pick",
  175. "Shows a branch history quick pick"
  176. ],
  177. "description": "Specifies the command to be executed when the `authors` code lens is clicked",
  178. "scope": "window"
  179. },
  180. "gitlens.codeLens.authors.enabled": {
  181. "type": "boolean",
  182. "default": true,
  183. "description": "Specifies whether to show an `authors` code lens showing number of authors of the file or code block and the most prominent author (if there is more than one)",
  184. "scope": "window"
  185. },
  186. "gitlens.codeLens.enabled": {
  187. "type": "boolean",
  188. "default": true,
  189. "description": "Specifies whether to provide any Git code lens, by default\nUse the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current window",
  190. "scope": "window"
  191. },
  192. "gitlens.codeLens.recentChange.command": {
  193. "type": "string",
  194. "default": "gitlens.showQuickCommitFileDetails",
  195. "enum": [
  196. "gitlens.toggleFileBlame",
  197. "gitlens.diffWithPrevious",
  198. "gitlens.showQuickCommitDetails",
  199. "gitlens.showQuickCommitFileDetails",
  200. "gitlens.showQuickFileHistory",
  201. "gitlens.showQuickRepoHistory"
  202. ],
  203. "enumDescriptions": [
  204. "Toggles file blame annotations",
  205. "Compares the current committed file with the previous commit",
  206. "Shows a commit details quick pick",
  207. "Shows a commit file details quick pick",
  208. "Shows a file history quick pick",
  209. "Shows a branch history quick pick"
  210. ],
  211. "description": "Specifies the command to be executed when the `recent change` code lens is clicked",
  212. "scope": "window"
  213. },
  214. "gitlens.codeLens.recentChange.enabled": {
  215. "type": "boolean",
  216. "default": true,
  217. "description": "Specifies whether to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block",
  218. "scope": "window"
  219. },
  220. "gitlens.codeLens.scopes": {
  221. "type": "array",
  222. "default": [
  223. "document",
  224. "containers"
  225. ],
  226. "items": {
  227. "type": "string",
  228. "enum": [
  229. "document",
  230. "containers",
  231. "blocks"
  232. ],
  233. "enumDescriptions": [
  234. "Adds code lens at the top of the document",
  235. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  236. "Adds code lens at the start of block-like symbols (functions, methods, etc) lines"
  237. ]
  238. },
  239. "minItems": 1,
  240. "maxItems": 4,
  241. "uniqueItems": true,
  242. "description": "Specifies where Git code lens will be shown in the document",
  243. "scope": "resource"
  244. },
  245. "gitlens.codeLens.scopesByLanguage": {
  246. "type": "array",
  247. "default": [
  248. {
  249. "language": "css",
  250. "scopes": [
  251. "document"
  252. ]
  253. },
  254. {
  255. "language": "html",
  256. "scopes": [
  257. "document"
  258. ]
  259. },
  260. {
  261. "language": "json",
  262. "scopes": [
  263. "document"
  264. ]
  265. },
  266. {
  267. "language": "jsonc",
  268. "scopes": [
  269. "document"
  270. ]
  271. },
  272. {
  273. "language": "less",
  274. "scopes": [
  275. "document"
  276. ]
  277. },
  278. {
  279. "language": "postcss",
  280. "scopes": [
  281. "document"
  282. ]
  283. },
  284. {
  285. "language": "python",
  286. "symbolScopes": [
  287. "!Module"
  288. ]
  289. },
  290. {
  291. "language": "scss",
  292. "scopes": [
  293. "document"
  294. ]
  295. },
  296. {
  297. "language": "stylus",
  298. "scopes": [
  299. "document"
  300. ]
  301. },
  302. {
  303. "language": "vue",
  304. "scopes": [
  305. "document"
  306. ]
  307. }
  308. ],
  309. "items": {
  310. "type": "object",
  311. "required": [
  312. "language"
  313. ],
  314. "properties": {
  315. "language": {
  316. "type": "string",
  317. "description": "Specifies the language to which this code lens override applies"
  318. },
  319. "scopes": {
  320. "type": "array",
  321. "default": [
  322. "document",
  323. "containers"
  324. ],
  325. "items": {
  326. "type": "string",
  327. "enum": [
  328. "document",
  329. "containers",
  330. "blocks",
  331. "custom"
  332. ],
  333. "enumDescriptions": [
  334. "Adds code lens at the top of the document",
  335. "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
  336. "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
  337. "Adds code lens at the start of symbols contained in `symbolScopes`"
  338. ]
  339. },
  340. "minItems": 1,
  341. "maxItems": 4,
  342. "uniqueItems": true,
  343. "description": "Specifies where Git code lens will be shown in the document for the specified language"
  344. },
  345. "symbolScopes": {
  346. "type": "array",
  347. "items": {
  348. "type": "string"
  349. },
  350. "uniqueItems": true,
  351. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language\nMust be a member of `SymbolKind`"
  352. }
  353. }
  354. },
  355. "uniqueItems": true,
  356. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  357. "scope": "resource"
  358. },
  359. "gitlens.codeLens.symbolScopes": {
  360. "type": "array",
  361. "items": {
  362. "type": "string"
  363. },
  364. "uniqueItems": true,
  365. "description": "Specifies a set of document symbols where Git code lens will or will not be shown in the document\nPrefix with `!` to not show Git code lens for the symbol\nMust be a member of `SymbolKind`",
  366. "scope": "resource"
  367. },
  368. "gitlens.currentLine.dateFormat": {
  369. "type": "string",
  370. "default": null,
  371. "description": "Specifies how to format absolute dates (using the `${date}` token) for the current line blame annotation\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  372. "scope": "window"
  373. },
  374. "gitlens.currentLine.enabled": {
  375. "type": "boolean",
  376. "default": true,
  377. "description": "Specifies whether to provide a blame annotation for the current line, by default\nUse the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
  378. "scope": "window"
  379. },
  380. "gitlens.currentLine.format": {
  381. "type": "string",
  382. "default": "${authorAgoOrDate} • ${message}",
  383. "description": "Specifies the format of the current line blame annotation\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.currentLine.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  384. "scope": "window"
  385. },
  386. "gitlens.currentLine.scrollable": {
  387. "type": "boolean",
  388. "default": true,
  389. "description": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  390. "scope": "window"
  391. },
  392. "gitlens.debug": {
  393. "type": "boolean",
  394. "default": false,
  395. "description": "Specifies debug mode",
  396. "scope": "window"
  397. },
  398. "gitlens.defaultDateFormat": {
  399. "type": "string",
  400. "default": null,
  401. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  402. "scope": "window"
  403. },
  404. "gitlens.defaultDateStyle": {
  405. "type": "string",
  406. "default": "relative",
  407. "enum": [
  408. "relative",
  409. "absolute"
  410. ],
  411. "enumDescriptions": [
  412. "e.g. 1 day ago",
  413. "e.g. July 25th, 2018 7:18pm"
  414. ],
  415. "description": "Specifies how dates will be displayed by default",
  416. "scope": "window"
  417. },
  418. "gitlens.defaultGravatarsStyle": {
  419. "type": "string",
  420. "default": "robohash",
  421. "enum": [
  422. "identicon",
  423. "mm",
  424. "monsterid",
  425. "retro",
  426. "robohash",
  427. "wavatar"
  428. ],
  429. "enumDescriptions": [
  430. "A geometric pattern",
  431. "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
  432. "A monster with different colors, faces, etc",
  433. "8-bit arcade-style pixelated faces",
  434. "A robot with different colors, faces, etc",
  435. "A face with differing features and backgrounds"
  436. ],
  437. "description": "Specifies the style of the gravatar default (fallback) images",
  438. "scope": "window"
  439. },
  440. "gitlens.explorers.avatars": {
  441. "type": "boolean",
  442. "default": true,
  443. "description": "Specifies whether to show avatar images instead of commit (or status) icons in the `GitLens` and `GitLens Results` explorers",
  444. "scope": "window"
  445. },
  446. "gitlens.explorers.commitFileFormat": {
  447. "type": "string",
  448. "default": "${filePath}",
  449. "description": "Specifies the format of a committed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  450. "scope": "window"
  451. },
  452. "gitlens.explorers.commitFormat": {
  453. "type": "string",
  454. "default": "${message} • ${authorAgoOrDate} (${id})",
  455. "description": "Specifies the format of committed changes in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.defaultDateFormat`)\\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  456. "scope": "window"
  457. },
  458. "gitlens.explorers.stashFileFormat": {
  459. "type": "string",
  460. "default": "${filePath}",
  461. "description": "Specifies the format of a stashed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  462. "scope": "window"
  463. },
  464. "gitlens.explorers.stashFormat": {
  465. "type": "string",
  466. "default": "${message}",
  467. "description": "Specifies the format of stashed changes in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  468. "scope": "window"
  469. },
  470. "gitlens.explorers.statusFileFormat": {
  471. "type": "string",
  472. "default": "${working}${filePath}",
  473. "description": "Specifies the format of the status of a working or committed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path\n ${working} - optional indicator if the file is uncommitted",
  474. "scope": "window"
  475. },
  476. "gitlens.gitExplorer.autoRefresh": {
  477. "type": "boolean",
  478. "default": true,
  479. "description": "Specifies whether to automatically refresh the `GitLens` explorer when the repository or the file system changes",
  480. "scope": "window"
  481. },
  482. "gitlens.gitExplorer.branches.layout": {
  483. "type": "string",
  484. "default": "tree",
  485. "enum": [
  486. "list",
  487. "tree"
  488. ],
  489. "enumDescriptions": [
  490. "Displays branches as a list",
  491. "Displays branches as a tree when branch names contain slashes `/`"
  492. ],
  493. "description": "Specifies how the `GitLens` explorer will display branches",
  494. "scope": "window"
  495. },
  496. "gitlens.gitExplorer.enabled": {
  497. "type": "boolean",
  498. "default": true,
  499. "description": "Specifies whether to show the `GitLens` explorer",
  500. "scope": "window"
  501. },
  502. "gitlens.gitExplorer.files.compact": {
  503. "type": "boolean",
  504. "default": true,
  505. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens` explorer\nOnly applies when `#gitlens.gitExplorer.files.layout#` is set to `tree` or `auto`",
  506. "scope": "window"
  507. },
  508. "gitlens.gitExplorer.files.layout": {
  509. "type": "string",
  510. "default": "auto",
  511. "enum": [
  512. "auto",
  513. "list",
  514. "tree"
  515. ],
  516. "enumDescriptions": [
  517. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.gitExplorer.files.threshold#` value and the number of files at each nesting level",
  518. "Displays files as a list",
  519. "Displays files as a tree"
  520. ],
  521. "description": "Specifies how the `GitLens` explorer will display files",
  522. "scope": "window"
  523. },
  524. "gitlens.gitExplorer.files.threshold": {
  525. "type": "number",
  526. "default": 5,
  527. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens` explorer\nOnly applies when `#gitlens.gitExplorer.files.layout#` is set to `auto`",
  528. "scope": "window"
  529. },
  530. "gitlens.gitExplorer.includeWorkingTree": {
  531. "type": "boolean",
  532. "default": true,
  533. "description": "Specifies whether to include working tree files inside the `Repository Status` node of the `GitLens` explorer",
  534. "scope": "window"
  535. },
  536. "gitlens.gitExplorer.location": {
  537. "type": "string",
  538. "default": "gitlens",
  539. "enum": [
  540. "gitlens",
  541. "explorer",
  542. "scm"
  543. ],
  544. "enumDescriptions": [
  545. "Adds to the GitLens view",
  546. "Adds to the Explorer view",
  547. "Adds to the Source Control view"
  548. ],
  549. "description": "Specifies where to show the `GitLens` explorer",
  550. "scope": "window"
  551. },
  552. "gitlens.gitExplorer.showTrackingBranch": {
  553. "type": "boolean",
  554. "default": true,
  555. "description": "Specifies whether to show the tracking branch when displaying local branches in the `GitLens` explorer",
  556. "scope": "window"
  557. },
  558. "gitlens.gitExplorer.view": {
  559. "type": "string",
  560. "default": "auto",
  561. "enum": [
  562. "auto",
  563. "history",
  564. "repository"
  565. ],
  566. "enumDescriptions": [
  567. "Shows the last selected view, defaults to `repository`",
  568. "Shows the commit history of the current file",
  569. "Shows a repository explorer"
  570. ],
  571. "description": "Specifies the starting view of the `GitLens` explorer",
  572. "scope": "window"
  573. },
  574. "gitlens.heatmap.ageThreshold": {
  575. "type": "string",
  576. "default": "90",
  577. "description": "Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `#gitlens.heatmap.coldColor#` instead of `#gitlens.heatmap.hotColor#`)",
  578. "scope": "window"
  579. },
  580. "gitlens.heatmap.coldColor": {
  581. "type": "string",
  582. "default": "#0a60f6",
  583. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
  584. "scope": "window"
  585. },
  586. "gitlens.heatmap.hotColor": {
  587. "type": "string",
  588. "default": "#f66a0a",
  589. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
  590. "scope": "window"
  591. },
  592. "gitlens.heatmap.toggleMode": {
  593. "type": "string",
  594. "default": "file",
  595. "enum": [
  596. "file",
  597. "window"
  598. ],
  599. "enumDescriptions": [
  600. "Toggles each file individually",
  601. "Toggles the window, i.e. all files at once"
  602. ],
  603. "description": "Specifies how the gutter heatmap annotations will be toggled",
  604. "scope": "window"
  605. },
  606. "gitlens.historyExplorer.avatars": {
  607. "type": "boolean",
  608. "default": true,
  609. "description": "Specifies whether to show avatar images instead of status icons in the `GitLens File History` explorer",
  610. "scope": "window"
  611. },
  612. "gitlens.historyExplorer.enabled": {
  613. "type": "boolean",
  614. "default": true,
  615. "description": "Specifies whether to show the current file history undocked in a `GitLens File History` explorer",
  616. "scope": "window"
  617. },
  618. "gitlens.historyExplorer.location": {
  619. "type": "string",
  620. "default": "gitlens",
  621. "enum": [
  622. "gitlens",
  623. "explorer",
  624. "scm"
  625. ],
  626. "enumDescriptions": [
  627. "Adds to the GitLens view",
  628. "Adds to the Explorer view",
  629. "Adds to the Source Control view"
  630. ],
  631. "description": "Specifies where to show the `GitLens File History` explorer",
  632. "scope": "window"
  633. },
  634. "gitlens.hovers.annotations.changes": {
  635. "type": "boolean",
  636. "default": true,
  637. "description": "Specifies whether to provide a changes (diff) hover for all lines when showing blame annotations",
  638. "scope": "window"
  639. },
  640. "gitlens.hovers.annotations.details": {
  641. "type": "boolean",
  642. "default": true,
  643. "description": "Specifies whether to provide a commit details hover for all lines when showing blame annotations",
  644. "scope": "window"
  645. },
  646. "gitlens.hovers.annotations.enabled": {
  647. "type": "boolean",
  648. "default": true,
  649. "description": "Specifies whether to provide any hovers when showing blame annotations",
  650. "scope": "window"
  651. },
  652. "gitlens.hovers.annotations.over": {
  653. "type": "string",
  654. "default": "line",
  655. "enum": [
  656. "annotation",
  657. "line"
  658. ],
  659. "enumDescriptions": [
  660. "Only shown when hovering over the line annotation",
  661. "Shown when hovering anywhere over the line"
  662. ],
  663. "description": "Specifies when to trigger hovers when showing blame annotations",
  664. "scope": "window"
  665. },
  666. "gitlens.hovers.currentLine.changes": {
  667. "type": "boolean",
  668. "default": true,
  669. "description": "Specifies whether to provide a changes (diff) hover for the current line",
  670. "scope": "window"
  671. },
  672. "gitlens.hovers.currentLine.details": {
  673. "type": "boolean",
  674. "default": true,
  675. "description": "Specifies whether to provide a commit details hover for the current line",
  676. "scope": "window"
  677. },
  678. "gitlens.hovers.currentLine.enabled": {
  679. "type": "boolean",
  680. "default": true,
  681. "description": "Specifies whether to provide any hovers for the current line",
  682. "scope": "window"
  683. },
  684. "gitlens.hovers.currentLine.over": {
  685. "type": "string",
  686. "default": "annotation",
  687. "enum": [
  688. "annotation",
  689. "line"
  690. ],
  691. "enumDescriptions": [
  692. "Only shown when hovering over the line annotation",
  693. "Shown when hovering anywhere over the line"
  694. ],
  695. "description": "Specifies when to trigger hovers for the current line",
  696. "scope": "window"
  697. },
  698. "gitlens.hovers.avatars": {
  699. "type": "boolean",
  700. "default": true,
  701. "description": "Specifies whether to show avatar images in hovers",
  702. "scope": "window"
  703. },
  704. "gitlens.hovers.enabled": {
  705. "type": "boolean",
  706. "default": true,
  707. "description": "Specifies whether to provide any hovers",
  708. "scope": "window"
  709. },
  710. "gitlens.insiders": {
  711. "type": "boolean",
  712. "default": false,
  713. "description": "Specifies whether to enable experimental features",
  714. "scope": "window"
  715. },
  716. "gitlens.keymap": {
  717. "type": "string",
  718. "default": "chorded",
  719. "enum": [
  720. "alternate",
  721. "chorded",
  722. "none"
  723. ],
  724. "enumDescriptions": [
  725. "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
  726. "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
  727. "No shortcut keys will be added"
  728. ],
  729. "description": "Specifies the keymap to use for GitLens shortcut keys",
  730. "scope": "window"
  731. },
  732. "gitlens.menus": {
  733. "anyOf": [
  734. {
  735. "enum": [
  736. false
  737. ]
  738. },
  739. {
  740. "type": "object",
  741. "properties": {
  742. "editor": {
  743. "anyOf": [
  744. {
  745. "enum": [
  746. false
  747. ]
  748. },
  749. {
  750. "type": "object",
  751. "properties": {
  752. "blame": {
  753. "type": "boolean"
  754. },
  755. "clipboard": {
  756. "type": "boolean"
  757. },
  758. "compare": {
  759. "type": "boolean"
  760. },
  761. "details": {
  762. "type": "boolean"
  763. },
  764. "history": {
  765. "type": "boolean"
  766. },
  767. "remote": {
  768. "type": "boolean"
  769. }
  770. }
  771. }
  772. ]
  773. },
  774. "editorGroup": {
  775. "anyOf": [
  776. {
  777. "enum": [
  778. false
  779. ]
  780. },
  781. {
  782. "type": "object",
  783. "properties": {
  784. "blame": {
  785. "type": "boolean"
  786. },
  787. "compare": {
  788. "type": "boolean"
  789. },
  790. "history": {
  791. "type": "boolean"
  792. },
  793. "remote": {
  794. "type": "boolean"
  795. }
  796. }
  797. }
  798. ]
  799. },
  800. "editorTab": {
  801. "anyOf": [
  802. {
  803. "enum": [
  804. false
  805. ]
  806. },
  807. {
  808. "type": "object",
  809. "properties": {
  810. "compare": {
  811. "type": "boolean"
  812. },
  813. "history": {
  814. "type": "boolean"
  815. },
  816. "remote": {
  817. "type": "boolean"
  818. }
  819. }
  820. }
  821. ]
  822. },
  823. "explorer": {
  824. "anyOf": [
  825. {
  826. "enum": [
  827. false
  828. ]
  829. },
  830. {
  831. "type": "object",
  832. "properties": {
  833. "compare": {
  834. "type": "boolean"
  835. },
  836. "history": {
  837. "type": "boolean"
  838. },
  839. "remote": {
  840. "type": "boolean"
  841. }
  842. }
  843. }
  844. ]
  845. }
  846. }
  847. }
  848. ],
  849. "default": {
  850. "editor": {
  851. "blame": false,
  852. "clipboard": true,
  853. "compare": true,
  854. "details": true,
  855. "history": false,
  856. "remote": true
  857. },
  858. "editorGroup": {
  859. "blame": true,
  860. "compare": true,
  861. "history": false,
  862. "remote": false
  863. },
  864. "editorTab": {
  865. "compare": false,
  866. "history": false,
  867. "remote": true
  868. },
  869. "explorer": {
  870. "compare": true,
  871. "history": true,
  872. "remote": true
  873. }
  874. },
  875. "description": "Specifies which commands will be added to which menus",
  876. "scope": "window"
  877. },
  878. "gitlens.mode.active": {
  879. "type": "string",
  880. "description": "Specifies the active GitLens mode, if any",
  881. "scope": "window"
  882. },
  883. "gitlens.mode.statusBar.enabled": {
  884. "type": "boolean",
  885. "default": true,
  886. "description": "Specifies whether to provide the active GitLens mode on the status bar",
  887. "scope": "window"
  888. },
  889. "gitlens.mode.statusBar.alignment": {
  890. "type": "string",
  891. "default": "right",
  892. "enum": [
  893. "left",
  894. "right"
  895. ],
  896. "enumDescriptions": [
  897. "Aligns to the left",
  898. "Aligns to the right"
  899. ],
  900. "description": "Specifies the active GitLens mode alignment in the status bar",
  901. "scope": "window"
  902. },
  903. "gitlens.modes": {
  904. "type": "object",
  905. "properties": {
  906. "zen": {
  907. "type": "object",
  908. "required": [
  909. "name"
  910. ],
  911. "properties": {
  912. "name": {
  913. "type": "string"
  914. },
  915. "statusBarItemName": {
  916. "type": "string"
  917. },
  918. "description": {
  919. "type": "string"
  920. },
  921. "codeLens": {
  922. "type": "boolean"
  923. },
  924. "currentLine": {
  925. "type": "boolean"
  926. },
  927. "explorers": {
  928. "type": "boolean"
  929. },
  930. "hovers": {
  931. "type": "boolean"
  932. },
  933. "statusBar": {
  934. "type": "boolean"
  935. }
  936. }
  937. },
  938. "review": {
  939. "type": "object",
  940. "required": [
  941. "name"
  942. ],
  943. "properties": {
  944. "name": {
  945. "type": "string"
  946. },
  947. "statusBarItemName": {
  948. "type": "string"
  949. },
  950. "description": {
  951. "type": "string"
  952. },
  953. "codeLens": {
  954. "type": "boolean"
  955. },
  956. "currentLine": {
  957. "type": "boolean"
  958. },
  959. "explorers": {
  960. "type": "boolean"
  961. },
  962. "hovers": {
  963. "type": "boolean"
  964. },
  965. "statusBar": {
  966. "type": "boolean"
  967. }
  968. }
  969. }
  970. },
  971. "additionalProperties": {
  972. "type": "object",
  973. "required": [
  974. "name"
  975. ],
  976. "properties": {
  977. "name": {
  978. "type": "string"
  979. },
  980. "statusBarItemName": {
  981. "type": "string"
  982. },
  983. "description": {
  984. "type": "string"
  985. },
  986. "codeLens": {
  987. "type": "boolean"
  988. },
  989. "currentLine": {
  990. "type": "boolean"
  991. },
  992. "explorers": {
  993. "type": "boolean"
  994. },
  995. "hovers": {
  996. "type": "boolean"
  997. },
  998. "statusBar": {
  999. "type": "boolean"
  1000. }
  1001. }
  1002. },
  1003. "default": {
  1004. "zen": {
  1005. "name": "Zen",
  1006. "statusBarItemName": "Zen",
  1007. "description": "for a zen-like experience, disables many visual features",
  1008. "codeLens": false,
  1009. "currentLine": false,
  1010. "hovers": false,
  1011. "statusBar": false
  1012. },
  1013. "review": {
  1014. "name": "Review",
  1015. "statusBarItemName": "Reviewing",
  1016. "description": "for reviewing code, enables many visual features",
  1017. "codeLens": true,
  1018. "currentLine": true,
  1019. "hovers": true
  1020. }
  1021. },
  1022. "description": "Specifies the user-defined GitLens modes",
  1023. "scope": "window"
  1024. },
  1025. "gitlens.outputLevel": {
  1026. "type": "string",
  1027. "default": "silent",
  1028. "enum": [
  1029. "silent",
  1030. "errors",
  1031. "verbose",
  1032. "debug"
  1033. ],
  1034. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  1035. "scope": "window"
  1036. },
  1037. "gitlens.recentChanges.highlight.locations": {
  1038. "type": "array",
  1039. "default": [
  1040. "gutter",
  1041. "line",
  1042. "overview"
  1043. ],
  1044. "items": {
  1045. "type": "string",
  1046. "enum": [
  1047. "gutter",
  1048. "line",
  1049. "overview"
  1050. ],
  1051. "enumDescriptions": [
  1052. "Adds a gutter glyph",
  1053. "Adds a full-line highlight background color",
  1054. "Adds a decoration to the overview ruler (scroll bar)"
  1055. ]
  1056. },
  1057. "minItems": 1,
  1058. "maxItems": 3,
  1059. "uniqueItems": true,
  1060. "description": "Specifies where the highlights of the recently changed lines will be shown",
  1061. "scope": "window"
  1062. },
  1063. "gitlens.recentChanges.toggleMode": {
  1064. "type": "string",
  1065. "default": "file",
  1066. "enum": [
  1067. "file",
  1068. "window"
  1069. ],
  1070. "enumDescriptions": [
  1071. "Toggles each file individually",
  1072. "Toggles the window, i.e. all files at once"
  1073. ],
  1074. "description": "Specifies how the recently changed lines annotations will be toggled",
  1075. "scope": "window"
  1076. },
  1077. "gitlens.remotes": {
  1078. "type": "array",
  1079. "default": null,
  1080. "items": {
  1081. "type": "object",
  1082. "required": [
  1083. "type",
  1084. "domain"
  1085. ],
  1086. "properties": {
  1087. "type": {
  1088. "type": "string",
  1089. "enum": [
  1090. "Bitbucket",
  1091. "BitbucketServer",
  1092. "Custom",
  1093. "GitHub",
  1094. "GitLab"
  1095. ],
  1096. "description": "Specifies the type of the custom remote service"
  1097. },
  1098. "domain": {
  1099. "type": "string",
  1100. "description": "Specifies the domain name of the custom remote service"
  1101. },
  1102. "name": {
  1103. "type": "string",
  1104. "description": "Specifies an optional friendly name for the custom remote service"
  1105. },
  1106. "protocol": {
  1107. "type": "string",
  1108. "default": "https",
  1109. "description": "Specifies an optional url protocol for the custom remote service"
  1110. },
  1111. "urls": {
  1112. "type": "object",
  1113. "required": [
  1114. "repository",
  1115. "branches",
  1116. "branch",
  1117. "commit",
  1118. "file",
  1119. "fileInCommit",
  1120. "fileInBranch",
  1121. "fileLine",
  1122. "fileRange"
  1123. ],
  1124. "properties": {
  1125. "repository": {
  1126. "type": "string",
  1127. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  1128. },
  1129. "branches": {
  1130. "type": "string",
  1131. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  1132. },
  1133. "branch": {
  1134. "type": "string",
  1135. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  1136. },
  1137. "commit": {
  1138. "type": "string",
  1139. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  1140. },
  1141. "file": {
  1142. "type": "string",
  1143. "description": "Specifies the format of a file url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${file} - file name\n ${line} - formatted line information"
  1144. },
  1145. "fileInBranch": {
  1146. "type": "string",
  1147. "description": "Specifies the format of a branch file url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${file} - file name\n ${branch} - branch\n ${line} - formatted line information"
  1148. },
  1149. "fileInCommit": {
  1150. "type": "string",
  1151. "description": "Specifies the format of a commit file url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${file} - file name\n ${id} - commit id\n ${line} - formatted line information"
  1152. },
  1153. "fileLine": {
  1154. "type": "string",
  1155. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  1156. },
  1157. "fileRange": {
  1158. "type": "string",
  1159. "description": "Specifies the format of a range in a file url for the custom remote service\nAvailable tokens\n ${start} - starting line\n ${end} - ending line"
  1160. }
  1161. }
  1162. },
  1163. "description": "Specifies the url formats of the custom remote service"
  1164. }
  1165. },
  1166. "uniqueItems": true,
  1167. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1168. "scope": "resource"
  1169. },
  1170. "gitlens.resultsExplorer.files.compact": {
  1171. "type": "boolean",
  1172. "default": true,
  1173. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens Results` explorer\nOnly applies when `#gitlens.resultsExplorer.files.layout#` is set to `tree` or `auto`",
  1174. "scope": "window"
  1175. },
  1176. "gitlens.resultsExplorer.files.layout": {
  1177. "type": "string",
  1178. "default": "auto",
  1179. "enum": [
  1180. "auto",
  1181. "list",
  1182. "tree"
  1183. ],
  1184. "enumDescriptions": [
  1185. "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.gitExplorer.files.threshold#` value and the number of files at each nesting level",
  1186. "Displays files as a list",
  1187. "Displays files as a tree"
  1188. ],
  1189. "description": "Specifies how the `GitLens Results` explorer will display files",
  1190. "scope": "window"
  1191. },
  1192. "gitlens.resultsExplorer.files.threshold": {
  1193. "type": "number",
  1194. "default": 5,
  1195. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens Results` explorer\nOnly applies when `#gitlens.resultsExplorer.files.layout#` is set to `auto`",
  1196. "scope": "window"
  1197. },
  1198. "gitlens.resultsExplorer.location": {
  1199. "type": "string",
  1200. "default": "gitlens",
  1201. "enum": [
  1202. "gitlens",
  1203. "explorer",
  1204. "scm"
  1205. ],
  1206. "enumDescriptions": [
  1207. "Adds to the GitLens view",
  1208. "Adds to the Explorer view",
  1209. "Adds to the Source Control view"
  1210. ],
  1211. "description": "Specifies where to show the `GitLens Results` explorer",
  1212. "scope": "window"
  1213. },
  1214. "gitlens.settings.mode": {
  1215. "type": "string",
  1216. "default": "simple",
  1217. "enum": [
  1218. "simple",
  1219. "advanced"
  1220. ],
  1221. "enumDescriptions": [
  1222. "Only displays common settings",
  1223. "Displays all settings"
  1224. ],
  1225. "description": "Specifies the display mode of the interactive settings editor",
  1226. "scope": "window"
  1227. },
  1228. "gitlens.showWhatsNewAfterUpgrades": {
  1229. "type": "boolean",
  1230. "default": true,
  1231. "description": "Specifies whether to show What's New after upgrading to new feature releases",
  1232. "scope": "window"
  1233. },
  1234. "gitlens.statusBar.alignment": {
  1235. "type": "string",
  1236. "default": "right",
  1237. "enum": [
  1238. "left",
  1239. "right"
  1240. ],
  1241. "enumDescriptions": [
  1242. "Aligns to the left",
  1243. "Aligns to the right"
  1244. ],
  1245. "description": "Specifies the blame alignment in the status bar",
  1246. "scope": "window"
  1247. },
  1248. "gitlens.statusBar.command": {
  1249. "type": "string",
  1250. "default": "gitlens.showQuickCommitDetails",
  1251. "enum": [
  1252. "gitlens.toggleFileBlame",
  1253. "gitlens.diffWithPrevious",
  1254. "gitlens.diffWithWorking",
  1255. "gitlens.toggleCodeLens",
  1256. "gitlens.showQuickCommitDetails",
  1257. "gitlens.showQuickCommitFileDetails",
  1258. "gitlens.showQuickFileHistory",
  1259. "gitlens.showQuickRepoHistory"
  1260. ],
  1261. "enumDescriptions": [
  1262. "Toggles file blame annotations",
  1263. "Compares the current line commit with the previous",
  1264. "Compares the current line commit with the working tree",
  1265. "Toggles Git code lens",
  1266. "Shows a commit details quick pick",
  1267. "Shows a commit file details quick pick",
  1268. "Shows a file history quick pick",
  1269. "Shows a branch history quick pick"
  1270. ],
  1271. "description": "Specifies the command to be executed when the blame status bar item is clicked",
  1272. "scope": "window"
  1273. },
  1274. "gitlens.statusBar.dateFormat": {
  1275. "type": "string",
  1276. "default": null,
  1277. "description": "Specifies the date format of absolute dates shown in the blame information on the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats",
  1278. "scope": "window"
  1279. },
  1280. "gitlens.statusBar.enabled": {
  1281. "type": "boolean",
  1282. "default": true,
  1283. "description": "Specifies whether to provide blame information on the status bar",
  1284. "scope": "window"
  1285. },
  1286. "gitlens.statusBar.format": {
  1287. "type": "string",
  1288. "default": "${authorAgoOrDate}",
  1289. "description": "Specifies the format of the status bar blame information\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1290. "scope": "window"
  1291. },
  1292. "gitlens.statusBar.reduceFlicker": {
  1293. "type": "boolean",
  1294. "default": false,
  1295. "description": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1296. "scope": "window"
  1297. },
  1298. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1299. "type": "string",
  1300. "default": "Unsaved changes (cannot determine recent change or authors)",
  1301. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  1302. "scope": "window"
  1303. },
  1304. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1305. "type": "string",
  1306. "default": "Unsaved changes (cannot determine recent change)",
  1307. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  1308. "scope": "window"
  1309. },
  1310. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1311. "type": "string",
  1312. "default": "Unsaved changes (cannot determine authors)",
  1313. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  1314. "scope": "window"
  1315. },
  1316. "gitlens.advanced.blame.customArguments": {
  1317. "type": "array",
  1318. "default": null,
  1319. "items": {
  1320. "type": "string"
  1321. },
  1322. "description": "Specifies additional arguments to pass to the `git blame` command",
  1323. "scope": "resource"
  1324. },
  1325. "gitlens.advanced.blame.delayAfterEdit": {
  1326. "type": "number",
  1327. "default": 5000,
  1328. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1329. "scope": "window"
  1330. },
  1331. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1332. "type": "number",
  1333. "default": 5000,
  1334. "description": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  1335. "scope": "window"
  1336. },
  1337. "gitlens.advanced.caching.enabled": {
  1338. "type": "boolean",
  1339. "default": true,
  1340. "description": "Specifies whether git output will be cached — changing the default is not recommended",
  1341. "scope": "window"
  1342. },
  1343. "gitlens.advanced.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.diffWith",
  1532. "title": "Compare File Revisions",
  1533. "category": "GitLens"
  1534. },
  1535. {
  1536. "command": "gitlens.diffWithBranch",
  1537. "title": "Compare File with Branch or Tag...",
  1538. "category": "GitLens"
  1539. },
  1540. {
  1541. "command": "gitlens.diffWithNext",
  1542. "title": "Compare File with Next Revision",
  1543. "category": "GitLens",
  1544. "icon": {
  1545. "dark": "images/dark/icon-next-commit.svg",
  1546. "light": "images/light/icon-next-commit.svg"
  1547. }
  1548. },
  1549. {
  1550. "command": "gitlens.diffWithPrevious",
  1551. "title": "Compare File with Previous Revision",
  1552. "category": "GitLens",
  1553. "icon": {
  1554. "dark": "images/dark/icon-prev-commit.svg",
  1555. "light": "images/light/icon-prev-commit.svg"
  1556. }
  1557. },
  1558. {
  1559. "command": "gitlens.diffWithPreviousInDiff",
  1560. "title": "Compare File with Previous Revision",
  1561. "category": "GitLens",
  1562. "icon": {
  1563. "dark": "images/dark/icon-prev-commit.svg",
  1564. "light": "images/light/icon-prev-commit.svg"
  1565. }
  1566. },
  1567. {
  1568. "command": "gitlens.diffLineWithPrevious",
  1569. "title": "Compare Commit with Previous",
  1570. "category": "GitLens"
  1571. },
  1572. {
  1573. "command": "gitlens.diffWithRevision",
  1574. "title": "Compare File with Revision...",
  1575. "category": "GitLens",
  1576. "icon": {
  1577. "dark": "images/dark/icon-prev-commit-menu.svg",
  1578. "light": "images/light/icon-prev-commit-menu.svg"
  1579. }
  1580. },
  1581. {
  1582. "command": "gitlens.diffWithWorking",
  1583. "title": "Compare File with Working Revision",
  1584. "category": "GitLens"
  1585. },
  1586. {
  1587. "command": "gitlens.diffLineWithWorking",
  1588. "title": "Compare Commit with Working File",
  1589. "category": "GitLens"
  1590. },
  1591. {
  1592. "command": "gitlens.toggleFileBlame",
  1593. "title": "Toggle File Blame Annotations",
  1594. "category": "GitLens",
  1595. "icon": {
  1596. "dark": "images/dark/git-icon.svg",
  1597. "light": "images/light/git-icon.svg"
  1598. }
  1599. },
  1600. {
  1601. "command": "gitlens.clearFileAnnotations",
  1602. "title": "Clear File Annotations",
  1603. "category": "GitLens",
  1604. "icon": {
  1605. "dark": "images/dark/git-icon-orange.svg",
  1606. "light": "images/light/git-icon-orange.svg"
  1607. }
  1608. },
  1609. {
  1610. "command": "gitlens.computingFileAnnotations",
  1611. "title": "Computing File Annotations...",
  1612. "category": "GitLens",
  1613. "icon": {
  1614. "dark": "images/dark/git-icon-progress.svg",
  1615. "light": "images/light/git-icon-progress.svg"
  1616. }
  1617. },
  1618. {
  1619. "command": "gitlens.toggleFileHeatmap",
  1620. "title": "Toggle File Heatmap Annotations",
  1621. "category": "GitLens"
  1622. },
  1623. {
  1624. "command": "gitlens.toggleFileRecentChanges",
  1625. "title": "Toggle Recent File Changes Annotations",
  1626. "category": "GitLens",
  1627. "icon": {
  1628. "dark": "images/dark/git-icon.svg",
  1629. "light": "images/light/git-icon.svg"
  1630. }
  1631. },
  1632. {
  1633. "command": "gitlens.toggleLineBlame",
  1634. "title": "Toggle Line Blame Annotations",
  1635. "category": "GitLens"
  1636. },
  1637. {
  1638. "command": "gitlens.toggleCodeLens",
  1639. "title": "Toggle Git Code Lens",
  1640. "category": "GitLens"
  1641. },
  1642. {
  1643. "command": "gitlens.switchMode",
  1644. "title": "Switch Mode",
  1645. "category": "GitLens"
  1646. },
  1647. {
  1648. "command": "gitlens.toggleReviewMode",
  1649. "title": "Toggle Review Mode",
  1650. "category": "GitLens"
  1651. },
  1652. {
  1653. "command": "gitlens.toggleZenMode",
  1654. "title": "Toggle Zen Mode",
  1655. "category": "GitLens"
  1656. },
  1657. {
  1658. "command": "gitlens.showCommitSearch",
  1659. "title": "Search Commits",
  1660. "category": "GitLens",
  1661. "icon": {
  1662. "dark": "images/dark/icon-search.svg",
  1663. "light": "images/light/icon-search.svg"
  1664. }
  1665. },
  1666. {
  1667. "command": "gitlens.showLastQuickPick",
  1668. "title": "Show Last Opened Quick Pick",
  1669. "category": "GitLens"
  1670. },
  1671. {
  1672. "command": "gitlens.showQuickCommitDetails",
  1673. "title": "Show Commit Details",
  1674. "category": "GitLens"
  1675. },
  1676. {
  1677. "command": "gitlens.showQuickCommitFileDetails",
  1678. "title": "Show Commit Details",
  1679. "category": "GitLens"
  1680. },
  1681. {
  1682. "command": "gitlens.showQuickFileHistory",
  1683. "title": "Show File History",
  1684. "category": "GitLens"
  1685. },
  1686. {
  1687. "command": "gitlens.showQuickBranchHistory",
  1688. "title": "Show Branch History",
  1689. "category": "GitLens"
  1690. },
  1691. {
  1692. "command": "gitlens.showQuickRepoHistory",
  1693. "title": "Show Current Branch History",
  1694. "category": "GitLens"
  1695. },
  1696. {
  1697. "command": "gitlens.showQuickRepoStatus",
  1698. "title": "Show Repository Status",
  1699. "category": "GitLens"
  1700. },
  1701. {
  1702. "command": "gitlens.showQuickStashList",
  1703. "title": "Show Stashed Changes",
  1704. "category": "GitLens"
  1705. },
  1706. {
  1707. "command": "gitlens.copyMessageToClipboard",
  1708. "title": "Copy Commit Message to Clipboard",
  1709. "category": "GitLens"
  1710. },
  1711. {
  1712. "command": "gitlens.copyRemoteFileUrlToClipboard",
  1713. "title": "Copy Remote File Url to Clipboard",
  1714. "category": "GitLens"
  1715. },
  1716. {
  1717. "command": "gitlens.copyShaToClipboard",
  1718. "title": "Copy Commit ID to Clipboard",
  1719. "category": "GitLens"
  1720. },
  1721. {
  1722. "command": "gitlens.closeUnchangedFiles",
  1723. "title": "Close Unchanged Files",
  1724. "category": "GitLens"
  1725. },
  1726. {
  1727. "command": "gitlens.openChangedFiles",
  1728. "title": "Open Changed Files",
  1729. "category": "GitLens"
  1730. },
  1731. {
  1732. "command": "gitlens.openBranchesInRemote",
  1733. "title": "Open Branches in Remote",
  1734. "category": "GitLens"
  1735. },
  1736. {
  1737. "command": "gitlens.openBranchInRemote",
  1738. "title": "Open Branch in Remote",
  1739. "category": "GitLens"
  1740. },
  1741. {
  1742. "command": "gitlens.openCommitInRemote",
  1743. "title": "Open Commit in Remote",
  1744. "category": "GitLens"
  1745. },
  1746. {
  1747. "command": "gitlens.openFileInRemote",
  1748. "title": "Open File in Remote",
  1749. "category": "GitLens"
  1750. },
  1751. {
  1752. "command": "gitlens.openFileRevision",
  1753. "title": "Open Revision...",
  1754. "category": "GitLens"
  1755. },
  1756. {
  1757. "command": "gitlens.openRepoInRemote",
  1758. "title": "Open Repository in Remote",
  1759. "category": "GitLens"
  1760. },
  1761. {
  1762. "command": "gitlens.openWorkingFile",
  1763. "title": "Open Working File",
  1764. "category": "GitLens",
  1765. "icon": {
  1766. "dark": "images/dark/icon-open-working-file.svg",
  1767. "light": "images/light/icon-open-working-file.svg"
  1768. }
  1769. },
  1770. {
  1771. "command": "gitlens.stashApply",
  1772. "title": "Apply Stashed Changes",
  1773. "category": "GitLens"
  1774. },
  1775. {
  1776. "command": "gitlens.stashDelete",
  1777. "title": "Delete Stashed Changes",
  1778. "category": "GitLens"
  1779. },
  1780. {
  1781. "command": "gitlens.stashSave",
  1782. "title": "Stash Changes",
  1783. "category": "GitLens",
  1784. "icon": {
  1785. "dark": "images/dark/icon-add.svg",
  1786. "light": "images/light/icon-add.svg"
  1787. }
  1788. },
  1789. {
  1790. "command": "gitlens.externalDiff",
  1791. "title": "Open Changes (with difftool)",
  1792. "category": "GitLens"
  1793. },
  1794. {
  1795. "command": "gitlens.externalDiffAll",
  1796. "title": "Open All Changes (with difftool)",
  1797. "category": "GitLens"
  1798. },
  1799. {
  1800. "command": "gitlens.resetSuppressedWarnings",
  1801. "title": "Reset Suppressed Warnings",
  1802. "category": "GitLens"
  1803. },
  1804. {
  1805. "command": "gitlens.explorers.openDirectoryDiff",
  1806. "title": "Open Directory Compare",
  1807. "category": "GitLens"
  1808. },
  1809. {
  1810. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1811. "title": "Open Directory Compare with Working Tree",
  1812. "category": "GitLens"
  1813. },
  1814. {
  1815. "command": "gitlens.explorers.openChanges",
  1816. "title": "Open Changes",
  1817. "category": "GitLens"
  1818. },
  1819. {
  1820. "command": "gitlens.explorers.openChangesWithWorking",
  1821. "title": "Open Changes with Working File",
  1822. "category": "GitLens"
  1823. },
  1824. {
  1825. "command": "gitlens.explorers.openFile",
  1826. "title": "Open File",
  1827. "category": "GitLens",
  1828. "icon": {
  1829. "dark": "images/dark/icon-open-file.svg",
  1830. "light": "images/light/icon-open-file.svg"
  1831. }
  1832. },
  1833. {
  1834. "command": "gitlens.explorers.openFileRevision",
  1835. "title": "Open Revision",
  1836. "category": "GitLens"
  1837. },
  1838. {
  1839. "command": "gitlens.explorers.openFileRevisionInRemote",
  1840. "title": "Open Revision in Remote",
  1841. "category": "GitLens"
  1842. },
  1843. {
  1844. "command": "gitlens.explorers.openChangedFiles",
  1845. "title": "Open Files",
  1846. "category": "GitLens"
  1847. },
  1848. {
  1849. "command": "gitlens.explorers.openChangedFileChanges",
  1850. "title": "Open All Changes",
  1851. "category": "GitLens"
  1852. },
  1853. {
  1854. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1855. "title": "Open All Changes with Working Tree",
  1856. "category": "GitLens"
  1857. },
  1858. {
  1859. "command": "gitlens.explorers.openChangedFileRevisions",
  1860. "title": "Open Revisions",
  1861. "category": "GitLens"
  1862. },
  1863. {
  1864. "command": "gitlens.explorers.applyChanges",
  1865. "title": "Apply Changes",
  1866. "category": "GitLens"
  1867. },
  1868. {
  1869. "command": "gitlens.explorers.closeRepository",
  1870. "title": "Close Repository",
  1871. "category": "GitLens"
  1872. },
  1873. {
  1874. "command": "gitlens.explorers.compareAncestryWithWorking",
  1875. "title": "Compare Ancestry with Working Tree",
  1876. "category": "GitLens"
  1877. },
  1878. {
  1879. "command": "gitlens.explorers.compareWithHead",
  1880. "title": "Compare with HEAD",
  1881. "category": "GitLens"
  1882. },
  1883. {
  1884. "command": "gitlens.explorers.compareWithRemote",
  1885. "title": "Compare with Remote",
  1886. "category": "GitLens"
  1887. },
  1888. {
  1889. "command": "gitlens.explorers.compareWithSelected",
  1890. "title": "Compare with Selected",
  1891. "category": "GitLens"
  1892. },
  1893. {
  1894. "command": "gitlens.explorers.compareWithWorking",
  1895. "title": "Compare with Working Tree",
  1896. "category": "GitLens"
  1897. },
  1898. {
  1899. "command": "gitlens.explorers.selectForCompare",
  1900. "title": "Select for Compare",
  1901. "category": "GitLens"
  1902. },
  1903. {
  1904. "command": "gitlens.explorers.terminalCheckoutBranch",
  1905. "title": "Checkout Branch (via Terminal)",
  1906. "category": "GitLens"
  1907. },
  1908. {
  1909. "command": "gitlens.explorers.terminalCreateBranch",
  1910. "title": "Create Branch (via Terminal)...",
  1911. "category": "GitLens"
  1912. },
  1913. {
  1914. "command": "gitlens.explorers.terminalDeleteBranch",
  1915. "title": "Delete Branch (via Terminal)",
  1916. "category": "GitLens"
  1917. },
  1918. {
  1919. "command": "gitlens.explorers.terminalMergeBranch",
  1920. "title": "Merge Branch (via Terminal)",
  1921. "category": "GitLens"
  1922. },
  1923. {
  1924. "command": "gitlens.explorers.terminalRebaseBranch",
  1925. "title": "Rebase (Interactive) Branch (via Terminal)",
  1926. "category": "GitLens"
  1927. },
  1928. {
  1929. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1930. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1931. "category": "GitLens"
  1932. },
  1933. {
  1934. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1935. "title": "Squash Branch into Commit (via Terminal)",
  1936. "category": "GitLens"
  1937. },
  1938. {
  1939. "command": "gitlens.explorers.terminalCheckoutCommit",
  1940. "title": "Checkout Commit (via Terminal)",
  1941. "category": "GitLens"
  1942. },
  1943. {
  1944. "command": "gitlens.explorers.terminalCherryPickCommit",
  1945. "title": "Cherry Pick Commit (via Terminal)",
  1946. "category": "GitLens"
  1947. },
  1948. {
  1949. "command": "gitlens.explorers.terminalPushCommit",
  1950. "title": "Push to Commit (via Terminal)",
  1951. "category": "GitLens"
  1952. },
  1953. {
  1954. "command": "gitlens.explorers.terminalRebaseCommit",
  1955. "title": "Rebase to Commit (via Terminal)",
  1956. "category": "GitLens"
  1957. },
  1958. {
  1959. "command": "gitlens.explorers.terminalResetCommit",
  1960. "title": "Reset to Commit (via Terminal)",
  1961. "category": "GitLens"
  1962. },
  1963. {
  1964. "command": "gitlens.explorers.terminalRevertCommit",
  1965. "title": "Revert Commit (via Terminal)",
  1966. "category": "GitLens"
  1967. },
  1968. {
  1969. "command": "gitlens.explorers.terminalRemoveRemote",
  1970. "title": "Remove Remote (via Terminal)",
  1971. "category": "GitLens"
  1972. },
  1973. {
  1974. "command": "gitlens.explorers.terminalCreateTag",
  1975. "title": "Create Tag (via Terminal)...",
  1976. "category": "GitLens"
  1977. },
  1978. {
  1979. "command": "gitlens.explorers.terminalDeleteTag",
  1980. "title": "Delete Tag (via Terminal)",
  1981. "category": "GitLens"
  1982. },
  1983. {
  1984. "command": "gitlens.gitExplorer.undockHistory",
  1985. "title": "Undock File History from GitLens Explorer",
  1986. "category": "GitLens",
  1987. "icon": {
  1988. "dark": "images/dark/icon-undock.svg",
  1989. "light": "images/light/icon-undock.svg"
  1990. }
  1991. },
  1992. {
  1993. "command": "gitlens.gitExplorer.refresh",
  1994. "title": "Refresh",
  1995. "category": "GitLens",
  1996. "icon": {
  1997. "dark": "images/dark/icon-refresh.svg",
  1998. "light": "images/light/icon-refresh.svg"
  1999. }
  2000. },
  2001. {
  2002. "command": "gitlens.gitExplorer.refreshNode",
  2003. "title": "Refresh",
  2004. "category": "GitLens"
  2005. },
  2006. {
  2007. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2008. "title": "Automatic Layout",
  2009. "category": "GitLens"
  2010. },
  2011. {
  2012. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2013. "title": "List Layout",
  2014. "category": "GitLens"
  2015. },
  2016. {
  2017. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2018. "title": "Tree Layout",
  2019. "category": "GitLens"
  2020. },
  2021. {
  2022. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2023. "title": "Enable Automatic Refresh",
  2024. "category": "GitLens"
  2025. },
  2026. {
  2027. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2028. "title": "Disable Automatic Refresh",
  2029. "category": "GitLens"
  2030. },
  2031. {
  2032. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2033. "title": "Follow Renames",
  2034. "category": "GitLens"
  2035. },
  2036. {
  2037. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2038. "title": "Don't Follow Renames",
  2039. "category": "GitLens"
  2040. },
  2041. {
  2042. "command": "gitlens.gitExplorer.switchToHistoryView",
  2043. "title": "Switch to File History View",
  2044. "category": "GitLens",
  2045. "icon": {
  2046. "dark": "images/dark/icon-history.svg",
  2047. "light": "images/light/icon-history.svg"
  2048. }
  2049. },
  2050. {
  2051. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2052. "title": "Switch to Repository View",
  2053. "category": "GitLens",
  2054. "icon": {
  2055. "dark": "images/dark/icon-repo.svg",
  2056. "light": "images/light/icon-repo.svg"
  2057. }
  2058. },
  2059. {
  2060. "command": "gitlens.historyExplorer.close",
  2061. "title": "Close",
  2062. "category": "GitLens",
  2063. "icon": {
  2064. "dark": "images/dark/icon-close.svg",
  2065. "light": "images/light/icon-close.svg"
  2066. }
  2067. },
  2068. {
  2069. "command": "gitlens.historyExplorer.dock",
  2070. "title": "Dock File History to GitLens Explorer",
  2071. "category": "GitLens",
  2072. "icon": {
  2073. "dark": "images/dark/icon-dock.svg",
  2074. "light": "images/light/icon-dock.svg"
  2075. }
  2076. },
  2077. {
  2078. "command": "gitlens.historyExplorer.refresh",
  2079. "title": "Refresh",
  2080. "category": "GitLens",
  2081. "icon": {
  2082. "dark": "images/dark/icon-refresh.svg",
  2083. "light": "images/light/icon-refresh.svg"
  2084. }
  2085. },
  2086. {
  2087. "command": "gitlens.historyExplorer.refreshNode",
  2088. "title": "Refresh",
  2089. "category": "GitLens"
  2090. },
  2091. {
  2092. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2093. "title": "Follow Renames",
  2094. "category": "GitLens"
  2095. },
  2096. {
  2097. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2098. "title": "Don't Follow Renames",
  2099. "category": "GitLens"
  2100. },
  2101. {
  2102. "command": "gitlens.resultsExplorer.clearResultsNode",
  2103. "title": "Clear Results",
  2104. "category": "GitLens",
  2105. "icon": {
  2106. "dark": "images/dark/icon-close-small.svg",
  2107. "light": "images/light/icon-close-small.svg"
  2108. }
  2109. },
  2110. {
  2111. "command": "gitlens.resultsExplorer.close",
  2112. "title": "Close",
  2113. "category": "GitLens",
  2114. "icon": {
  2115. "dark": "images/dark/icon-close.svg",
  2116. "light": "images/light/icon-close.svg"
  2117. }
  2118. },
  2119. {
  2120. "command": "gitlens.resultsExplorer.refresh",
  2121. "title": "Refresh",
  2122. "category": "GitLens",
  2123. "icon": {
  2124. "dark": "images/dark/icon-refresh.svg",
  2125. "light": "images/light/icon-refresh.svg"
  2126. }
  2127. },
  2128. {
  2129. "command": "gitlens.resultsExplorer.refreshNode",
  2130. "title": "Refresh",
  2131. "category": "GitLens"
  2132. },
  2133. {
  2134. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2135. "title": "Automatic Layout",
  2136. "category": "GitLens"
  2137. },
  2138. {
  2139. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2140. "title": "List Layout",
  2141. "category": "GitLens"
  2142. },
  2143. {
  2144. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2145. "title": "Tree Layout",
  2146. "category": "GitLens"
  2147. },
  2148. {
  2149. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2150. "title": "Keep Results",
  2151. "category": "GitLens",
  2152. "icon": {
  2153. "dark": "images/dark/icon-lock.svg",
  2154. "light": "images/light/icon-lock.svg"
  2155. }
  2156. },
  2157. {
  2158. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2159. "title": "Keep Results",
  2160. "category": "GitLens",
  2161. "icon": {
  2162. "dark": "images/dark/icon-locked.svg",
  2163. "light": "images/light/icon-locked.svg"
  2164. }
  2165. },
  2166. {
  2167. "command": "gitlens.resultsExplorer.swapComparision",
  2168. "title": "Swap Comparision",
  2169. "category": "GitLens",
  2170. "icon": {
  2171. "dark": "images/dark/icon-swap.svg",
  2172. "light": "images/light/icon-swap.svg"
  2173. }
  2174. }
  2175. ],
  2176. "menus": {
  2177. "commandPalette": [
  2178. {
  2179. "command": "gitlens.showGitExplorer",
  2180. "when": "gitlens:enabled && gitlens:gitExplorer"
  2181. },
  2182. {
  2183. "command": "gitlens.showHistoryExplorer",
  2184. "when": "gitlens:enabled && gitlens:historyExplorer"
  2185. },
  2186. {
  2187. "command": "gitlens.showHistoryExplorer",
  2188. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer"
  2189. },
  2190. {
  2191. "command": "gitlens.showResultsExplorer",
  2192. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2193. },
  2194. {
  2195. "command": "gitlens.diffDirectory",
  2196. "when": "gitlens:enabled"
  2197. },
  2198. {
  2199. "command": "gitlens.diffHeadWithBranch",
  2200. "when": "gitlens:enabled"
  2201. },
  2202. {
  2203. "command": "gitlens.diffWorkingWithBranch",
  2204. "when": "gitlens:enabled"
  2205. },
  2206. {
  2207. "command": "gitlens.diffWith",
  2208. "when": "false"
  2209. },
  2210. {
  2211. "command": "gitlens.diffWithBranch",
  2212. "when": "gitlens:activeFileStatus =~ /tracked/"
  2213. },
  2214. {
  2215. "command": "gitlens.diffWithNext",
  2216. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2217. },
  2218. {
  2219. "command": "gitlens.diffWithPrevious",
  2220. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2221. },
  2222. {
  2223. "command": "gitlens.diffWithPreviousInDiff",
  2224. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2225. },
  2226. {
  2227. "command": "gitlens.diffLineWithPrevious",
  2228. "when": "gitlens:activeFileStatus =~ /blameable/"
  2229. },
  2230. {
  2231. "command": "gitlens.diffWithRevision",
  2232. "when": "gitlens:activeFileStatus =~ /tracked/"
  2233. },
  2234. {
  2235. "command": "gitlens.diffWithWorking",
  2236. "when": "gitlens:activeFileStatus =~ /tracked/"
  2237. },
  2238. {
  2239. "command": "gitlens.diffLineWithWorking",
  2240. "when": "gitlens:activeFileStatus =~ /blameable/"
  2241. },
  2242. {
  2243. "command": "gitlens.externalDiff",
  2244. "when": "gitlens:enabled"
  2245. },
  2246. {
  2247. "command": "gitlens.externalDiffAll",
  2248. "when": "gitlens:enabled"
  2249. },
  2250. {
  2251. "command": "gitlens.toggleFileBlame",
  2252. "when": "gitlens:activeFileStatus =~ /blameable/"
  2253. },
  2254. {
  2255. "command": "gitlens.clearFileAnnotations",
  2256. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2257. },
  2258. {
  2259. "command": "gitlens.computingFileAnnotations",
  2260. "when": "false"
  2261. },
  2262. {
  2263. "command": "gitlens.toggleFileHeatmap",
  2264. "when": "gitlens:activeFileStatus =~ /blameable/"
  2265. },
  2266. {
  2267. "command": "gitlens.toggleFileRecentChanges",
  2268. "when": "gitlens:activeFileStatus =~ /blameable/"
  2269. },
  2270. {
  2271. "command": "gitlens.toggleLineBlame",
  2272. "when": "gitlens:enabled"
  2273. },
  2274. {
  2275. "command": "gitlens.toggleCodeLens",
  2276. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2277. },
  2278. {
  2279. "command": "gitlens.switchMode",
  2280. "when": "gitlens:enabled"
  2281. },
  2282. {
  2283. "command": "gitlens.toggleReviewMode",
  2284. "when": "gitlens:enabled"
  2285. },
  2286. {
  2287. "command": "gitlens.toggleZenMode",
  2288. "when": "gitlens:enabled"
  2289. },
  2290. {
  2291. "command": "gitlens.showCommitSearch",
  2292. "when": "gitlens:enabled"
  2293. },
  2294. {
  2295. "command": "gitlens.showLastQuickPick",
  2296. "when": "gitlens:enabled"
  2297. },
  2298. {
  2299. "command": "gitlens.showQuickCommitDetails",
  2300. "when": "gitlens:activeFileStatus =~ /blameable/"
  2301. },
  2302. {
  2303. "command": "gitlens.showQuickCommitFileDetails",
  2304. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  2305. },
  2306. {
  2307. "command": "gitlens.showQuickFileHistory",
  2308. "when": "gitlens:activeFileStatus =~ /tracked/"
  2309. },
  2310. {
  2311. "command": "gitlens.showQuickBranchHistory",
  2312. "when": "gitlens:enabled"
  2313. },
  2314. {
  2315. "command": "gitlens.showQuickRepoHistory",
  2316. "when": "gitlens:enabled"
  2317. },
  2318. {
  2319. "command": "gitlens.showQuickRepoStatus",
  2320. "when": "gitlens:enabled"
  2321. },
  2322. {
  2323. "command": "gitlens.showQuickStashList",
  2324. "when": "gitlens:enabled"
  2325. },
  2326. {
  2327. "command": "gitlens.copyMessageToClipboard",
  2328. "when": "gitlens:activeFileStatus =~ /blameable/"
  2329. },
  2330. {
  2331. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2332. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2333. },
  2334. {
  2335. "command": "gitlens.copyShaToClipboard",
  2336. "when": "gitlens:activeFileStatus =~ /blameable/"
  2337. },
  2338. {
  2339. "command": "gitlens.closeUnchangedFiles",
  2340. "when": "gitlens:enabled"
  2341. },
  2342. {
  2343. "command": "gitlens.openChangedFiles",
  2344. "when": "gitlens:enabled"
  2345. },
  2346. {
  2347. "command": "gitlens.openBranchesInRemote",
  2348. "when": "gitlens:hasRemotes"
  2349. },
  2350. {
  2351. "command": "gitlens.openBranchInRemote",
  2352. "when": "gitlens:hasRemotes"
  2353. },
  2354. {
  2355. "command": "gitlens.openCommitInRemote",
  2356. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2357. },
  2358. {
  2359. "command": "gitlens.openFileInRemote",
  2360. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2361. },
  2362. {
  2363. "command": "gitlens.openFileRevision",
  2364. "when": "gitlens:activeFileStatus =~ /tracked/"
  2365. },
  2366. {
  2367. "command": "gitlens.openRepoInRemote",
  2368. "when": "gitlens:hasRemotes"
  2369. },
  2370. {
  2371. "command": "gitlens.openWorkingFile",
  2372. "when": "gitlens:activeFileStatus =~ /revision/"
  2373. },
  2374. {
  2375. "command": "gitlens.stashApply",
  2376. "when": "gitlens:enabled"
  2377. },
  2378. {
  2379. "command": "gitlens.stashDelete",
  2380. "when": "false"
  2381. },
  2382. {
  2383. "command": "gitlens.stashSave",
  2384. "when": "gitlens:enabled"
  2385. },
  2386. {
  2387. "command": "gitlens.resetSuppressedWarnings",
  2388. "when": "gitlens:enabled"
  2389. },
  2390. {
  2391. "command": "gitlens.explorers.openChanges",
  2392. "when": "false"
  2393. },
  2394. {
  2395. "command": "gitlens.explorers.openDirectoryDiff",
  2396. "when": "false"
  2397. },
  2398. {
  2399. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2400. "when": "false"
  2401. },
  2402. {
  2403. "command": "gitlens.explorers.openChangesWithWorking",
  2404. "when": "false"
  2405. },
  2406. {
  2407. "command": "gitlens.explorers.openFile",
  2408. "when": "false"
  2409. },
  2410. {
  2411. "command": "gitlens.explorers.openFileRevision",
  2412. "when": "false"
  2413. },
  2414. {
  2415. "command": "gitlens.explorers.openFileRevisionInRemote",
  2416. "when": "false"
  2417. },
  2418. {
  2419. "command": "gitlens.explorers.openChangedFiles",
  2420. "when": "false"
  2421. },
  2422. {
  2423. "command": "gitlens.explorers.openChangedFileChanges",
  2424. "when": "false"
  2425. },
  2426. {
  2427. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2428. "when": "false"
  2429. },
  2430. {
  2431. "command": "gitlens.explorers.openChangedFileRevisions",
  2432. "when": "false"
  2433. },
  2434. {
  2435. "command": "gitlens.explorers.applyChanges",
  2436. "when": "false"
  2437. },
  2438. {
  2439. "command": "gitlens.explorers.closeRepository",
  2440. "when": "false"
  2441. },
  2442. {
  2443. "command": "gitlens.explorers.compareAncestryWithWorking",
  2444. "when": "false"
  2445. },
  2446. {
  2447. "command": "gitlens.explorers.compareWithHead",
  2448. "when": "false"
  2449. },
  2450. {
  2451. "command": "gitlens.explorers.compareWithRemote",
  2452. "when": "false"
  2453. },
  2454. {
  2455. "command": "gitlens.explorers.compareWithSelected",
  2456. "when": "false"
  2457. },
  2458. {
  2459. "command": "gitlens.explorers.compareWithWorking",
  2460. "when": "false"
  2461. },
  2462. {
  2463. "command": "gitlens.explorers.selectForCompare",
  2464. "when": "false"
  2465. },
  2466. {
  2467. "command": "gitlens.explorers.terminalCheckoutBranch",
  2468. "when": "false"
  2469. },
  2470. {
  2471. "command": "gitlens.explorers.terminalCreateBranch",
  2472. "when": "false"
  2473. },
  2474. {
  2475. "command": "gitlens.explorers.terminalDeleteBranch",
  2476. "when": "false"
  2477. },
  2478. {
  2479. "command": "gitlens.explorers.terminalMergeBranch",
  2480. "when": "false"
  2481. },
  2482. {
  2483. "command": "gitlens.explorers.terminalRebaseBranch",
  2484. "when": "false"
  2485. },
  2486. {
  2487. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2488. "when": "false"
  2489. },
  2490. {
  2491. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2492. "when": "false"
  2493. },
  2494. {
  2495. "command": "gitlens.explorers.terminalCheckoutCommit",
  2496. "when": "false"
  2497. },
  2498. {
  2499. "command": "gitlens.explorers.terminalCherryPickCommit",
  2500. "when": "false"
  2501. },
  2502. {
  2503. "command": "gitlens.explorers.terminalPushCommit",
  2504. "when": "false"
  2505. },
  2506. {
  2507. "command": "gitlens.explorers.terminalRebaseCommit",
  2508. "when": "false"
  2509. },
  2510. {
  2511. "command": "gitlens.explorers.terminalResetCommit",
  2512. "when": "false"
  2513. },
  2514. {
  2515. "command": "gitlens.explorers.terminalRevertCommit",
  2516. "when": "false"
  2517. },
  2518. {
  2519. "command": "gitlens.explorers.terminalRemoveRemote",
  2520. "when": "false"
  2521. },
  2522. {
  2523. "command": "gitlens.explorers.terminalCreateTag",
  2524. "when": "false"
  2525. },
  2526. {
  2527. "command": "gitlens.explorers.terminalDeleteTag",
  2528. "when": "false"
  2529. },
  2530. {
  2531. "command": "gitlens.gitExplorer.refresh",
  2532. "when": "false"
  2533. },
  2534. {
  2535. "command": "gitlens.gitExplorer.refreshNode",
  2536. "when": "false"
  2537. },
  2538. {
  2539. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2540. "when": "false"
  2541. },
  2542. {
  2543. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2544. "when": "false"
  2545. },
  2546. {
  2547. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2548. "when": "false"
  2549. },
  2550. {
  2551. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2552. "when": "false"
  2553. },
  2554. {
  2555. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2556. "when": "false"
  2557. },
  2558. {
  2559. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2560. "when": "false"
  2561. },
  2562. {
  2563. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2564. "when": "false"
  2565. },
  2566. {
  2567. "command": "gitlens.gitExplorer.switchToHistoryView",
  2568. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository"
  2569. },
  2570. {
  2571. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2572. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == history"
  2573. },
  2574. {
  2575. "command": "gitlens.gitExplorer.undockHistory",
  2576. "when": "gitlens:enabled && !gitlens:historyExplorer"
  2577. },
  2578. {
  2579. "command": "gitlens.historyExplorer.close",
  2580. "when": "false"
  2581. },
  2582. {
  2583. "command": "gitlens.historyExplorer.dock",
  2584. "when": "gitlens:enabled && gitlens:historyExplorer"
  2585. },
  2586. {
  2587. "command": "gitlens.historyExplorer.refresh",
  2588. "when": "false"
  2589. },
  2590. {
  2591. "command": "gitlens.historyExplorer.refreshNode",
  2592. "when": "false"
  2593. },
  2594. {
  2595. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2596. "when": "false"
  2597. },
  2598. {
  2599. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2600. "when": "false"
  2601. },
  2602. {
  2603. "command": "gitlens.resultsExplorer.clearResultsNode",
  2604. "when": "false"
  2605. },
  2606. {
  2607. "command": "gitlens.resultsExplorer.close",
  2608. "when": "false"
  2609. },
  2610. {
  2611. "command": "gitlens.resultsExplorer.refresh",
  2612. "when": "false"
  2613. },
  2614. {
  2615. "command": "gitlens.resultsExplorer.refreshNode",
  2616. "when": "false"
  2617. },
  2618. {
  2619. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2620. "when": "false"
  2621. },
  2622. {
  2623. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2624. "when": "false"
  2625. },
  2626. {
  2627. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2628. "when": "false"
  2629. },
  2630. {
  2631. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2632. "when": "false"
  2633. },
  2634. {
  2635. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2636. "when": "false"
  2637. },
  2638. {
  2639. "command": "gitlens.resultsExplorer.swapComparision",
  2640. "when": "false"
  2641. }
  2642. ],
  2643. "editor/context": [
  2644. {
  2645. "command": "gitlens.diffLineWithPrevious",
  2646. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2647. "group": "1_gitlens@1"
  2648. },
  2649. {
  2650. "command": "gitlens.diffLineWithWorking",
  2651. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2652. "group": "1_gitlens@2"
  2653. },
  2654. {
  2655. "command": "gitlens.openFileInRemote",
  2656. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2657. "group": "1_gitlens_1@1"
  2658. },
  2659. {
  2660. "command": "gitlens.openCommitInRemote",
  2661. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2662. "group": "1_gitlens_1@2"
  2663. },
  2664. {
  2665. "command": "gitlens.showQuickCommitFileDetails",
  2666. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  2667. "group": "1_gitlens_1@3"
  2668. },
  2669. {
  2670. "command": "gitlens.showQuickFileHistory",
  2671. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  2672. "group": "3_gitlens@1"
  2673. },
  2674. {
  2675. "command": "gitlens.toggleFileBlame",
  2676. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  2677. "group": "3_gitlens@2"
  2678. },
  2679. {
  2680. "command": "gitlens.copyShaToClipboard",
  2681. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2682. "group": "9_gitlens@1"
  2683. },
  2684. {
  2685. "command": "gitlens.copyMessageToClipboard",
  2686. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2687. "group": "9_gitlens@2"
  2688. },
  2689. {
  2690. "command": "gitlens.copyRemoteFileUrlToClipboard",
  2691. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
  2692. "group": "9_gitlens@3"
  2693. }
  2694. ],
  2695. "editor/title": [
  2696. {
  2697. "command": "gitlens.diffWithPrevious",
  2698. "alt": "gitlens.diffWithRevision",
  2699. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2700. "group": "navigation@97"
  2701. },
  2702. {
  2703. "command": "gitlens.diffWithPreviousInDiff",
  2704. "alt": "gitlens.diffWithRevision",
  2705. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2706. "group": "navigation@97"
  2707. },
  2708. {
  2709. "command": "gitlens.diffWithNext",
  2710. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  2711. "group": "navigation@98"
  2712. },
  2713. {
  2714. "command": "gitlens.openWorkingFile",
  2715. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  2716. "group": "navigation@99"
  2717. },
  2718. {
  2719. "command": "gitlens.openWorkingFile",
  2720. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && isInDiffEditor",
  2721. "group": "navigation@99"
  2722. },
  2723. {
  2724. "command": "gitlens.openWorkingFile",
  2725. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  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. }