Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

3063 rader
138 KiB

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