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.

3430 lines
154 KiB

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