25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

3071 satır
138 KiB

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