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.

3424 lines
154 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
7 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.5.0",
  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": "gitlens",
  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": "gitlens",
  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": "gitlens",
  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. "icon": {
  1444. "dark": "images/dark/icon-prev-commit-menu.svg",
  1445. "light": "images/light/icon-prev-commit-menu.svg"
  1446. }
  1447. },
  1448. {
  1449. "command": "gitlens.diffWithWorking",
  1450. "title": "Compare File with Working Revision",
  1451. "category": "GitLens"
  1452. },
  1453. {
  1454. "command": "gitlens.diffLineWithWorking",
  1455. "title": "Compare Commit with Working File",
  1456. "category": "GitLens"
  1457. },
  1458. {
  1459. "command": "gitlens.toggleFileBlame",
  1460. "title": "Toggle File Blame Annotations",
  1461. "category": "GitLens",
  1462. "icon": {
  1463. "dark": "images/dark/git-icon.svg",
  1464. "light": "images/light/git-icon.svg"
  1465. }
  1466. },
  1467. {
  1468. "command": "gitlens.clearFileAnnotations",
  1469. "title": "Clear File Annotations",
  1470. "category": "GitLens",
  1471. "icon": {
  1472. "dark": "images/dark/git-icon-orange.svg",
  1473. "light": "images/light/git-icon-orange.svg"
  1474. }
  1475. },
  1476. {
  1477. "command": "gitlens.computingFileAnnotations",
  1478. "title": "Computing File Annotations...",
  1479. "category": "GitLens",
  1480. "icon": {
  1481. "dark": "images/dark/git-icon-progress.svg",
  1482. "light": "images/light/git-icon-progress.svg"
  1483. }
  1484. },
  1485. {
  1486. "command": "gitlens.toggleFileHeatmap",
  1487. "title": "Toggle File Heatmap Annotations",
  1488. "category": "GitLens"
  1489. },
  1490. {
  1491. "command": "gitlens.toggleFileRecentChanges",
  1492. "title": "Toggle Recent File Changes Annotations",
  1493. "category": "GitLens",
  1494. "icon": {
  1495. "dark": "images/dark/git-icon.svg",
  1496. "light": "images/light/git-icon.svg"
  1497. }
  1498. },
  1499. {
  1500. "command": "gitlens.toggleLineBlame",
  1501. "title": "Toggle Line Blame Annotations",
  1502. "category": "GitLens"
  1503. },
  1504. {
  1505. "command": "gitlens.toggleCodeLens",
  1506. "title": "Toggle Git Code Lens",
  1507. "category": "GitLens"
  1508. },
  1509. {
  1510. "command": "gitlens.switchMode",
  1511. "title": "Switch Mode",
  1512. "category": "GitLens"
  1513. },
  1514. {
  1515. "command": "gitlens.toggleReviewMode",
  1516. "title": "Toggle Review Mode",
  1517. "category": "GitLens"
  1518. },
  1519. {
  1520. "command": "gitlens.toggleZenMode",
  1521. "title": "Toggle Zen Mode",
  1522. "category": "GitLens"
  1523. },
  1524. {
  1525. "command": "gitlens.showCommitSearch",
  1526. "title": "Search Commits",
  1527. "category": "GitLens",
  1528. "icon": {
  1529. "dark": "images/dark/icon-search.svg",
  1530. "light": "images/light/icon-search.svg"
  1531. }
  1532. },
  1533. {
  1534. "command": "gitlens.showLastQuickPick",
  1535. "title": "Show Last Opened Quick Pick",
  1536. "category": "GitLens"
  1537. },
  1538. {
  1539. "command": "gitlens.showQuickCommitDetails",
  1540. "title": "Show Commit Details",
  1541. "category": "GitLens"
  1542. },
  1543. {
  1544. "command": "gitlens.showQuickCommitFileDetails",
  1545. "title": "Show Commit Details",
  1546. "category": "GitLens"
  1547. },
  1548. {
  1549. "command": "gitlens.showQuickFileHistory",
  1550. "title": "Show File History",
  1551. "category": "GitLens"
  1552. },
  1553. {
  1554. "command": "gitlens.showQuickBranchHistory",
  1555. "title": "Show Branch History",
  1556. "category": "GitLens"
  1557. },
  1558. {
  1559. "command": "gitlens.showQuickRepoHistory",
  1560. "title": "Show Current Branch History",
  1561. "category": "GitLens"
  1562. },
  1563. {
  1564. "command": "gitlens.showQuickRepoStatus",
  1565. "title": "Show Repository Status",
  1566. "category": "GitLens"
  1567. },
  1568. {
  1569. "command": "gitlens.showQuickStashList",
  1570. "title": "Show Stashed Changes",
  1571. "category": "GitLens"
  1572. },
  1573. {
  1574. "command": "gitlens.copyShaToClipboard",
  1575. "title": "Copy Commit ID to Clipboard",
  1576. "category": "GitLens"
  1577. },
  1578. {
  1579. "command": "gitlens.copyMessageToClipboard",
  1580. "title": "Copy Commit Message to Clipboard",
  1581. "category": "GitLens"
  1582. },
  1583. {
  1584. "command": "gitlens.closeUnchangedFiles",
  1585. "title": "Close Unchanged Files",
  1586. "category": "GitLens"
  1587. },
  1588. {
  1589. "command": "gitlens.openChangedFiles",
  1590. "title": "Open Changed Files",
  1591. "category": "GitLens"
  1592. },
  1593. {
  1594. "command": "gitlens.openBranchesInRemote",
  1595. "title": "Open Branches in Remote",
  1596. "category": "GitLens"
  1597. },
  1598. {
  1599. "command": "gitlens.openBranchInRemote",
  1600. "title": "Open Branch in Remote",
  1601. "category": "GitLens"
  1602. },
  1603. {
  1604. "command": "gitlens.openCommitInRemote",
  1605. "title": "Open Commit in Remote",
  1606. "category": "GitLens"
  1607. },
  1608. {
  1609. "command": "gitlens.openFileInRemote",
  1610. "title": "Open File in Remote",
  1611. "category": "GitLens"
  1612. },
  1613. {
  1614. "command": "gitlens.openFileRevision",
  1615. "title": "Open Revision...",
  1616. "category": "GitLens"
  1617. },
  1618. {
  1619. "command": "gitlens.openRepoInRemote",
  1620. "title": "Open Repository in Remote",
  1621. "category": "GitLens"
  1622. },
  1623. {
  1624. "command": "gitlens.openWorkingFile",
  1625. "title": "Open Working File",
  1626. "category": "GitLens",
  1627. "icon": {
  1628. "dark": "images/dark/icon-open-working-file.svg",
  1629. "light": "images/light/icon-open-working-file.svg"
  1630. }
  1631. },
  1632. {
  1633. "command": "gitlens.stashApply",
  1634. "title": "Apply Stashed Changes",
  1635. "category": "GitLens"
  1636. },
  1637. {
  1638. "command": "gitlens.stashDelete",
  1639. "title": "Delete Stashed Changes",
  1640. "category": "GitLens"
  1641. },
  1642. {
  1643. "command": "gitlens.stashSave",
  1644. "title": "Stash Changes",
  1645. "category": "GitLens",
  1646. "icon": {
  1647. "dark": "images/dark/icon-add.svg",
  1648. "light": "images/light/icon-add.svg"
  1649. }
  1650. },
  1651. {
  1652. "command": "gitlens.externalDiff",
  1653. "title": "Open Changes (with difftool)",
  1654. "category": "GitLens"
  1655. },
  1656. {
  1657. "command": "gitlens.externalDiffAll",
  1658. "title": "Open All Changes (with difftool)",
  1659. "category": "GitLens"
  1660. },
  1661. {
  1662. "command": "gitlens.resetSuppressedWarnings",
  1663. "title": "Reset Suppressed Warnings",
  1664. "category": "GitLens"
  1665. },
  1666. {
  1667. "command": "gitlens.explorers.openDirectoryDiff",
  1668. "title": "Open Directory Compare",
  1669. "category": "GitLens"
  1670. },
  1671. {
  1672. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1673. "title": "Open Directory Compare with Working Tree",
  1674. "category": "GitLens"
  1675. },
  1676. {
  1677. "command": "gitlens.explorers.openChanges",
  1678. "title": "Open Changes",
  1679. "category": "GitLens"
  1680. },
  1681. {
  1682. "command": "gitlens.explorers.openChangesWithWorking",
  1683. "title": "Open Changes with Working File",
  1684. "category": "GitLens"
  1685. },
  1686. {
  1687. "command": "gitlens.explorers.openFile",
  1688. "title": "Open File",
  1689. "category": "GitLens",
  1690. "icon": {
  1691. "dark": "images/dark/icon-open-file.svg",
  1692. "light": "images/light/icon-open-file.svg"
  1693. }
  1694. },
  1695. {
  1696. "command": "gitlens.explorers.openFileRevision",
  1697. "title": "Open Revision",
  1698. "category": "GitLens"
  1699. },
  1700. {
  1701. "command": "gitlens.explorers.openFileRevisionInRemote",
  1702. "title": "Open Revision in Remote",
  1703. "category": "GitLens"
  1704. },
  1705. {
  1706. "command": "gitlens.explorers.openChangedFiles",
  1707. "title": "Open Files",
  1708. "category": "GitLens"
  1709. },
  1710. {
  1711. "command": "gitlens.explorers.openChangedFileChanges",
  1712. "title": "Open All Changes",
  1713. "category": "GitLens"
  1714. },
  1715. {
  1716. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1717. "title": "Open All Changes with Working Tree",
  1718. "category": "GitLens"
  1719. },
  1720. {
  1721. "command": "gitlens.explorers.openChangedFileRevisions",
  1722. "title": "Open Revisions",
  1723. "category": "GitLens"
  1724. },
  1725. {
  1726. "command": "gitlens.explorers.applyChanges",
  1727. "title": "Apply Changes",
  1728. "category": "GitLens"
  1729. },
  1730. {
  1731. "command": "gitlens.explorers.closeRepository",
  1732. "title": "Close Repository",
  1733. "category": "GitLens"
  1734. },
  1735. {
  1736. "command": "gitlens.explorers.compareAncestryWithWorking",
  1737. "title": "Compare Ancestry with Working Tree",
  1738. "category": "GitLens"
  1739. },
  1740. {
  1741. "command": "gitlens.explorers.compareWithHead",
  1742. "title": "Compare with HEAD",
  1743. "category": "GitLens"
  1744. },
  1745. {
  1746. "command": "gitlens.explorers.compareWithRemote",
  1747. "title": "Compare with Remote",
  1748. "category": "GitLens"
  1749. },
  1750. {
  1751. "command": "gitlens.explorers.compareWithSelected",
  1752. "title": "Compare with Selected",
  1753. "category": "GitLens"
  1754. },
  1755. {
  1756. "command": "gitlens.explorers.compareWithWorking",
  1757. "title": "Compare with Working Tree",
  1758. "category": "GitLens"
  1759. },
  1760. {
  1761. "command": "gitlens.explorers.selectForCompare",
  1762. "title": "Select for Compare",
  1763. "category": "GitLens"
  1764. },
  1765. {
  1766. "command": "gitlens.explorers.terminalCheckoutBranch",
  1767. "title": "Checkout Branch (via Terminal)",
  1768. "category": "GitLens"
  1769. },
  1770. {
  1771. "command": "gitlens.explorers.terminalCreateBranch",
  1772. "title": "Create Branch (via Terminal)...",
  1773. "category": "GitLens"
  1774. },
  1775. {
  1776. "command": "gitlens.explorers.terminalDeleteBranch",
  1777. "title": "Delete Branch (via Terminal)",
  1778. "category": "GitLens"
  1779. },
  1780. {
  1781. "command": "gitlens.explorers.terminalMergeBranch",
  1782. "title": "Merge Branch (via Terminal)",
  1783. "category": "GitLens"
  1784. },
  1785. {
  1786. "command": "gitlens.explorers.terminalRebaseBranch",
  1787. "title": "Rebase (Interactive) Branch (via Terminal)",
  1788. "category": "GitLens"
  1789. },
  1790. {
  1791. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1792. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1793. "category": "GitLens"
  1794. },
  1795. {
  1796. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1797. "title": "Squash Branch into Commit (via Terminal)",
  1798. "category": "GitLens"
  1799. },
  1800. {
  1801. "command": "gitlens.explorers.terminalCherryPickCommit",
  1802. "title": "Cherry Pick Commit (via Terminal)",
  1803. "category": "GitLens"
  1804. },
  1805. {
  1806. "command": "gitlens.explorers.terminalPushCommit",
  1807. "title": "Push to Commit (via Terminal)",
  1808. "category": "GitLens"
  1809. },
  1810. {
  1811. "command": "gitlens.explorers.terminalRebaseCommit",
  1812. "title": "Rebase to Commit (via Terminal)",
  1813. "category": "GitLens"
  1814. },
  1815. {
  1816. "command": "gitlens.explorers.terminalResetCommit",
  1817. "title": "Reset to Commit (via Terminal)",
  1818. "category": "GitLens"
  1819. },
  1820. {
  1821. "command": "gitlens.explorers.terminalRevertCommit",
  1822. "title": "Revert Commit (via Terminal)",
  1823. "category": "GitLens"
  1824. },
  1825. {
  1826. "command": "gitlens.explorers.terminalRemoveRemote",
  1827. "title": "Remove Remote (via Terminal)",
  1828. "category": "GitLens"
  1829. },
  1830. {
  1831. "command": "gitlens.explorers.terminalCreateTag",
  1832. "title": "Create Tag (via Terminal)...",
  1833. "category": "GitLens"
  1834. },
  1835. {
  1836. "command": "gitlens.explorers.terminalDeleteTag",
  1837. "title": "Delete Tag (via Terminal)",
  1838. "category": "GitLens"
  1839. },
  1840. {
  1841. "command": "gitlens.gitExplorer.undockHistory",
  1842. "title": "Undock File History from GitLens Explorer",
  1843. "category": "GitLens",
  1844. "icon": {
  1845. "dark": "images/dark/icon-undock.svg",
  1846. "light": "images/light/icon-undock.svg"
  1847. }
  1848. },
  1849. {
  1850. "command": "gitlens.gitExplorer.refresh",
  1851. "title": "Refresh",
  1852. "category": "GitLens",
  1853. "icon": {
  1854. "dark": "images/dark/icon-refresh.svg",
  1855. "light": "images/light/icon-refresh.svg"
  1856. }
  1857. },
  1858. {
  1859. "command": "gitlens.gitExplorer.refreshNode",
  1860. "title": "Refresh",
  1861. "category": "GitLens"
  1862. },
  1863. {
  1864. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1865. "title": "Automatic Layout",
  1866. "category": "GitLens"
  1867. },
  1868. {
  1869. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1870. "title": "List Layout",
  1871. "category": "GitLens"
  1872. },
  1873. {
  1874. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1875. "title": "Tree Layout",
  1876. "category": "GitLens"
  1877. },
  1878. {
  1879. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1880. "title": "Enable Automatic Refresh",
  1881. "category": "GitLens"
  1882. },
  1883. {
  1884. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1885. "title": "Disable Automatic Refresh",
  1886. "category": "GitLens"
  1887. },
  1888. {
  1889. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1890. "title": "Follow Renames",
  1891. "category": "GitLens"
  1892. },
  1893. {
  1894. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  1895. "title": "Don't Follow Renames",
  1896. "category": "GitLens"
  1897. },
  1898. {
  1899. "command": "gitlens.gitExplorer.switchToHistoryView",
  1900. "title": "Switch to File History View",
  1901. "category": "GitLens",
  1902. "icon": {
  1903. "dark": "images/dark/icon-history.svg",
  1904. "light": "images/light/icon-history.svg"
  1905. }
  1906. },
  1907. {
  1908. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1909. "title": "Switch to Repository View",
  1910. "category": "GitLens",
  1911. "icon": {
  1912. "dark": "images/dark/icon-repo.svg",
  1913. "light": "images/light/icon-repo.svg"
  1914. }
  1915. },
  1916. {
  1917. "command": "gitlens.historyExplorer.close",
  1918. "title": "Close",
  1919. "category": "GitLens",
  1920. "icon": {
  1921. "dark": "images/dark/icon-close.svg",
  1922. "light": "images/light/icon-close.svg"
  1923. }
  1924. },
  1925. {
  1926. "command": "gitlens.historyExplorer.dock",
  1927. "title": "Dock File History to GitLens Explorer",
  1928. "category": "GitLens",
  1929. "icon": {
  1930. "dark": "images/dark/icon-dock.svg",
  1931. "light": "images/light/icon-dock.svg"
  1932. }
  1933. },
  1934. {
  1935. "command": "gitlens.historyExplorer.refresh",
  1936. "title": "Refresh",
  1937. "category": "GitLens",
  1938. "icon": {
  1939. "dark": "images/dark/icon-refresh.svg",
  1940. "light": "images/light/icon-refresh.svg"
  1941. }
  1942. },
  1943. {
  1944. "command": "gitlens.historyExplorer.refreshNode",
  1945. "title": "Refresh",
  1946. "category": "GitLens"
  1947. },
  1948. {
  1949. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  1950. "title": "Follow Renames",
  1951. "category": "GitLens"
  1952. },
  1953. {
  1954. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  1955. "title": "Don't Follow Renames",
  1956. "category": "GitLens"
  1957. },
  1958. {
  1959. "command": "gitlens.resultsExplorer.clearResultsNode",
  1960. "title": "Clear Results",
  1961. "category": "GitLens",
  1962. "icon": {
  1963. "dark": "images/dark/icon-close-small.svg",
  1964. "light": "images/light/icon-close-small.svg"
  1965. }
  1966. },
  1967. {
  1968. "command": "gitlens.resultsExplorer.close",
  1969. "title": "Close",
  1970. "category": "GitLens",
  1971. "icon": {
  1972. "dark": "images/dark/icon-close.svg",
  1973. "light": "images/light/icon-close.svg"
  1974. }
  1975. },
  1976. {
  1977. "command": "gitlens.resultsExplorer.refresh",
  1978. "title": "Refresh",
  1979. "category": "GitLens",
  1980. "icon": {
  1981. "dark": "images/dark/icon-refresh.svg",
  1982. "light": "images/light/icon-refresh.svg"
  1983. }
  1984. },
  1985. {
  1986. "command": "gitlens.resultsExplorer.refreshNode",
  1987. "title": "Refresh",
  1988. "category": "GitLens"
  1989. },
  1990. {
  1991. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1992. "title": "Automatic Layout",
  1993. "category": "GitLens"
  1994. },
  1995. {
  1996. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1997. "title": "List Layout",
  1998. "category": "GitLens"
  1999. },
  2000. {
  2001. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2002. "title": "Tree Layout",
  2003. "category": "GitLens"
  2004. },
  2005. {
  2006. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2007. "title": "Keep Results",
  2008. "category": "GitLens",
  2009. "icon": {
  2010. "dark": "images/dark/icon-lock.svg",
  2011. "light": "images/light/icon-lock.svg"
  2012. }
  2013. },
  2014. {
  2015. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2016. "title": "Keep Results",
  2017. "category": "GitLens",
  2018. "icon": {
  2019. "dark": "images/dark/icon-locked.svg",
  2020. "light": "images/light/icon-locked.svg"
  2021. }
  2022. },
  2023. {
  2024. "command": "gitlens.resultsExplorer.swapComparision",
  2025. "title": "Swap Comparision",
  2026. "category": "GitLens",
  2027. "icon": {
  2028. "dark": "images/dark/icon-swap.svg",
  2029. "light": "images/light/icon-swap.svg"
  2030. }
  2031. }
  2032. ],
  2033. "menus": {
  2034. "commandPalette": [
  2035. {
  2036. "command": "gitlens.showGitExplorer",
  2037. "when": "gitlens:enabled && gitlens:gitExplorer"
  2038. },
  2039. {
  2040. "command": "gitlens.showHistoryExplorer",
  2041. "when": "gitlens:enabled && gitlens:historyExplorer"
  2042. },
  2043. {
  2044. "command": "gitlens.showHistoryExplorer",
  2045. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer"
  2046. },
  2047. {
  2048. "command": "gitlens.showResultsExplorer",
  2049. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2050. },
  2051. {
  2052. "command": "gitlens.diffDirectory",
  2053. "when": "gitlens:enabled"
  2054. },
  2055. {
  2056. "command": "gitlens.diffHeadWithBranch",
  2057. "when": "gitlens:enabled"
  2058. },
  2059. {
  2060. "command": "gitlens.diffWorkingWithBranch",
  2061. "when": "gitlens:enabled"
  2062. },
  2063. {
  2064. "command": "gitlens.diffWith",
  2065. "when": "false"
  2066. },
  2067. {
  2068. "command": "gitlens.diffWithBranch",
  2069. "when": "gitlens:activeFileStatus =~ /tracked/"
  2070. },
  2071. {
  2072. "command": "gitlens.diffWithNext",
  2073. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/"
  2074. },
  2075. {
  2076. "command": "gitlens.diffWithPrevious",
  2077. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2078. },
  2079. {
  2080. "command": "gitlens.diffWithPreviousInDiff",
  2081. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  2082. },
  2083. {
  2084. "command": "gitlens.diffLineWithPrevious",
  2085. "when": "gitlens:activeFileStatus =~ /blameable/"
  2086. },
  2087. {
  2088. "command": "gitlens.diffWithRevision",
  2089. "when": "gitlens:activeFileStatus =~ /tracked/"
  2090. },
  2091. {
  2092. "command": "gitlens.diffWithWorking",
  2093. "when": "gitlens:activeFileStatus =~ /tracked/"
  2094. },
  2095. {
  2096. "command": "gitlens.diffLineWithWorking",
  2097. "when": "gitlens:activeFileStatus =~ /blameable/"
  2098. },
  2099. {
  2100. "command": "gitlens.externalDiff",
  2101. "when": "gitlens:enabled"
  2102. },
  2103. {
  2104. "command": "gitlens.externalDiffAll",
  2105. "when": "gitlens:enabled"
  2106. },
  2107. {
  2108. "command": "gitlens.toggleFileBlame",
  2109. "when": "gitlens:activeFileStatus =~ /blameable/"
  2110. },
  2111. {
  2112. "command": "gitlens.clearFileAnnotations",
  2113. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
  2114. },
  2115. {
  2116. "command": "gitlens.computingFileAnnotations",
  2117. "when": "false"
  2118. },
  2119. {
  2120. "command": "gitlens.toggleFileHeatmap",
  2121. "when": "gitlens:activeFileStatus =~ /blameable/"
  2122. },
  2123. {
  2124. "command": "gitlens.toggleFileRecentChanges",
  2125. "when": "gitlens:activeFileStatus =~ /blameable/"
  2126. },
  2127. {
  2128. "command": "gitlens.toggleLineBlame",
  2129. "when": "gitlens:enabled"
  2130. },
  2131. {
  2132. "command": "gitlens.toggleCodeLens",
  2133. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2134. },
  2135. {
  2136. "command": "gitlens.switchMode",
  2137. "when": "gitlens:enabled"
  2138. },
  2139. {
  2140. "command": "gitlens.toggleReviewMode",
  2141. "when": "gitlens:enabled"
  2142. },
  2143. {
  2144. "command": "gitlens.toggleZenMode",
  2145. "when": "gitlens:enabled"
  2146. },
  2147. {
  2148. "command": "gitlens.showCommitSearch",
  2149. "when": "gitlens:enabled"
  2150. },
  2151. {
  2152. "command": "gitlens.showLastQuickPick",
  2153. "when": "gitlens:enabled"
  2154. },
  2155. {
  2156. "command": "gitlens.showQuickCommitDetails",
  2157. "when": "gitlens:activeFileStatus =~ /blameable/"
  2158. },
  2159. {
  2160. "command": "gitlens.showQuickCommitFileDetails",
  2161. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  2162. },
  2163. {
  2164. "command": "gitlens.showQuickFileHistory",
  2165. "when": "gitlens:activeFileStatus =~ /tracked/"
  2166. },
  2167. {
  2168. "command": "gitlens.showQuickBranchHistory",
  2169. "when": "gitlens:enabled"
  2170. },
  2171. {
  2172. "command": "gitlens.showQuickRepoHistory",
  2173. "when": "gitlens:enabled"
  2174. },
  2175. {
  2176. "command": "gitlens.showQuickRepoStatus",
  2177. "when": "gitlens:enabled"
  2178. },
  2179. {
  2180. "command": "gitlens.showQuickStashList",
  2181. "when": "gitlens:enabled"
  2182. },
  2183. {
  2184. "command": "gitlens.copyShaToClipboard",
  2185. "when": "gitlens:activeFileStatus =~ /blameable/"
  2186. },
  2187. {
  2188. "command": "gitlens.copyMessageToClipboard",
  2189. "when": "gitlens:activeFileStatus =~ /blameable/"
  2190. },
  2191. {
  2192. "command": "gitlens.closeUnchangedFiles",
  2193. "when": "gitlens:enabled"
  2194. },
  2195. {
  2196. "command": "gitlens.openChangedFiles",
  2197. "when": "gitlens:enabled"
  2198. },
  2199. {
  2200. "command": "gitlens.openBranchesInRemote",
  2201. "when": "gitlens:hasRemotes"
  2202. },
  2203. {
  2204. "command": "gitlens.openBranchInRemote",
  2205. "when": "gitlens:hasRemotes"
  2206. },
  2207. {
  2208. "command": "gitlens.openCommitInRemote",
  2209. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
  2210. },
  2211. {
  2212. "command": "gitlens.openFileInRemote",
  2213. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
  2214. },
  2215. {
  2216. "command": "gitlens.openFileRevision",
  2217. "when": "gitlens:activeFileStatus =~ /tracked/"
  2218. },
  2219. {
  2220. "command": "gitlens.openRepoInRemote",
  2221. "when": "gitlens:hasRemotes"
  2222. },
  2223. {
  2224. "command": "gitlens.openWorkingFile",
  2225. "when": "gitlens:activeFileStatus =~ /revision/"
  2226. },
  2227. {
  2228. "command": "gitlens.stashApply",
  2229. "when": "gitlens:enabled"
  2230. },
  2231. {
  2232. "command": "gitlens.stashDelete",
  2233. "when": "false"
  2234. },
  2235. {
  2236. "command": "gitlens.stashSave",
  2237. "when": "gitlens:enabled"
  2238. },
  2239. {
  2240. "command": "gitlens.resetSuppressedWarnings",
  2241. "when": "gitlens:enabled"
  2242. },
  2243. {
  2244. "command": "gitlens.explorers.openChanges",
  2245. "when": "false"
  2246. },
  2247. {
  2248. "command": "gitlens.explorers.openDirectoryDiff",
  2249. "when": "false"
  2250. },
  2251. {
  2252. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2253. "when": "false"
  2254. },
  2255. {
  2256. "command": "gitlens.explorers.openChangesWithWorking",
  2257. "when": "false"
  2258. },
  2259. {
  2260. "command": "gitlens.explorers.openFile",
  2261. "when": "false"
  2262. },
  2263. {
  2264. "command": "gitlens.explorers.openFileRevision",
  2265. "when": "false"
  2266. },
  2267. {
  2268. "command": "gitlens.explorers.openFileRevisionInRemote",
  2269. "when": "false"
  2270. },
  2271. {
  2272. "command": "gitlens.explorers.openChangedFiles",
  2273. "when": "false"
  2274. },
  2275. {
  2276. "command": "gitlens.explorers.openChangedFileChanges",
  2277. "when": "false"
  2278. },
  2279. {
  2280. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2281. "when": "false"
  2282. },
  2283. {
  2284. "command": "gitlens.explorers.openChangedFileRevisions",
  2285. "when": "false"
  2286. },
  2287. {
  2288. "command": "gitlens.explorers.applyChanges",
  2289. "when": "false"
  2290. },
  2291. {
  2292. "command": "gitlens.explorers.closeRepository",
  2293. "when": "false"
  2294. },
  2295. {
  2296. "command": "gitlens.explorers.compareAncestryWithWorking",
  2297. "when": "false"
  2298. },
  2299. {
  2300. "command": "gitlens.explorers.compareWithHead",
  2301. "when": "false"
  2302. },
  2303. {
  2304. "command": "gitlens.explorers.compareWithRemote",
  2305. "when": "false"
  2306. },
  2307. {
  2308. "command": "gitlens.explorers.compareWithSelected",
  2309. "when": "false"
  2310. },
  2311. {
  2312. "command": "gitlens.explorers.compareWithWorking",
  2313. "when": "false"
  2314. },
  2315. {
  2316. "command": "gitlens.explorers.selectForCompare",
  2317. "when": "false"
  2318. },
  2319. {
  2320. "command": "gitlens.explorers.terminalCheckoutBranch",
  2321. "when": "false"
  2322. },
  2323. {
  2324. "command": "gitlens.explorers.terminalCreateBranch",
  2325. "when": "false"
  2326. },
  2327. {
  2328. "command": "gitlens.explorers.terminalDeleteBranch",
  2329. "when": "false"
  2330. },
  2331. {
  2332. "command": "gitlens.explorers.terminalMergeBranch",
  2333. "when": "false"
  2334. },
  2335. {
  2336. "command": "gitlens.explorers.terminalRebaseBranch",
  2337. "when": "false"
  2338. },
  2339. {
  2340. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2341. "when": "false"
  2342. },
  2343. {
  2344. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2345. "when": "false"
  2346. },
  2347. {
  2348. "command": "gitlens.explorers.terminalCherryPickCommit",
  2349. "when": "false"
  2350. },
  2351. {
  2352. "command": "gitlens.explorers.terminalPushCommit",
  2353. "when": "false"
  2354. },
  2355. {
  2356. "command": "gitlens.explorers.terminalRebaseCommit",
  2357. "when": "false"
  2358. },
  2359. {
  2360. "command": "gitlens.explorers.terminalResetCommit",
  2361. "when": "false"
  2362. },
  2363. {
  2364. "command": "gitlens.explorers.terminalRevertCommit",
  2365. "when": "false"
  2366. },
  2367. {
  2368. "command": "gitlens.explorers.terminalRemoveRemote",
  2369. "when": "false"
  2370. },
  2371. {
  2372. "command": "gitlens.explorers.terminalCreateTag",
  2373. "when": "false"
  2374. },
  2375. {
  2376. "command": "gitlens.explorers.terminalDeleteTag",
  2377. "when": "false"
  2378. },
  2379. {
  2380. "command": "gitlens.gitExplorer.refresh",
  2381. "when": "false"
  2382. },
  2383. {
  2384. "command": "gitlens.gitExplorer.refreshNode",
  2385. "when": "false"
  2386. },
  2387. {
  2388. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2389. "when": "false"
  2390. },
  2391. {
  2392. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2393. "when": "false"
  2394. },
  2395. {
  2396. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2397. "when": "false"
  2398. },
  2399. {
  2400. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2401. "when": "false"
  2402. },
  2403. {
  2404. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2405. "when": "false"
  2406. },
  2407. {
  2408. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2409. "when": "false"
  2410. },
  2411. {
  2412. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2413. "when": "false"
  2414. },
  2415. {
  2416. "command": "gitlens.gitExplorer.switchToHistoryView",
  2417. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository"
  2418. },
  2419. {
  2420. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2421. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == history"
  2422. },
  2423. {
  2424. "command": "gitlens.gitExplorer.undockHistory",
  2425. "when": "gitlens:enabled && !gitlens:historyExplorer"
  2426. },
  2427. {
  2428. "command": "gitlens.historyExplorer.close",
  2429. "when": "false"
  2430. },
  2431. {
  2432. "command": "gitlens.historyExplorer.dock",
  2433. "when": "gitlens:enabled && gitlens:historyExplorer"
  2434. },
  2435. {
  2436. "command": "gitlens.historyExplorer.refresh",
  2437. "when": "false"
  2438. },
  2439. {
  2440. "command": "gitlens.historyExplorer.refreshNode",
  2441. "when": "false"
  2442. },
  2443. {
  2444. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2445. "when": "false"
  2446. },
  2447. {
  2448. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2449. "when": "false"
  2450. },
  2451. {
  2452. "command": "gitlens.resultsExplorer.clearResultsNode",
  2453. "when": "false"
  2454. },
  2455. {
  2456. "command": "gitlens.resultsExplorer.close",
  2457. "when": "false"
  2458. },
  2459. {
  2460. "command": "gitlens.resultsExplorer.refresh",
  2461. "when": "false"
  2462. },
  2463. {
  2464. "command": "gitlens.resultsExplorer.refreshNode",
  2465. "when": "false"
  2466. },
  2467. {
  2468. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2469. "when": "false"
  2470. },
  2471. {
  2472. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2473. "when": "false"
  2474. },
  2475. {
  2476. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2477. "when": "false"
  2478. },
  2479. {
  2480. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2481. "when": "false"
  2482. },
  2483. {
  2484. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2485. "when": "false"
  2486. },
  2487. {
  2488. "command": "gitlens.resultsExplorer.swapComparision",
  2489. "when": "false"
  2490. }
  2491. ],
  2492. "editor/context": [
  2493. {
  2494. "command": "gitlens.diffLineWithPrevious",
  2495. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2496. "group": "1_gitlens@1"
  2497. },
  2498. {
  2499. "command": "gitlens.diffLineWithWorking",
  2500. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
  2501. "group": "1_gitlens@2"
  2502. },
  2503. {
  2504. "command": "gitlens.openFileInRemote",
  2505. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2506. "group": "1_gitlens_1@1"
  2507. },
  2508. {
  2509. "command": "gitlens.openCommitInRemote",
  2510. "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
  2511. "group": "1_gitlens_1@2"
  2512. },
  2513. {
  2514. "command": "gitlens.showQuickCommitFileDetails",
  2515. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
  2516. "group": "1_gitlens_1@3"
  2517. },
  2518. {
  2519. "command": "gitlens.showQuickFileHistory",
  2520. "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
  2521. "group": "3_gitlens@1"
  2522. },
  2523. {
  2524. "command": "gitlens.toggleFileBlame",
  2525. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
  2526. "group": "3_gitlens@2"
  2527. },
  2528. {
  2529. "command": "gitlens.copyShaToClipboard",
  2530. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2531. "group": "9_gitlens@1"
  2532. },
  2533. {
  2534. "command": "gitlens.copyMessageToClipboard",
  2535. "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
  2536. "group": "9_gitlens@2"
  2537. }
  2538. ],
  2539. "editor/title": [
  2540. {
  2541. "command": "gitlens.diffWithPrevious",
  2542. "alt": "gitlens.diffWithRevision",
  2543. "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2544. "group": "navigation@97"
  2545. },
  2546. {
  2547. "command": "gitlens.diffWithPreviousInDiff",
  2548. "alt": "gitlens.diffWithRevision",
  2549. "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
  2550. "group": "navigation@97"
  2551. },
  2552. {
  2553. "command": "gitlens.diffWithNext",
  2554. "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
  2555. "group": "navigation@98"
  2556. },
  2557. {
  2558. "command": "gitlens.openWorkingFile",
  2559. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git",
  2560. "group": "navigation@99"
  2561. },
  2562. {
  2563. "command": "gitlens.openWorkingFile",
  2564. "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && isInDiffEditor",
  2565. "group": "navigation@99"
  2566. },
  2567. {
  2568. "command": "gitlens.openWorkingFile",
  2569. "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
  2570. "group": "navigation@99"
  2571. },
  2572. {
  2573. "command": "gitlens.toggleFileBlame",
  2574. "alt": "gitlens.toggleFileRecentChanges",
  2575. "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  2576. "group": "navigation@100"
  2577. },
  2578. {
  2579. "command": "gitlens.computingFileAnnotations",
  2580. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  2581. "group": "navigation@100"
  2582. },
  2583. {
  2584. "command": "gitlens.clearFileAnnotations",
  2585. "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  2586. "group": "navigation@100"
  2587. },
  2588. {
  2589. "command": "gitlens.openFileInRemote",
  2590. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorGroup.remote",
  2591. "group": "4_gitlens"
  2592. },
  2593. {
  2594. "command": "gitlens.showQuickFileHistory",
  2595. "when": "editorFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.history",
  2596. "group": "4_gitlens"
  2597. }
  2598. ],
  2599. "editor/title/context": [
  2600. {
  2601. "command": "gitlens.openFileInRemote",
  2602. "when": "gitlens:enabled && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editorTab.remote",
  2603. "group": "2_files@100"
  2604. },
  2605. {
  2606. "command": "gitlens.diffWithPrevious",
  2607. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2608. "group": "1_gitlens_1@1"
  2609. },
  2610. {
  2611. "command": "gitlens.diffWithWorking",
  2612. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2613. "group": "1_gitlens_1@2"
  2614. },
  2615. {
  2616. "command": "gitlens.showQuickFileHistory",
  2617. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  2618. "group": "1_gitlens_2@1"
  2619. }
  2620. ],
  2621. "explorer/context": [
  2622. {
  2623. "command": "gitlens.openFileInRemote",
  2624. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2625. "group": "navigation@100"
  2626. },
  2627. {
  2628. "command": "gitlens.showQuickFileHistory",
  2629. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  2630. "group": "1_gitlens_1@1"
  2631. },
  2632. {
  2633. "command": "gitlens.diffWithPrevious",
  2634. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  2635. "group": "3_compare@1"
  2636. }
  2637. ],
  2638. "scm/resourceGroup/context": [
  2639. {
  2640. "command": "gitlens.openChangedFiles",
  2641. "when": "gitlens:enabled",
  2642. "group": "2_gitlens@1"
  2643. },
  2644. {
  2645. "command": "gitlens.closeUnchangedFiles",
  2646. "when": "gitlens:enabled",
  2647. "group": "2_gitlens@2"
  2648. },
  2649. {
  2650. "command": "gitlens.externalDiff",
  2651. "when": "gitlens:enabled",
  2652. "group": "2_gitlens@3"
  2653. },
  2654. {
  2655. "command": "gitlens.externalDiffAll",
  2656. "when": "gitlens:enabled",
  2657. "group": "2_gitlens@4"
  2658. },
  2659. {
  2660. "command": "gitlens.stashSave",
  2661. "when": "gitlens:enabled",
  2662. "group": "3_gitlens@1"
  2663. }
  2664. ],
  2665. "scm/resourceState/context": [
  2666. {
  2667. "command": "gitlens.openFileInRemote",
  2668. "when": "gitlens:enabled && gitlens:hasRemotes",
  2669. "group": "navigation"
  2670. },
  2671. {
  2672. "command": "gitlens.externalDiff",
  2673. "when": "gitlens:enabled",
  2674. "group": "navigation"
  2675. },
  2676. {
  2677. "command": "gitlens.diffWithRevision",
  2678. "when": "gitlens:enabled",
  2679. "group": "1_gitlens@1"
  2680. },
  2681. {
  2682. "command": "gitlens.diffWithBranch",
  2683. "when": "gitlens:enabled",
  2684. "group": "1_gitlens@2"
  2685. },
  2686. {
  2687. "command": "gitlens.showQuickFileHistory",
  2688. "when": "gitlens:enabled",
  2689. "group": "1_gitlens_1@1"
  2690. },
  2691. {
  2692. "command": "gitlens.stashSave",
  2693. "when": "gitlens:enabled",
  2694. "group": "2_gitlens@1"
  2695. }
  2696. ],
  2697. "view/title": [
  2698. {
  2699. "command": "gitlens.showCommitSearch",
  2700. "when": "view =~ /^gitlens.gitExplorer:/",
  2701. "group": "navigation@1"
  2702. },
  2703. {
  2704. "command": "gitlens.gitExplorer.undockHistory",
  2705. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && !gitlens:historyExplorer",
  2706. "group": "navigation@2"
  2707. },
  2708. {
  2709. "command": "gitlens.gitExplorer.switchToHistoryView",
  2710. "when": "view =~ /^gitlens.gitExplorer:/ && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository",
  2711. "group": "navigation@3"
  2712. },
  2713. {
  2714. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2715. "when": "view =~ /^gitlens.gitExplorer:/ && !gitlens:historyExplorer && gitlens:gitExplorer:view == history",
  2716. "group": "navigation@3"
  2717. },
  2718. {
  2719. "command": "gitlens.gitExplorer.refresh",
  2720. "when": "view =~ /^gitlens.gitExplorer:/",
  2721. "group": "navigation@8"
  2722. },
  2723. {
  2724. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2725. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2726. "group": "1_gitlens"
  2727. },
  2728. {
  2729. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2730. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2731. "group": "1_gitlens"
  2732. },
  2733. {
  2734. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2735. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2736. "group": "1_gitlens"
  2737. },
  2738. {
  2739. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2740. "when": "view =~ /^gitlens.gitExplorer:/ && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2741. "group": "2_gitlens"
  2742. },
  2743. {
  2744. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2745. "when": "view =~ /^gitlens.gitExplorer:/ && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2746. "group": "2_gitlens"
  2747. },
  2748. {
  2749. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2750. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2751. "group": "2_gitlens_1"
  2752. },
  2753. {
  2754. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2755. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2756. "group": "2_gitlens_1"
  2757. },
  2758. {
  2759. "command": "gitlens.historyExplorer.refresh",
  2760. "when": "view =~ /^gitlens.historyExplorer:/",
  2761. "group": "navigation@1"
  2762. },
  2763. {
  2764. "command": "gitlens.historyExplorer.dock",
  2765. "when": "view =~ /^gitlens.historyExplorer:/ && gitlens:gitExplorer",
  2766. "group": "navigation@9"
  2767. },
  2768. {
  2769. "command": "gitlens.historyExplorer.close",
  2770. "when": "view =~ /^gitlens.historyExplorer:/ && !gitlens:gitExplorer",
  2771. "group": "navigation@9"
  2772. },
  2773. {
  2774. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2775. "when": "view =~ /^gitlens.historyExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2776. "group": "1_gitlens"
  2777. },
  2778. {
  2779. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2780. "when": "view =~ /^gitlens.historyExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  2781. "group": "1_gitlens"
  2782. },
  2783. {
  2784. "command": "gitlens.showCommitSearch",
  2785. "when": "view =~ /^gitlens.resultsExplorer:/",
  2786. "group": "navigation@1"
  2787. },
  2788. {
  2789. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2790. "when": "view =~ /^gitlens.resultsExplorer:/ && !gitlens:resultsExplorer:keepResults",
  2791. "group": "navigation@2"
  2792. },
  2793. {
  2794. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2795. "when": "view =~ /^gitlens.resultsExplorer:/ && gitlens:resultsExplorer:keepResults",
  2796. "group": "navigation@2"
  2797. },
  2798. {
  2799. "command": "gitlens.resultsExplorer.refresh",
  2800. "when": "view =~ /^gitlens.resultsExplorer:/",
  2801. "group": "navigation@3"
  2802. },
  2803. {
  2804. "command": "gitlens.resultsExplorer.close",
  2805. "when": "view =~ /^gitlens.resultsExplorer:/",
  2806. "group": "navigation@9"
  2807. },
  2808. {
  2809. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2810. "when": "view =~ /^gitlens.resultsExplorer:/",
  2811. "group": "1_gitlens"
  2812. },
  2813. {
  2814. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2815. "when": "view =~ /^gitlens.resultsExplorer:/",
  2816. "group": "1_gitlens"
  2817. },
  2818. {
  2819. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2820. "when": "view =~ /^gitlens.resultsExplorer:/",
  2821. "group": "1_gitlens"
  2822. }
  2823. ],
  2824. "view/item/context": [
  2825. {
  2826. "command": "gitlens.openBranchesInRemote",
  2827. "when": "viewItem == gitlens:branches:remotes",
  2828. "group": "1_gitlens@1"
  2829. },
  2830. {
  2831. "command": "gitlens.openBranchInRemote",
  2832. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  2833. "group": "1_gitlens@1"
  2834. },
  2835. {
  2836. "command": "gitlens.explorers.compareWithRemote",
  2837. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  2838. "group": "7_gitlens@1"
  2839. },
  2840. {
  2841. "command": "gitlens.explorers.compareWithHead",
  2842. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  2843. "group": "7_gitlens@2"
  2844. },
  2845. {
  2846. "command": "gitlens.explorers.compareWithWorking",
  2847. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  2848. "group": "7_gitlens@3"
  2849. },
  2850. {
  2851. "command": "gitlens.explorers.compareAncestryWithWorking",
  2852. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  2853. "group": "7_gitlens@4"
  2854. },
  2855. {
  2856. "command": "gitlens.explorers.compareWithSelected",
  2857. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:explorers:canCompare",
  2858. "group": "7_gitlens_@1"
  2859. },
  2860. {
  2861. "command": "gitlens.explorers.selectForCompare",
  2862. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2863. "group": "7_gitlens_@2"
  2864. },
  2865. {
  2866. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2867. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  2868. "group": "7_gitlens_diff@1"
  2869. },
  2870. {
  2871. "command": "gitlens.explorers.terminalCheckoutBranch",
  2872. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2873. "group": "8_gitlens@1"
  2874. },
  2875. {
  2876. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2877. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  2878. "group": "8_gitlens@1"
  2879. },
  2880. {
  2881. "command": "gitlens.explorers.terminalMergeBranch",
  2882. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2883. "group": "8_gitlens@2"
  2884. },
  2885. {
  2886. "command": "gitlens.explorers.terminalRebaseBranch",
  2887. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2888. "group": "8_gitlens@3"
  2889. },
  2890. {
  2891. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2892. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2893. "group": "8_gitlens@4"
  2894. },
  2895. {
  2896. "command": "gitlens.explorers.terminalCreateBranch",
  2897. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  2898. "group": "8_gitlens@5"
  2899. },
  2900. {
  2901. "command": "gitlens.explorers.terminalDeleteBranch",
  2902. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2903. "group": "8_gitlens@6"
  2904. },
  2905. {
  2906. "command": "gitlens.explorers.terminalCreateTag",
  2907. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  2908. "group": "8_gitlens@7"
  2909. },
  2910. {
  2911. "command": "gitlens.openCommitInRemote",
  2912. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  2913. "group": "1_gitlens@1"
  2914. },
  2915. {
  2916. "command": "gitlens.explorers.openChangedFileChanges",
  2917. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2918. "group": "2_gitlens@1"
  2919. },
  2920. {
  2921. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2922. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2923. "group": "2_gitlens@2"
  2924. },
  2925. {
  2926. "command": "gitlens.explorers.openChangedFiles",
  2927. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2928. "group": "3_gitlens@1"
  2929. },
  2930. {
  2931. "command": "gitlens.explorers.openChangedFileRevisions",
  2932. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2933. "group": "3_gitlens@2"
  2934. },
  2935. {
  2936. "command": "gitlens.copyShaToClipboard",
  2937. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  2938. "group": "5_gitlens@1"
  2939. },
  2940. {
  2941. "command": "gitlens.copyMessageToClipboard",
  2942. "when": "viewItem =~ /gitlens:(file:)?(commit|stash)\\b/",
  2943. "group": "5_gitlens@2"
  2944. },
  2945. {
  2946. "command": "gitlens.showQuickCommitDetails",
  2947. "when": "viewItem =~ /gitlens:commit\\b/",
  2948. "group": "5_gitlens_1@1"
  2949. },
  2950. {
  2951. "command": "gitlens.explorers.terminalCherryPickCommit",
  2952. "when": "viewItem == gitlens:commit",
  2953. "group": "8_gitlens@1"
  2954. },
  2955. {
  2956. "command": "gitlens.explorers.terminalPushCommit",
  2957. "when": "viewItem == gitlens:commit:current",
  2958. "group": "8_gitlens@1"
  2959. },
  2960. {
  2961. "command": "gitlens.explorers.terminalRevertCommit",
  2962. "when": "viewItem == gitlens:commit:current",
  2963. "group": "8_gitlens@1"
  2964. },
  2965. {
  2966. "command": "gitlens.explorers.terminalRebaseCommit",
  2967. "when": "viewItem == gitlens:commit:current",
  2968. "group": "8_gitlens@2"
  2969. },
  2970. {
  2971. "command": "gitlens.explorers.terminalResetCommit",
  2972. "when": "viewItem == gitlens:commit:current",
  2973. "group": "8_gitlens@3"
  2974. },
  2975. {
  2976. "command": "gitlens.explorers.openFile",
  2977. "when": "viewItem =~ /gitlens:file\\b/",
  2978. "group": "inline"
  2979. },
  2980. {
  2981. "command": "gitlens.explorers.openChanges",
  2982. "when": "viewItem =~ /gitlens:file\\b/",
  2983. "group": "2_gitlens@1"
  2984. },
  2985. {
  2986. "command": "gitlens.explorers.openChangesWithWorking",
  2987. "when": "viewItem =~ /gitlens:file\\b/",
  2988. "group": "2_gitlens@2"
  2989. },
  2990. {
  2991. "command": "gitlens.explorers.openFile",
  2992. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  2993. "group": "3_gitlens@1"
  2994. },
  2995. {
  2996. "command": "gitlens.explorers.openFileRevision",
  2997. "when": "viewItem =~ /gitlens:file\\b/",
  2998. "group": "3_gitlens@2"
  2999. },
  3000. {
  3001. "command": "gitlens.openFileInRemote",
  3002. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  3003. "group": "4_gitlens@1"
  3004. },
  3005. {
  3006. "command": "gitlens.explorers.openFileRevisionInRemote",
  3007. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  3008. "group": "4_gitlens@2"
  3009. },
  3010. {
  3011. "command": "gitlens.openFileInRemote",
  3012. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  3013. "group": "3_gitlens@2"
  3014. },
  3015. {
  3016. "command": "gitlens.showQuickFileHistory",
  3017. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:gitExplorer:view == repository",
  3018. "group": "8_gitlens@1"
  3019. },
  3020. {
  3021. "command": "gitlens.showQuickCommitFileDetails",
  3022. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  3023. "group": "8_gitlens@2"
  3024. },
  3025. {
  3026. "command": "gitlens.explorers.applyChanges",
  3027. "when": "viewItem =~ /gitlens:file:(commit|status)\\b/",
  3028. "group": "5_gitlens_1@1"
  3029. },
  3030. {
  3031. "command": "gitlens.explorers.applyChanges",
  3032. "when": "viewItem == gitlens:file:stash",
  3033. "group": "1_gitlens@1"
  3034. },
  3035. {
  3036. "command": "gitlens.openRepoInRemote",
  3037. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  3038. "group": "1_gitlens@1"
  3039. },
  3040. {
  3041. "command": "gitlens.explorers.closeRepository",
  3042. "when": "viewItem == gitlens:status",
  3043. "group": "8_gitlens@1"
  3044. },
  3045. {
  3046. "command": "gitlens.openBranchesInRemote",
  3047. "when": "viewItem == gitlens:remote",
  3048. "group": "1_gitlens@1"
  3049. },
  3050. {
  3051. "command": "gitlens.openRepoInRemote",
  3052. "when": "viewItem == gitlens:remote",
  3053. "group": "1_gitlens@2"
  3054. },
  3055. {
  3056. "command": "gitlens.explorers.terminalRemoveRemote",
  3057. "when": "viewItem == gitlens:remote",
  3058. "group": "8_gitlens@1"
  3059. },
  3060. {
  3061. "command": "gitlens.openRepoInRemote",
  3062. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3063. "group": "1_gitlens@1"
  3064. },
  3065. {
  3066. "command": "gitlens.explorers.closeRepository",
  3067. "when": "viewItem == gitlens:repository",
  3068. "group": "8_gitlens@1"
  3069. },
  3070. {
  3071. "command": "gitlens.resultsExplorer.swapComparision",
  3072. "when": "viewItem == gitlens:results:comparison",
  3073. "group": "inline@1"
  3074. },
  3075. {
  3076. "command": "gitlens.resultsExplorer.clearResultsNode",
  3077. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3078. "group": "inline@2"
  3079. },
  3080. {
  3081. "command": "gitlens.resultsExplorer.clearResultsNode",
  3082. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3083. "group": "1_gitlens@1"
  3084. },
  3085. {
  3086. "command": "gitlens.resultsExplorer.swapComparision",
  3087. "when": "viewItem == gitlens:results:comparison",
  3088. "group": "1_gitlens@2"
  3089. },
  3090. {
  3091. "command": "gitlens.explorers.openDirectoryDiff",
  3092. "when": "viewItem == gitlens:results:comparison",
  3093. "group": "7_gitlens@1"
  3094. },
  3095. {
  3096. "command": "gitlens.stashSave",
  3097. "when": "viewItem == gitlens:stashes",
  3098. "group": "1_gitlens@1"
  3099. },
  3100. {
  3101. "command": "gitlens.stashApply",
  3102. "when": "viewItem == gitlens:stash",
  3103. "group": "1_gitlens@1"
  3104. },
  3105. {
  3106. "command": "gitlens.stashDelete",
  3107. "when": "viewItem == gitlens:stash",
  3108. "group": "1_gitlens@2"
  3109. },
  3110. {
  3111. "command": "gitlens.explorers.terminalDeleteTag",
  3112. "when": "viewItem == gitlens:tag",
  3113. "group": "8_gitlens"
  3114. },
  3115. {
  3116. "command": "gitlens.gitExplorer.refreshNode",
  3117. "when": "view =~ /^gitlens.gitExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3118. "group": "9_gitlens@1"
  3119. },
  3120. {
  3121. "command": "gitlens.resultsExplorer.refreshNode",
  3122. "when": "view =~ /^gitlens.resultsExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3123. "group": "9_gitlens@1"
  3124. },
  3125. {
  3126. "command": "gitlens.historyExplorer.refreshNode",
  3127. "when": "view =~ /^gitlens.historyExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3128. "group": "9_gitlens@1"
  3129. }
  3130. ]
  3131. },
  3132. "keybindings": [
  3133. {
  3134. "command": "gitlens.key.left",
  3135. "key": "alt+left",
  3136. "when": "gitlens:key:left"
  3137. },
  3138. {
  3139. "command": "gitlens.key.right",
  3140. "key": "alt+right",
  3141. "when": "gitlens:key:right"
  3142. },
  3143. {
  3144. "command": "gitlens.key.,",
  3145. "key": "alt+,",
  3146. "when": "gitlens:key:,"
  3147. },
  3148. {
  3149. "command": "gitlens.key..",
  3150. "key": "alt+.",
  3151. "when": "gitlens:key:."
  3152. },
  3153. {
  3154. "command": "gitlens.key.escape",
  3155. "key": "escape",
  3156. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3157. },
  3158. {
  3159. "command": "gitlens.toggleFileBlame",
  3160. "key": "alt+b",
  3161. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3162. },
  3163. {
  3164. "command": "gitlens.toggleCodeLens",
  3165. "key": "shift+alt+b",
  3166. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3167. },
  3168. {
  3169. "command": "gitlens.showLastQuickPick",
  3170. "key": "alt+-",
  3171. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3172. },
  3173. {
  3174. "command": "gitlens.showCommitSearch",
  3175. "key": "alt+/",
  3176. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3177. },
  3178. {
  3179. "command": "gitlens.showQuickFileHistory",
  3180. "key": "alt+h",
  3181. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3182. },
  3183. {
  3184. "command": "gitlens.showQuickRepoHistory",
  3185. "key": "shift+alt+h",
  3186. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3187. },
  3188. {
  3189. "command": "gitlens.showQuickRepoStatus",
  3190. "key": "alt+s",
  3191. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3192. },
  3193. {
  3194. "command": "gitlens.showQuickCommitFileDetails",
  3195. "key": "alt+c",
  3196. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  3197. },
  3198. {
  3199. "command": "gitlens.diffWithNext",
  3200. "key": "alt+.",
  3201. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3202. },
  3203. {
  3204. "command": "gitlens.diffLineWithPrevious",
  3205. "key": "shift+alt+,",
  3206. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3207. },
  3208. {
  3209. "command": "gitlens.diffWithPrevious",
  3210. "key": "alt+,",
  3211. "when": "gitlens:keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3212. },
  3213. {
  3214. "command": "gitlens.diffWithPreviousInDiff",
  3215. "key": "alt+,",
  3216. "when": "gitlens:keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3217. },
  3218. {
  3219. "command": "gitlens.diffLineWithWorking",
  3220. "key": "alt+w",
  3221. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3222. },
  3223. {
  3224. "command": "gitlens.diffWithWorking",
  3225. "key": "shift+alt+w",
  3226. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3227. },
  3228. {
  3229. "command": "gitlens.toggleFileBlame",
  3230. "key": "ctrl+shift+g b",
  3231. "mac": "cmd+alt+g b",
  3232. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
  3233. },
  3234. {
  3235. "command": "gitlens.toggleCodeLens",
  3236. "key": "ctrl+shift+g shift+b",
  3237. "mac": "cmd+alt+g shift+b",
  3238. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3239. },
  3240. {
  3241. "command": "gitlens.showLastQuickPick",
  3242. "key": "ctrl+shift+g -",
  3243. "mac": "cmd+alt+g -",
  3244. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3245. },
  3246. {
  3247. "command": "gitlens.showCommitSearch",
  3248. "key": "ctrl+shift+g /",
  3249. "mac": "cmd+alt+g /",
  3250. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3251. },
  3252. {
  3253. "command": "gitlens.showQuickFileHistory",
  3254. "key": "ctrl+shift+g h",
  3255. "mac": "cmd+alt+g h",
  3256. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3257. },
  3258. {
  3259. "command": "gitlens.showQuickRepoHistory",
  3260. "key": "ctrl+shift+g shift+h",
  3261. "mac": "cmd+alt+g shift+h",
  3262. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3263. },
  3264. {
  3265. "command": "gitlens.showQuickRepoStatus",
  3266. "key": "ctrl+shift+g s",
  3267. "mac": "cmd+alt+g s",
  3268. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3269. },
  3270. {
  3271. "command": "gitlens.showQuickCommitFileDetails",
  3272. "key": "ctrl+shift+g c",
  3273. "mac": "cmd+alt+g c",
  3274. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3275. },
  3276. {
  3277. "command": "gitlens.diffWithNext",
  3278. "key": "ctrl+shift+g .",
  3279. "mac": "cmd+alt+g .",
  3280. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3281. },
  3282. {
  3283. "command": "gitlens.diffLineWithPrevious",
  3284. "key": "ctrl+shift+g shift+,",
  3285. "mac": "cmd+alt+g shift+,",
  3286. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3287. },
  3288. {
  3289. "command": "gitlens.diffWithPrevious",
  3290. "key": "ctrl+shift+g ,",
  3291. "mac": "cmd+alt+g ,",
  3292. "when": "gitlens:keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3293. },
  3294. {
  3295. "command": "gitlens.diffWithPreviousInDiff",
  3296. "key": "ctrl+shift+g ,",
  3297. "mac": "cmd+alt+g ,",
  3298. "when": "gitlens:keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
  3299. },
  3300. {
  3301. "command": "gitlens.diffLineWithWorking",
  3302. "key": "ctrl+shift+g w",
  3303. "mac": "cmd+alt+g w",
  3304. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3305. },
  3306. {
  3307. "command": "gitlens.diffWithWorking",
  3308. "key": "ctrl+shift+g shift+w",
  3309. "mac": "cmd+alt+g shift+w",
  3310. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
  3311. },
  3312. {
  3313. "command": "workbench.view.scm",
  3314. "key": "ctrl+shift+g g",
  3315. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3316. }
  3317. ],
  3318. "viewsContainers": {
  3319. "activitybar": [
  3320. {
  3321. "id": "gitlens",
  3322. "title": "GitLens",
  3323. "icon": "images/gitlens-activitybar.svg"
  3324. }
  3325. ]
  3326. },
  3327. "views": {
  3328. "gitlens": [
  3329. {
  3330. "id": "gitlens.gitExplorer:gitlens",
  3331. "name": "Explorer",
  3332. "when": "gitlens:enabled && gitlens:gitExplorer == gitlens"
  3333. },
  3334. {
  3335. "id": "gitlens.historyExplorer:gitlens",
  3336. "name": "File History",
  3337. "when": "gitlens:enabled && gitlens:historyExplorer == gitlens"
  3338. },
  3339. {
  3340. "id": "gitlens.resultsExplorer:gitlens",
  3341. "name": "Results",
  3342. "when": "gitlens:enabled && gitlens:resultsExplorer == gitlens"
  3343. }
  3344. ],
  3345. "explorer": [
  3346. {
  3347. "id": "gitlens.gitExplorer:explorer",
  3348. "name": "GitLens",
  3349. "when": "gitlens:enabled && gitlens:gitExplorer == explorer"
  3350. },
  3351. {
  3352. "id": "gitlens.historyExplorer:explorer",
  3353. "name": "GitLens File History",
  3354. "when": "gitlens:enabled && gitlens:historyExplorer == explorer"
  3355. },
  3356. {
  3357. "id": "gitlens.resultsExplorer:explorer",
  3358. "name": "GitLens Results",
  3359. "when": "gitlens:enabled && gitlens:resultsExplorer == explorer"
  3360. }
  3361. ],
  3362. "scm": [
  3363. {
  3364. "id": "gitlens.gitExplorer:scm",
  3365. "name": "GitLens",
  3366. "when": "gitlens:enabled && gitlens:gitExplorer == scm"
  3367. },
  3368. {
  3369. "id": "gitlens.historyExplorer:scm",
  3370. "name": "GitLens File History",
  3371. "when": "gitlens:enabled && gitlens:historyExplorer == scm"
  3372. },
  3373. {
  3374. "id": "gitlens.resultsExplorer:scm",
  3375. "name": "GitLens Results",
  3376. "when": "gitlens:enabled && gitlens:resultsExplorer == scm"
  3377. }
  3378. ]
  3379. }
  3380. },
  3381. "scripts": {
  3382. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  3383. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  3384. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  3385. "clean": "git clean -Xdf",
  3386. "lint": "tslint --project tsconfig.json --fix",
  3387. "pack": "vsce package",
  3388. "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.ts\"",
  3389. "pub": "vsce publish",
  3390. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  3391. "reset": "npm run clean && npm install --no-save",
  3392. "watch": "tsc -watch -m commonjs -p ./",
  3393. "watch-ui": "cd \"./src/ui\" && npm run watch --no-save && cd \"../..\"",
  3394. "postinstall": "node ./node_modules/vscode/bin/install && cd \"./src/ui\" && npm install --no-save && cd \"../..\"",
  3395. "prepush": "npm run build",
  3396. "vscode:prepublish": "npm run reset && npm run bundle"
  3397. },
  3398. "dependencies": {
  3399. "clipboardy": "1.2.3",
  3400. "date-fns": "1.29.0",
  3401. "iconv-lite": "0.4.23",
  3402. "lodash.debounce": "4.0.8",
  3403. "lodash.once": "4.1.1",
  3404. "tmp": "0.0.33",
  3405. "tslib": "1.9.3"
  3406. },
  3407. "devDependencies": {
  3408. "@types/clipboardy": "1.1.0",
  3409. "@types/node": "7.0.67",
  3410. "@types/tmp": "0.0.33",
  3411. "husky": "0.14.3",
  3412. "prettier": "1.13.7",
  3413. "ts-loader": "4.4.2",
  3414. "tslint": "5.10.0",
  3415. "tslint-prettiest": "0.0.1",
  3416. "typescript": "2.9.2",
  3417. "uglify-es": "3.3.9",
  3418. "uglifyjs-webpack-plugin": "1.2.7",
  3419. "vscode": "1.1.18",
  3420. "webpack": "4.16.0",
  3421. "webpack-cli": "3.0.8",
  3422. "webpack-node-externals": "1.7.2"
  3423. }
  3424. }