您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2906 行
129 KiB

6 年前
  1. {
  2. "name": "gitlens",
  3. "version": "8.0.2",
  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. "command": "gitlens.resultsExplorer.swapComparision",
  1660. "title": "Swap Comparision",
  1661. "category": "GitLens",
  1662. "icon": {
  1663. "dark": "images/dark/icon-swap.svg",
  1664. "light": "images/light/icon-swap.svg"
  1665. }
  1666. }
  1667. ],
  1668. "menus": {
  1669. "commandPalette": [
  1670. {
  1671. "command": "gitlens.diffDirectory",
  1672. "when": "gitlens:enabled"
  1673. },
  1674. {
  1675. "command": "gitlens.diffHeadWithBranch",
  1676. "when": "gitlens:enabled"
  1677. },
  1678. {
  1679. "command": "gitlens.diffWorkingWithBranch",
  1680. "when": "gitlens:enabled"
  1681. },
  1682. {
  1683. "command": "gitlens.diffWith",
  1684. "when": "false"
  1685. },
  1686. {
  1687. "command": "gitlens.diffWithBranch",
  1688. "when": "gitlens:activeIsTracked"
  1689. },
  1690. {
  1691. "command": "gitlens.diffWithNext",
  1692. "when": "gitlens:activeIsTracked"
  1693. },
  1694. {
  1695. "command": "gitlens.diffWithPrevious",
  1696. "when": "gitlens:activeIsTracked"
  1697. },
  1698. {
  1699. "command": "gitlens.diffLineWithPrevious",
  1700. "when": "gitlens:activeIsBlameable"
  1701. },
  1702. {
  1703. "command": "gitlens.diffWithRevision",
  1704. "when": "gitlens:activeIsTracked"
  1705. },
  1706. {
  1707. "command": "gitlens.diffWithWorking",
  1708. "when": "gitlens:activeIsTracked"
  1709. },
  1710. {
  1711. "command": "gitlens.diffLineWithWorking",
  1712. "when": "gitlens:activeIsBlameable"
  1713. },
  1714. {
  1715. "command": "gitlens.externalDiff",
  1716. "when": "gitlens:enabled"
  1717. },
  1718. {
  1719. "command": "gitlens.externalDiffAll",
  1720. "when": "gitlens:enabled"
  1721. },
  1722. {
  1723. "command": "gitlens.showFileBlame",
  1724. "when": "gitlens:activeIsBlameable"
  1725. },
  1726. {
  1727. "command": "gitlens.showLineBlame",
  1728. "when": "gitlens:activeIsBlameable"
  1729. },
  1730. {
  1731. "command": "gitlens.toggleFileBlame",
  1732. "when": "gitlens:activeIsBlameable"
  1733. },
  1734. {
  1735. "command": "gitlens.clearFileAnnotations",
  1736. "when": "gitlens:annotationStatus == computed"
  1737. },
  1738. {
  1739. "command": "gitlens.computingFileAnnotations",
  1740. "when": "false"
  1741. },
  1742. {
  1743. "command": "gitlens.toggleFileHeatmap",
  1744. "when": "gitlens:activeIsBlameable"
  1745. },
  1746. {
  1747. "command": "gitlens.toggleFileRecentChanges",
  1748. "when": "gitlens:activeIsBlameable"
  1749. },
  1750. {
  1751. "command": "gitlens.toggleLineBlame",
  1752. "when": "gitlens:enabled"
  1753. },
  1754. {
  1755. "command": "gitlens.toggleCodeLens",
  1756. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  1757. },
  1758. {
  1759. "command": "gitlens.showLastQuickPick",
  1760. "when": "gitlens:enabled"
  1761. },
  1762. {
  1763. "command": "gitlens.showCommitSearch",
  1764. "when": "gitlens:enabled"
  1765. },
  1766. {
  1767. "command": "gitlens.showQuickCommitDetails",
  1768. "when": "gitlens:activeIsBlameable"
  1769. },
  1770. {
  1771. "command": "gitlens.showQuickCommitFileDetails",
  1772. "when": "gitlens:activeIsBlameable"
  1773. },
  1774. {
  1775. "command": "gitlens.showQuickFileHistory",
  1776. "when": "gitlens:activeIsTracked"
  1777. },
  1778. {
  1779. "command": "gitlens.showQuickBranchHistory",
  1780. "when": "gitlens:enabled"
  1781. },
  1782. {
  1783. "command": "gitlens.showQuickRepoHistory",
  1784. "when": "gitlens:enabled"
  1785. },
  1786. {
  1787. "command": "gitlens.showQuickRepoStatus",
  1788. "when": "gitlens:enabled"
  1789. },
  1790. {
  1791. "command": "gitlens.showQuickStashList",
  1792. "when": "gitlens:enabled"
  1793. },
  1794. {
  1795. "command": "gitlens.copyShaToClipboard",
  1796. "when": "gitlens:activeIsBlameable"
  1797. },
  1798. {
  1799. "command": "gitlens.copyMessageToClipboard",
  1800. "when": "gitlens:activeIsBlameable"
  1801. },
  1802. {
  1803. "command": "gitlens.closeUnchangedFiles",
  1804. "when": "gitlens:enabled"
  1805. },
  1806. {
  1807. "command": "gitlens.openChangedFiles",
  1808. "when": "gitlens:enabled"
  1809. },
  1810. {
  1811. "command": "gitlens.openBranchesInRemote",
  1812. "when": "gitlens:activeHasRemote"
  1813. },
  1814. {
  1815. "command": "gitlens.openBranchInRemote",
  1816. "when": "gitlens:activeHasRemote"
  1817. },
  1818. {
  1819. "command": "gitlens.openCommitInRemote",
  1820. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1821. },
  1822. {
  1823. "command": "gitlens.openFileInRemote",
  1824. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1825. },
  1826. {
  1827. "command": "gitlens.openFileRevision",
  1828. "when": "gitlens:activeIsTracked"
  1829. },
  1830. {
  1831. "command": "gitlens.openRepoInRemote",
  1832. "when": "gitlens:activeHasRemote"
  1833. },
  1834. {
  1835. "command": "gitlens.openWorkingFile",
  1836. "when": "gitlens:activeIsRevision"
  1837. },
  1838. {
  1839. "command": "gitlens.stashApply",
  1840. "when": "gitlens:enabled"
  1841. },
  1842. {
  1843. "command": "gitlens.stashDelete",
  1844. "when": "false"
  1845. },
  1846. {
  1847. "command": "gitlens.stashSave",
  1848. "when": "gitlens:enabled"
  1849. },
  1850. {
  1851. "command": "gitlens.resetSuppressedWarnings",
  1852. "when": "gitlens:enabled"
  1853. },
  1854. {
  1855. "command": "gitlens.explorers.openChanges",
  1856. "when": "false"
  1857. },
  1858. {
  1859. "command": "gitlens.explorers.openDirectoryDiff",
  1860. "when": "false"
  1861. },
  1862. {
  1863. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1864. "when": "false"
  1865. },
  1866. {
  1867. "command": "gitlens.explorers.openChangesWithWorking",
  1868. "when": "false"
  1869. },
  1870. {
  1871. "command": "gitlens.explorers.openFile",
  1872. "when": "false"
  1873. },
  1874. {
  1875. "command": "gitlens.explorers.openFileRevision",
  1876. "when": "false"
  1877. },
  1878. {
  1879. "command": "gitlens.explorers.openFileRevisionInRemote",
  1880. "when": "false"
  1881. },
  1882. {
  1883. "command": "gitlens.explorers.openChangedFiles",
  1884. "when": "false"
  1885. },
  1886. {
  1887. "command": "gitlens.explorers.openChangedFileChanges",
  1888. "when": "false"
  1889. },
  1890. {
  1891. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1892. "when": "false"
  1893. },
  1894. {
  1895. "command": "gitlens.explorers.openChangedFileRevisions",
  1896. "when": "false"
  1897. },
  1898. {
  1899. "command": "gitlens.explorers.applyChanges",
  1900. "when": "false"
  1901. },
  1902. {
  1903. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  1904. "when": "false"
  1905. },
  1906. {
  1907. "command": "gitlens.explorers.compareWithHead",
  1908. "when": "false"
  1909. },
  1910. {
  1911. "command": "gitlens.explorers.compareWithRemote",
  1912. "when": "false"
  1913. },
  1914. {
  1915. "command": "gitlens.explorers.compareWithSelected",
  1916. "when": "false"
  1917. },
  1918. {
  1919. "command": "gitlens.explorers.compareWithWorking",
  1920. "when": "false"
  1921. },
  1922. {
  1923. "command": "gitlens.explorers.selectForCompare",
  1924. "when": "false"
  1925. },
  1926. {
  1927. "command": "gitlens.explorers.terminalCheckoutBranch",
  1928. "when": "false"
  1929. },
  1930. {
  1931. "command": "gitlens.explorers.terminalCreateBranch",
  1932. "when": "false"
  1933. },
  1934. {
  1935. "command": "gitlens.explorers.terminalDeleteBranch",
  1936. "when": "false"
  1937. },
  1938. {
  1939. "command": "gitlens.explorers.terminalMergeBranch",
  1940. "when": "false"
  1941. },
  1942. {
  1943. "command": "gitlens.explorers.terminalRebaseBranch",
  1944. "when": "false"
  1945. },
  1946. {
  1947. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1948. "when": "false"
  1949. },
  1950. {
  1951. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1952. "when": "false"
  1953. },
  1954. {
  1955. "command": "gitlens.explorers.terminalCherryPickCommit",
  1956. "when": "false"
  1957. },
  1958. {
  1959. "command": "gitlens.explorers.terminalPushCommit",
  1960. "when": "false"
  1961. },
  1962. {
  1963. "command": "gitlens.explorers.terminalRebaseCommit",
  1964. "when": "false"
  1965. },
  1966. {
  1967. "command": "gitlens.explorers.terminalResetCommit",
  1968. "when": "false"
  1969. },
  1970. {
  1971. "command": "gitlens.explorers.terminalRevertCommit",
  1972. "when": "false"
  1973. },
  1974. {
  1975. "command": "gitlens.explorers.terminalRemoveRemote",
  1976. "when": "false"
  1977. },
  1978. {
  1979. "command": "gitlens.explorers.terminalCreateTag",
  1980. "when": "false"
  1981. },
  1982. {
  1983. "command": "gitlens.explorers.terminalDeleteTag",
  1984. "when": "false"
  1985. },
  1986. {
  1987. "command": "gitlens.gitExplorer.refresh",
  1988. "when": "false"
  1989. },
  1990. {
  1991. "command": "gitlens.gitExplorer.refreshNode",
  1992. "when": "false"
  1993. },
  1994. {
  1995. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1996. "when": "false"
  1997. },
  1998. {
  1999. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2000. "when": "false"
  2001. },
  2002. {
  2003. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2004. "when": "false"
  2005. },
  2006. {
  2007. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2008. "when": "false"
  2009. },
  2010. {
  2011. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2012. "when": "false"
  2013. },
  2014. {
  2015. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2016. "when": "false"
  2017. },
  2018. {
  2019. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2020. "when": "false"
  2021. },
  2022. {
  2023. "command": "gitlens.gitExplorer.switchToHistoryView",
  2024. "when": "gitlens:enabled && gitlens:gitExplorer:view == repository"
  2025. },
  2026. {
  2027. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2028. "when": "gitlens:enabled && gitlens:gitExplorer:view == history"
  2029. },
  2030. {
  2031. "command": "gitlens.resultsExplorer.clearResultsNode",
  2032. "when": "false"
  2033. },
  2034. {
  2035. "command": "gitlens.resultsExplorer.close",
  2036. "when": "false"
  2037. },
  2038. {
  2039. "command": "gitlens.resultsExplorer.refresh",
  2040. "when": "false"
  2041. },
  2042. {
  2043. "command": "gitlens.resultsExplorer.refreshNode",
  2044. "when": "false"
  2045. },
  2046. {
  2047. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2048. "when": "false"
  2049. },
  2050. {
  2051. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2052. "when": "false"
  2053. },
  2054. {
  2055. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2056. "when": "false"
  2057. },
  2058. {
  2059. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2060. "when": "false"
  2061. },
  2062. {
  2063. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2064. "when": "false"
  2065. },
  2066. {
  2067. "command": "gitlens.resultsExplorer.swapComparision",
  2068. "when": "false"
  2069. }
  2070. ],
  2071. "editor/context": [
  2072. {
  2073. "command": "gitlens.openFileInRemote",
  2074. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  2075. "group": "navigation@100"
  2076. },
  2077. {
  2078. "command": "gitlens.diffLineWithPrevious",
  2079. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2080. "group": "1_gitlens@1"
  2081. },
  2082. {
  2083. "command": "gitlens.diffLineWithWorking",
  2084. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2085. "group": "1_gitlens@2"
  2086. },
  2087. {
  2088. "command": "gitlens.showQuickCommitFileDetails",
  2089. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2090. "group": "1_gitlens@3"
  2091. },
  2092. {
  2093. "command": "gitlens.diffWithPrevious",
  2094. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2095. "group": "1_gitlens_1@1"
  2096. },
  2097. {
  2098. "command": "gitlens.diffWithWorking",
  2099. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2100. "group": "1_gitlens_1@2"
  2101. },
  2102. {
  2103. "command": "gitlens.showQuickFileHistory",
  2104. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2105. "group": "3_gitlens@1"
  2106. },
  2107. {
  2108. "command": "gitlens.toggleFileBlame",
  2109. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2110. "group": "3_gitlens@2"
  2111. },
  2112. {
  2113. "command": "gitlens.copyShaToClipboard",
  2114. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2115. "group": "9_gitlens@1"
  2116. },
  2117. {
  2118. "command": "gitlens.copyMessageToClipboard",
  2119. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2120. "group": "9_gitlens@2"
  2121. }
  2122. ],
  2123. "editor/title": [
  2124. {
  2125. "command": "gitlens.openWorkingFile",
  2126. "when": "gitlens:activeIsRevision",
  2127. "group": "navigation@1"
  2128. },
  2129. {
  2130. "command": "gitlens.toggleFileBlame",
  2131. "alt": "gitlens.toggleFileRecentChanges",
  2132. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2133. "group": "navigation@100"
  2134. },
  2135. {
  2136. "command": "gitlens.computingFileAnnotations",
  2137. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2138. "group": "navigation@100"
  2139. },
  2140. {
  2141. "command": "gitlens.clearFileAnnotations",
  2142. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2143. "group": "navigation@100"
  2144. },
  2145. {
  2146. "command": "gitlens.openFileInRemote",
  2147. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2148. "group": "2_gitlens"
  2149. },
  2150. {
  2151. "command": "gitlens.openRepoInRemote",
  2152. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2153. "group": "2_gitlens"
  2154. },
  2155. {
  2156. "command": "gitlens.diffWithPrevious",
  2157. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2158. "group": "2_gitlens_1"
  2159. },
  2160. {
  2161. "command": "gitlens.diffWithWorking",
  2162. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2163. "group": "2_gitlens_1"
  2164. },
  2165. {
  2166. "command": "gitlens.showQuickFileHistory",
  2167. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2168. "group": "2_gitlens_2"
  2169. },
  2170. {
  2171. "command": "gitlens.showQuickRepoHistory",
  2172. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2173. "group": "2_gitlens_2"
  2174. },
  2175. {
  2176. "command": "gitlens.showQuickRepoStatus",
  2177. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2178. "group": "2_gitlens_2"
  2179. }
  2180. ],
  2181. "editor/title/context": [
  2182. {
  2183. "command": "gitlens.openFileInRemote",
  2184. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2185. "group": "1_gitlens"
  2186. },
  2187. {
  2188. "command": "gitlens.diffWithPrevious",
  2189. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2190. "group": "1_gitlens_1@1"
  2191. },
  2192. {
  2193. "command": "gitlens.diffWithWorking",
  2194. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2195. "group": "1_gitlens_1@2"
  2196. },
  2197. {
  2198. "command": "gitlens.showQuickFileHistory",
  2199. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2200. "group": "1_gitlens_2@1"
  2201. },
  2202. {
  2203. "command": "gitlens.toggleFileBlame",
  2204. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2205. "group": "1_gitlens_2@2"
  2206. }
  2207. ],
  2208. "explorer/context": [
  2209. {
  2210. "command": "gitlens.openFileInRemote",
  2211. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2212. "group": "navigation@100"
  2213. },
  2214. {
  2215. "command": "gitlens.diffWithPrevious",
  2216. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2217. "group": "1_gitlens@1"
  2218. },
  2219. {
  2220. "command": "gitlens.diffWithWorking",
  2221. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2222. "group": "1_gitlens@2"
  2223. },
  2224. {
  2225. "command": "gitlens.showQuickFileHistory",
  2226. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2227. "group": "1_gitlens_1@1"
  2228. }
  2229. ],
  2230. "scm/resourceGroup/context": [
  2231. {
  2232. "command": "gitlens.openChangedFiles",
  2233. "when": "gitlens:enabled",
  2234. "group": "2_gitlens@1"
  2235. },
  2236. {
  2237. "command": "gitlens.closeUnchangedFiles",
  2238. "when": "gitlens:enabled",
  2239. "group": "2_gitlens@2"
  2240. },
  2241. {
  2242. "command": "gitlens.externalDiff",
  2243. "when": "gitlens:enabled",
  2244. "group": "2_gitlens@3"
  2245. },
  2246. {
  2247. "command": "gitlens.externalDiffAll",
  2248. "when": "gitlens:enabled",
  2249. "group": "2_gitlens@4"
  2250. },
  2251. {
  2252. "command": "gitlens.stashSave",
  2253. "when": "gitlens:enabled",
  2254. "group": "3_gitlens@1"
  2255. }
  2256. ],
  2257. "scm/resourceState/context": [
  2258. {
  2259. "command": "gitlens.openFileInRemote",
  2260. "when": "gitlens:enabled && gitlens:hasRemotes",
  2261. "group": "navigation"
  2262. },
  2263. {
  2264. "command": "gitlens.externalDiff",
  2265. "when": "gitlens:enabled",
  2266. "group": "navigation"
  2267. },
  2268. {
  2269. "command": "gitlens.diffWithRevision",
  2270. "when": "gitlens:enabled",
  2271. "group": "1_gitlens@1"
  2272. },
  2273. {
  2274. "command": "gitlens.diffWithBranch",
  2275. "when": "gitlens:enabled",
  2276. "group": "1_gitlens@2"
  2277. },
  2278. {
  2279. "command": "gitlens.showQuickFileHistory",
  2280. "when": "gitlens:enabled",
  2281. "group": "1_gitlens_1@1"
  2282. },
  2283. {
  2284. "command": "gitlens.stashSave",
  2285. "when": "gitlens:enabled",
  2286. "group": "2_gitlens@1"
  2287. }
  2288. ],
  2289. "view/title": [
  2290. {
  2291. "command": "gitlens.showCommitSearch",
  2292. "when": "view == gitlens.gitExplorer",
  2293. "group": "navigation@1"
  2294. },
  2295. {
  2296. "command": "gitlens.gitExplorer.switchToHistoryView",
  2297. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2298. "group": "navigation@2"
  2299. },
  2300. {
  2301. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2302. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  2303. "group": "navigation@3"
  2304. },
  2305. {
  2306. "command": "gitlens.gitExplorer.refresh",
  2307. "when": "view == gitlens.gitExplorer",
  2308. "group": "navigation@4"
  2309. },
  2310. {
  2311. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2312. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2313. "group": "1_gitlens"
  2314. },
  2315. {
  2316. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2317. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2318. "group": "1_gitlens"
  2319. },
  2320. {
  2321. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2322. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2323. "group": "1_gitlens"
  2324. },
  2325. {
  2326. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2327. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2328. "group": "2_gitlens"
  2329. },
  2330. {
  2331. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2332. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2333. "group": "2_gitlens"
  2334. },
  2335. {
  2336. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2337. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2338. "group": "2_gitlens_1"
  2339. },
  2340. {
  2341. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2342. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2343. "group": "2_gitlens_1"
  2344. },
  2345. {
  2346. "command": "gitlens.showCommitSearch",
  2347. "when": "view == gitlens.resultsExplorer",
  2348. "group": "navigation@1"
  2349. },
  2350. {
  2351. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2352. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2353. "group": "navigation@2"
  2354. },
  2355. {
  2356. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2357. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2358. "group": "navigation@2"
  2359. },
  2360. {
  2361. "command": "gitlens.resultsExplorer.refresh",
  2362. "when": "view == gitlens.resultsExplorer",
  2363. "group": "navigation@3"
  2364. },
  2365. {
  2366. "command": "gitlens.resultsExplorer.close",
  2367. "when": "view == gitlens.resultsExplorer",
  2368. "group": "navigation@9"
  2369. },
  2370. {
  2371. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2372. "when": "view == gitlens.resultsExplorer",
  2373. "group": "1_gitlens"
  2374. },
  2375. {
  2376. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2377. "when": "view == gitlens.resultsExplorer",
  2378. "group": "1_gitlens"
  2379. },
  2380. {
  2381. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2382. "when": "view == gitlens.resultsExplorer",
  2383. "group": "1_gitlens"
  2384. }
  2385. ],
  2386. "view/item/context": [
  2387. {
  2388. "command": "gitlens.openBranchesInRemote",
  2389. "when": "viewItem == gitlens:branches:remotes",
  2390. "group": "1_gitlens@1"
  2391. },
  2392. {
  2393. "command": "gitlens.openBranchInRemote",
  2394. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  2395. "group": "1_gitlens@1"
  2396. },
  2397. {
  2398. "command": "gitlens.explorers.compareWithRemote",
  2399. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  2400. "group": "7_gitlens@1"
  2401. },
  2402. {
  2403. "command": "gitlens.explorers.compareWithHead",
  2404. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2405. "group": "7_gitlens@2"
  2406. },
  2407. {
  2408. "command": "gitlens.explorers.compareWithWorking",
  2409. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2410. "group": "7_gitlens@3"
  2411. },
  2412. {
  2413. "command": "gitlens.explorers.compareWithSelected",
  2414. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:explorers:canCompare",
  2415. "group": "7_gitlens_@1"
  2416. },
  2417. {
  2418. "command": "gitlens.explorers.compareSelectedAncestorWithWorking",
  2419. "when": "viewItem =~ /gitlens:branch\\b/ && gitlens:explorers:canCompare == branch",
  2420. "group": "7_gitlens_@2"
  2421. },
  2422. {
  2423. "command": "gitlens.explorers.selectForCompare",
  2424. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2425. "group": "7_gitlens_@3"
  2426. },
  2427. {
  2428. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2429. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  2430. "group": "7_gitlens_diff@1"
  2431. },
  2432. {
  2433. "command": "gitlens.explorers.terminalCheckoutBranch",
  2434. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2435. "group": "8_gitlens@1"
  2436. },
  2437. {
  2438. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2439. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  2440. "group": "8_gitlens@1"
  2441. },
  2442. {
  2443. "command": "gitlens.explorers.terminalMergeBranch",
  2444. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2445. "group": "8_gitlens@2"
  2446. },
  2447. {
  2448. "command": "gitlens.explorers.terminalRebaseBranch",
  2449. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2450. "group": "8_gitlens@3"
  2451. },
  2452. {
  2453. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2454. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2455. "group": "8_gitlens@4"
  2456. },
  2457. {
  2458. "command": "gitlens.explorers.terminalCreateBranch",
  2459. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  2460. "group": "8_gitlens@5"
  2461. },
  2462. {
  2463. "command": "gitlens.explorers.terminalDeleteBranch",
  2464. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2465. "group": "8_gitlens@6"
  2466. },
  2467. {
  2468. "command": "gitlens.explorers.terminalCreateTag",
  2469. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  2470. "group": "8_gitlens@7"
  2471. },
  2472. {
  2473. "command": "gitlens.openCommitInRemote",
  2474. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  2475. "group": "1_gitlens@1"
  2476. },
  2477. {
  2478. "command": "gitlens.explorers.openChangedFileChanges",
  2479. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2480. "group": "2_gitlens@1"
  2481. },
  2482. {
  2483. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2484. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2485. "group": "2_gitlens@2"
  2486. },
  2487. {
  2488. "command": "gitlens.explorers.openChangedFiles",
  2489. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2490. "group": "3_gitlens@1"
  2491. },
  2492. {
  2493. "command": "gitlens.explorers.openChangedFileRevisions",
  2494. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2495. "group": "3_gitlens@2"
  2496. },
  2497. {
  2498. "command": "gitlens.copyShaToClipboard",
  2499. "when": "viewItem =~ /gitlens:commit\\b/",
  2500. "group": "4_gitlens@1"
  2501. },
  2502. {
  2503. "command": "gitlens.copyMessageToClipboard",
  2504. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2505. "group": "4_gitlens@2"
  2506. },
  2507. {
  2508. "command": "gitlens.showQuickCommitDetails",
  2509. "when": "viewItem =~ /gitlens:commit\\b/",
  2510. "group": "5_gitlens@1"
  2511. },
  2512. {
  2513. "command": "gitlens.explorers.terminalCherryPickCommit",
  2514. "when": "viewItem == gitlens:commit",
  2515. "group": "8_gitlens@1"
  2516. },
  2517. {
  2518. "command": "gitlens.explorers.terminalPushCommit",
  2519. "when": "viewItem == gitlens:commit:current",
  2520. "group": "8_gitlens@1"
  2521. },
  2522. {
  2523. "command": "gitlens.explorers.terminalRevertCommit",
  2524. "when": "viewItem == gitlens:commit:current",
  2525. "group": "8_gitlens@1"
  2526. },
  2527. {
  2528. "command": "gitlens.explorers.terminalRebaseCommit",
  2529. "when": "viewItem == gitlens:commit:current",
  2530. "group": "8_gitlens@2"
  2531. },
  2532. {
  2533. "command": "gitlens.explorers.terminalResetCommit",
  2534. "when": "viewItem == gitlens:commit:current",
  2535. "group": "8_gitlens@3"
  2536. },
  2537. {
  2538. "command": "gitlens.explorers.openFile",
  2539. "when": "viewItem =~ /gitlens:file\\b/",
  2540. "group": "inline"
  2541. },
  2542. {
  2543. "command": "gitlens.explorers.openChanges",
  2544. "when": "viewItem =~ /gitlens:file\\b/",
  2545. "group": "2_gitlens@1"
  2546. },
  2547. {
  2548. "command": "gitlens.explorers.openChangesWithWorking",
  2549. "when": "viewItem =~ /gitlens:file\\b/",
  2550. "group": "2_gitlens@2"
  2551. },
  2552. {
  2553. "command": "gitlens.explorers.openFile",
  2554. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  2555. "group": "3_gitlens@1"
  2556. },
  2557. {
  2558. "command": "gitlens.explorers.openFileRevision",
  2559. "when": "viewItem =~ /gitlens:file\\b/",
  2560. "group": "3_gitlens@2"
  2561. },
  2562. {
  2563. "command": "gitlens.openFileInRemote",
  2564. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  2565. "group": "4_gitlens@1"
  2566. },
  2567. {
  2568. "command": "gitlens.explorers.openFileRevisionInRemote",
  2569. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  2570. "group": "4_gitlens@2"
  2571. },
  2572. {
  2573. "command": "gitlens.openFileInRemote",
  2574. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  2575. "group": "3_gitlens@2"
  2576. },
  2577. {
  2578. "command": "gitlens.showQuickFileHistory",
  2579. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:gitExplorer:view == repository",
  2580. "group": "8_gitlens@1"
  2581. },
  2582. {
  2583. "command": "gitlens.showQuickCommitFileDetails",
  2584. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  2585. "group": "8_gitlens@2"
  2586. },
  2587. {
  2588. "command": "gitlens.explorers.applyChanges",
  2589. "when": "viewItem == gitlens:file:commit",
  2590. "group": "5_gitlens@1"
  2591. },
  2592. {
  2593. "command": "gitlens.explorers.applyChanges",
  2594. "when": "viewItem == gitlens:file:stash",
  2595. "group": "1_gitlens@1"
  2596. },
  2597. {
  2598. "command": "gitlens.openRepoInRemote",
  2599. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2600. "group": "1_gitlens@1"
  2601. },
  2602. {
  2603. "command": "gitlens.openBranchesInRemote",
  2604. "when": "viewItem == gitlens:remote",
  2605. "group": "1_gitlens@1"
  2606. },
  2607. {
  2608. "command": "gitlens.openRepoInRemote",
  2609. "when": "viewItem == gitlens:remote",
  2610. "group": "1_gitlens@2"
  2611. },
  2612. {
  2613. "command": "gitlens.explorers.terminalRemoveRemote",
  2614. "when": "viewItem == gitlens:remote",
  2615. "group": "8_gitlens@1"
  2616. },
  2617. {
  2618. "command": "gitlens.openRepoInRemote",
  2619. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2620. "group": "1_gitlens@1"
  2621. },
  2622. {
  2623. "command": "gitlens.resultsExplorer.swapComparision",
  2624. "when": "viewItem == gitlens:results:comparison",
  2625. "group": "inline@1"
  2626. },
  2627. {
  2628. "command": "gitlens.resultsExplorer.clearResultsNode",
  2629. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  2630. "group": "inline@2"
  2631. },
  2632. {
  2633. "command": "gitlens.resultsExplorer.clearResultsNode",
  2634. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  2635. "group": "1_gitlens@1"
  2636. },
  2637. {
  2638. "command": "gitlens.resultsExplorer.swapComparision",
  2639. "when": "viewItem == gitlens:results:comparison",
  2640. "group": "1_gitlens@2"
  2641. },
  2642. {
  2643. "command": "gitlens.explorers.openDirectoryDiff",
  2644. "when": "viewItem == gitlens:results:comparison",
  2645. "group": "7_gitlens@1"
  2646. },
  2647. {
  2648. "command": "gitlens.stashSave",
  2649. "when": "viewItem == gitlens:stashes",
  2650. "group": "1_gitlens@1"
  2651. },
  2652. {
  2653. "command": "gitlens.stashApply",
  2654. "when": "viewItem == gitlens:stash",
  2655. "group": "1_gitlens@1"
  2656. },
  2657. {
  2658. "command": "gitlens.stashDelete",
  2659. "when": "viewItem == gitlens:stash",
  2660. "group": "1_gitlens@2"
  2661. },
  2662. {
  2663. "command": "gitlens.explorers.terminalDeleteTag",
  2664. "when": "viewItem == gitlens:tag",
  2665. "group": "8_gitlens"
  2666. },
  2667. {
  2668. "command": "gitlens.gitExplorer.refreshNode",
  2669. "when": "view =~ /gitlens\\.(git|results)Explorer/ && viewItem =~ /gitlens:(?!file\\b)/",
  2670. "group": "9_gitlens@1"
  2671. }
  2672. ]
  2673. },
  2674. "keybindings": [
  2675. {
  2676. "command": "gitlens.key.left",
  2677. "key": "alt+left",
  2678. "when": "gitlens:key:left"
  2679. },
  2680. {
  2681. "command": "gitlens.key.right",
  2682. "key": "alt+right",
  2683. "when": "gitlens:key:right"
  2684. },
  2685. {
  2686. "command": "gitlens.key.,",
  2687. "key": "alt+,",
  2688. "when": "gitlens:key:,"
  2689. },
  2690. {
  2691. "command": "gitlens.key..",
  2692. "key": "alt+.",
  2693. "when": "gitlens:key:."
  2694. },
  2695. {
  2696. "command": "gitlens.key.escape",
  2697. "key": "escape",
  2698. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  2699. },
  2700. {
  2701. "command": "gitlens.toggleFileBlame",
  2702. "key": "ctrl+shift+g b",
  2703. "mac": "cmd+alt+g b",
  2704. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  2705. },
  2706. {
  2707. "command": "gitlens.toggleCodeLens",
  2708. "key": "ctrl+shift+g shift+b",
  2709. "mac": "cmd+alt+g shift+b",
  2710. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  2711. },
  2712. {
  2713. "command": "gitlens.showLastQuickPick",
  2714. "key": "ctrl+shift+g -",
  2715. "mac": "cmd+alt+g -",
  2716. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2717. },
  2718. {
  2719. "command": "gitlens.showCommitSearch",
  2720. "key": "ctrl+shift+g /",
  2721. "mac": "cmd+alt+g /",
  2722. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2723. },
  2724. {
  2725. "command": "gitlens.showQuickFileHistory",
  2726. "key": "ctrl+shift+g h",
  2727. "mac": "cmd+alt+g h",
  2728. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2729. },
  2730. {
  2731. "command": "gitlens.showQuickRepoHistory",
  2732. "key": "ctrl+shift+g shift+h",
  2733. "mac": "cmd+alt+g shift+h",
  2734. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2735. },
  2736. {
  2737. "command": "gitlens.showQuickRepoStatus",
  2738. "key": "ctrl+shift+g s",
  2739. "mac": "cmd+alt+g s",
  2740. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2741. },
  2742. {
  2743. "command": "gitlens.showQuickCommitFileDetails",
  2744. "key": "ctrl+shift+g c",
  2745. "mac": "cmd+alt+g c",
  2746. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  2747. },
  2748. {
  2749. "command": "gitlens.diffWithNext",
  2750. "key": "ctrl+shift+g .",
  2751. "mac": "cmd+alt+g .",
  2752. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2753. },
  2754. {
  2755. "command": "gitlens.diffLineWithPrevious",
  2756. "key": "ctrl+shift+g shift+,",
  2757. "mac": "cmd+alt+g shift+,",
  2758. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2759. },
  2760. {
  2761. "command": "gitlens.diffWithPrevious",
  2762. "key": "ctrl+shift+g ,",
  2763. "mac": "cmd+alt+g ,",
  2764. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2765. },
  2766. {
  2767. "command": "gitlens.diffLineWithWorking",
  2768. "key": "ctrl+shift+g w",
  2769. "mac": "cmd+alt+g w",
  2770. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2771. },
  2772. {
  2773. "command": "gitlens.diffWithWorking",
  2774. "key": "ctrl+shift+g shift+w",
  2775. "mac": "cmd+alt+g shift+w",
  2776. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2777. },
  2778. {
  2779. "command": "gitlens.toggleFileBlame",
  2780. "key": "alt+b",
  2781. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsBlameable"
  2782. },
  2783. {
  2784. "command": "gitlens.toggleCodeLens",
  2785. "key": "shift+alt+b",
  2786. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  2787. },
  2788. {
  2789. "command": "gitlens.showLastQuickPick",
  2790. "key": "alt+-",
  2791. "when": "gitlens:keymap == standard && gitlens:enabled"
  2792. },
  2793. {
  2794. "command": "gitlens.showCommitSearch",
  2795. "key": "alt+/",
  2796. "when": "gitlens:keymap == standard && gitlens:enabled"
  2797. },
  2798. {
  2799. "command": "gitlens.showQuickFileHistory",
  2800. "key": "alt+h",
  2801. "when": "gitlens:keymap == standard && gitlens:enabled"
  2802. },
  2803. {
  2804. "command": "gitlens.showQuickRepoHistory",
  2805. "key": "shift+alt+h",
  2806. "when": "gitlens:keymap == standard && gitlens:enabled"
  2807. },
  2808. {
  2809. "command": "gitlens.showQuickRepoStatus",
  2810. "key": "alt+s",
  2811. "when": "gitlens:keymap == standard && gitlens:enabled"
  2812. },
  2813. {
  2814. "command": "gitlens.showQuickCommitFileDetails",
  2815. "key": "alt+c",
  2816. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:enabled"
  2817. },
  2818. {
  2819. "command": "gitlens.diffWithNext",
  2820. "key": "alt+.",
  2821. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2822. },
  2823. {
  2824. "command": "gitlens.diffLineWithPrevious",
  2825. "key": "shift+alt+,",
  2826. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2827. },
  2828. {
  2829. "command": "gitlens.diffWithPrevious",
  2830. "key": "alt+,",
  2831. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2832. },
  2833. {
  2834. "command": "gitlens.diffLineWithWorking",
  2835. "key": "alt+w",
  2836. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2837. },
  2838. {
  2839. "command": "gitlens.diffWithWorking",
  2840. "key": "shift+alt+w",
  2841. "when": "gitlens:keymap == standard && editorTextFocus && gitlens:activeIsTracked"
  2842. },
  2843. {
  2844. "command": "workbench.view.scm",
  2845. "key": "ctrl+shift+g g",
  2846. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2847. }
  2848. ],
  2849. "views": {
  2850. "explorer": [
  2851. {
  2852. "id": "gitlens.gitExplorer",
  2853. "name": "GitLens",
  2854. "when": "gitlens:enabled && gitlens:gitExplorer"
  2855. },
  2856. {
  2857. "id": "gitlens.resultsExplorer",
  2858. "name": "GitLens Results",
  2859. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2860. }
  2861. ]
  2862. }
  2863. },
  2864. "activationEvents": [
  2865. "*"
  2866. ],
  2867. "scripts": {
  2868. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  2869. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  2870. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  2871. "clean": "git clean -Xdf",
  2872. "lint": "tslint --project tslint.json",
  2873. "pack": "vsce package",
  2874. "pub": "vsce publish",
  2875. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  2876. "reset": "npm run clean && npm install --no-save",
  2877. "watch": "tsc -watch -p ./",
  2878. "postinstall": "node ./node_modules/vscode/bin/install && pushd \"./src/ui\" && npm install --no-save && popd",
  2879. "prepush": "npm run build",
  2880. "vscode:prepublish": "npm run reset && npm run bundle"
  2881. },
  2882. "dependencies": {
  2883. "copy-paste": "1.3.0",
  2884. "date-fns": "1.29.0",
  2885. "iconv-lite": "0.4.19",
  2886. "lodash.debounce": "4.0.8",
  2887. "lodash.once": "4.1.1",
  2888. "tmp": "0.0.33",
  2889. "tslib": "1.9.0"
  2890. },
  2891. "devDependencies": {
  2892. "@types/copy-paste": "1.1.30",
  2893. "@types/node": "9.4.6",
  2894. "@types/tmp": "0.0.33",
  2895. "husky": "0.14.3",
  2896. "ts-loader": "3.5.0",
  2897. "tslint": "5.9.1",
  2898. "typescript": "2.7.2",
  2899. "uglify-es": "3.3.9",
  2900. "uglifyjs-webpack-plugin": "1.2.0",
  2901. "vscode": "1.1.10",
  2902. "webpack": "3.11.0",
  2903. "webpack-node-externals": "1.6.0"
  2904. }
  2905. }