You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3418 lines
153 KiB

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