Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

3080 řádky
138 KiB

před 6 roky
před 6 roky
před 7 roky
před 7 roky
před 7 roky
před 6 roky
před 7 roky
  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": "array",
  814. "default": null,
  815. "items": {
  816. "type": "string"
  817. },
  818. "description": "Specifies additional arguments to pass to the `git blame` command",
  819. "scope": "resource"
  820. },
  821. "gitlens.advanced.blame.delayAfterEdit": {
  822. "type": "number",
  823. "default": 5000,
  824. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  825. "scope": "window"
  826. },
  827. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  828. "type": "number",
  829. "default": 5000,
  830. "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",
  831. "scope": "window"
  832. },
  833. "gitlens.advanced.caching.enabled": {
  834. "type": "boolean",
  835. "default": true,
  836. "description": "Specifies whether git output will be cached -- changing the default is not recommended",
  837. "scope": "window"
  838. },
  839. "gitlens.advanced.git": {
  840. "type": "string",
  841. "default": null,
  842. "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",
  843. "scope": "window"
  844. },
  845. "gitlens.advanced.fileHistoryFollowsRenames": {
  846. "type": "boolean",
  847. "default": true,
  848. "description": "Specifies whether file histories will follow renames -- will affect how merge commits are shown in histories",
  849. "scope": "window"
  850. },
  851. "gitlens.advanced.maxListItems": {
  852. "type": "number",
  853. "default": 200,
  854. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  855. "scope": "window"
  856. },
  857. "gitlens.advanced.menus": {
  858. "type": "object",
  859. "default": {
  860. "editorContext": {
  861. "blame": true,
  862. "copy": true,
  863. "details": true,
  864. "fileDiff": true,
  865. "history": true,
  866. "lineDiff": true,
  867. "remote": true
  868. },
  869. "editorTitle": {
  870. "blame": true,
  871. "fileDiff": false,
  872. "history": false,
  873. "remote": false,
  874. "status": false
  875. },
  876. "editorTitleContext": {
  877. "blame": false,
  878. "fileDiff": false,
  879. "history": false,
  880. "remote": false
  881. },
  882. "explorerContext": {
  883. "fileDiff": true,
  884. "history": true,
  885. "remote": true
  886. }
  887. },
  888. "properties": {
  889. "editorContext": {
  890. "type": "object",
  891. "default": {
  892. "blame": true,
  893. "copy": true,
  894. "details": true,
  895. "fileDiff": true,
  896. "history": true,
  897. "lineDiff": true,
  898. "remote": true
  899. },
  900. "properties": {
  901. "blame": {
  902. "type": "boolean",
  903. "default": true
  904. },
  905. "copy": {
  906. "type": "boolean",
  907. "default": true
  908. },
  909. "details": {
  910. "type": "boolean",
  911. "default": true
  912. },
  913. "fileDiff": {
  914. "type": "boolean",
  915. "default": true
  916. },
  917. "history": {
  918. "type": "boolean",
  919. "default": true
  920. },
  921. "lineDiff": {
  922. "type": "boolean",
  923. "default": true
  924. },
  925. "remote": {
  926. "type": "boolean",
  927. "default": true
  928. }
  929. }
  930. },
  931. "editorTitle": {
  932. "type": "object",
  933. "default": {
  934. "blame": true,
  935. "fileDiff": true,
  936. "history": true,
  937. "remote": true,
  938. "status": true
  939. },
  940. "properties": {
  941. "blame": {
  942. "type": "boolean",
  943. "default": true
  944. },
  945. "fileDiff": {
  946. "type": "boolean",
  947. "default": true
  948. },
  949. "history": {
  950. "type": "boolean",
  951. "default": true
  952. },
  953. "remote": {
  954. "type": "boolean",
  955. "default": true
  956. },
  957. "status": {
  958. "type": "boolean",
  959. "default": true
  960. }
  961. }
  962. },
  963. "editorTitleContext": {
  964. "type": "object",
  965. "default": {
  966. "blame": true,
  967. "fileDiff": true,
  968. "history": true,
  969. "remote": true
  970. },
  971. "properties": {
  972. "blame": {
  973. "type": "boolean",
  974. "default": true
  975. },
  976. "fileDiff": {
  977. "type": "boolean",
  978. "default": true
  979. },
  980. "history": {
  981. "type": "boolean",
  982. "default": true
  983. },
  984. "remote": {
  985. "type": "boolean",
  986. "default": true
  987. }
  988. }
  989. },
  990. "explorerContext": {
  991. "type": "object",
  992. "default": {
  993. "fileDiff": true,
  994. "history": true,
  995. "remote": true
  996. },
  997. "properties": {
  998. "fileDiff": {
  999. "type": "boolean",
  1000. "default": true
  1001. },
  1002. "history": {
  1003. "type": "boolean",
  1004. "default": true
  1005. },
  1006. "remote": {
  1007. "type": "boolean",
  1008. "default": true
  1009. }
  1010. }
  1011. }
  1012. },
  1013. "description": "Specifies which commands will be added to which menus",
  1014. "scope": "window"
  1015. },
  1016. "gitlens.advanced.messages": {
  1017. "type": "object",
  1018. "default": {
  1019. "suppressCommitHasNoPreviousCommitWarning": false,
  1020. "suppressCommitNotFoundWarning": false,
  1021. "suppressFileNotUnderSourceControlWarning": false,
  1022. "suppressGitVersionWarning": false,
  1023. "suppressLineUncommittedWarning": false,
  1024. "suppressNoRepositoryWarning": false,
  1025. "suppressResultsExplorerNotice": false,
  1026. "suppressShowKeyBindingsNotice": false
  1027. },
  1028. "properties": {
  1029. "suppressCommitHasNoPreviousCommitWarning": {
  1030. "type": "boolean",
  1031. "default": false
  1032. },
  1033. "suppressCommitNotFoundWarning": {
  1034. "type": "boolean",
  1035. "default": false
  1036. },
  1037. "suppressFileNotUnderSourceControlWarning": {
  1038. "type": "boolean",
  1039. "default": false
  1040. },
  1041. "suppressGitVersionWarning": {
  1042. "type": "boolean",
  1043. "default": false
  1044. },
  1045. "suppressLineUncommittedWarning": {
  1046. "type": "boolean",
  1047. "default": false
  1048. },
  1049. "suppressNoRepositoryWarning": {
  1050. "type": "boolean",
  1051. "default": false
  1052. },
  1053. "suppressResultsExplorerNotice": {
  1054. "type": "boolean",
  1055. "default": false
  1056. },
  1057. "suppressShowKeyBindingsNotice": {
  1058. "type": "boolean",
  1059. "default": false
  1060. }
  1061. },
  1062. "description": "Specifies which messages should be suppressed",
  1063. "scope": "window"
  1064. },
  1065. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1066. "type": "boolean",
  1067. "default": true,
  1068. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1069. "scope": "window"
  1070. },
  1071. "gitlens.advanced.repositorySearchDepth": {
  1072. "type": "number",
  1073. "default": 1,
  1074. "description": "Specifies how many folders deep to search for repositories",
  1075. "scope": "resource"
  1076. },
  1077. "gitlens.advanced.telemetry.enabled": {
  1078. "type": "boolean",
  1079. "default": true,
  1080. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1081. "scope": "window"
  1082. }
  1083. }
  1084. },
  1085. "colors": [
  1086. {
  1087. "id": "gitlens.gutterBackgroundColor",
  1088. "description": "Specifies the background color of the gutter blame annotations",
  1089. "defaults": {
  1090. "dark": "#FFFFFF13",
  1091. "light": "#0000000C",
  1092. "highContrast": "#FFFFFF13"
  1093. }
  1094. },
  1095. {
  1096. "id": "gitlens.gutterForegroundColor",
  1097. "description": "Specifies the foreground color of the gutter blame annotations",
  1098. "defaults": {
  1099. "dark": "#BEBEBE",
  1100. "light": "#747474",
  1101. "highContrast": "#BEBEBE"
  1102. }
  1103. },
  1104. {
  1105. "id": "gitlens.gutterUncommittedForegroundColor",
  1106. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1107. "defaults": {
  1108. "dark": "#00BCF299",
  1109. "light": "#00BCF299",
  1110. "highContrast": "#00BCF2FF"
  1111. }
  1112. },
  1113. {
  1114. "id": "gitlens.trailingLineBackgroundColor",
  1115. "description": "Specifies the background color of the trailing blame annotation",
  1116. "defaults": {
  1117. "dark": "#00000000",
  1118. "light": "#00000000",
  1119. "highContrast": "#00000000"
  1120. }
  1121. },
  1122. {
  1123. "id": "gitlens.trailingLineForegroundColor",
  1124. "description": "Specifies the foreground color of the trailing blame annotation",
  1125. "defaults": {
  1126. "dark": "#99999959",
  1127. "light": "#99999959",
  1128. "highContrast": "#99999999"
  1129. }
  1130. },
  1131. {
  1132. "id": "gitlens.lineHighlightBackgroundColor",
  1133. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1134. "defaults": {
  1135. "dark": "#00BCF233",
  1136. "light": "#00BCF233",
  1137. "highContrast": "#00BCF233"
  1138. }
  1139. },
  1140. {
  1141. "id": "gitlens.lineHighlightOverviewRulerColor",
  1142. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1143. "defaults": {
  1144. "dark": "#00BCF299",
  1145. "light": "#00BCF299",
  1146. "highContrast": "#00BCF299"
  1147. }
  1148. }
  1149. ],
  1150. "commands": [
  1151. {
  1152. "command": "gitlens.showSettingsPage",
  1153. "title": "Open Settings",
  1154. "category": "GitLens"
  1155. },
  1156. {
  1157. "command": "gitlens.showWelcomePage",
  1158. "title": "Welcome",
  1159. "category": "GitLens"
  1160. },
  1161. {
  1162. "command": "gitlens.diffDirectory",
  1163. "title": "Directory Compare Working Tree with...",
  1164. "category": "GitLens"
  1165. },
  1166. {
  1167. "command": "gitlens.diffHeadWithBranch",
  1168. "title": "Compare HEAD with Branch or Tag...",
  1169. "category": "GitLens"
  1170. },
  1171. {
  1172. "command": "gitlens.diffWorkingWithBranch",
  1173. "title": "Compare Working Tree with Branch or Tag...",
  1174. "category": "GitLens"
  1175. },
  1176. {
  1177. "command": "gitlens.diffWith",
  1178. "title": "Compare File Revisions",
  1179. "category": "GitLens"
  1180. },
  1181. {
  1182. "command": "gitlens.diffWithBranch",
  1183. "title": "Compare File with Branch or Tag...",
  1184. "category": "GitLens"
  1185. },
  1186. {
  1187. "command": "gitlens.diffWithNext",
  1188. "title": "Compare File with Next Revision",
  1189. "category": "GitLens"
  1190. },
  1191. {
  1192. "command": "gitlens.diffWithPrevious",
  1193. "title": "Compare File with Previous Revision",
  1194. "category": "GitLens"
  1195. },
  1196. {
  1197. "command": "gitlens.diffLineWithPrevious",
  1198. "title": "Compare Line Revision with Previous",
  1199. "category": "GitLens"
  1200. },
  1201. {
  1202. "command": "gitlens.diffWithRevision",
  1203. "title": "Compare File with Revision...",
  1204. "category": "GitLens"
  1205. },
  1206. {
  1207. "command": "gitlens.diffWithWorking",
  1208. "title": "Compare File with Working Revision",
  1209. "category": "GitLens"
  1210. },
  1211. {
  1212. "command": "gitlens.diffLineWithWorking",
  1213. "title": "Compare Line Revision with Working File",
  1214. "category": "GitLens"
  1215. },
  1216. {
  1217. "command": "gitlens.toggleFileBlame",
  1218. "title": "Toggle File Blame Annotations",
  1219. "category": "GitLens",
  1220. "icon": {
  1221. "dark": "images/dark/git-icon.svg",
  1222. "light": "images/light/git-icon.svg"
  1223. }
  1224. },
  1225. {
  1226. "command": "gitlens.clearFileAnnotations",
  1227. "title": "Clear File Annotations",
  1228. "category": "GitLens",
  1229. "icon": {
  1230. "dark": "images/dark/git-icon-orange.svg",
  1231. "light": "images/light/git-icon-orange.svg"
  1232. }
  1233. },
  1234. {
  1235. "command": "gitlens.computingFileAnnotations",
  1236. "title": "Computing File Annotations...",
  1237. "category": "GitLens",
  1238. "icon": {
  1239. "dark": "images/dark/git-icon-progress.svg",
  1240. "light": "images/light/git-icon-progress.svg"
  1241. }
  1242. },
  1243. {
  1244. "command": "gitlens.toggleFileHeatmap",
  1245. "title": "Toggle File Heatmap Annotations",
  1246. "category": "GitLens"
  1247. },
  1248. {
  1249. "command": "gitlens.toggleFileRecentChanges",
  1250. "title": "Toggle Recent File Changes Annotations",
  1251. "category": "GitLens",
  1252. "icon": {
  1253. "dark": "images/dark/git-icon.svg",
  1254. "light": "images/light/git-icon.svg"
  1255. }
  1256. },
  1257. {
  1258. "command": "gitlens.toggleLineBlame",
  1259. "title": "Toggle Line Blame Annotations",
  1260. "category": "GitLens"
  1261. },
  1262. {
  1263. "command": "gitlens.toggleCodeLens",
  1264. "title": "Toggle Git Code Lens",
  1265. "category": "GitLens"
  1266. },
  1267. {
  1268. "command": "gitlens.showCommitSearch",
  1269. "title": "Search Commits",
  1270. "category": "GitLens",
  1271. "icon": {
  1272. "dark": "images/dark/icon-search.svg",
  1273. "light": "images/light/icon-search.svg"
  1274. }
  1275. },
  1276. {
  1277. "command": "gitlens.showLastQuickPick",
  1278. "title": "Show Last Opened Quick Pick",
  1279. "category": "GitLens"
  1280. },
  1281. {
  1282. "command": "gitlens.showQuickCommitDetails",
  1283. "title": "Show Commit Details",
  1284. "category": "GitLens"
  1285. },
  1286. {
  1287. "command": "gitlens.showQuickCommitFileDetails",
  1288. "title": "Show Commit File Details",
  1289. "category": "GitLens"
  1290. },
  1291. {
  1292. "command": "gitlens.showQuickFileHistory",
  1293. "title": "Show File History",
  1294. "category": "GitLens"
  1295. },
  1296. {
  1297. "command": "gitlens.showQuickBranchHistory",
  1298. "title": "Show Branch History",
  1299. "category": "GitLens"
  1300. },
  1301. {
  1302. "command": "gitlens.showQuickRepoHistory",
  1303. "title": "Show Current Branch History",
  1304. "category": "GitLens"
  1305. },
  1306. {
  1307. "command": "gitlens.showQuickRepoStatus",
  1308. "title": "Show Repository Status",
  1309. "category": "GitLens"
  1310. },
  1311. {
  1312. "command": "gitlens.showQuickStashList",
  1313. "title": "Show Stashed Changes",
  1314. "category": "GitLens"
  1315. },
  1316. {
  1317. "command": "gitlens.copyShaToClipboard",
  1318. "title": "Copy Commit ID to Clipboard",
  1319. "category": "GitLens"
  1320. },
  1321. {
  1322. "command": "gitlens.copyMessageToClipboard",
  1323. "title": "Copy Commit Message to Clipboard",
  1324. "category": "GitLens"
  1325. },
  1326. {
  1327. "command": "gitlens.closeUnchangedFiles",
  1328. "title": "Close Unchanged Files",
  1329. "category": "GitLens"
  1330. },
  1331. {
  1332. "command": "gitlens.openChangedFiles",
  1333. "title": "Open Changed Files",
  1334. "category": "GitLens"
  1335. },
  1336. {
  1337. "command": "gitlens.openBranchesInRemote",
  1338. "title": "Open Branches in Remote",
  1339. "category": "GitLens"
  1340. },
  1341. {
  1342. "command": "gitlens.openBranchInRemote",
  1343. "title": "Open Branch in Remote",
  1344. "category": "GitLens"
  1345. },
  1346. {
  1347. "command": "gitlens.openCommitInRemote",
  1348. "title": "Open Commit in Remote",
  1349. "category": "GitLens"
  1350. },
  1351. {
  1352. "command": "gitlens.openFileInRemote",
  1353. "title": "Open File in Remote",
  1354. "category": "GitLens"
  1355. },
  1356. {
  1357. "command": "gitlens.openFileRevision",
  1358. "title": "Open Revision...",
  1359. "category": "GitLens"
  1360. },
  1361. {
  1362. "command": "gitlens.openRepoInRemote",
  1363. "title": "Open Repository in Remote",
  1364. "category": "GitLens"
  1365. },
  1366. {
  1367. "command": "gitlens.openWorkingFile",
  1368. "title": "Open Working File",
  1369. "category": "GitLens",
  1370. "icon": {
  1371. "dark": "images/dark/icon-open-working-file.svg",
  1372. "light": "images/light/icon-open-working-file.svg"
  1373. }
  1374. },
  1375. {
  1376. "command": "gitlens.stashApply",
  1377. "title": "Apply Stashed Changes",
  1378. "category": "GitLens"
  1379. },
  1380. {
  1381. "command": "gitlens.stashDelete",
  1382. "title": "Delete Stashed Changes",
  1383. "category": "GitLens"
  1384. },
  1385. {
  1386. "command": "gitlens.stashSave",
  1387. "title": "Stash Changes",
  1388. "category": "GitLens",
  1389. "icon": {
  1390. "dark": "images/dark/icon-add.svg",
  1391. "light": "images/light/icon-add.svg"
  1392. }
  1393. },
  1394. {
  1395. "command": "gitlens.externalDiff",
  1396. "title": "Open Changes (with difftool)",
  1397. "category": "GitLens"
  1398. },
  1399. {
  1400. "command": "gitlens.externalDiffAll",
  1401. "title": "Open All Changes (with difftool)",
  1402. "category": "GitLens"
  1403. },
  1404. {
  1405. "command": "gitlens.resetSuppressedWarnings",
  1406. "title": "Reset Suppressed Warnings",
  1407. "category": "GitLens"
  1408. },
  1409. {
  1410. "command": "gitlens.explorers.openDirectoryDiff",
  1411. "title": "Open Directory Compare",
  1412. "category": "GitLens"
  1413. },
  1414. {
  1415. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1416. "title": "Open Directory Compare with Working Tree",
  1417. "category": "GitLens"
  1418. },
  1419. {
  1420. "command": "gitlens.explorers.openChanges",
  1421. "title": "Open Changes",
  1422. "category": "GitLens"
  1423. },
  1424. {
  1425. "command": "gitlens.explorers.openChangesWithWorking",
  1426. "title": "Open Changes with Working File",
  1427. "category": "GitLens"
  1428. },
  1429. {
  1430. "command": "gitlens.explorers.openFile",
  1431. "title": "Open File",
  1432. "category": "GitLens",
  1433. "icon": {
  1434. "dark": "images/dark/icon-open-file.svg",
  1435. "light": "images/light/icon-open-file.svg"
  1436. }
  1437. },
  1438. {
  1439. "command": "gitlens.explorers.openFileRevision",
  1440. "title": "Open Revision",
  1441. "category": "GitLens"
  1442. },
  1443. {
  1444. "command": "gitlens.explorers.openFileRevisionInRemote",
  1445. "title": "Open Revision in Remote",
  1446. "category": "GitLens"
  1447. },
  1448. {
  1449. "command": "gitlens.explorers.openChangedFiles",
  1450. "title": "Open Files",
  1451. "category": "GitLens"
  1452. },
  1453. {
  1454. "command": "gitlens.explorers.openChangedFileChanges",
  1455. "title": "Open All Changes",
  1456. "category": "GitLens"
  1457. },
  1458. {
  1459. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1460. "title": "Open All Changes with Working Tree",
  1461. "category": "GitLens"
  1462. },
  1463. {
  1464. "command": "gitlens.explorers.openChangedFileRevisions",
  1465. "title": "Open Revisions",
  1466. "category": "GitLens"
  1467. },
  1468. {
  1469. "command": "gitlens.explorers.applyChanges",
  1470. "title": "Apply Changes",
  1471. "category": "GitLens"
  1472. },
  1473. {
  1474. "command": "gitlens.explorers.compareAncestryWithWorking",
  1475. "title": "Compare Ancestry with Working Tree",
  1476. "category": "GitLens"
  1477. },
  1478. {
  1479. "command": "gitlens.explorers.compareWithHead",
  1480. "title": "Compare with HEAD",
  1481. "category": "GitLens"
  1482. },
  1483. {
  1484. "command": "gitlens.explorers.compareWithRemote",
  1485. "title": "Compare with Remote",
  1486. "category": "GitLens"
  1487. },
  1488. {
  1489. "command": "gitlens.explorers.compareWithSelected",
  1490. "title": "Compare with Selected",
  1491. "category": "GitLens"
  1492. },
  1493. {
  1494. "command": "gitlens.explorers.compareWithWorking",
  1495. "title": "Compare with Working Tree",
  1496. "category": "GitLens"
  1497. },
  1498. {
  1499. "command": "gitlens.explorers.selectForCompare",
  1500. "title": "Select for Compare",
  1501. "category": "GitLens"
  1502. },
  1503. {
  1504. "command": "gitlens.explorers.terminalCheckoutBranch",
  1505. "title": "Checkout Branch (via Terminal)",
  1506. "category": "GitLens"
  1507. },
  1508. {
  1509. "command": "gitlens.explorers.terminalCreateBranch",
  1510. "title": "Create Branch (via Terminal)...",
  1511. "category": "GitLens"
  1512. },
  1513. {
  1514. "command": "gitlens.explorers.terminalDeleteBranch",
  1515. "title": "Delete Branch (via Terminal)",
  1516. "category": "GitLens"
  1517. },
  1518. {
  1519. "command": "gitlens.explorers.terminalMergeBranch",
  1520. "title": "Merge Branch (via Terminal)",
  1521. "category": "GitLens"
  1522. },
  1523. {
  1524. "command": "gitlens.explorers.terminalRebaseBranch",
  1525. "title": "Rebase (Interactive) Branch (via Terminal)",
  1526. "category": "GitLens"
  1527. },
  1528. {
  1529. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1530. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1531. "category": "GitLens"
  1532. },
  1533. {
  1534. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1535. "title": "Squash Branch into Commit (via Terminal)",
  1536. "category": "GitLens"
  1537. },
  1538. {
  1539. "command": "gitlens.explorers.terminalCherryPickCommit",
  1540. "title": "Cherry Pick Commit (via Terminal)",
  1541. "category": "GitLens"
  1542. },
  1543. {
  1544. "command": "gitlens.explorers.terminalPushCommit",
  1545. "title": "Push to Commit (via Terminal)",
  1546. "category": "GitLens"
  1547. },
  1548. {
  1549. "command": "gitlens.explorers.terminalRebaseCommit",
  1550. "title": "Rebase to Commit (via Terminal)",
  1551. "category": "GitLens"
  1552. },
  1553. {
  1554. "command": "gitlens.explorers.terminalResetCommit",
  1555. "title": "Reset to Commit (via Terminal)",
  1556. "category": "GitLens"
  1557. },
  1558. {
  1559. "command": "gitlens.explorers.terminalRevertCommit",
  1560. "title": "Revert Commit (via Terminal)",
  1561. "category": "GitLens"
  1562. },
  1563. {
  1564. "command": "gitlens.explorers.terminalRemoveRemote",
  1565. "title": "Remove Remote (via Terminal)",
  1566. "category": "GitLens"
  1567. },
  1568. {
  1569. "command": "gitlens.explorers.terminalCreateTag",
  1570. "title": "Create Tag (via Terminal)...",
  1571. "category": "GitLens"
  1572. },
  1573. {
  1574. "command": "gitlens.explorers.terminalDeleteTag",
  1575. "title": "Delete Tag (via Terminal)",
  1576. "category": "GitLens"
  1577. },
  1578. {
  1579. "command": "gitlens.gitExplorer.undockHistory",
  1580. "title": "Undock History from GitLens Explorer",
  1581. "category": "GitLens",
  1582. "icon": {
  1583. "dark": "images/dark/icon-undock.svg",
  1584. "light": "images/light/icon-undock.svg"
  1585. }
  1586. },
  1587. {
  1588. "command": "gitlens.gitExplorer.refresh",
  1589. "title": "Refresh",
  1590. "category": "GitLens",
  1591. "icon": {
  1592. "dark": "images/dark/icon-refresh.svg",
  1593. "light": "images/light/icon-refresh.svg"
  1594. }
  1595. },
  1596. {
  1597. "command": "gitlens.gitExplorer.refreshNode",
  1598. "title": "Refresh",
  1599. "category": "GitLens"
  1600. },
  1601. {
  1602. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1603. "title": "Automatic Layout",
  1604. "category": "GitLens"
  1605. },
  1606. {
  1607. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1608. "title": "List Layout",
  1609. "category": "GitLens"
  1610. },
  1611. {
  1612. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1613. "title": "Tree Layout",
  1614. "category": "GitLens"
  1615. },
  1616. {
  1617. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1618. "title": "Enable Automatic Refresh",
  1619. "category": "GitLens"
  1620. },
  1621. {
  1622. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1623. "title": "Disable Automatic Refresh",
  1624. "category": "GitLens"
  1625. },
  1626. {
  1627. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1628. "title": "Follow Renames",
  1629. "category": "GitLens"
  1630. },
  1631. {
  1632. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  1633. "title": "Don't Follow Renames",
  1634. "category": "GitLens"
  1635. },
  1636. {
  1637. "command": "gitlens.gitExplorer.switchToHistoryView",
  1638. "title": "Switch to History View",
  1639. "category": "GitLens",
  1640. "icon": {
  1641. "dark": "images/dark/icon-history.svg",
  1642. "light": "images/light/icon-history.svg"
  1643. }
  1644. },
  1645. {
  1646. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1647. "title": "Switch to Repository View",
  1648. "category": "GitLens",
  1649. "icon": {
  1650. "dark": "images/dark/icon-repo.svg",
  1651. "light": "images/light/icon-repo.svg"
  1652. }
  1653. },
  1654. {
  1655. "command": "gitlens.historyExplorer.close",
  1656. "title": "Close",
  1657. "category": "GitLens",
  1658. "icon": {
  1659. "dark": "images/dark/icon-close.svg",
  1660. "light": "images/light/icon-close.svg"
  1661. }
  1662. },
  1663. {
  1664. "command": "gitlens.historyExplorer.dock",
  1665. "title": "Dock History to GitLens Explorer",
  1666. "category": "GitLens",
  1667. "icon": {
  1668. "dark": "images/dark/icon-dock.svg",
  1669. "light": "images/light/icon-dock.svg"
  1670. }
  1671. },
  1672. {
  1673. "command": "gitlens.historyExplorer.refresh",
  1674. "title": "Refresh",
  1675. "category": "GitLens",
  1676. "icon": {
  1677. "dark": "images/dark/icon-refresh.svg",
  1678. "light": "images/light/icon-refresh.svg"
  1679. }
  1680. },
  1681. {
  1682. "command": "gitlens.historyExplorer.refreshNode",
  1683. "title": "Refresh",
  1684. "category": "GitLens"
  1685. },
  1686. {
  1687. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  1688. "title": "Follow Renames",
  1689. "category": "GitLens"
  1690. },
  1691. {
  1692. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  1693. "title": "Don't Follow Renames",
  1694. "category": "GitLens"
  1695. },
  1696. {
  1697. "command": "gitlens.resultsExplorer.clearResultsNode",
  1698. "title": "Clear Results",
  1699. "category": "GitLens",
  1700. "icon": {
  1701. "dark": "images/dark/icon-close-small.svg",
  1702. "light": "images/light/icon-close-small.svg"
  1703. }
  1704. },
  1705. {
  1706. "command": "gitlens.resultsExplorer.close",
  1707. "title": "Close",
  1708. "category": "GitLens",
  1709. "icon": {
  1710. "dark": "images/dark/icon-close.svg",
  1711. "light": "images/light/icon-close.svg"
  1712. }
  1713. },
  1714. {
  1715. "command": "gitlens.resultsExplorer.refresh",
  1716. "title": "Refresh",
  1717. "category": "GitLens",
  1718. "icon": {
  1719. "dark": "images/dark/icon-refresh.svg",
  1720. "light": "images/light/icon-refresh.svg"
  1721. }
  1722. },
  1723. {
  1724. "command": "gitlens.resultsExplorer.refreshNode",
  1725. "title": "Refresh",
  1726. "category": "GitLens"
  1727. },
  1728. {
  1729. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1730. "title": "Automatic Layout",
  1731. "category": "GitLens"
  1732. },
  1733. {
  1734. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1735. "title": "List Layout",
  1736. "category": "GitLens"
  1737. },
  1738. {
  1739. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1740. "title": "Tree Layout",
  1741. "category": "GitLens"
  1742. },
  1743. {
  1744. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1745. "title": "Keep Results",
  1746. "category": "GitLens",
  1747. "icon": {
  1748. "dark": "images/dark/icon-lock.svg",
  1749. "light": "images/light/icon-lock.svg"
  1750. }
  1751. },
  1752. {
  1753. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  1754. "title": "Keep Results",
  1755. "category": "GitLens",
  1756. "icon": {
  1757. "dark": "images/dark/icon-locked.svg",
  1758. "light": "images/light/icon-locked.svg"
  1759. }
  1760. },
  1761. {
  1762. "command": "gitlens.resultsExplorer.swapComparision",
  1763. "title": "Swap Comparision",
  1764. "category": "GitLens",
  1765. "icon": {
  1766. "dark": "images/dark/icon-swap.svg",
  1767. "light": "images/light/icon-swap.svg"
  1768. }
  1769. }
  1770. ],
  1771. "menus": {
  1772. "commandPalette": [
  1773. {
  1774. "command": "gitlens.diffDirectory",
  1775. "when": "gitlens:enabled"
  1776. },
  1777. {
  1778. "command": "gitlens.diffHeadWithBranch",
  1779. "when": "gitlens:enabled"
  1780. },
  1781. {
  1782. "command": "gitlens.diffWorkingWithBranch",
  1783. "when": "gitlens:enabled"
  1784. },
  1785. {
  1786. "command": "gitlens.diffWith",
  1787. "when": "false"
  1788. },
  1789. {
  1790. "command": "gitlens.diffWithBranch",
  1791. "when": "gitlens:activeIsTracked"
  1792. },
  1793. {
  1794. "command": "gitlens.diffWithNext",
  1795. "when": "gitlens:activeIsTracked"
  1796. },
  1797. {
  1798. "command": "gitlens.diffWithPrevious",
  1799. "when": "gitlens:activeIsTracked"
  1800. },
  1801. {
  1802. "command": "gitlens.diffLineWithPrevious",
  1803. "when": "gitlens:activeIsBlameable"
  1804. },
  1805. {
  1806. "command": "gitlens.diffWithRevision",
  1807. "when": "gitlens:activeIsTracked"
  1808. },
  1809. {
  1810. "command": "gitlens.diffWithWorking",
  1811. "when": "gitlens:activeIsTracked"
  1812. },
  1813. {
  1814. "command": "gitlens.diffLineWithWorking",
  1815. "when": "gitlens:activeIsBlameable"
  1816. },
  1817. {
  1818. "command": "gitlens.externalDiff",
  1819. "when": "gitlens:enabled"
  1820. },
  1821. {
  1822. "command": "gitlens.externalDiffAll",
  1823. "when": "gitlens:enabled"
  1824. },
  1825. {
  1826. "command": "gitlens.toggleFileBlame",
  1827. "when": "gitlens:activeIsBlameable"
  1828. },
  1829. {
  1830. "command": "gitlens.clearFileAnnotations",
  1831. "when": "gitlens:activeIsBlameable && gitlens:annotationStatus == computed"
  1832. },
  1833. {
  1834. "command": "gitlens.computingFileAnnotations",
  1835. "when": "false"
  1836. },
  1837. {
  1838. "command": "gitlens.toggleFileHeatmap",
  1839. "when": "gitlens:activeIsBlameable"
  1840. },
  1841. {
  1842. "command": "gitlens.toggleFileRecentChanges",
  1843. "when": "gitlens:activeIsBlameable"
  1844. },
  1845. {
  1846. "command": "gitlens.toggleLineBlame",
  1847. "when": "gitlens:enabled"
  1848. },
  1849. {
  1850. "command": "gitlens.toggleCodeLens",
  1851. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  1852. },
  1853. {
  1854. "command": "gitlens.showLastQuickPick",
  1855. "when": "gitlens:enabled"
  1856. },
  1857. {
  1858. "command": "gitlens.showCommitSearch",
  1859. "when": "gitlens:enabled"
  1860. },
  1861. {
  1862. "command": "gitlens.showQuickCommitDetails",
  1863. "when": "gitlens:activeIsBlameable"
  1864. },
  1865. {
  1866. "command": "gitlens.showQuickCommitFileDetails",
  1867. "when": "gitlens:activeIsBlameable"
  1868. },
  1869. {
  1870. "command": "gitlens.showQuickFileHistory",
  1871. "when": "gitlens:activeIsTracked"
  1872. },
  1873. {
  1874. "command": "gitlens.showQuickBranchHistory",
  1875. "when": "gitlens:enabled"
  1876. },
  1877. {
  1878. "command": "gitlens.showQuickRepoHistory",
  1879. "when": "gitlens:enabled"
  1880. },
  1881. {
  1882. "command": "gitlens.showQuickRepoStatus",
  1883. "when": "gitlens:enabled"
  1884. },
  1885. {
  1886. "command": "gitlens.showQuickStashList",
  1887. "when": "gitlens:enabled"
  1888. },
  1889. {
  1890. "command": "gitlens.copyShaToClipboard",
  1891. "when": "gitlens:activeIsBlameable"
  1892. },
  1893. {
  1894. "command": "gitlens.copyMessageToClipboard",
  1895. "when": "gitlens:activeIsBlameable"
  1896. },
  1897. {
  1898. "command": "gitlens.closeUnchangedFiles",
  1899. "when": "gitlens:enabled"
  1900. },
  1901. {
  1902. "command": "gitlens.openChangedFiles",
  1903. "when": "gitlens:enabled"
  1904. },
  1905. {
  1906. "command": "gitlens.openBranchesInRemote",
  1907. "when": "gitlens:activeHasRemote"
  1908. },
  1909. {
  1910. "command": "gitlens.openBranchInRemote",
  1911. "when": "gitlens:activeHasRemote"
  1912. },
  1913. {
  1914. "command": "gitlens.openCommitInRemote",
  1915. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemote"
  1916. },
  1917. {
  1918. "command": "gitlens.openFileInRemote",
  1919. "when": "gitlens:activeIsTracked && gitlens:activeHasRemote"
  1920. },
  1921. {
  1922. "command": "gitlens.openFileRevision",
  1923. "when": "gitlens:activeIsTracked"
  1924. },
  1925. {
  1926. "command": "gitlens.openRepoInRemote",
  1927. "when": "gitlens:activeHasRemote"
  1928. },
  1929. {
  1930. "command": "gitlens.openWorkingFile",
  1931. "when": "gitlens:activeIsRevision"
  1932. },
  1933. {
  1934. "command": "gitlens.stashApply",
  1935. "when": "gitlens:enabled"
  1936. },
  1937. {
  1938. "command": "gitlens.stashDelete",
  1939. "when": "false"
  1940. },
  1941. {
  1942. "command": "gitlens.stashSave",
  1943. "when": "gitlens:enabled"
  1944. },
  1945. {
  1946. "command": "gitlens.resetSuppressedWarnings",
  1947. "when": "gitlens:enabled"
  1948. },
  1949. {
  1950. "command": "gitlens.explorers.openChanges",
  1951. "when": "false"
  1952. },
  1953. {
  1954. "command": "gitlens.explorers.openDirectoryDiff",
  1955. "when": "false"
  1956. },
  1957. {
  1958. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1959. "when": "false"
  1960. },
  1961. {
  1962. "command": "gitlens.explorers.openChangesWithWorking",
  1963. "when": "false"
  1964. },
  1965. {
  1966. "command": "gitlens.explorers.openFile",
  1967. "when": "false"
  1968. },
  1969. {
  1970. "command": "gitlens.explorers.openFileRevision",
  1971. "when": "false"
  1972. },
  1973. {
  1974. "command": "gitlens.explorers.openFileRevisionInRemote",
  1975. "when": "false"
  1976. },
  1977. {
  1978. "command": "gitlens.explorers.openChangedFiles",
  1979. "when": "false"
  1980. },
  1981. {
  1982. "command": "gitlens.explorers.openChangedFileChanges",
  1983. "when": "false"
  1984. },
  1985. {
  1986. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1987. "when": "false"
  1988. },
  1989. {
  1990. "command": "gitlens.explorers.openChangedFileRevisions",
  1991. "when": "false"
  1992. },
  1993. {
  1994. "command": "gitlens.explorers.applyChanges",
  1995. "when": "false"
  1996. },
  1997. {
  1998. "command": "gitlens.explorers.compareAncestryWithWorking",
  1999. "when": "false"
  2000. },
  2001. {
  2002. "command": "gitlens.explorers.compareWithHead",
  2003. "when": "false"
  2004. },
  2005. {
  2006. "command": "gitlens.explorers.compareWithRemote",
  2007. "when": "false"
  2008. },
  2009. {
  2010. "command": "gitlens.explorers.compareWithSelected",
  2011. "when": "false"
  2012. },
  2013. {
  2014. "command": "gitlens.explorers.compareWithWorking",
  2015. "when": "false"
  2016. },
  2017. {
  2018. "command": "gitlens.explorers.selectForCompare",
  2019. "when": "false"
  2020. },
  2021. {
  2022. "command": "gitlens.explorers.terminalCheckoutBranch",
  2023. "when": "false"
  2024. },
  2025. {
  2026. "command": "gitlens.explorers.terminalCreateBranch",
  2027. "when": "false"
  2028. },
  2029. {
  2030. "command": "gitlens.explorers.terminalDeleteBranch",
  2031. "when": "false"
  2032. },
  2033. {
  2034. "command": "gitlens.explorers.terminalMergeBranch",
  2035. "when": "false"
  2036. },
  2037. {
  2038. "command": "gitlens.explorers.terminalRebaseBranch",
  2039. "when": "false"
  2040. },
  2041. {
  2042. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2043. "when": "false"
  2044. },
  2045. {
  2046. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2047. "when": "false"
  2048. },
  2049. {
  2050. "command": "gitlens.explorers.terminalCherryPickCommit",
  2051. "when": "false"
  2052. },
  2053. {
  2054. "command": "gitlens.explorers.terminalPushCommit",
  2055. "when": "false"
  2056. },
  2057. {
  2058. "command": "gitlens.explorers.terminalRebaseCommit",
  2059. "when": "false"
  2060. },
  2061. {
  2062. "command": "gitlens.explorers.terminalResetCommit",
  2063. "when": "false"
  2064. },
  2065. {
  2066. "command": "gitlens.explorers.terminalRevertCommit",
  2067. "when": "false"
  2068. },
  2069. {
  2070. "command": "gitlens.explorers.terminalRemoveRemote",
  2071. "when": "false"
  2072. },
  2073. {
  2074. "command": "gitlens.explorers.terminalCreateTag",
  2075. "when": "false"
  2076. },
  2077. {
  2078. "command": "gitlens.explorers.terminalDeleteTag",
  2079. "when": "false"
  2080. },
  2081. {
  2082. "command": "gitlens.gitExplorer.refresh",
  2083. "when": "false"
  2084. },
  2085. {
  2086. "command": "gitlens.gitExplorer.refreshNode",
  2087. "when": "false"
  2088. },
  2089. {
  2090. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2091. "when": "false"
  2092. },
  2093. {
  2094. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2095. "when": "false"
  2096. },
  2097. {
  2098. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2099. "when": "false"
  2100. },
  2101. {
  2102. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2103. "when": "false"
  2104. },
  2105. {
  2106. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2107. "when": "false"
  2108. },
  2109. {
  2110. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2111. "when": "false"
  2112. },
  2113. {
  2114. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2115. "when": "false"
  2116. },
  2117. {
  2118. "command": "gitlens.gitExplorer.switchToHistoryView",
  2119. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository"
  2120. },
  2121. {
  2122. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2123. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == history"
  2124. },
  2125. {
  2126. "command": "gitlens.gitExplorer.undockHistory",
  2127. "when": "gitlens:enabled && !gitlens:historyExplorer"
  2128. },
  2129. {
  2130. "command": "gitlens.historyExplorer.close",
  2131. "when": "false"
  2132. },
  2133. {
  2134. "command": "gitlens.historyExplorer.dock",
  2135. "when": "gitlens:enabled && gitlens:historyExplorer"
  2136. },
  2137. {
  2138. "command": "gitlens.historyExplorer.refresh",
  2139. "when": "false"
  2140. },
  2141. {
  2142. "command": "gitlens.historyExplorer.refreshNode",
  2143. "when": "false"
  2144. },
  2145. {
  2146. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2147. "when": "false"
  2148. },
  2149. {
  2150. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2151. "when": "false"
  2152. },
  2153. {
  2154. "command": "gitlens.resultsExplorer.clearResultsNode",
  2155. "when": "false"
  2156. },
  2157. {
  2158. "command": "gitlens.resultsExplorer.close",
  2159. "when": "false"
  2160. },
  2161. {
  2162. "command": "gitlens.resultsExplorer.refresh",
  2163. "when": "false"
  2164. },
  2165. {
  2166. "command": "gitlens.resultsExplorer.refreshNode",
  2167. "when": "false"
  2168. },
  2169. {
  2170. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2171. "when": "false"
  2172. },
  2173. {
  2174. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2175. "when": "false"
  2176. },
  2177. {
  2178. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2179. "when": "false"
  2180. },
  2181. {
  2182. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2183. "when": "false"
  2184. },
  2185. {
  2186. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2187. "when": "false"
  2188. },
  2189. {
  2190. "command": "gitlens.resultsExplorer.swapComparision",
  2191. "when": "false"
  2192. }
  2193. ],
  2194. "editor/context": [
  2195. {
  2196. "command": "gitlens.openFileInRemote",
  2197. "when": "editorTextFocus && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorContext.remote",
  2198. "group": "navigation@100"
  2199. },
  2200. {
  2201. "command": "gitlens.diffLineWithPrevious",
  2202. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2203. "group": "1_gitlens@1"
  2204. },
  2205. {
  2206. "command": "gitlens.diffLineWithWorking",
  2207. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  2208. "group": "1_gitlens@2"
  2209. },
  2210. {
  2211. "command": "gitlens.showQuickCommitFileDetails",
  2212. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  2213. "group": "1_gitlens@3"
  2214. },
  2215. {
  2216. "command": "gitlens.diffWithPrevious",
  2217. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2218. "group": "1_gitlens_1@1"
  2219. },
  2220. {
  2221. "command": "gitlens.diffWithWorking",
  2222. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  2223. "group": "1_gitlens_1@2"
  2224. },
  2225. {
  2226. "command": "gitlens.showQuickFileHistory",
  2227. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  2228. "group": "3_gitlens@1"
  2229. },
  2230. {
  2231. "command": "gitlens.toggleFileBlame",
  2232. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  2233. "group": "3_gitlens@2"
  2234. },
  2235. {
  2236. "command": "gitlens.copyShaToClipboard",
  2237. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2238. "group": "9_gitlens@1"
  2239. },
  2240. {
  2241. "command": "gitlens.copyMessageToClipboard",
  2242. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  2243. "group": "9_gitlens@2"
  2244. }
  2245. ],
  2246. "editor/title": [
  2247. {
  2248. "command": "gitlens.openWorkingFile",
  2249. "when": "gitlens:activeIsRevision && resourceScheme != git",
  2250. "group": "navigation@1"
  2251. },
  2252. {
  2253. "command": "gitlens.openWorkingFile",
  2254. "when": "gitlens:activeIsRevision && resourceScheme == git && !isInDiffEditor",
  2255. "group": "navigation@1"
  2256. },
  2257. {
  2258. "command": "gitlens.toggleFileBlame",
  2259. "alt": "gitlens.toggleFileRecentChanges",
  2260. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  2261. "group": "navigation@100"
  2262. },
  2263. {
  2264. "command": "gitlens.computingFileAnnotations",
  2265. "when": "gitlens:activeIsBlameable && gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  2266. "group": "navigation@100"
  2267. },
  2268. {
  2269. "command": "gitlens.clearFileAnnotations",
  2270. "when": "gitlens:activeIsBlameable && gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  2271. "group": "navigation@100"
  2272. },
  2273. {
  2274. "command": "gitlens.openFileInRemote",
  2275. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2276. "group": "2_gitlens"
  2277. },
  2278. {
  2279. "command": "gitlens.openRepoInRemote",
  2280. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitle.remote",
  2281. "group": "2_gitlens"
  2282. },
  2283. {
  2284. "command": "gitlens.diffWithPrevious",
  2285. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2286. "group": "2_gitlens_1"
  2287. },
  2288. {
  2289. "command": "gitlens.diffWithWorking",
  2290. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  2291. "group": "2_gitlens_1"
  2292. },
  2293. {
  2294. "command": "gitlens.showQuickFileHistory",
  2295. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  2296. "group": "2_gitlens_2"
  2297. },
  2298. {
  2299. "command": "gitlens.showQuickRepoHistory",
  2300. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  2301. "group": "2_gitlens_2"
  2302. },
  2303. {
  2304. "command": "gitlens.showQuickRepoStatus",
  2305. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  2306. "group": "2_gitlens_2"
  2307. }
  2308. ],
  2309. "editor/title/context": [
  2310. {
  2311. "command": "gitlens.openFileInRemote",
  2312. "when": "gitlens:enabled && gitlens:activeHasRemote && config.gitlens.advanced.menus.editorTitleContext.remote",
  2313. "group": "1_gitlens"
  2314. },
  2315. {
  2316. "command": "gitlens.diffWithPrevious",
  2317. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2318. "group": "1_gitlens_1@1"
  2319. },
  2320. {
  2321. "command": "gitlens.diffWithWorking",
  2322. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  2323. "group": "1_gitlens_1@2"
  2324. },
  2325. {
  2326. "command": "gitlens.showQuickFileHistory",
  2327. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  2328. "group": "1_gitlens_2@1"
  2329. },
  2330. {
  2331. "command": "gitlens.toggleFileBlame",
  2332. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  2333. "group": "1_gitlens_2@2"
  2334. }
  2335. ],
  2336. "explorer/context": [
  2337. {
  2338. "command": "gitlens.openFileInRemote",
  2339. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  2340. "group": "navigation@100"
  2341. },
  2342. {
  2343. "command": "gitlens.diffWithPrevious",
  2344. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2345. "group": "1_gitlens@1"
  2346. },
  2347. {
  2348. "command": "gitlens.diffWithWorking",
  2349. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  2350. "group": "1_gitlens@2"
  2351. },
  2352. {
  2353. "command": "gitlens.showQuickFileHistory",
  2354. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  2355. "group": "1_gitlens_1@1"
  2356. }
  2357. ],
  2358. "scm/resourceGroup/context": [
  2359. {
  2360. "command": "gitlens.openChangedFiles",
  2361. "when": "gitlens:enabled",
  2362. "group": "2_gitlens@1"
  2363. },
  2364. {
  2365. "command": "gitlens.closeUnchangedFiles",
  2366. "when": "gitlens:enabled",
  2367. "group": "2_gitlens@2"
  2368. },
  2369. {
  2370. "command": "gitlens.externalDiff",
  2371. "when": "gitlens:enabled",
  2372. "group": "2_gitlens@3"
  2373. },
  2374. {
  2375. "command": "gitlens.externalDiffAll",
  2376. "when": "gitlens:enabled",
  2377. "group": "2_gitlens@4"
  2378. },
  2379. {
  2380. "command": "gitlens.stashSave",
  2381. "when": "gitlens:enabled",
  2382. "group": "3_gitlens@1"
  2383. }
  2384. ],
  2385. "scm/resourceState/context": [
  2386. {
  2387. "command": "gitlens.openFileInRemote",
  2388. "when": "gitlens:enabled && gitlens:hasRemotes",
  2389. "group": "navigation"
  2390. },
  2391. {
  2392. "command": "gitlens.externalDiff",
  2393. "when": "gitlens:enabled",
  2394. "group": "navigation"
  2395. },
  2396. {
  2397. "command": "gitlens.diffWithRevision",
  2398. "when": "gitlens:enabled",
  2399. "group": "1_gitlens@1"
  2400. },
  2401. {
  2402. "command": "gitlens.diffWithBranch",
  2403. "when": "gitlens:enabled",
  2404. "group": "1_gitlens@2"
  2405. },
  2406. {
  2407. "command": "gitlens.showQuickFileHistory",
  2408. "when": "gitlens:enabled",
  2409. "group": "1_gitlens_1@1"
  2410. },
  2411. {
  2412. "command": "gitlens.stashSave",
  2413. "when": "gitlens:enabled",
  2414. "group": "2_gitlens@1"
  2415. }
  2416. ],
  2417. "view/title": [
  2418. {
  2419. "command": "gitlens.showCommitSearch",
  2420. "when": "view == gitlens.gitExplorer",
  2421. "group": "navigation@1"
  2422. },
  2423. {
  2424. "command": "gitlens.gitExplorer.undockHistory",
  2425. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && !gitlens:historyExplorer",
  2426. "group": "navigation@2"
  2427. },
  2428. {
  2429. "command": "gitlens.gitExplorer.switchToHistoryView",
  2430. "when": "view == gitlens.gitExplorer && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository",
  2431. "group": "navigation@3"
  2432. },
  2433. {
  2434. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2435. "when": "view == gitlens.gitExplorer && !gitlens:historyExplorer && gitlens:gitExplorer:view == history",
  2436. "group": "navigation@3"
  2437. },
  2438. {
  2439. "command": "gitlens.gitExplorer.refresh",
  2440. "when": "view == gitlens.gitExplorer",
  2441. "group": "navigation@8"
  2442. },
  2443. {
  2444. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2445. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2446. "group": "1_gitlens"
  2447. },
  2448. {
  2449. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2450. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2451. "group": "1_gitlens"
  2452. },
  2453. {
  2454. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2455. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  2456. "group": "1_gitlens"
  2457. },
  2458. {
  2459. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2460. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2461. "group": "2_gitlens"
  2462. },
  2463. {
  2464. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2465. "when": "view == gitlens.gitExplorer && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2466. "group": "2_gitlens"
  2467. },
  2468. {
  2469. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2470. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2471. "group": "2_gitlens_1"
  2472. },
  2473. {
  2474. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2475. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2476. "group": "2_gitlens_1"
  2477. },
  2478. {
  2479. "command": "gitlens.historyExplorer.refresh",
  2480. "when": "view == gitlens.historyExplorer",
  2481. "group": "navigation@1"
  2482. },
  2483. {
  2484. "command": "gitlens.historyExplorer.dock",
  2485. "when": "view == gitlens.historyExplorer && gitlens:gitExplorer",
  2486. "group": "navigation@9"
  2487. },
  2488. {
  2489. "command": "gitlens.historyExplorer.close",
  2490. "when": "view == gitlens.historyExplorer && !gitlens:gitExplorer",
  2491. "group": "navigation@9"
  2492. },
  2493. {
  2494. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2495. "when": "view == gitlens.historyExplorer && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2496. "group": "1_gitlens"
  2497. },
  2498. {
  2499. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2500. "when": "view == gitlens.historyExplorer && config.gitlens.advanced.fileHistoryFollowsRenames",
  2501. "group": "1_gitlens"
  2502. },
  2503. {
  2504. "command": "gitlens.showCommitSearch",
  2505. "when": "view == gitlens.resultsExplorer",
  2506. "group": "navigation@1"
  2507. },
  2508. {
  2509. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2510. "when": "view == gitlens.resultsExplorer && !gitlens:resultsExplorer:keepResults",
  2511. "group": "navigation@2"
  2512. },
  2513. {
  2514. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2515. "when": "view == gitlens.resultsExplorer && gitlens:resultsExplorer:keepResults",
  2516. "group": "navigation@2"
  2517. },
  2518. {
  2519. "command": "gitlens.resultsExplorer.refresh",
  2520. "when": "view == gitlens.resultsExplorer",
  2521. "group": "navigation@3"
  2522. },
  2523. {
  2524. "command": "gitlens.resultsExplorer.close",
  2525. "when": "view == gitlens.resultsExplorer",
  2526. "group": "navigation@9"
  2527. },
  2528. {
  2529. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2530. "when": "view == gitlens.resultsExplorer",
  2531. "group": "1_gitlens"
  2532. },
  2533. {
  2534. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2535. "when": "view == gitlens.resultsExplorer",
  2536. "group": "1_gitlens"
  2537. },
  2538. {
  2539. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2540. "when": "view == gitlens.resultsExplorer",
  2541. "group": "1_gitlens"
  2542. }
  2543. ],
  2544. "view/item/context": [
  2545. {
  2546. "command": "gitlens.openBranchesInRemote",
  2547. "when": "viewItem == gitlens:branches:remotes",
  2548. "group": "1_gitlens@1"
  2549. },
  2550. {
  2551. "command": "gitlens.openBranchInRemote",
  2552. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  2553. "group": "1_gitlens@1"
  2554. },
  2555. {
  2556. "command": "gitlens.explorers.compareWithRemote",
  2557. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  2558. "group": "7_gitlens@1"
  2559. },
  2560. {
  2561. "command": "gitlens.explorers.compareWithHead",
  2562. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  2563. "group": "7_gitlens@2"
  2564. },
  2565. {
  2566. "command": "gitlens.explorers.compareWithWorking",
  2567. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  2568. "group": "7_gitlens@3"
  2569. },
  2570. {
  2571. "command": "gitlens.explorers.compareAncestryWithWorking",
  2572. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  2573. "group": "7_gitlens@4"
  2574. },
  2575. {
  2576. "command": "gitlens.explorers.compareWithSelected",
  2577. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:explorers:canCompare",
  2578. "group": "7_gitlens_@1"
  2579. },
  2580. {
  2581. "command": "gitlens.explorers.selectForCompare",
  2582. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2583. "group": "7_gitlens_@2"
  2584. },
  2585. {
  2586. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2587. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  2588. "group": "7_gitlens_diff@1"
  2589. },
  2590. {
  2591. "command": "gitlens.explorers.terminalCheckoutBranch",
  2592. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2593. "group": "8_gitlens@1"
  2594. },
  2595. {
  2596. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2597. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  2598. "group": "8_gitlens@1"
  2599. },
  2600. {
  2601. "command": "gitlens.explorers.terminalMergeBranch",
  2602. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2603. "group": "8_gitlens@2"
  2604. },
  2605. {
  2606. "command": "gitlens.explorers.terminalRebaseBranch",
  2607. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2608. "group": "8_gitlens@3"
  2609. },
  2610. {
  2611. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2612. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2613. "group": "8_gitlens@4"
  2614. },
  2615. {
  2616. "command": "gitlens.explorers.terminalCreateBranch",
  2617. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  2618. "group": "8_gitlens@5"
  2619. },
  2620. {
  2621. "command": "gitlens.explorers.terminalDeleteBranch",
  2622. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2623. "group": "8_gitlens@6"
  2624. },
  2625. {
  2626. "command": "gitlens.explorers.terminalCreateTag",
  2627. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  2628. "group": "8_gitlens@7"
  2629. },
  2630. {
  2631. "command": "gitlens.openCommitInRemote",
  2632. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  2633. "group": "1_gitlens@1"
  2634. },
  2635. {
  2636. "command": "gitlens.explorers.openChangedFileChanges",
  2637. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2638. "group": "2_gitlens@1"
  2639. },
  2640. {
  2641. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2642. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2643. "group": "2_gitlens@2"
  2644. },
  2645. {
  2646. "command": "gitlens.explorers.openChangedFiles",
  2647. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2648. "group": "3_gitlens@1"
  2649. },
  2650. {
  2651. "command": "gitlens.explorers.openChangedFileRevisions",
  2652. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2653. "group": "3_gitlens@2"
  2654. },
  2655. {
  2656. "command": "gitlens.copyShaToClipboard",
  2657. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  2658. "group": "5_gitlens@1"
  2659. },
  2660. {
  2661. "command": "gitlens.copyMessageToClipboard",
  2662. "when": "viewItem =~ /gitlens:(file:)?(commit|stash)\\b/",
  2663. "group": "5_gitlens@2"
  2664. },
  2665. {
  2666. "command": "gitlens.showQuickCommitDetails",
  2667. "when": "viewItem =~ /gitlens:commit\\b/",
  2668. "group": "5_gitlens_1@1"
  2669. },
  2670. {
  2671. "command": "gitlens.explorers.terminalCherryPickCommit",
  2672. "when": "viewItem == gitlens:commit",
  2673. "group": "8_gitlens@1"
  2674. },
  2675. {
  2676. "command": "gitlens.explorers.terminalPushCommit",
  2677. "when": "viewItem == gitlens:commit:current",
  2678. "group": "8_gitlens@1"
  2679. },
  2680. {
  2681. "command": "gitlens.explorers.terminalRevertCommit",
  2682. "when": "viewItem == gitlens:commit:current",
  2683. "group": "8_gitlens@1"
  2684. },
  2685. {
  2686. "command": "gitlens.explorers.terminalRebaseCommit",
  2687. "when": "viewItem == gitlens:commit:current",
  2688. "group": "8_gitlens@2"
  2689. },
  2690. {
  2691. "command": "gitlens.explorers.terminalResetCommit",
  2692. "when": "viewItem == gitlens:commit:current",
  2693. "group": "8_gitlens@3"
  2694. },
  2695. {
  2696. "command": "gitlens.explorers.openFile",
  2697. "when": "viewItem =~ /gitlens:file\\b/",
  2698. "group": "inline"
  2699. },
  2700. {
  2701. "command": "gitlens.explorers.openChanges",
  2702. "when": "viewItem =~ /gitlens:file\\b/",
  2703. "group": "2_gitlens@1"
  2704. },
  2705. {
  2706. "command": "gitlens.explorers.openChangesWithWorking",
  2707. "when": "viewItem =~ /gitlens:file\\b/",
  2708. "group": "2_gitlens@2"
  2709. },
  2710. {
  2711. "command": "gitlens.explorers.openFile",
  2712. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  2713. "group": "3_gitlens@1"
  2714. },
  2715. {
  2716. "command": "gitlens.explorers.openFileRevision",
  2717. "when": "viewItem =~ /gitlens:file\\b/",
  2718. "group": "3_gitlens@2"
  2719. },
  2720. {
  2721. "command": "gitlens.openFileInRemote",
  2722. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  2723. "group": "4_gitlens@1"
  2724. },
  2725. {
  2726. "command": "gitlens.explorers.openFileRevisionInRemote",
  2727. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  2728. "group": "4_gitlens@2"
  2729. },
  2730. {
  2731. "command": "gitlens.openFileInRemote",
  2732. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  2733. "group": "3_gitlens@2"
  2734. },
  2735. {
  2736. "command": "gitlens.showQuickFileHistory",
  2737. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:gitExplorer:view == repository",
  2738. "group": "8_gitlens@1"
  2739. },
  2740. {
  2741. "command": "gitlens.showQuickCommitFileDetails",
  2742. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  2743. "group": "8_gitlens@2"
  2744. },
  2745. {
  2746. "command": "gitlens.explorers.applyChanges",
  2747. "when": "viewItem == gitlens:file:commit",
  2748. "group": "5_gitlens_1@1"
  2749. },
  2750. {
  2751. "command": "gitlens.explorers.applyChanges",
  2752. "when": "viewItem == gitlens:file:stash",
  2753. "group": "1_gitlens@1"
  2754. },
  2755. {
  2756. "command": "gitlens.openRepoInRemote",
  2757. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  2758. "group": "1_gitlens@1"
  2759. },
  2760. {
  2761. "command": "gitlens.openBranchesInRemote",
  2762. "when": "viewItem == gitlens:remote",
  2763. "group": "1_gitlens@1"
  2764. },
  2765. {
  2766. "command": "gitlens.openRepoInRemote",
  2767. "when": "viewItem == gitlens:remote",
  2768. "group": "1_gitlens@2"
  2769. },
  2770. {
  2771. "command": "gitlens.explorers.terminalRemoveRemote",
  2772. "when": "viewItem == gitlens:remote",
  2773. "group": "8_gitlens@1"
  2774. },
  2775. {
  2776. "command": "gitlens.openRepoInRemote",
  2777. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  2778. "group": "1_gitlens@1"
  2779. },
  2780. {
  2781. "command": "gitlens.resultsExplorer.swapComparision",
  2782. "when": "viewItem == gitlens:results:comparison",
  2783. "group": "inline@1"
  2784. },
  2785. {
  2786. "command": "gitlens.resultsExplorer.clearResultsNode",
  2787. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  2788. "group": "inline@2"
  2789. },
  2790. {
  2791. "command": "gitlens.resultsExplorer.clearResultsNode",
  2792. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  2793. "group": "1_gitlens@1"
  2794. },
  2795. {
  2796. "command": "gitlens.resultsExplorer.swapComparision",
  2797. "when": "viewItem == gitlens:results:comparison",
  2798. "group": "1_gitlens@2"
  2799. },
  2800. {
  2801. "command": "gitlens.explorers.openDirectoryDiff",
  2802. "when": "viewItem == gitlens:results:comparison",
  2803. "group": "7_gitlens@1"
  2804. },
  2805. {
  2806. "command": "gitlens.stashSave",
  2807. "when": "viewItem == gitlens:stashes",
  2808. "group": "1_gitlens@1"
  2809. },
  2810. {
  2811. "command": "gitlens.stashApply",
  2812. "when": "viewItem == gitlens:stash",
  2813. "group": "1_gitlens@1"
  2814. },
  2815. {
  2816. "command": "gitlens.stashDelete",
  2817. "when": "viewItem == gitlens:stash",
  2818. "group": "1_gitlens@2"
  2819. },
  2820. {
  2821. "command": "gitlens.explorers.terminalDeleteTag",
  2822. "when": "viewItem == gitlens:tag",
  2823. "group": "8_gitlens"
  2824. },
  2825. {
  2826. "command": "gitlens.gitExplorer.refreshNode",
  2827. "when": "view == gitlens.gitExplorer && viewItem =~ /gitlens:(?!file\\b)/",
  2828. "group": "9_gitlens@1"
  2829. },
  2830. {
  2831. "command": "gitlens.resultsExplorer.refreshNode",
  2832. "when": "view == gitlens.resultsExplorer && viewItem =~ /gitlens:(?!file\\b)/",
  2833. "group": "9_gitlens@1"
  2834. },
  2835. {
  2836. "command": "gitlens.historyExplorer.refreshNode",
  2837. "when": "view == gitlens.historyExplorer && viewItem =~ /gitlens:(?!file\\b)/",
  2838. "group": "9_gitlens@1"
  2839. }
  2840. ]
  2841. },
  2842. "keybindings": [
  2843. {
  2844. "command": "gitlens.key.left",
  2845. "key": "alt+left",
  2846. "when": "gitlens:key:left"
  2847. },
  2848. {
  2849. "command": "gitlens.key.right",
  2850. "key": "alt+right",
  2851. "when": "gitlens:key:right"
  2852. },
  2853. {
  2854. "command": "gitlens.key.,",
  2855. "key": "alt+,",
  2856. "when": "gitlens:key:,"
  2857. },
  2858. {
  2859. "command": "gitlens.key..",
  2860. "key": "alt+.",
  2861. "when": "gitlens:key:."
  2862. },
  2863. {
  2864. "command": "gitlens.key.escape",
  2865. "key": "escape",
  2866. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  2867. },
  2868. {
  2869. "command": "gitlens.toggleFileBlame",
  2870. "key": "alt+b",
  2871. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsBlameable"
  2872. },
  2873. {
  2874. "command": "gitlens.toggleCodeLens",
  2875. "key": "shift+alt+b",
  2876. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  2877. },
  2878. {
  2879. "command": "gitlens.showLastQuickPick",
  2880. "key": "alt+-",
  2881. "when": "gitlens:keymap == alternate && gitlens:enabled"
  2882. },
  2883. {
  2884. "command": "gitlens.showCommitSearch",
  2885. "key": "alt+/",
  2886. "when": "gitlens:keymap == alternate && gitlens:enabled"
  2887. },
  2888. {
  2889. "command": "gitlens.showQuickFileHistory",
  2890. "key": "alt+h",
  2891. "when": "gitlens:keymap == alternate && gitlens:enabled"
  2892. },
  2893. {
  2894. "command": "gitlens.showQuickRepoHistory",
  2895. "key": "shift+alt+h",
  2896. "when": "gitlens:keymap == alternate && gitlens:enabled"
  2897. },
  2898. {
  2899. "command": "gitlens.showQuickRepoStatus",
  2900. "key": "alt+s",
  2901. "when": "gitlens:keymap == alternate && gitlens:enabled"
  2902. },
  2903. {
  2904. "command": "gitlens.showQuickCommitFileDetails",
  2905. "key": "alt+c",
  2906. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  2907. },
  2908. {
  2909. "command": "gitlens.diffWithNext",
  2910. "key": "alt+.",
  2911. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  2912. },
  2913. {
  2914. "command": "gitlens.diffLineWithPrevious",
  2915. "key": "shift+alt+,",
  2916. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  2917. },
  2918. {
  2919. "command": "gitlens.diffWithPrevious",
  2920. "key": "alt+,",
  2921. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  2922. },
  2923. {
  2924. "command": "gitlens.diffLineWithWorking",
  2925. "key": "alt+w",
  2926. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  2927. },
  2928. {
  2929. "command": "gitlens.diffWithWorking",
  2930. "key": "shift+alt+w",
  2931. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  2932. },
  2933. {
  2934. "command": "gitlens.toggleFileBlame",
  2935. "key": "ctrl+shift+g b",
  2936. "mac": "cmd+alt+g b",
  2937. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  2938. },
  2939. {
  2940. "command": "gitlens.toggleCodeLens",
  2941. "key": "ctrl+shift+g shift+b",
  2942. "mac": "cmd+alt+g shift+b",
  2943. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  2944. },
  2945. {
  2946. "command": "gitlens.showLastQuickPick",
  2947. "key": "ctrl+shift+g -",
  2948. "mac": "cmd+alt+g -",
  2949. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2950. },
  2951. {
  2952. "command": "gitlens.showCommitSearch",
  2953. "key": "ctrl+shift+g /",
  2954. "mac": "cmd+alt+g /",
  2955. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2956. },
  2957. {
  2958. "command": "gitlens.showQuickFileHistory",
  2959. "key": "ctrl+shift+g h",
  2960. "mac": "cmd+alt+g h",
  2961. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2962. },
  2963. {
  2964. "command": "gitlens.showQuickRepoHistory",
  2965. "key": "ctrl+shift+g shift+h",
  2966. "mac": "cmd+alt+g shift+h",
  2967. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2968. },
  2969. {
  2970. "command": "gitlens.showQuickRepoStatus",
  2971. "key": "ctrl+shift+g s",
  2972. "mac": "cmd+alt+g s",
  2973. "when": "gitlens:keymap == chorded && gitlens:enabled"
  2974. },
  2975. {
  2976. "command": "gitlens.showQuickCommitFileDetails",
  2977. "key": "ctrl+shift+g c",
  2978. "mac": "cmd+alt+g c",
  2979. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  2980. },
  2981. {
  2982. "command": "gitlens.diffWithNext",
  2983. "key": "ctrl+shift+g .",
  2984. "mac": "cmd+alt+g .",
  2985. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2986. },
  2987. {
  2988. "command": "gitlens.diffLineWithPrevious",
  2989. "key": "ctrl+shift+g shift+,",
  2990. "mac": "cmd+alt+g shift+,",
  2991. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2992. },
  2993. {
  2994. "command": "gitlens.diffWithPrevious",
  2995. "key": "ctrl+shift+g ,",
  2996. "mac": "cmd+alt+g ,",
  2997. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  2998. },
  2999. {
  3000. "command": "gitlens.diffLineWithWorking",
  3001. "key": "ctrl+shift+g w",
  3002. "mac": "cmd+alt+g w",
  3003. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3004. },
  3005. {
  3006. "command": "gitlens.diffWithWorking",
  3007. "key": "ctrl+shift+g shift+w",
  3008. "mac": "cmd+alt+g shift+w",
  3009. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3010. },
  3011. {
  3012. "command": "workbench.view.scm",
  3013. "key": "ctrl+shift+g g",
  3014. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3015. }
  3016. ],
  3017. "views": {
  3018. "explorer": [
  3019. {
  3020. "id": "gitlens.gitExplorer",
  3021. "name": "GitLens",
  3022. "when": "gitlens:enabled && gitlens:gitExplorer"
  3023. },
  3024. {
  3025. "id": "gitlens.historyExplorer",
  3026. "name": "GitLens History",
  3027. "when": "gitlens:enabled && gitlens:historyExplorer"
  3028. },
  3029. {
  3030. "id": "gitlens.resultsExplorer",
  3031. "name": "GitLens Results",
  3032. "when": "gitlens:enabled && gitlens:resultsExplorer"
  3033. }
  3034. ]
  3035. }
  3036. },
  3037. "activationEvents": [
  3038. "*"
  3039. ],
  3040. "scripts": {
  3041. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  3042. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  3043. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  3044. "clean": "git clean -Xdf",
  3045. "lint": "tslint --project tsconfig.json",
  3046. "pack": "vsce package",
  3047. "pub": "vsce publish",
  3048. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  3049. "reset": "npm run clean && npm install --no-save",
  3050. "watch": "tsc -watch -m commonjs -p ./",
  3051. "postinstall": "node ./node_modules/vscode/bin/install && pushd \"./src/ui\" && npm install --no-save && popd",
  3052. "prepush": "npm run build",
  3053. "vscode:prepublish": "npm run reset && npm run bundle"
  3054. },
  3055. "dependencies": {
  3056. "copy-paste": "1.3.0",
  3057. "date-fns": "1.29.0",
  3058. "iconv-lite": "0.4.21",
  3059. "lodash.debounce": "4.0.8",
  3060. "lodash.once": "4.1.1",
  3061. "tmp": "0.0.33",
  3062. "tslib": "1.9.0"
  3063. },
  3064. "devDependencies": {
  3065. "@types/copy-paste": "1.1.30",
  3066. "@types/node": "9.6.5",
  3067. "@types/tmp": "0.0.33",
  3068. "husky": "0.14.3",
  3069. "ts-loader": "4.2.0",
  3070. "tslint": "5.9.1",
  3071. "typescript": "2.8.1",
  3072. "uglify-es": "3.3.9",
  3073. "uglifyjs-webpack-plugin": "1.2.5",
  3074. "vscode": "1.1.14",
  3075. "webpack": "4.6.0",
  3076. "webpack-cli": "2.0.14",
  3077. "webpack-node-externals": "1.7.2"
  3078. }
  3079. }