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

4445 строки
196 KiB

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