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

2883 lines
128 KiB

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