Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3562 рядки
157 KiB

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