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.

3674 rivejä
161 KiB

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