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.

3264 line
146 KiB

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