Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

2930 lignes
132 KiB

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