Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

4097 строки
179 KiB

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