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

3077 lines
138 KiB

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