選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

2936 行
131 KiB

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